/* ============================================================
   1. PALETA DE COLORES E ILUMINACIÓN (INSPIRACIÓN VIBRANTE)
   ============================================================ */
   :root {
  /* Fondos Ultra Limpios e Iluminados */
  --bg-pure: #FFFFFF;
  --bg-light: #F4F7F4;          /* Soft gris-menta blanquecino */
  
  /* Colores de Marca Activos y Energizados */
  --color-mint: #4A8B66;        /* Verde Menta / Salvia con energía y vida */
  --color-coral: #FF8A75;       /* Coral Vivo Terrenal que inyecta brillo y calor */
  --color-lavender: #7C6AA6;    /* Lavanda Eléctrico Místico */
  
  /* Textos de Alta Claridad */
  --text-dark: #1E2520;         /* Verde musgo oscuro casi negro */
  --text-muted: #536056;
  
  /* Tipografías */
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition-cubic: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============================================================
   2. RESET Y CONFIGURACIÓN BÁSICA
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-pure);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   3. BOTONES CON LUMINOSIDAD
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-cubic);
  border: none;
}

.btn--coral {
  background-color: var(--color-coral);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 138, 117, 0.3);
}
.btn--coral:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 138, 117, 0.5);
  background-color: #f27761;
}

.btn--mint {
  background-color: var(--color-mint);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 139, 102, 0.2);
}
.btn--mint:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 139, 102, 0.4);
  background-color: #3d7554;
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-mint);
  color: var(--color-mint);
}
.btn--outline:hover {
  background: rgba(74, 139, 102, 0.05);
  transform: translateY(-2px);
}

/* ============================================================
   4. NAVBAR FLOTANTE INTEGRADO
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(74, 139, 102, 0.08);
  padding: 20px 0;
  transition: var(--transition-cubic);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px; /* Espacio armónico entre el icono y el texto */
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.navbar__brand-icon {
  width: 26px;
  height: 26px;
  stroke: var(--color-mint); /* Usa el color verde/menta de tu marca para darle vida */
  transition: transform 0.3s ease;
}

.navbar__brand:hover .navbar__brand-icon {
  transform: scale(1.08); /* Sutil efecto de zoom al pasar el mouse por la marca */
}

.navbar__brand-accent {
  color: var(--color-mint);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
}

.navbar__links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.navbar__links a:hover {
  opacity: 1;
  color: var(--color-mint);
}

/* ============================================================
   ESTILOS BASE DEL BOTÓN HAMBURGUESA
   ============================================================ */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.navbar__toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 4px;
  transition: var(--transition-cubic);
  transform-origin: center;
}

/* ============================================================
   MENÚ MÓVIL PROFESIONAL (Estilo Neo-Zen)
   ============================================================ */
@media (max-width: 992px) {
  /* Mostrar botón en móvil con prioridad alta */
  .navbar__toggle {
    display: flex;
  }

  /* Animación impecable del botón a 'X' */
  .navbar__toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Panel del menú moderno (Pantalla completa deslizable con Glassmorphism) */
  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%; /* Oculto inicialmente a la derecha */
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px); /* Efecto cristal moderno */
    -webkit-backdrop-filter: blur(12px);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1); /* Transición ultra suave tipo "Ease Out Expo" */
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 40px 20px;
  }

  /* Estado Activo: Desliza el menú al centro */
  .navbar__links.is-active {
    right: 0;
  }

  /* Enlaces con tipografía de títulos y tamaño imponente */
  .navbar__links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  /* Animación escalonada al abrir (Efecto profesional premium) */
  .navbar__links.is-active li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar__links.is-active li:nth-child(1) { transition-delay: 0.1s; }
  .navbar__links.is-active li:nth-child(2) { transition-delay: 0.15s; }
  .navbar__links.is-active li:nth-child(3) { transition-delay: 0.2s; }
  .navbar__links.is-active li:nth-child(4) { transition-delay: 0.25s; }

  /* Estilo visual de los links del menú móvil */
  .navbar__links a {
    font-family: var(--font-title); /* Usa Playfair Display para elegancia */
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .navbar__links a:hover {
    color: var(--color-mint); /* Cambio sutil al tono de la marca */
  }

  /* Opcional: Estilizar el botón dentro del menú móvil si aparece */
  .navbar__links .btn {
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 32px;
  }
}

/* ============================================================
   5. HERO ILUMINADO CON OLAS VECTORIALES EN MOVIMIENTO
   ============================================================ */
.hero {
  position: relative;
  min-height: 95vh;
  padding: 160px 0 140px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-pure);
}

/* Origen de iluminación de fondo suave */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(244, 247, 244, 0.6) 0%, rgba(255,255,255,1) 70%);
  z-index: -2;
}

/* Blobs orgánicos difuminados pero con colores intensificados */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}
.shape--mint {
  width: 450px;
  height: 450px;
  background-color: var(--color-mint);
  top: -100px;
  right: -50px;
}
.shape--coral {
  width: 350px;
  height: 350px;
  background-color: var(--color-coral);
  bottom: 100px;
  left: -50px;
}

.hero__content {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-mint);
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.text-highlight {
  position: relative;
  color: var(--color-mint);
  background: linear-gradient(120deg, var(--color-mint) 0%, var(--color-lavender) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem); /* Proporcional al nuevo H1 */
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px; /* Espacio justo antes de los botones */
  max-width: 660px;    /* Ligeramente más compacto para ganar altura vertical */
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   6. CONTENEDOR Y ANIMACIÓN DE OLAS (SVG WAVES)
   ============================================================ */
.hero__waves {
  position: absolute;
  bottom: -2px; /* Evita cualquier línea muerta de pixel */
  left: 0;
  width: 100%;
  height: 15vh;
  min-height: 80px;
  max-height: 160px;
  z-index: 3;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* Tiempos y curvas de animación diferenciadas */
.wave--back use {
  animation: moveWave 22s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave--mid use {
  animation: moveWave 14s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  animation-delay: -3s;
}

.wave--front use {
  animation: moveWave 8s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  animation-delay: -5s;
}

/* Keyframe magnético para el vaivén fluido de las olas */
@keyframes moveWave {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* RESPONSIVO MÓVIL ELEMENTAL */
@media (max-width: 992px) {
  .navbar__links, .navbar__inner .btn {
    display: none;
  }
  .hero {
    padding-top: 130px;
  }
  .hero__waves {
    height: 60px;
  }
}

/* ============================================================
   7. SECCIÓN BENEFICIOS (Neo-Zen Alta Luminosidad)
   ============================================================ */
.section-beneficios {
  background-color: var(--bg-light); /* Enlaza perfectamente con el color de la última ola frontal */
  padding: 120px 0;
  position: relative;
}

/* Cabecera Estilizada */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.text-highlight-sub {
  color: var(--color-mint);
  font-weight: 700;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
}

/* Divisor Decorativo Premium */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 24px;
}
.section-divider span {
  width: 50px;
  height: 1px;
  background-color: var(--color-mint);
  opacity: 0.25;
}
.lotus-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-coral);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 138, 117, 0.6);
}

/* Grid Inteligente Responsivo */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Tarjetas Flotantes con Micro-interacciones */
.benefit-card {
  background-color: var(--bg-pure);
  padding: 45px 35px;
  border-radius: 24px;
  border: 1px solid rgba(74, 139, 102, 0.05);
  box-shadow: 0 10px 30px rgba(30, 37, 32, 0.02);
  transition: var(--transition-cubic);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Efecto hover vibrante pero limpio */
.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 138, 117, 0.25);
  box-shadow: 0 20px 40px rgba(74, 139, 102, 0.07);
}

/* Contenedor de iconos minimalistas iluminados */
.benefit-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: rgba(74, 139, 102, 0.07);
  color: var(--color-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-cubic);
}

.benefit-card__icon-wrap svg {
  width: 26px;
  height: 26px;
}

/* Al hacer hover en la tarjeta, el icono se enciende con el Coral Vivo */
.benefit-card:hover .benefit-card__icon-wrap {
  background-color: var(--color-coral);
  color: var(--bg-pure);
  box-shadow: 0 6px 15px rgba(255, 138, 117, 0.3);
  transform: scale(1.05);
}

.benefit-card h3 {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Ajustes pantallas pequeñas */
@media (max-width: 768px) {
  .section-beneficios {
    padding: 80px 0;
  }
  .benefit-card {
    padding: 35px 25px;
  }
}

/* ============================================================
   8. SECCIÓN DISCIPLINAS (Carrusel Pulido, Fluido y Neo-Zen)
   ============================================================ */

/* 1. Limita el ancho de la sección y centra el contenido */
.section-disciplinas {
  width: 100%;
  max-width: 1300px; /* Ancho máximo para pantallas grandes */
  margin: 0 auto;
  padding: 80px 20px;
  overflow: hidden; /* ¡Clave! Evita que los elementos sobresalgan de la pantalla */
}

/* 2. Asegura que el contenedor de Swiper contenga los slides de forma fluida */
.disciplinas-swiper {
  width: 100%;
  overflow: hidden; /* Evita el desborde horizontal no deseado */
  padding: 20px 10px 50px 10px; /* Espacio superior e inferior para las sombras y paginación */
}

/* 3. Forzar el ancho correcto de las tarjetas dentro del carrusel */
.disciplinas-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* ------------------------------------------------------------
   TARJETA BASE DE DISCIPLINA
   ------------------------------------------------------------ */
.discipline-card {
  background: var(--bg-pure);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(74, 139, 102, 0.08);
  box-shadow: 0 10px 30px rgba(30, 37, 32, 0.03);
  
  /* Transición ultra-fluida con aceleración curva */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.4s ease,
              opacity 0.6s ease;
  will-change: transform, box-shadow;
}

/* Estado de Elevación e Interacción al hacer Hover */
.discipline-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(74, 139, 102, 0.12);
  border-color: rgba(74, 139, 102, 0.25);
}

/* ------------------------------------------------------------
   IMAGEN Y BADGE DENTRO DE LA TARJETA
   ------------------------------------------------------------ */
.discipline-card__image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.discipline-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Zoom cinemático lento */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Efecto Zoom en la imagen al hacer hover */
.discipline-card:hover .discipline-card__image img {
  transform: scale(1.08);
}

/* Badge Flotante Coral Vivo */
.discipline-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background-color: var(--color-coral);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 138, 117, 0.3);
  z-index: 2;
}

/* ------------------------------------------------------------
   CONTENIDO TEXTUAL DE LA TARJETA
   ------------------------------------------------------------ */
.discipline-card__info {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.discipline-card__info h3 {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

/* Cambia de color el título al interactuar */
.discipline-card:hover .discipline-card__info h3 {
  color: var(--color-mint);
}

.discipline-card__info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Etiqueta de Nivel */
.discipline-card__level {
  display: inline-block;
  font-size: 11.5px;
  color: var(--color-mint);
  background-color: rgba(74, 139, 102, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 500;
  margin-top: 4px;
}

/* ------------------------------------------------------------
   CONTROLES DE NAVEGACIÓN (FLECHAS Y PAGINACIÓN)
   ------------------------------------------------------------ */
/* Paginación de Puntos */
.disciplinas-swiper .swiper-pagination {
  bottom: 20px !important;
}

.disciplinas-swiper .swiper-pagination-bullet {
  background: var(--color-mint);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.disciplinas-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 6px;
  background: var(--color-mint) !important;
}

/* Flechas Laterales */
.disciplinas-swiper .swiper-button-next,
.disciplinas-swiper .swiper-button-prev {
  color: var(--color-mint) !important;
  background: var(--bg-pure);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(30, 37, 32, 0.08);
  border: 1px solid rgba(74, 139, 102, 0.12);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.disciplinas-swiper .swiper-button-next::after,
.disciplinas-swiper .swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold;
}

/* Hover en Flechas */
.disciplinas-swiper .swiper-button-next:hover,
.disciplinas-swiper .swiper-button-prev:hover {
  background-color: var(--color-mint);
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(74, 139, 102, 0.25);
}

.disciplinas-swiper .swiper-button-next:active,
.disciplinas-swiper .swiper-button-prev:active {
  transform: scale(0.95);
}

/* ------------------------------------------------------------
   RESPONSIVO
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .section-disciplinas {
    padding: 70px 0 90px;
  }

  .disciplinas-swiper .swiper-button-next,
  .disciplinas-swiper .swiper-button-prev {
    display: none !important; /* En móviles se desliza con el dedo */
  }

  .discipline-card__image {
    height: 200px;
  }
}

/* ============================================================
   9. SECCIÓN GALERÍA / PORTAFOLIO AVANZADO
   ============================================================ */
.section-galeria {
  background-color: var(--bg-light); /* Continuidad luminosa soft */
  padding: 120px 0;
}

/* Botones de Filtro Estilizados */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  background-color: var(--bg-pure);
  border: 1px solid rgba(74, 139, 102, 0.15);
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-cubic);
}

.filter-btn:hover {
  border-color: var(--color-mint);
  color: var(--color-mint);
  transform: translateY(-2px);
}

/* Estado Activo con el Coral Vibrante */
.filter-btn.active {
  background-color: var(--color-coral);
  color: white;
  border-color: var(--color-coral);
  box-shadow: 0 4px 12px rgba(255, 138, 117, 0.3);
}

/* Grid Asimétrico Dinámico */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  transition: opacity 0.3s ease;
}

/* Tarjeta contenedora de imagen del portafolio */
.portfolio-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(30, 37, 32, 0.02);
  background-color: var(--bg-pure);
  border: 1px solid rgba(74, 139, 102, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

/* Animación cuando un filtro oculta elementos */
.portfolio-item.hide {
  display: none;
}

.portfolio-item__image {
  position: relative;
  width: 100%;
  padding-top: 70%; /* Aspect ratio elegante y constante */
  overflow: hidden;
}

.portfolio-item__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Capa de Hover / Overlay */
.portfolio-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 139, 102, 0.4); /* Capa menta traslúcida */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item__zoom-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-pure);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: scale(0.7);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efectos combinados al hacer Hover */
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(74, 139, 102, 0.1);
}

.portfolio-item:hover .portfolio-item__image img {
  transform: scale(1.08); /* Zoom cinemático */
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-item__zoom-icon {
  transform: scale(1);
}

/* Personalización minimalista de Fancybox */
.fancybox__backdrop {
  background: rgba(30, 37, 32, 0.95) !important;
}
.fancybox__caption {
  font-family: var(--font-title) !important;
  font-size: 16px !important;
}

/* ============================================================
   ESTILOS DE LA SECCIÓN DE REVIEWS (Fondo Blanco para alternar con FAQs verdes)
   ============================================================ */
.reviews-section {
  padding: 110px 20px;
  background-color: var(--bg-pure); /* Fondo blanco puro */
  overflow: hidden;
}

/* Grilla de Reseñas */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: var(--bg-light); /* Tarjetas en gris suave para destacar sutilmente sobre el fondo blanco */
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(30, 37, 32, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(83, 96, 86, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 37, 32, 0.06);
}

.review-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  background-color: rgba(74, 139, 102, 0.15);
  color: var(--color-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.author-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 0 0 2px 0;
}

.author-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   EFECTOS DE ENTRADA PROFESIONALES (Intersection Observer Style)
   ============================================================ */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 70px 16px;
  }
}


/* ============================================================
   SECCIÓN FAQS (Usando el verde suave del footer y clases base)
   ============================================================ */
.faqs-section {
  width: 100%;
  padding: 110px 0;
  background-color: var(--bg-light); /* Mismo tono menta suave del footer */
  overflow: hidden;
}

.faqs-section .container {
  max-width: 850px;
}

/* Reajuste de la cabecera usando las clases base compartidas */
.faqs-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Acordeón con tarjetas en blanco puro sobre fondo menta suave */
.faqs-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-pure); /* Tarjetas blancas puras que contrastan con el fondo suave */
  border: 1px solid rgba(83, 96, 86, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(30, 37, 32, 0.02);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(74, 139, 102, 0.3);
  box-shadow: 0 8px 25px rgba(30, 37, 32, 0.05);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-dark);
  cursor: pointer;
  gap: 20px;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-mint);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado activo del acordeón */
.faq-item.is-open {
  box-shadow: 0 10px 30px rgba(30, 37, 32, 0.05);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-item.is-open .faq-answer-content {
  padding-bottom: 24px;
}


/* ============================================================
   10. SECCIÓN CONTACTO Y MAPA DE GOOGLE
   ============================================================ */
.section-contacto {
  background-color: var(--bg-pure); /* Fondo brillante */
  padding: 120px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Tarjeta del Formulario */
.contact-card {
  background-color: var(--bg-light);
  padding: 45px;
  border-radius: 28px;
  border: 1px solid rgba(74, 139, 102, 0.05);
}

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(74, 139, 102, 0.15);
  background-color: var(--bg-pure);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-cubic);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-mint);
  box-shadow: 0 0 0 4px rgba(74, 139, 102, 0.12);
}

/* Estilos de Botón Ancho Completo */
.btn--full {
  width: 100%;
  margin-top: 10px;
}

/* Manejo Dinámico de Errores */
.form-group.has-error input,
.form-group.has-error select {
  border-color: #e57373;
  background-color: #fffaf9;
}

.form-error {
  font-size: 12px;
  color: #d32f2f;
  margin-top: 6px;
  font-weight: 500;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-alert {
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  display: none;
  background-color: rgba(74, 139, 102, 0.1);
  color: var(--color-mint);
  font-weight: 500;
}

/* Tarjeta Informativa Derecha */
.info-card {
  background-color: #eef3ee;
  padding: 45px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-item__icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-pure);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.info-item h4 {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.info-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Ajuste del Mapa de Google */
.map-container {
  flex-grow: 1;
  min-height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(30, 37, 32, 0.05);
  border: 4px solid var(--bg-pure);
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-card, .info-card {
    padding: 30px 20px;
  }
  .map-container {
    height: 300px;
  }
}

/* ============================================================
   11. ANIMACIONES INTERACTIVAS AL HACER SCROLL (Scroll Reveal)
   ============================================================ */

/* Estado inicial de los elementos a animar */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

/* Variante con escala suave para tarjetas */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

/* Estado cuando el elemento entra en pantalla */
.reveal-on-scroll.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Retardos escalonados para listas o grids (Efecto Cascada) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   12. SECCIÓN FOOTER NEO-ZEN
   ============================================================ */
.site-footer {
  background-color: var(--bg-light); /* Tono menta suave */
  border-top: 1px solid rgba(74, 139, 102, 0.08);
  padding: 80px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Columna Marca */
.footer-logo {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--color-mint);
}

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 380px;
}

/* Redes Sociales con Hover Interactivo */
.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-pure);
  color: var(--color-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 139, 102, 0.12);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: var(--transition-cubic);
}

.social-link:hover {
  background-color: var(--color-coral);
  color: #ffffff;
  border-color: var(--color-coral);
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(255, 138, 117, 0.3);
}

/* Titulares de columnas */
.footer-title {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-mint);
  margin-top: 8px;
  border-radius: 2px;
}

/* Listas de Enlaces */
.footer-links, .footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-mint);
  transform: translateX(4px);
}

.footer-info-list li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-info-list span {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
}

/* Footer Bottom (Barra Inferior) */
.footer-bottom {
  border-top: 1px solid rgba(74, 139, 102, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-mint);
}

/* Responsivo */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


/* ============================================================
   BOTONES FLOTANTES (WhatsApp y Llamada)
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* Estilo general de los botones */
.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Botón de Llamada (Color Azul Oficial / Neutro Elegante) */
.floating-btn--call {
  background-color: #007AFF; 
}

/* Botón de WhatsApp (Color Verde Oficial) */
.floating-btn--whatsapp {
  background-color: #25D366;
  animation: pulse-whatsapp 2s infinite ease-in-out; /* Efecto continuo */
}

/* Animación continua y sutil para que llame la atención de forma elegante */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}



/* ============================================================
   ESTILOS DE LA PÁGINA DE CONTACTO / LANDING ADS
   ============================================================ */
.contact-page {
  padding: 140px 20px 80px;
  min-height: 100vh;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Columna de Texto */
.contact-badge {
  display: inline-block;
  background-color: rgba(74, 139, 102, 0.1);
  color: var(--color-mint);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-title em {
  font-style: italic;
  color: var(--color-mint);
}

.contact-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-benefits-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-dark);
  font-weight: 500;
}

/* Tarjeta del Formulario */
.contact-form-wrapper {
  background-color: var(--bg-pure);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(30, 37, 32, 0.06);
}

.lead-form h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(83, 96, 86, 0.2);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-mint);
  background-color: var(--bg-pure);
  box-shadow: 0 0 0 3px rgba(74, 139, 102, 0.15);
}

.btn--full {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 600;
  background-color: var(--color-coral);
  color: #FFFFFF;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--full:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 138, 117, 0.4);
}

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.navbar__link-back {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar__link-back:hover {
  color: var(--color-mint);
}

/* Responsivo para móviles */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-page {
    padding-top: 100px;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
}


/* ============================================================
   ESTILOS DE LA PÁGINA DE GRACIAS (Gracias Ads)
   ============================================================ */
.thanks-page {
  padding: 140px 20px 80px;
  min-height: 100vh;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-card {
  max-width: 650px;
  width: 100%;
  background-color: var(--bg-pure);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(30, 37, 32, 0.06);
  text-align: center;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(74, 139, 102, 0.1);
  color: var(--color-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thanks-badge {
  display: inline-block;
  background-color: rgba(74, 139, 102, 0.1);
  color: var(--color-mint);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.thanks-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.thanks-title em {
  font-style: italic;
  color: var(--color-mint);
}

.thanks-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

.thanks-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background-color: transparent;
  color: #25D366;
  border: 2px solid #25D366;
  transition: all 0.3s ease;
}

.btn--whatsapp-outline:hover {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
  .thanks-card {
    padding: 30px 20px;
  }
  .thanks-actions {
    flex-direction: column;
  }
  .thanks-actions .btn {
    width: 100%;
  }
}



.navbar__demo-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background-color: #e53e3e; /* Rojo llamativo para alerta visual */
  border-radius: 4px;
  vertical-align: middle;
}