/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-primary: #896ae1;
  --color-secondary: #62dbec;
  --color-primary-light: rgba(137, 106, 225, 0.1);
  --color-secondary-light: rgba(98, 219, 236, 0.1);
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-bg: #f8fafc;
  --color-bg-soft: #f1f5f9;

  /* Typography */
  --font-family: "Poppins", sans-serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --container-width: 1200px;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section__subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.whyus{
  font-size:3.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  text-transform:none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.whyus_description{
  font-size:1.5rem !important;
  margin-top:1rem;
  color: white !important;
}

.section__subtitle--center {
  text-align: center;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.section__title--center {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-1{
  color: #00e1ff;
}
.text-gradient-2{
  color: #00e1ff;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.938rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(137, 106, 225, 0.3);
}
.btn--whatsapp {
  background: linear-gradient(135deg, #138f7a, #06af44);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(137, 106, 225, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(137, 106, 225, 0.4);
}

.btn--outline {
  border: 2px solid white;
  color: var(--color-primary);
  width: 15rem;
  background: white;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* Esta clase se añade solo a botones que necesitan feedback de éxito */
.btn-status-success {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* El fondo verde preparado, pero invisible */
.btn-status-success::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #22c55e;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Solo cuando el JS añade 'btn--success', el ::after se muestra */
.btn-status-success.btn--success::after {
    opacity: 1;
}

/* Mantenemos el texto blanco sobre el verde */
.btn-status-success.btn--success {
    color: white !important;
}
/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: box-shadow 0.3s ease-in-out;
}

/* Creamos una capa para el gradiente que cubra todo el header */
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6e37a1 0%, var(--color-primary) 50%, #62dbec 100%);
  opacity: 0; /* Empieza invisible */
  transition: opacity 0.3s ease-in-out; /* Transición suave de visibilidad */
  z-index: -1; /* Se coloca detrás del contenido de la nav */
}

.header.scroll-header {
  box-shadow: var(--shadow-md);
}

/* ...hacemos aparecer la capa del gradiente suavemente */
.header.scroll-header::before {
  opacity: 1;
}

.nav {
  position: relative; /* Para que respete el z-index */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.938rem;
  font-weight: 500;
  color: white;
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-secondary), #26c1e7);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-secondary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--color-text);
}

.nav__close {
  color: white !important;
}

.nav__menu.show-menu{
  background: var(--color-text);
  z-index:9999;
}
.show-menu .nav__link{
  color: white;
}
.show-menu .nav__link:hover,
.show-menu .nav__link.active {
  color: var(--color-secondary);
}
/* ============================================
   Social Icons Estilo (.hero__)
   ============================================ */
.hero__social-list {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero__social-link {
  width: 35px;
  height: 35px;
  background-color: #474747; /* Gris oscuro */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.hero__social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

/* Lógica de visibilidad (Desktop vs Mobile) */
.nav__mobile-actions {
  display: none; /* Oculto por defecto en desktop */
}

.social-ws{
  background: linear-gradient(135deg, #0d5e50, #06af44);
}

.fb{
  background-color: #0616f5;
}
.social-fb:hover{
  background-color: #0613c7;
}
.ig{
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}
.social-ig {
    position: relative; /* Necesario para posicionar la capa del gradiente */
    z-index: 1;
    overflow: hidden; /* Mantiene el gradiente dentro del círculo */
}

/* Creamos una capa invisible con el gradiente */
.social-ig::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    opacity: 0; /* Empieza invisible */
    transition: opacity 0.3s ease-in-out; /* Esta propiedad SÍ se puede animar */
    z-index: -1; /* Se coloca detrás del icono */
}

/* Al hacer hover, solo cambiamos la opacidad de la capa oculta */
.social-ig:hover::before {
    opacity: 1;
}

/* El icono debe estar por encima de la capa */
.social-ig iconify-icon {
    position: relative;
    z-index: 2;
}
.tt{
  background: #000;
}
.social-tt:hover{
  background: #000;
}
/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6e37a1 0%, var(--color-primary) 50%, #62dbec 100%);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape--1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  opacity: 0.5;
  top: -100px;
  right: -100px;
}

.shape--2 {
  width: 300px;
  height: 300px;
  background: var(--color-secondary);
  bottom: 10%;
  opacity: 0.3;
  left: -50px;
}

.shape--3 {
  width: 200px;
  height: 200px;
  background: var(--color-primary);
  bottom: 20%;
  opacity: 0.4;
  right: 20%;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.281);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero__description {
  font-size: 1.125rem;
  color: rgb(255, 255, 255);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: var(--color-white);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.226);
}

.about__experience {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__experience-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
}

.about__experience-text {
  font-size: 0.875rem;
}

.about__description {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.about__list {
  margin-top: 1.5rem;
}

.about__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.check-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* ============================================
   Cambridge Section
   ============================================ */
.cambridge {
 background: var(--color-white);
}

.cambridge__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cambridge__subimg{
  height:100px;
  width:180px;
  margin-top:2rem;
  margin-left:-0.7rem;
}

.cambridge__image {
  position: relative;
}

.cambridge__image img {
  border-radius: var(--radius-lg);
}

.cambridge__description {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}


/* ============================================
   Services Section
   ============================================ */
.services {
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service__card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.service__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin: 0 auto 1.5rem;
}

.service__icon iconify-icon {
    font-size: 40px;      /* Cambia el tamaño */
}

.service__icon--secondary {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
}

.service__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service__description {
  color: var(--color-text-light);
  font-size: 0.938rem;
}

/* ============================================
   Frontlangu Kids Section
   ============================================ */
.kids {
  background: linear-gradient(to top right, #6e37a1 0%, var(--color-primary) 50%, #62dbec 100%);/*linear-gradient(135deg, #03b0c7 0%, var(--color-primary) 50%, #6e37a1 100%);*/
  color: white;
}

.title__white{
  color: white;
}

.kids__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.kids__image {
  position: relative;
}

.kids__image img {
  border-radius: var(--radius-lg);
}

.kids__description {
  color: white;
  margin-bottom: 1rem;
}

.kids__list {
  margin-top: 1.5rem;
}

.kids__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* ============================================
   Nuevos estilos Frontlangu Kids (Input y Socials)
   ============================================ */

.kids__input-wrapper {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 6px 6px 6px 20px;
  border-radius: 50px; /* Bordes muy redondos */
  margin-top: 1.5rem;
  max-width: 450px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kids__input {
  border: none;
  outline: none;
  flex: 1;
  font-family: inherit;
  font-size: 1rem;
  color: #333;
  background: transparent;
}

.kids__send-btn {
  background-color: #25D366; /* Verde WhatsApp */
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%; /* Botón circular */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.2s, background-color 0.2s;
}

.kids__send-btn:hover {
  background-color: #1eb954;
  transform: scale(1.05);
}

.kids__social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
  padding-left: 10px;
}

.kids__social-link {
  color: white;
  font-size: 1.8rem;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
}

.kids__social-link:hover {
  opacity: 0.8;
  color: #62dbec; /* Un toque del color de tu gradiente */
}
.kids__whatsapp:hover{
  color: #7dffad; /* Verde WhatsApp */
}
.kids__facebook:hover{
  color: #72bbff;
}
/* ============================================
   Why Us Section
   ============================================ */
.why-us {
  /* Imagen de fondo de Unsplash */
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                    url('https://images.unsplash.com/photo-1752652011885-b0d36aeb3047?q=80&w=1031&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  
  /* El secreto del Parallax */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
  padding: 100px 0; /* Espaciado para que se aprecie la ventana */
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-us__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  transition: var(--transition);
  cursor: pointer;
}

.why-us__card:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  transform: translateY(-5px);
}

.why-us__card:hover .why-us__number,
.why-us__card:hover .why-us__title,
.why-us__card:hover .why-us__description {
  color: var(--color-white);
  opacity: 1;
}

.why-us__number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.why-us__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.why-us__description {
  color: var(--color-text-light);
  font-size: 0.875rem;
  transition: var(--transition);
}

.why-us__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, #6e37a1 0%, #906eee 60%, #62dbec 100%);
  border-radius: var(--radius-lg);
}

.stat {
  text-align: center;
  color: var(--color-white);
}

.stat__number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
}

.stat__number::after {
  content: "+";
}

.stat__text {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
  background: var(--color-bg);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial__card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.testimonial__stars {
  color: #ffc107;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial__text {
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e9e9e9;
}

.testimonial__name {
  display: block;
  font-weight: 600;
  color: var(--color-text);
}

.testimonial__role {
  font-size: 0.813rem;
  color: var(--color-text-light);
}

/* ============================================
   Facebook Section
   ============================================ */

/* =============== FACEBOOK ============== */
.facebook-section {
            position: relative;
            padding: 80px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            overflow: hidden;
            background: linear-gradient(to left,  #2685df 50%, #053b6d 100%);
            z-index: 0;
        }

        .facebook-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            max-width: 1100px;
            width: 100%;
            gap: 40px;
            position: relative;
            z-index: 2;
            align-items: center;
        }

        /* Columna izquierda */
        .facebook-info {
            flex: 1;
            min-width: 280px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .facebook-icon {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .facebook-icon svg {
            width: 48px;
            height: 48px;
            filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.6));
        }

        .facebook-title {
            font-size: 2.2rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .facebook-subtitle {
            font-size: 1.1rem;
            line-height: 1.6em;
            color: #ffffff;
            max-width: 90%;
        }

        .facebook-button {
            display: inline-block;
            padding: 12px 30px;
            background: #fff;
            color: #1877f2;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            text-align: center;
            width: fit-content;
            box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
            position: relative;
            overflow: hidden;
        }

        .facebook-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .facebook-button:hover {
            background: #0f3777;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(24, 119, 242, 0.6);
            color: white;
        }

        .facebook-button:hover:before {
            left: 100%;
        }

        /* Columna derecha */
        .facebook-frame {
            flex: 1;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 0 30px rgba(24, 119, 242, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 450px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .facebook-frame:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 40px rgba(24, 119, 242, 0.6);
        }

        .iframe-container {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .facebook-frame iframe {
            width: 100%;
            height: 450px;
            border: none;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        /* Efecto de luz suave */
        .facebook-glow {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(24, 119, 242, 0.2), transparent 70%);
            animation: pulseGlow 8s infinite alternate;
            z-index: 1;
        }

        @keyframes pulseGlow {
            from { transform: scale(1); opacity: 0.5; }
            to { transform: scale(1.2); opacity: 1; }
        }

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(135deg, #138f7a, #06af44);
  text-align: center;
}

.cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.btn--cta{
  color: #06af44;
}
.btn--cta:hover{
  background: #04533f;
  color: white;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: var(--color-white);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__card {
  padding: 1.5rem;
  background: #f3f9ff;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact__card:hover {
  box-shadow: var(--shadow-md);
}

.contact__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.contact__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact__description {
  font-size: 0.813rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.contact__link {
  color: var(--color-primary);
  font-weight: 500;
}

.contact__form {
  background: #f3f9ff;
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 0.938rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: var(--transition);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Clase para el estado de éxito del botón */
.btn--success {
    background-color: #22c55e !important; /* Verde esmeralda */
    border-color: #22c55e !important;
    color: white !important;
    pointer-events: none; /* Evita clics extra mientras está en verde */
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-text);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__logo {
  height: 45px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.social__link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social__link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: var(--transition);
}

a.footer__link:hover {
  color: var(--color-secondary);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* ============================================
   Responsive Design
   ============================================ */
/* 1. ESTILOS DESKTOP (Desde 769px en adelante) */
@media screen and (min-width: 769px) {
  .nav__menu {
    display: flex;
    align-items: center;
  }

  .nav__list {
    display: flex;
    gap: 2rem;
    flex-direction: row; /* Aseguramos que sea horizontal */
  }

  /* Escondemos lo que es exclusivo de móvil */
  .nav__mobile-actions, 
  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}
@media screen and (max-width: 1024px) {
  .hero__title {
    font-size: 2.75rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Responsive Facebook */
        @media (max-width: 900px) {
            .facebook-container {
                flex-direction: column;
                gap: 30px;
                align-items: center;
            }

            .facebook-info {
                text-align: center;
                align-items: center;
            }

            .facebook-icon {
                justify-content: center;
            }

            .facebook-subtitle {
                max-width: 100%;
            }

            .facebook-frame {
                width: 100%;
                min-height: 400px;
            }

            .facebook-frame iframe {
                height: 400px;
            }
        }

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 5rem 2rem;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
  }
  .nav__list{
    gap:1.5rem;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  /* Mostramos las acciones móviles DENTRO del menú */
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }
  .nav__list {
    flex-direction: column;
    text-align: center;
  }

  .nav__toggle {
    display: block;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .nav__actions .btn {
    display: none;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cambridge__container{
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .kids__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__experience {
    right: 20px;
    bottom: -20px;
  }

  .section__title {
    font-size: 2rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .why-us__stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .facebook-icon {
    flex-direction: column; /* pone el icono y título en columna */
    align-items: center;    /* centra horizontalmente los hijos */
    gap: 0.5rem;            /* espacio entre icono y título */
  }

  .facebook-title {
    text-align: center;     /* centra el texto */
    margin-top:1rem;
  }

  .cta__title {
    font-size: 1.75rem;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .nav__actions .hero__social-list{
    display: none;
  }
  .hero__title {
    font-size: 1.875rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  .about__content{
    text-align:center;
    margin-top:2rem;
  }
  .about__item{
    text-align:left;
  }
  .cambridge__content{
    text-align:center;
  }
  .cambridge__subimg{
    margin: 0 auto;
    margin-top: 2rem;
  }
  .kids__content{
    text-align:center;
  }
  .kids__input-wrapper{
    margin-top:3rem;
  }
  .kids__social-icons{
    justify-content:center;
  }

  .btn--lg {
    padding: 0.875rem 1.5rem;
  }

  .stat__number {
    font-size: 2.25rem;
  }

  .facebook-section {
    padding: 50px 15px;
  }

  .facebook-title {
    font-size: 1.8rem;
  }

  .facebook-subtitle {
    font-size: 1rem;
  }

  .facebook-frame {
    padding: 15px;
    min-height: 350px;
  }

  .facebook-frame iframe {
    height: 350px;
  }
}