/* =========================
   ESTILOS GENERALES
========================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Anton', sans-serif;
  color: #2c1d67;
  margin-bottom: 15px;
}

p, li {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}

section {
  padding: 80px 20px;
  text-align: center;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 10px 0;
  font-size: 18px;
}


/* =========================
   FORMULARIO
========================= */
.contact-form {
  background: #f4f4f4;
  padding: 80px 20px;
  border-top: 5px solid #2c1d67;
}

.contact-form form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 20px;
  color: #2c1d67;
  font-weight: bold;
}



/* =========================
   WOW.JS
========================= */
.wow {
  visibility: hidden;
}
/* =========================
   HEADER
========================= */
.site-header {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-height: 80px;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav .nav-list li {
  position: relative;
}

.main-nav .nav-list li a {
  text-decoration: none;
  color: #2c1d67;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav .nav-list li a:hover {
  color: #8f59d1;
}

/* Dropdown */
/* =========================
   DROPDOWN FIX
========================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* justo debajo del padre */
  left: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 999;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu li a {
  color: #2c1d67;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}

.dropdown-menu li a:hover {
  background: #f2f2f2;
}

/* Mostrar el menú al pasar mouse por el padre o por el propio menú */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* CTA */
.header-cta .btn-cta {
  background: #8f59d1;
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.header-cta .btn-cta:hover {
  background: #2c1d67;
}
/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #2c1d67;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =========================
   RESPONSIVE MENU
========================= */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #fff;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 20px;
    text-align: left;
    padding: 0 20px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-left: 15px;
  }

  .header-cta {
    display: none; /* oculto el CTA de arriba */
  }

  .hamburger {
    display: flex;
  }
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #2c1d67;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  max-width: 250px;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.social-links a img {
  width: 28px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-links a img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #aaa;
}
/* ===== FIX MENU DESKTOP REAL ===== */

@media (min-width: 901px){

  .main-nav{
    position: relative !important;
    right: 0 !important;
    display: block !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .main-nav .nav-list{
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 25px;
  }

}