.elementor-1102 .elementor-element.elementor-element-171eae51{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-1102 .elementor-element.elementor-element-171eae51{--content-width:1100px;}}/* Start custom CSS for html, class: .elementor-element-6cf66c56 *//* Importación de Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600&family=Poppins:wght@400;600&display=swap');

/* Variables CSS */
:root {
  --main-color: #55c5d5;
  --dark-green: #029d70;
  --black: #2c2c2c;
  --white: #ffffff;
  --transition-speed: 0.3s;
}

/* Base Global */
.header, nav, ul, li {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

/* ===== Header y Layout Principal ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  /* Asegura que el header use todo el ancho de la ventana */
  width: 100%; 
}

/* --- MODIFICACIÓN: AUMENTAR TAMAÑO DEL LOGO --- */
.logo img {
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

/* --- MODIFICACIÓN CLAVE: DISTRIBUCIÓN DE ESPACIO --- */
nav {
  /* Permite que la navegación crezca y ocupe todo el espacio sobrante */
  flex-grow: 1; 
  /* Alineamos el contenido de la nav (el ul.nav-menu) a la derecha */
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
  /* El contenido del menú se alinea a la derecha (gracias al justify-content: flex-end en nav) */
}
/* ---------------------------------------------------------------- */

.nav-menu li {
  position: relative;
  display: block; 
}

.nav-menu a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 15px 12px;
  transition: color var(--transition-speed);
  font-size: 15px;
}
.nav-menu a:hover {
  color: var(--main-color);
}

/* Resto del CSS (Submenú, CTA, Hamburguesa) sin cambios para la distribución... */

/* ===== Submenú (Desktop) ===== */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  border-radius: 8px;
  min-width: 220px;
  z-index: 999;
  padding: 5px 0;
}

.submenu li {
  display: block;
}

.submenu li a {
  padding: 10px 18px;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.submenu a:hover {
  background-color: var(--main-color);
  color: var(--white);
  border-radius: 4px;
}

.nav-menu li:hover > .submenu {
  display: block;
}

/* ===== CTA Button Desktop ===== */
.cta-button {
  background: var(--main-color);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(85, 197, 213, 0.4);
}

.cta-button:hover {
  background: var(--dark-green);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* ===== CTA Flotante Móvil ===== */
.cta-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--main-color);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  z-index: 2000;
}

.cta-float:hover {
  background: var(--dark-green);
  transform: scale(1.05);
}

/* ===== Botón Hamburguesa y Overlay ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1200;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación de la X */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Overlay de fondo */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 900;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Responsive Móvil ===== */
@media (max-width: 1024px) {
    /* Ocultar el menú de navegación y mostrar el botón hamburguesa */
    nav {
        display: none; 
    }
    .hamburger {
        display: flex;
    }
}


@media (max-width: 768px) {
  .header {
    padding: 10px 15px;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform var(--transition-speed) ease;
    z-index: 1100;
  }
  
  nav.active {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: flex-start;
  }
  
  .nav-menu li {
      width: 100%;
      border-bottom: 1px solid #eee;
  }
  
  .nav-menu li:last-child {
      border-bottom: none;
  }

  .nav-menu a {
    padding: 15px 0;
    font-size: 16px;
    width: 100%;
  }

  /* Submenú en Móvil */
  .submenu {
    position: static;
    box-shadow: none;
    background: #f8f8f8;
    border-radius: 0;
    min-width: auto;
    padding: 10px 0 10px 20px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.2s ease-in;
  }
  
  .submenu.show {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }
  
  .submenu li a {
      padding: 10px 0;
  }
  
  /* Mostrar CTA flotante y ocultar el de desktop */
  .cta-button {
    display: none !important;
  }
  
  .cta-float {
    display: inline-block;
  }
}/* End custom CSS */