/*========== Font and typography ==========*/
@font-face {
  font-family: "Kidsbar";
  src: url("assets/fonts/Kidsbar-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;

  /* AGREGA ESTA LÍNEA: */
  font-display: swap;
}

:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/

  --second-color: hsl(45, 100%, 52%);
  --second-color-dark: hsl(45, 100%, 20%);
  --white-color: hsl(0, 0%, 100%);

  --shadow-circle: 0 12px 24px hsla(0, 0%, 0%, 0.4);
  --shadow-button: 0 -4px 8px hsla(0, 0%, 0%, 0.3);

  --body-color: #3c4956;

  /*Colores Rosete Web*/

  /* --color-primario:  #2D82A2; */
  --color-primario: #27749f;

  --color-secundario: #7cce59;
  --color-secundario-sombra: #458828;

  /*  --color-terciario:  #cadde3; */
  --color-terciario: #eef6f9;
  --color-terciario-sombra: #9bb9ca;

  --menu-accent: var(--accent, #61ce70);
  --menu-accent-shadow: #458828;
  --menu-accent-text: #fff;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Manrope", sans-serif;
  --second-font: "Titan One", sans-serif;
  --third-font: "Kidsbar", sans-serif;

  --h1-font-size: 2rem;
  --h2-font-size: 1.7rem;
  --h3-font-size: 1.5rem;

  --menu-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--body-color);
  /* color: var(--white-color); */

  /* background-color: var(--color-primario); */
}

/* ========================================== */
/* ESTILOS DEL PRELOADER                      */
/* ========================================== */

/* #preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white-color); 
  z-index: 99999; 

  display: flex;
  justify-content: center;
  align-items: center;

  
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}


#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; 
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}


.preloader-logo {
  width: 120px; 
  height: auto;
  animation: logo-pulse 1.5s infinite ease-in-out;
}

@keyframes logo-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1); 
  border-left-color: var(--color-secundario); 
  border-top-color: var(--color-primario); 
  border-radius: 50%;
  animation: spinner-spin 1s linear infinite;
}

@keyframes spinner-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} */

a {
  text-decoration: none;
  font-size: clamp(0.75rem, 2vw + 0.5rem, 1.2rem);
}

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

p {
  font-size: clamp(0.75rem, 2vw + 0.5rem, 1.2rem);
  color: var(--body-color);
}

/*=============== REUSABLE CSS CLASSES ===============*/

.container {
  /* max-width: 1120px; */
  width: min(90%, 1380px);
  /* width: min(90%, 1200px); */
  margin: 0 auto;
  /* overflow: hidden; */
  /* margin-inline: 1.5rem; */
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 0.25rem;
}

.section__body {
  padding-block: 1rem 0.25rem;
}

.section__title,
.subportada_title {
  /* font-size: clamp(1.5rem, 4vw + 1rem, 3.5rem); */
  font-size: clamp(1.5rem, calc(4vw + 1rem), 3.5rem);
  font-family: Kidsbar;
  text-transform: uppercase;
  text-align: center;
}

.section__title {
  color: var(--color-primario);
}

.main {
  overflow: hidden;
}

.figure_line {
  padding: 1rem 0;
}

.figure_line__img {
  margin: 0 auto;
}

/* ================================== */
/*              HEADER                */
/* ================================== */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: box-shadow 0.4s;
}

.header .top-bar {
  display: none;
}

.nav {
  display: grid;
}

.header__container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav__logo-img {
  display: block;
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav__menu {
  position: fixed;
  left: -100%;
  top: 0;
  background-color: var(--color-primario);
  width: 100%;
  height: 100%;

  overflow-y: auto;
  overscroll-behavior: contain;

  padding: 5rem 1.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: left 0.4s;
}

.nav__close,
.nav__toggle {
  display: flex;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-primario);
}

.nav__close {
  color: #fff;
}

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

.shadow-header {
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.15);
}

.show-menu {
  left: 0;
}

#menu-bar {
  display: none;
}

.show-menu #menu-bar {
  display: block;
  margin-top: 3rem;
  width: 100%;
}

.top-bar__container__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.top-bar__item__menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar__icon__menu {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.top-bar__text__menu {
  display: flex;
  flex-direction: column;
  color: white;
}

.top-bar__title__menu {
  font-family: "Kidsbar", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  color: inherit;
}

.top-bar__title__menu:hover {
  color: var(--color-secundario);
}

.top-bar__subtitle__menu {
  font-size: 0.9rem;
}

.nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  color: var(--white-color);
  font-size: 1.3rem;
  font-weight: var(--font-semi-bold);
  /* transition: color .4s; */

  padding: 0.6rem 1.5rem;
  /* movil */
  border-radius: 50px;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.nav__link:hover {
  background-color: #61ce70;
  color: var(--white-color);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.5rem;

  transition: transform 0.4s;
}

.dropdown__content,
.dropdown__group,
.dropdown__list {
  display: grid;
  list-style: none;
}

.dropdown__container {
  background-color: var(--menu-accent);
  height: 0;
  /* max-height: 0; */
  overflow: hidden;
  transition: height 0.4s;
}

.dropdown__content {
  row-gap: 1.75rem;
}

.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}

.dropdown__group:first-child {
  margin-top: 1.25rem;
}

.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}

.dropdown__title {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.4rem);
  line-height: 1.5;
  color: white;
}

.dropdown__list {
  row-gap: 0.5rem;
}

.dropdown__link {
  font-size: 1.2rem;
  line-height: 1;
  color: white;
  transition: color 0.3s;
}

.dropdown__link:hover {
  color: var(--color-primario);
}

.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

.top-bar__dropdown {
  position: relative;
}

/* ========================================== */
/*          BLOQUEAR SCROLL                   */
/* ========================================== */

body.no-scroll {
  overflow: hidden !important;
  height: 100vh;
  touch-action: none;
}

/* ================================== */
/*         SERVICIOS ESCOLARES        */
/* ================================== */

.services__container {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.services__article {
  position: relative;
  width: min(95%, 450px);
  margin: 0 auto;
  /* padding: 2rem 1.5rem; */
  padding: 1.5rem 1.5rem;
  border-radius: 3.5rem;
}

.services__article:hover {
  transform: translateY(-2px) scale(0.98);
  /* se hunde pero sube un poco */
}

.services__content {
  display: flex;
  flex-direction: column;

  align-items: center;
  gap: 1rem;
}

.article__title {
  font-family: var(--second-font);
  /* "Titan One" */
  font-weight: var(--font-regular);
  /* 400 */

  /* clamp(MÍNIMO, PREFERIDO_ESCALABLE, MÁXIMO) */
  font-size: clamp(
    var(--h3-font-size),
    /* MÍNIMO: 1.5rem */ calc(1.4rem + 0.5vw),
    /* PREFERIDO/ESCALABLE: Ajustado para tu rango
                                              - El '1.4rem' es un punto de partida para que el 'calc()' no sea menor que el mínimo.
                                              - El '0.5vw' es el factor de escalado. Aumenta o disminuye si quieres más o menos agresividad. */
    var(--h1-font-size) /* MÁXIMO: 2rem */
  );

  margin-bottom: 0.5rem;
  /* Mantiene tu margen existente */
}

.services__img {
  border-radius: 2rem;
  border: 5px solid white;
}

.services__title--blueli {
  background-color: var(--color-terciario);
  color: var(--color-primario);

  border-bottom: 3px solid var(--color-terciario-sombra);
}

.services__title--blue {
  background-color: var(--color-primario);
  color: white;
}

.services__title--green {
  background-color: var(--color-secundario);
  color: white;

  border-bottom: 3px solid var(--color-secundario-sombra);
}

.icon-arrow-circle {
  /* Estilos para el círculo verde */
  display: inline-flex;
  /* Permite aplicar width/height y centrar el icono dentro */
  justify-content: center;
  /* Centra el icono horizontalmente en el círculo */
  align-items: center;
  /* Centra el icono verticalmente en el círculo */
  width: 50px;
  /* Ajusta el tamaño del círculo */
  height: 50px;
  /* Debe ser igual al width para ser un círculo perfecto */
  border-radius: 50%;
  /* Crea la forma circular */

  /* Color de fondo del círculo */
  color: white;
  /* Color del icono de la flecha */
  font-size: 2.2em;
  /* Tamaño del icono dentro del círculo */

  /* Posicionamiento similar al de tu antigua imagen SVG */
  position: absolute;
  bottom: -1.5rem;
  /* Posiciona 1rem por debajo del borde inferior del padre */
  left: 0;
  right: 0;
  margin: 0 auto;
  /* Centra horizontalmente el círculo dentro de su contenedor padre */

  /* Sombra que rodea el círculo a la mitad con un verde más fuerte (única sombra) */
  box-shadow: 0 2px 0 0 #184201;

  transition: transform 0.4s;
  /* Para la animación al interactuar */

  /* Asegúrate de que el icono no se superponga con otros elementos si es necesario */
  z-index: 10;
}

.arrow-green {
  background-color: var(--color-secundario);
}

.arrow-blue {
  background-color: var(--color-primario);
}

.educacion__container,
.lunch__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  justify-items: center;
}

.educacion__container-description,
.lunch__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.centrar {
  align-items: center;
}

.nosotros .educacion__container p,
.lunch__content p,
.info-section p {
  width: 90%;
  margin-inline: auto;
  text-align: justify;
}

.educacion__container--full {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;

  justify-items: center;
  align-items: center;
}

.educacion__container--full .educacion__container-description {
  width: min(90%, 900px);
  margin-inline: auto;
}

.educacion__container--full .educacion__container-description p {
  text-align: justify;
}

.educacion__article {
  width: min(95%, 450px);

  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
}

.article__titulo {
  font-family: var(--second-font);
  font-weight: var(--font-regular);

  font-size: clamp(
    1.3rem,
    /* Mínimo: bajamos de ~1.5rem a 1.3rem */ calc(1.2rem + 0.4vw),
    /* Escalado: menos agresivo */ 1.8rem
      /* Máximo: bajamos de ~2rem a 1.8rem */
  );

  margin-bottom: 0.5rem;
}

/* Variantes de color */
.educacion__title--green {
  color: #00cc33;
  background-color: #d2efc7;
}

.educacion__title--blue {
  background-color: #eff5f8;
  color: #1b516d;
}

.educacion__title--red {
  background-color: #fff2f9;
  color: #b70065;
}

.educacion__title--yellow {
  background-color: #fffbea;
  color: #ffcc00;
}

/*=============== SECCIÓN SOMOS (NUEVO CÓDIGO Y MODIFICACIONES) ===============*/

.somos.section {
  background-color: var(--white-color);
  /* Fondo blanco para la sección somos */
  position: relative;
  /* Útil para asegurar el z-index si hay superposiciones */
  overflow: hidden;
  /* Previene desbordamientos */
}

/*=============== ESTUDIA CON NOSOTROS ===============*/

.nosotros p {
  text-align: center;
}

.somos__iconos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.somos__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  gap: 0.5rem;
}

@keyframes hop {
  0% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(0);
  }

  80% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.somos__icon {
  will-change: transform;

  width: clamp(80px, 6vw, 128px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  /* ⬅️ asegura que alto = ancho */

  /* círculo */
  padding: 1rem;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 3px solid transparent;
  /* base */
}

/* Animación base */
.somos__icon.is-visible {
  animation: hop 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Cascada: cada ítem espera un poco más */
.somos__item:nth-child(1) .somos__icon.is-visible {
  animation-delay: 0s;
}

.somos__item:nth-child(2) .somos__icon.is-visible {
  animation-delay: 0.2s;
}

.somos__item:nth-child(3) .somos__icon.is-visible {
  animation-delay: 0.4s;
}

.somos__item:nth-child(4) .somos__icon.is-visible {
  animation-delay: 0.6s;
}

.somos__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.somos__icon--blue {
  background-color: #0099ff;
  border-bottom-color: #0081d8;
}

.somos__icon--yellow {
  background-color: #ffcc00;
  border-bottom-color: #b99502;
}

.somos__icon--green {
  background-color: #33cc33;
  border-bottom-color: #2db22d;
}

.somos__item p {
  font-family: Kidsbar;
}

.somos__item i {
  font-size: 3rem;
  margin-bottom: 0;

  border-radius: 50%;
  /* Hace que el borde sea circular */

  width: 5rem;
  height: 5rem;

  display: flex;
  justify-content: center;
  align-items: center;

  /* === AGREGADO: Evita que el círculo se encoja o estire === */
  flex-shrink: 0;
  /* Impide que el círculo se encoja */
  flex-grow: 0;
  /* Impide que el círculo crezca más allá de su tamaño definido */
}

/*=============== GALERIA DE ALUMNOS ===============*/

.galeria__container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.galeria__img:hover {
  /*  transform: scale(1.15); */
}

/* --- Posicionamiento específico de los 4 Iconos de Esquina --- */

/* Icono 1: Esquina superior izquierda (Celda en grid: [col 1, row 1]) */
.icon-item.top-left-corner {
  grid-column: 1 / 2;
  grid-row: 1 / 2;

  justify-self: end;
  align-self: flex-end;

  flex-direction: row-reverse;
}

/* Icono 2: Esquina superior derecha (Celda en grid: [col 4, row 1]) */
.icon-item.top-right-corner {
  grid-column: 4 / 5;
  grid-row: 1 / 2;

  justify-self: start;
  align-self: flex-end;
}

/* Icono 3: Esquina inferior izquierda (Celda en grid: [col 1, row 3]) */
.icon-item.bottom-left-corner {
  grid-column: 1 / 2;
  grid-row: 2 / 4;

  flex-direction: row-reverse;
}

/* Icono 4: Esquina inferior derecha (Celda en grid: [col 4, row 3]) */
.icon-item.bottom-right-corner {
  grid-column: 4 / 5;
  grid-row: 2 / 4;
}

/* ********************************** */
/*            floating social         */
/* ********************************** */

/* Estado inicial oculto y desplazado */
.social-stickies {
  opacity: 0;
  transform: translateX(-30px);
  /* desplazado a la izquierda */
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Cuando se activa */
.social-stickies.visible {
  opacity: 1;
  transform: translate(0, -50%);
  /* vuelve a su lugar */
  pointer-events: auto;
}

/* ================================================== */
/* INICIA CÓDIGO DEL MODAL DE CONTACTO (ESTILO NUEVO) */
/* ================================================== */

.contact-modal {
  margin: auto;
  width: 95%;
  border: none;
  border-radius: 16px;
  padding: 0;

  /* Scroll seguro para pantallas pequeñas */
  max-height: 95vh;
  overflow-y: auto;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    display 0.3s;
  transition-behavior: allow-discrete;
}

.contact-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.contact-modal[open] {
  opacity: 1;
  transform: translateY(0);
}

@starting-style {
  .contact-modal[open] {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* --- Estilos del Formulario (CON EL NUEVO DISEÑO) --- */
.contact-modal .form-container {
  background-color: var(--color-terciario, #eef6f9);

  padding: 1.5rem 2rem;
  border-radius: 16px;
  position: relative;
  border: 1px solid var(--color-terciario-sombra, #9bb9ca);
}

.contact-modal .modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;

  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.contact-modal .modal-close-btn:hover {
  color: var(--color-primario, #27749f);
}

/* --- PASO 3: Título con la tipografía de tu web --- */
.contact-modal .form-title {
  font-family: "Kidsbar", sans-serif;
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--color-primario, #27749f);
  /* Color primario de tu web */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.contact-modal .form-row {
  display: grid;
  grid-template-columns: 1fr;
}

.contact-modal .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact-modal label {
  font-weight: 500;
  color: var(--body-color, #3c4956);
  font-family: var(--body-font, "Manrope");
}

/* --- PASO 2: Campos de texto con el estilo de tu web --- */
.contact-modal input,
.contact-modal textarea {
  padding: 12px 15px;
  border: 2px solid var(--color-terciario-sombra, #9bb9ca);
  /* Borde sutil */
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s;
  background-color: var(--white-color);
  box-shadow: none;
}

.contact-modal input:focus,
.contact-modal textarea:focus {
  outline: none;
  border-color: var(--color-secundario, #7cce59);
  /* Borde verde al enfocar */
  box-shadow: 0 0 5px hsla(105, 55%, 63%, 0.5);
  /* Sombra suave verde */
}

.contact-modal textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- PASO 1: Botón con el estilo de .hero__cta --- */
.contact-modal .submit-btn {
  background-image: linear-gradient(180deg, #90d572, #7cce59);
  color: #ffffff;
  font-family: "Kidsbar", sans-serif;
  text-align: center;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  border: 1px solid #7cce59;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 0 0 var(--color-secundario-sombra, #458828);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  /* Opcional: para que ocupe todo el ancho */
  justify-content: center;
  /* Centra el texto y el icono */
}

.contact-modal .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--color-secundario-sombra, #458828);
}

.contact-modal .submit-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 var(--color-secundario-sombra, #458828);
}

/* --- Mensajes de error y éxito (ya adaptados) --- */
.contact-modal .error-message {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 5px;
  height: 16px;
}

.contact-modal input.invalid {
  border-color: #d32f2f;
}

.contact-modal #feedback-message {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.contact-modal .feedback-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
}

.contact-modal #feedback-message.success .feedback-icon {
  background-color: #28a745;
}

.contact-modal #feedback-message.error .feedback-icon {
  background-color: #d32f2f;
}

/* ================================================== */
/* TERMINA CÓDIGO DEL MODAL DE CONTACTO          */
/* ================================================== */

/* ========================================= */
/*             CONTACT MOBIL                 */
/* ========================================= */

.mobile-only {
  display: block !important; /* Se muestra */
}

/* ========================================================= */
/* 2. ESTILO DEL BOTÓN FLOTANTE MÓVIL (VERTICAL)             */
/* ========================================================= */

.mobile-floating-container {
  position: fixed;
  bottom: 6rem;
  right: 0.5rem;
  z-index: 90;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.mobile-floating-container.visible {
  opacity: 1;
  visibility: visible;
}

.mobile-contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--color-primario);
  color: white;
  text-decoration: none;

  padding: 1rem;
  width: 40px;
  height: 40px;

  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    background-color 0.3s;
}

.mobile-contact-pill:active {
  transform: scale(0.95);
  background-color: var(--color-secundario);
}

.mobile-contact-pill span {
  font-family: var(--third-font);
  font-weight: bold;
  font-size: 0.6rem;
  line-height: 1;
  text-align: center;
}

.mobile-contact-pill i {
  font-size: 1.5rem;
  line-height: 1;
}

/* ========================================================= */
/* ANIMACIÓN: ONDA DE RADAR (Para el botón móvil)            */
/* ========================================================= */

/* 1. Configuración necesaria para la animación */
.mobile-contact-pill {
  position: relative; /* Para posicionar la onda detrás */
  z-index: 1; /* El botón queda arriba */
}

/* 2. Creamos el anillo fantasma usando ::before */
.mobile-contact-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-primario); /* Mismo color que el botón */
  opacity: 0.6;
  z-index: -1; /* Se va detrás del botón */

  /* Aquí aplicamos la animación */
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* 3. Definimos los Keyframes (El movimiento) */
@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.6); /* Crece un 60% más */
    opacity: 0; /* Desaparece */
  }
}

/*=============== Wabes wabes===============*/

.ola-multicapa {
  width: 100%;
  display: block;
  /* Altura responsiva:
     - mínimo: 95px (mitad)
     - preferido: 12vw (fluido)
     - máximo: 190px (actual) */
  height: clamp(95px, 12vw, 190px);
}

/*=============== HERO SECTION===============*/

.hero__main {
  justify-items: center;
  /* grid poner todo el centro y los items adaptan a su contenido */
  text-align: center;
  padding: 50px 0;
}

.home__container {
  padding-top: 1.5rem;
  /* justify-content: center; */
  /* row-gap: 4rem */
}

.home__data {
  position: relative;
  /* text-align: center; */
}

.home__title {
  font: var(--font-regular) var(--biggest-font-size) var(--second-font);
  color: var(--color-primario);
  line-height: 100%;
  /* margin-bottom: 1rem; */
  /* text-shadow: var(--shadow-text); */
}

.hero__titles {
  display: flex;
  flex-direction: column;

  /* text-align: center; */
}

.hero__title {
  font-family: Kidsbar;
  font-size: clamp(5rem, 4vw + 1rem, 7rem);
  line-height: 1em;
  color: var(--menu-accent);
  text-shadow: var(--menu-accent-shadow) 0 5px 0;
}

.hero__subtitle {
  font-size: clamp(2rem, 4vw + 1rem, 6rem);
  font-family: Kidsbar;
  color: var(--color-primario);
}

.home__description {
  margin-bottom: 2.5rem;
}

.home__images {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}

.home__circle,
.home__circle2 {
  width: 320px;
  height: 320px;
  background-color: var(--first-color-darken);
  border-radius: 50%;
  box-shadow: inset var(--shadow-circle);
  display: grid;
  place-items: center;
}

.home__subcircle {
  width: 250px;
  height: 250px;
  background-color: var(--second-color);
  border-radius: 50%;
  box-shadow: inset var(--shadow-circle);
}

.home__subcircle2 {
  width: 250px;
  height: 250px;
  background-color: var(--second-color);
  border-radius: 50%;
  box-shadow: inset var(--shadow-circle);
}

.home__images .home__img {
  width: 250px;
  rotate: 10deg;
  filter: var(--shadow-img);
  position: absolute;
}

.home__images img {
  width: 60px;
  filter: var(--shadow-img);
  position: absolute;
}

.home__chips-1 {
  right: -0.5rem;
}

.home__chips-2 {
  bottom: -0.75rem;
  right: 0.5rem;
}

.home__chips-3 {
  top: 0.25rem;
  left: -0.5rem;
}

.home__tomato-1 {
  top: -1.5rem;
  right: 2.5rem;
}

.home__tomato-2 {
  bottom: -1.5rem;
  left: 3.5rem;
}

.home__leaf {
  left: -0.75rem;
}

/*=============== BUTTON ===============*/

.hero__description {
  font-size: clamp(1rem, 1vw + 1rem, 1.5rem);
  line-height: 2;
  /* margin-bottom: 2.5rem; */
}

.hero__cta {
  background-image: linear-gradient(180deg, #90d572, #7cce59);
  color: #ffffff;
  font-family: Kidsbar;
  text-align: center;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  /* font-size: 25px; */
  border: 1px solid #7cce59;
  /* padding: 15px 20px 15px 65px; */
  padding: 1rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 0 0 var(--menu-accent-shadow);
}

.hero__figure {
  width: 100%;
  margin: 0;
  max-width: 800px;
  display: block;
}

.hero__img {
  width: 100%;
  height: auto;
}

.button {
  background-color: var(--second-color);
  color: var(--second-color-dark);
  font-weight: var(--font-semi-bold);
  padding: 0.75rem 2rem;
  border-radius: 4rem;
  box-shadow: inset var(--shadow-button);
}

.button__ghost {
  background-color: transparent;
  box-shadow: none;
  border: 3px solid var(--second-color);
  color: var(--second-color);
}

/*==================== PORTADA ====================*/
#oferta {
  scroll-margin-top: 180px;
}

.portada {
  position: relative;
  overflow: hidden;

  /* fondo degradado */
  background: linear-gradient(
    to bottom right,
    var(--color-terciario) 80%,
    white 100%
  );

  background-repeat: no-repeat;
  background-size: cover;
}

/* El separador NO participa del grid porque va absoluto */
.wave-separator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  /* -1px para evitar línea/“seam” por subpíxeles */
  /* height: 160px; */
  height: clamp(130px, 10vw, 190px);
  /* alto del separador */
  line-height: 0;

  z-index: 10;
}

/* Los SVG ocupan todo el ancho del contenedor del separador */
.wave-separator .wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* capas por si quieres jugar con orden/opacidad */
.wave--bg {
  z-index: 1;
  opacity: 0.5;
}

.wave--fg {
  z-index: 2;
}

/* ================================================== */
/* ESTILOS DE SUBPORTADA (Páginas Internas)           */
/* ================================================== */

.subportada {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    to bottom right,
    var(--color-terciario) 80%,
    white 100%
  );

  padding-top: 100px;
  overflow: hidden;
  z-index: 0;
}

.subhero__main {
  position: relative;
  z-index: 10;
}

.subportada_title {
  color: var(--menu-accent);
  text-shadow: var(--menu-accent-shadow) 0 5px 0;
}

.subportada::after {
  content: "";
  position: absolute;

  inset: auto;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  z-index: -1;
  pointer-events: none;
}

/* ================================================== */
/* 2. BANCO DE IMÁGENES (Solo cambia esto por página) */
/* ================================================== */

.bg-bienvenida::after {
  background-image: url("img/escuelas-privadas-en-cuautitlan-izcalli.png");
}

.bg-timeforlunch::after {
  background-image: url("img/escuelas-privadas-en-cuautitlan-mexico-CBA.png");
}

.bg-quienes-somos::after {
  background-image: url("img/alumnas-felices-convivencia-escolar-cuautitlan-izcalli-3.png");
}

.bg-ofertaacademica::after {
  background-image: url("img/alumnos-oferta-academica-escuelas-privadas-cuautitlan-izcalli.png");
}

.bg-documentacion::after {
  background-image: url("img/alumnas-felices-proceso-inscripcion-colegio-bosques-alba.png");
}

.bg-pagos::after {
  background-image: url("img/becas-y-colegiaturas-colegio-bosques-del-alba-alumnas-felices.png");
}

.bg-por-que::after {
  background-image: url("img/ambiente-escolar-seguro-y-afectivo-cba.png");
}

.bg-faqs::after {
  background-image: url("img/alumnos-tomando-clase-aula-colegio-bosques-del-alba.png");
}

.bg-eventos::after {
  background-image: url("img/alumnos-participando-eventos-escolares-y-tradiciones-cba.png");
}

.bg-modeloeducativo::after {
  background-image: url("img/alumnos-aprendiendo-modelo-educativo-constructivista-cba.png");
}

.bg-info-247::after {
  background-image: url("img/conoce-cba-redes-sociales-aprende-de-nosotros.png");
}

.bg-directorio::after {
  background-image: url("img/alumnas-con-respaldo-y-atencion-personal-cba.png");
}

.bg-contacto::after {
  background-image: url("img/contactanos-inscribe-a-tus-hijos-colegiaturas-cba.png");
}

.bg-contacto::after {
  background-image: url("img/contactanos-inscribe-a-tus-hijos-colegiaturas-cba.png");
}

.bg-centroatencion::after {
  background-image: url("img/informes-talleres-artisticos-violin-colegio-bosques.png");
}

.bg-bolsatrabajo::after {
  background-image: url("img/vacantes-empleo-escuela-privada-cuautitlan-izcalli-cba.png");
}

/*=============== FAVORITES ===============*/

.favorites__container {
  row-gap: 3rem;
  grid-template-columns: 100%;
  padding-bottom: 3rem;
}

.favorites__data {
  position: relative;
  text-align: center;
}

.favorites__cheese-1,
.favorites__cheese-2 {
  width: 40px;
  position: absolute;
  opacity: 0.5;
}

.favorites__cheese-1 {
  top: 2rem;
  right: -1rem;
  rotate: -15deg;
}

.favorites__cheese-2 {
  bottom: -2rem;
  left: -0.75rem;
  transform: scaleX(-1) rotate(45deg);
}

.favorites__article {
  position: relative;
  width: 200px;
}

.favorites__img {
  width: 200px;
  scale: 0.8;
  transition:
    scale 0.4s,
    filter 0.4s;
}

.favorites__leaf-1,
.favorites__leaf-2 {
  width: 70px;
  position: absolute;
  filter: var(--shadow-img);

  scale: 0;
  transition: scale 0.4s 0.1s;
}

.favorites__leaf-1 {
  top: -1rem;
  right: -0.5rem;
}

.favorites__leaf-2 {
  bottom: -1rem;
  left: -0.5rem;
}

:is(.swiper-slide-active, .swiper-slide-duplicate-active) .favorites__img {
  scale: 1;
  filter: var(--shadow-img);
}

:is(.swiper-slide-active, .swiper-slide-duplicate-active) .favorites__leaf-1,
:is(.swiper-slide-active, .swiper-slide-duplicate-active) .favorites__leaf-2 {
  scale: 1;
}

/*=============== CARE ===============*/

.care {
  background-color: var(--first-color-dark);
}

.care__container {
  row-gap: 3rem;
  padding-block: 1rem 2rem;
}

.care__list {
  display: grid;
  row-gap: 1.25rem;
}

.care__item {
  display: flex;
  column-gap: 0.75rem;
  align-items: center;
}

.care__item i {
  font-size: 1.5rem;
  color: var(--second-color);
}

.care__img {
  width: 320px;
  filter: var(--shadow-img);
  justify-self: center;
}

/*=============== BANNER ===============*/

.banner {
  padding-top: 3rem;
}

.banner__container {
  background-color: var(--second-color);
  padding: 1rem 1.5rem;
}

.banner__list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.banner__item {
  color: var(--second-color-dark);
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.banner__item i {
  font-size: 1.5rem;
}

.banner__item span {
  font: var(--small-font-size) var(--second-font);
}

/*=============== PRODUCTS ===============*/

.products__container {
  position: relative;
  padding-top: 4.5rem;
}

.products__content {
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 1.5rem;
}

.products__card {
  position: relative;
  background-color: var(--first-color-dark);
  padding: 6.25rem 0.75rem 1.25rem;
  border-radius: 1rem;
  box-shadow: inset var(--shadow-card);
  z-index: 10;
}

.products__img {
  position: absolute;
  top: -3rem;
  left: 0;
  right: 0;
  width: 100px;
  margin: 0 auto;
  /* centrar horizontalmente  0[superior inferior]  auto[automatico izquiero derecho]*/
  filter: var(--shadow-img);
  transition: transform 0.4s;
}

.products__subtitle {
  font-size: var(--small-font-size);
}

.products__title {
  font: var(--font-regular) var(--h2-font-size) var(--second-font);
  margin-bottom: 0.5rem;
}

.products__price {
  font-family: var(--second-font);
}

.products__button {
  position: absolute;
  right: 0.75rem;
  bottom: 1.25rem;
  outline: none;
  border: none;
  background-color: var(--second-color);
  padding: 4px;
  border-radius: 0.25rem;
  font-size: 1.5rem;
  color: var(--second-color-dark);
  box-shadow: inset var(--shadow-button);
  display: inline-flex;
  cursor: pointer;
}

.products__card:hover .products__img {
  transform: translateY(-0.5rem);
}

/*=============== CONTACT ===============*/

.contact__container {
  position: relative;
  background-color: var(--first-color-darken);
  padding-top: 3.5rem;
  border-radius: 3rem;
  box-shadow: inset var(--shadow-card);
  overflow: hidden;
}

.contact__content {
  padding-top: 1rem;
  row-gap: 3rem;
}

.contact__data {
  text-align: center;
}

.contact__title {
  font: var(--font-regular) var(--h2-font-size) var(--second-font);
  margin-bottom: 0.5rem;
}

.contact__social {
  display: flex;
  justify-content: center;
  column-gap: 0.75rem;
}

.contact__social a {
  color: var(--second-color);
  font-size: 1.5rem;
}

.contact__info {
  font-style: normal;
}

.contact__img {
  width: 200px;
  justify-self: center;
  filter: var(--shadow-img);
}

.contact__shrimp,
.contact__crab,
.contact__meat {
  position: absolute;
  width: 40px;
  opacity: 0.5;
}

.contact__shrimp {
  top: 9rem;
  right: 1.5rem;
  rotate: 15deg;
}

.contact__crab {
  top: 17rem;
  left: 1rem;
  rotate: 15deg;
}

.contact__meat {
  right: 2rem;
  bottom: 11rem;
  rotate: -15deg;
}

/* ********************************** */
/*           TESTIMONIALES            */
/* ********************************** */

.testimoniales {
  /* display: grid;
  gap: 2rem; */
}

/* Track “tipo carrusel” sin JS */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  /* ancho tarjeta móvil */
  gap: 2rem;
}

/* Tarjeta */
.single-testimonial {
  position: relative;
  padding: 0.5rem;
  border-bottom: 2px solid var(--color-terciario-sombra);
  border-radius: clamp(18px, 3vw, 45px);
  text-align: center;
  background: var(--color-terciario);
  overflow: hidden;
}

.single-testimonial p {
  font-size: clamp(0.9rem, 0.5vw + 0.8rem, 1.05rem);
  line-height: 1.6;
  padding: clamp(1.25rem, 2.5vw, 3rem);
  padding-bottom: clamp(0.75rem, 2vw, 2rem);
  margin: 0;
}

.testimonial__titulo {
  font-family: var(--third-font);
  /*  font-weight: var(--font-regular); */
  font-size: clamp(
    1.1rem,
    /* Mínimo más pequeño */ calc(1rem + 0.35vw),
    /* Escalado más sutil */ 1.6rem /* Máximo más pequeño */
  );

  margin-bottom: 0.5rem;
  color: var(--color-primario);
}

.testimonial__titulo::first-letter {
  color: var(--color-secundario);
}

/* Ornamentos (barras redondeadas) */
.round {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.round-1::before,
.round-1::after,
.round-2::before,
.round-2::after {
  content: "";
  position: absolute;

  border-radius: 30px;
}

.round-1::before {
  left: clamp(40px, 8vw, 88px);
  top: -7px;
  width: clamp(30px, 4vw, 50px);
  height: 7px;
}

.round-2::before {
  right: clamp(40px, 8vw, 87px);
  bottom: -7px;
  width: clamp(30px, 4vw, 50px);
  height: 7px;
  z-index: 1;
}

/* Comillas decorativas más sutiles */

.single-testimonial::after {
  content: "";
  position: absolute;
  width: clamp(64px, 9vw, 126px);
  height: clamp(52px, 7vw, 100px);

  -webkit-mask: url("https://cdn-icons-png.flaticon.com/512/4338/4338294.png")
    no-repeat center / 60%;
  mask: url("https://cdn-icons-png.flaticon.com/512/4338/4338294.png") no-repeat
    center / 60%;

  background-color: var(--color-primario);
  /* 👈 Aquí aplicas el verde */

  opacity: 0.5;
}

.single-testimonial::before {
  left: clamp(-20px, -3vw, -35px);
  top: clamp(-20px, -3vw, -35px);
  transform: rotate(180deg);
}

.single-testimonial::after {
  right: clamp(-20px, -3vw, -35px);
  bottom: clamp(-20px, -3vw, -34px);
}

.testimonial__stars {
  margin: 0.5rem 0 1rem;
  color: #f5c518;
  /* amarillo dorado */
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
}

.testimonial__stars span {
  display: inline-block;
}

/* ********************************** */
/*               FOOTER               */
/* ********************************** */

.footer {
  border-top: -3rem;
  background-color: var(--color-primario);
}

.footer__container {
  padding-block: 1rem 2rem;
  display: grid;
  row-gap: 2rem;
}

.menu__footer {
  row-gap: 2rem;
  align-content: center;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
}

.logo__info {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.social__icons {
  display: flex;
  gap: 1.5rem;
}

.footer__social-link {
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white-color);
  font-size: clamp(1.7rem, 2vw, 3rem);
  transition: color 0.4s;

  background-color: #216387;
}

.contact__info {
  display: grid;
  justify-items: center;
  color: #fff;
}

.footer__logo {
  width: clamp(150px, 14vw, 200px);
  height: auto;
  display: block;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact__list li {
  display: flex;
  align-items: flex-start;

  gap: 0.5rem;
  margin-bottom: 0.75rem;
  max-width: 42rem;
}

.contact__list i {
  font-size: 2rem;
  color: var(--color-secundario, #7cce59);
  line-height: 1;
}

.contact__text {
  display: flex;
  flex-direction: column;
}

.contact__text a {
  display: inline-block;
  align-self: flex-start;
  /* evita que se estire al ancho de la columna */
}

.contact__text .contact__maplink {
  color: var(--color-secundario);
  font-family: var(--second-font);
  font-weight: var(--font-regular);
  font-size: clamp(1.3rem, calc(1.2rem + 0.4vw), 1.8rem);
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-secundario);
}

/* ********************************** */
/*            QUICK LINKS             */
/* ********************************** */

.quick__links {
  text-align: center;
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.quick__list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  justify-items: start;
}

.quick__list li {
  margin: 0;
}

.quick__list a {
  color: var(--white-color);
  text-decoration: none;
  transition: color 0.3s;
}

.quick__list a:hover {
  color: var(--color-secundario);
}

.footer__sub {
  border-bottom: 1px solid var(--color-secundario);
}

.footer__content {
  text-align: center;
  color: #fff;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.contact__link {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

.contact__list a:hover {
  display: inline-block;
  border-bottom: 1px solid transparent;
  border-bottom-color: var(--color-secundario);
}

.footer__link {
  color: var(--white-color);
  transition: color 0.4s;
}

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

/*=============== SCROLL BAR ===============*/

::-webkit-scrollbar {
  width: 0.6rem;
  background-color: hsl(170, 50%, 30%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(170, 50%, 20%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(170, 50%, 15%);
}

/*=============== SCROLL UP ===============*/

.scrollup {
  position: fixed;
  right: 0.7rem;
  /* bottom: 3rem; */
  bottom: -50%;
  background-color: var(--menu-accent);
  color: white;
  box-shadow: inset var(--shadow-button);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  z-index: var(--z-tooltip);
  transition:
    bottom 0.4s,
    transform 0.4s;
}

.scrollup:hover {
  transform: translateY(-0.5rem);
}

.show-scroll {
  bottom: 3rem;
}

/* ********************************** */
/*           MISION VISION            */
/* ********************************** */

.mv__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  width: 100%;
  justify-items: center;
}

.mv__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 2rem; /* Bordes redondeados marca de la casa */
  gap: 1.5rem; /* Espacio entre Icono, Título y Texto */
  transition: transform 0.3s ease;

  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.--blueli {
  color: var(--color-primario);
}

.mv__card:hover {
  transform: translateY(-5px); /* Efecto flotante suave */
}

/* 3. El Icono (Grande y Verde) */
.mv__icon i {
  font-size: 5rem; /* Tamaño grande */
  color: var(--color-secundario); /* Tu verde corporativo */
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

/* 4. El Título (Kidsbar) */
.mv__title {
  font-family: "Kidsbar", sans-serif;
  color: var(--color-primario);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}

/* 5. La Descripción */
.mv__description {
  font-size: clamp(0.75rem, 2vw + 0.5rem, 1.2rem);
  line-height: 1.6;
  max-width: 400px; /* Para que el texto no se estire demasiado */
  margin: 0 auto;
}

/* --- VARIANTES DE COLOR (El contraste) --- */

/* Caja Blanca (Misión) */
.mv__card--light {
  background-color: var(--white-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid var(--color-terciario);
}

.mv__card--light .mv__description {
  color: var(--body-color);
}

/* Caja Oscura (Visión) */
.mv__card--dark {
  background: var(--color-terciario);
  border-bottom: 2px solid var(--color-terciario-sombra);
}

/* ********************************** */
/*           VALORES                  */
/* ********************************** */

.valores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 3rem 4rem;
  width: min(95%, 1200px);
  margin-inline: auto;

  justify-items: center;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  /* height: 300px;  */
  perspective: 1000px;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;

  display: grid;
  grid-template-areas: "stack";

  border-radius: 2rem; /* Bordes redondeados de tu marca */
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
}

.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

/* 4. Cara Frente y Cara Atrás (Configuración común) */
.flip-card__front,
.flip-card__back {
  grid-area: stack;
  width: 100%;
  -webkit-backface-visibility: hidden; /* Oculta la parte trasera */
  backface-visibility: hidden;

  /* Centrado del contenido */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  border-radius: 2rem;
}

/* --- ESTILO DEL FRENTE --- */
.flip-card__front {
  background: var(--color-terciario);
  color: var(--body-color);
  border-bottom: 2px solid var(--color-terciario-sombra);
}

.flip-card__icon {
  color: var(--color-secundario);
  font-size: 4rem;
  margin-bottom: 1rem;
}

.card__title,
.lunch__contact-title {
  font-family: "Kidsbar", sans-serif;
  font-size: clamp(1.4rem, 1.5vw + 1rem, 1.8rem);
  color: var(--color-primario);
  margin: 0;
}

.lunch__contact-title {
  text-align: center;
}

/* --- ESTILO DE ATRÁS (Al girar) --- */
.flip-card__back {
  background-color: var(--color-primario); /* Fondo Azul al girar */
  color: white;
  transform: rotateY(180deg); /* Ya está girada por defecto */
}

.flip-card__text {
  color: white;
}

@media (hover: none) {
  .flip-card:active .flip-card__inner {
    transform: rotateY(180deg);
  }
}

/* ================================== */
/*         TIME FOR LUNCH             */
/* ================================== */

.lunch__email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;

  color: var(--color-primario); /* Azul institucional */
  font-weight: bold;
  text-decoration: none;
  transition:
    color 0.3s,
    transform 0.2s;

  /* Evita que el email largo rompa el diseño en móviles */
  word-break: break-all;

  -webkit-user-select: all;
  user-select: all;
  cursor: text;
}

.lunch__email-btn i {
  font-size: 1.4rem; /* Icono ligeramente más grande */
}

.lunch__email-btn:hover {
  color: var(--color-secundario); /* Verde al pasar el mouse */
  transform: translateX(5px); /* Pequeño movimiento a la derecha */
}

/* ********************************** */
/*           REGLAMENTOS              */
/* ********************************** */

.btn-descarga {
  display: flex;
  align-items: center;
  justify-content: center; /* Centra el contenido */
  gap: 0.8rem; /* Espacio entre icono y texto */

  width: 100%;
  max-width: 350px; /* Ancho máximo elegante */
  padding: 1rem 1rem;

  /* Colores y Fuente de tu marca */
  background-color: var(--color-primario); /* Azul CBA */
  color: var(--white-color);
  text-decoration: none;

  /* Forma y Sombra */
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent; /* Prepara borde para hover */

  /* Animación suave */
  transition: all 0.3s ease;
}

.btn-descarga i {
  font-size: 1.5rem; /* Icono un poco más grande */
}

.btn-descarga:hover {
  background-color: var(--color-secundario); /* Verde brillante */
  transform: translateY(-3px); /* Se eleva un poco */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Sombra más profunda */
}

.btn-descarga:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.lunch__email-btn {
  display: flex;
  width: 90%;
  margin-inline: auto;
}

.checklist__group {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Espacio entre documentos */
}

/* .checklist {
  gap: 2rem;
}
 */
.checklist__item {
  display: flex;
  align-items: center;
  gap: 1rem;

  background-color: var(--white-color);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Sombra suave */
  border-left: 5px solid var(--color-secundario); /* Borde verde a la izquierda */

  transition: transform 0.3s ease;
}

.checklist__item:hover {
  transform: translateX(5px); /* Pequeño movimiento al pasar el mouse */
}

.checklist__icon {
  font-size: 1.5rem;
  color: var(--color-primario); /* Icono Azul */
  min-width: 24px; /* Para que no se aplaste */
}

.checklist__item span {
  font-size: clamp(0.75rem, 2vw + 0.5rem, 1.2rem);
  color: var(--body-color);
  font-family: var(--body-font);
}

/* ================================== */
/*               PAGOS                */
/* ================================== */

.pagos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;

  margin-inline: auto;
  justify-items: center;
}

.pago__card {
  background-color: var(--white-color);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-terciario-sombra);
  transition: transform 0.3s ease;

  width: 100%;
  max-width: 80%;
}

.pago__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.pago__header {
  background-color: var(--color-terciario); /* Azul suave */
  padding: 2rem 1rem;
  text-align: center;
}

.pago__card--accent .pago__header {
  background-color: var(--color-primario); /* Azul fuerte para diferenciar */
  color: white;
}

.pago__main-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--color-primario);
}

.pago__card--accent .pago__main-icon {
  color: var(--color-secundario); /* Verde sobre fondo azul */
}

.pago__title {
  font-family: "Kidsbar", sans-serif;
  font-size: 2rem;
  margin: 0;
  color: var(--color-primario);
}

.pago__card--accent .pago__title {
  color: white;
}

.pago__body {
  padding: 2rem;
}

.pago__item {
  margin-bottom: 1rem;
}

.pago__subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--color-secundario); /* Verde */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.pago__bank {
  font-weight: bold;
  color: var(--body-color);
  margin-bottom: 0.25rem;
}

.pago__ref {
  margin-top: 0.5rem;
  /* font-size: 0.9rem; */
  background-color: #fffbea; /* Fondo amarillo muy suave para resaltar nota */
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #b99502;
  display: inline-block;
}

.pago__clabe-box {
  background-color: var(--color-terciario);
  padding: 0.8rem;
  border-radius: 0.8rem;
  margin: 0.5rem 0;
  text-align: center;
}

.pago__clabe-box span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pago__clabe-box strong {
  font-size: 1.2rem;
  color: var(--color-primario);
  letter-spacing: 1px;
  font-family: monospace; /* Fuente tipo código para números claros */
}

.pago__divider {
  border: 0;
  height: 1px;
  background: var(--color-terciario-sombra);
  margin: 1.5rem 0;
}

.pagos__note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  opacity: 0.8;
}

.link-destacado {
  color: var(--color-secundario);
}

.reglamentos__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* ********************************** */
/*                FAQs                */
/* ********************************** */

.faq__container {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq__item {
  background-color: var(--white-color);
  border: 1px solid var(--color-terciario-sombra);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.faq__item[open] {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); /* Sombra al abrir */
  border-color: var(--color-primario);
}

.faq__question {
  padding: 1.2rem 1.5rem;
  font-family: var(--second-font);
  font-weight: var(--font-regular);

  font-size: clamp(
    1.3rem,
    /* Mínimo: bajamos de ~1.5rem a 1.3rem */ calc(1.2rem + 0.4vw),
    /* Escalado: menos agresivo */ 1.8rem
      /* Máximo: bajamos de ~2rem a 1.8rem */
  );
  color: var(--color-primario);
  cursor: pointer;
  list-style: none; /* Quita el triángulo feo por defecto */
  position: relative;
  padding-right: 3rem; /* Espacio para el icono */
  transition: background-color 0.2s;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  background-color: var(--color-terciario);
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-secundario);
  transition: transform 0.3s ease;
}

/* Cuando está abierto, cambiamos a (-) rotando */
.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg); /* El + rotado parece una X */
  color: var(--color-primario);
}

/* La Respuesta (El contenido oculto) */
.faq__answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--body-color);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq__item[open] .faq__answer {
  border-top-color: var(--color-terciario); /* Línea separadora sutil */
  padding-top: 1rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.info-item {
  background-color: var(--white-color);
  border: 1px solid var(--color-terciario-sombra);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s;
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-terciario);
  padding-bottom: 0.5rem;
}

.info-number {
  background-color: var(--color-secundario); /* Verde */
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Kidsbar", sans-serif;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-item h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--color-primario);
}

.social-embed-box {
  margin-top: 1rem;
  overflow: hidden; /* Evita desbordes */
  width: 100%;
}

.custom-centered-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  list-style: disc;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ================================== */
/*               TABLA                */
/* ================================== */

.table-responsive {
  width: min(80%, 1000px);
  overflow-x: auto; /* Permite deslizar si la tabla es muy ancha */
  margin-top: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);

  margin-inline: auto;
}

.directorio-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white-color);
  min-width: 600px; /* Ancho mínimo para que no se apriete en móvil */
}

.directorio-table thead tr {
  background-color: var(--color-primario);
  color: var(--white-color);
  text-align: left;
}

.directorio-table th,
.directorio-table td {
  padding: 1.2rem 1.5rem;
  font-size: clamp(0.75rem, 2vw + 0.5rem, 1.2rem);
}

.directorio-table th {
  font-family: "Kidsbar", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.directorio-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.directorio-table tbody tr:nth-of-type(even) {
  background-color: #f8f9fa;
}

.directorio-table tbody tr:hover {
  background-color: var(--color-terciario); /* Azul muy clarito */
}

.directorio-table tbody tr:last-of-type {
  border-bottom: 2px solid var(--color-primario);
}

.area-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: bold;
  background-color: #e2e6ea;
  color: var(--body-color);
}

.mail-link {
  color: var(--color-primario);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.mail-link:hover {
  color: var(--color-secundario);
  text-decoration: underline;
}

/* ================================== */
/*              CONTACTO              */
/* ================================== */

.contact-page__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));

  align-items: start;
  justify-content: center;
  margin-inline: auto;
}

.contact-info__box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__item i {
  font-size: 2rem;
  color: var(--color-secundario); /* Verde */
  background-color: #f0fdf4;
  padding: 0.8rem;
  border-radius: 50%;
}

.contact-info__item h3 {
  font-family: "Kidsbar", sans-serif;
  color: var(--color-primario);
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.6rem);
  margin-bottom: 0.2rem;
}

.contact-map iframe {
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.contact-page__form-wrapper {
  width: 100%;
  margin: 0 auto;
}

.contact-page__form-wrapper .form-container {
  background-color: var(--white-color);
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); /* Sombra más fuerte para destacar */
  border: 1px solid #eee;
}

.contact-page__form-wrapper .section__subtitle {
  text-align: center;
  margin-bottom: 0.5rem;
  /* font-size se hereda de tu css global, pero puedes forzarlo aquí si quieres */
}

.contact-page__form-wrapper .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas para email/teléfono */
  gap: 1.5rem;
}

.contact-page__form-wrapper .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-page__form-wrapper label {
  font-weight: 500;
  color: var(--body-color, #3c4956);
  font-family: var(--body-font, sans-serif);
  font-size: 1rem;
}

.contact-page__form-wrapper input,
.contact-page__form-wrapper textarea {
  padding: 12px 15px;
  border: 2px solid var(--color-terciario-sombra, #9bb9ca);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--white-color, #fff);
  width: 100%;
  box-sizing: border-box; /* Vital para que no se salga del ancho */
  outline: none;
  transition: border-color 0.3s;
}

.contact-page__form-wrapper input:focus,
.contact-page__form-wrapper textarea:focus {
  border-color: var(--color-secundario, #7cce59); /* Verde al escribir */
}

.contact-page__form-wrapper textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-page__form-wrapper .submit-btn {
  background-image: linear-gradient(180deg, #90d572, #7cce59);
  color: #ffffff;
  font-family: "Kidsbar", sans-serif;
  font-size: 1.3rem;
  text-align: center;

  border: 1px solid #7cce59;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 0 0 var(--color-secundario-sombra, #458828);

  cursor: pointer;
  transition: all 0.2s ease;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 1rem;
}

.contact-page__form-wrapper .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--color-secundario-sombra, #458828);
}

.contact-page__form-wrapper .submit-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 var(--color-secundario-sombra, #458828);
}

/* Ajuste para el input de archivo en Bolsa de Trabajo */
input[type="file"].cp-input {
  padding: 10px; /* Un poco menos padding para que quepa el botón interno */
  line-height: 1.2;
  background-color: white;
  height: auto; /* Permite que crezca si el nombre del archivo es largo */
}

/* ================================================== */
/* ESTILO MODERNO PARA MAPA (Widget)                  */
/* ================================================== */

/* 1. El Contenedor (La Tarjeta) */
.modern-map-container {
  position: relative; /* Necesario para que el botón flote adentro */
  width: 100%;
  height: 350px; /* Altura fija elegante */
  border-radius: 2rem; /* Bordes muy redondos */
  overflow: hidden; /* Recorta las esquinas del mapa */
  box-shadow: var(--shadow-card); /* Tu sombra estándar */
  background-color: var(--color-terciario); /* Color de fondo mientras carga */
  border: 5px solid var(--white-color); /* Marco blanco limpio */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse por la tarjeta */
.modern-map-container:hover {
  transform: translateY(-5px); /* Se eleva un poquito */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* Sombra más profunda */
}

/* 2. El Mapa (Iframe) */
.modern-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  /* (Opcional) Filtro para que se vea más "suave" hasta que pases el mouse */
  /* filter: grayscale(20%); */
  transition: filter 0.3s;
}

/* 3. El Botón Flotante "Cómo llegar" */
.map-overlay-btn {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;

  background-color: var(--white-color);
  color: var(--color-primario);

  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.8rem 1.5rem;
  border-radius: 50px; /* Forma de píldora */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra fuerte para que se note */

  font-family: "Kidsbar", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;

  transition: all 0.3s ease;
  z-index: 10;
}

/* Hover del botón */
.map-overlay-btn:hover {
  background-color: var(--color-secundario); /* Verde */
  color: var(--white-color);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.map-overlay-btn i {
  font-size: 1.4rem;
}

/* ********************************** */
/*           PRIVACIDAD               */
/* ********************************** */

.privacy-section {
  padding-block: 4rem;
  background-color: var(--white-color);
}

.privacy-container {
  width: min(95%, 1000px); /* Ancho máximo de lectura cómodo */
  margin-inline: auto;
}

.privacy-content {
  color: var(--body-color);
  font-family: var(--body-font);
  line-height: 1.8; /* Mayor separación para textos legales */
  font-size: 1rem;
  text-align: justify; /* Justificado como documento legal */
}

.privacy-heading {
  font-family: "Kidsbar", sans-serif; /* Tu fuente de marca */
  color: var(--color-primario);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-terciario); /* Línea decorativa sutil */
  padding-bottom: 0.5rem;
  text-align: left;
}

.privacy-subheading {
  font-family: var(--body-font);
  color: var(--color-secundario); /* Verde para diferenciar */
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-text {
  margin-bottom: 1rem;
}

.privacy-list {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.privacy-list li {
  margin-bottom: 0.5rem;
}

.privacy-list--ordered {
  list-style: decimal;
}

.privacy-link {
  color: var(--color-primario);
  font-weight: bold;
  text-decoration: underline;
  word-break: break-all; /* Evita que los links largos rompan el móvil */
}

.privacy-link:hover {
  color: var(--color-secundario);
}

.privacy-strong {
  font-weight: 800;
  color: var(--title-color);
}

.privacy-footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  color: #666;
}

/* ========================================================== */
/* 🌊 SECCIÓN TECNOLOGÍA                                      */
/* ========================================================== */

#tecnologia {
  background-color: var(--color-terciario);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* --- Ola Superior (Nativa) --- */
.tech__wave-top {
  position: relative;
  width: 100%;
  height: clamp(60px, 6vw, 100px);
  background-color: var(--white-color);
  overflow: hidden;
  line-height: 0;
}

.tech__wave-top svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tech__wave-top path {
  fill: var(--color-terciario);
}

/* --- Ola Inferior (Nativa) --- */
.tech__wave-bottom {
  position: relative;
  width: 100%;
  height: clamp(60px, 6vw, 100px);
  overflow: hidden;
  line-height: 0;
  margin-top: -2px; /* Sella la fisura fantasma de subpíxeles */
}

.tech__wave-bottom svg {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: calc(100% + 2px);
}

.tech__wave-bottom path {
  fill: var(--white-color);
  shape-rendering: crispEdges; /* Suavizado forzado para evitar la línea */
}

.tech__container {
  padding-block: 2.5rem 4rem;
}

.tech__title {
  margin-bottom: 0.5rem;
}

.tech__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  margin-top: 2rem;
}

.tech__card {
  display: flex;
  align-items: center;
  background-color: var(--white-color);
  padding: 1.5rem 2rem; /* Más espacio interno para que luzca el diseño libre */
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.tech__img {
  /* 🌟 CLAVE: clamp(MÍNIMO, DINÁMICO, MÁXIMO) */
  width: clamp(100px, 10vw + 20px, 150px);
  height: clamp(100px, 10vw + 20px, 150px);

  object-fit: contain;
  flex-shrink: 0;
}

.tech__card-title {
  margin: 0;
  padding-left: 1rem;
}

.tech__highlight {
  font-family: "Kidsbar", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--body-color);
  text-transform: none;

  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 1;
  padding: 0 4px;
}

.tech__highlight--yellow {
  /* Pinta un bloque de color pastel que cubre el 40% inferior del texto */
  background: linear-gradient(180deg, transparent 60%, #ffe699 60%);
}

.tech__highlight--blue {
  background: linear-gradient(180deg, transparent 60%, #b3e6ff 60%);
}

.tech__highlight--orange {
  background: linear-gradient(180deg, transparent 60%, #ffcc99 60%);
}

.tech__highlight--green {
  background: linear-gradient(180deg, transparent 60%, #c2f0c2 60%);
}

@media screen and (min-width: 768px) {
  .tech__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .tech__card-title {
    padding-left: 1.5rem;
  }
}

/* ========================================================== */
/* 📝 REESTRUCTURACIÓN DEL FORMULARIO CBA (100% RESPONSIVO)  */
/* ========================================================== */

.aplicaenlinea {
  background-color: var(--white-color);
  padding: 2rem 1.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-terciario-sombra);
  margin-block: 2rem 4rem;
  max-width: 960px;
  margin-inline: auto;
}

.cba-formulario .form-section {
  border: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

/* Títulos Escolares (Legends) */
.cba-formulario .section-title {
  font-family: "Kidsbar", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--white-color);
  background-color: var(--color-primario);
  padding: 0.6rem 2rem;
  border-radius: 8px 8px 30px 8px;
  margin-bottom: 2rem;
  width: fit-content;
  min-width: 260px;
  box-shadow: 3px 4px 0 0 var(--color-terciario-sombra);
}

/* --- Control de Filas (FALTA CLAVE ANTERIOR) --- */
.cba-formulario .form-row {
  display: grid;
  grid-template-columns: 1fr; /* Móvil: Todo en 1 columna vertical */
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.cba-formulario .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.cba-formulario label {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--body-color);
}

/* Inputs Modernos */
.cba-formulario input[type="text"],
.cba-formulario input[type="email"],
.cba-formulario input[type="date"],
.cba-formulario input[type="tel"] {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--body-color);
  background-color: var(--white-color);
  border: 2px solid var(--color-terciario-sombra);
  border-radius: 12px;
  outline: none;
  transition: all 0.25s ease;
}

.cba-formulario input:focus {
  border-color: var(--color-secundario);
  box-shadow: 0 0 0 4px rgba(124, 206, 89, 0.15);
  background-color: #fafdf8;
}

.cba-formulario input::placeholder {
  color: #a0aec0;
  font-size: 0.85rem;
}

/* Controles de Radio Opciones */
.cba-formulario .radio-group {
  display: flex;
  flex-direction: column;
}

.cba-formulario .group-label {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--body-color);
  margin-bottom: 0.4rem;
}

.cba-formulario .radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cba-formulario .radio-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  background-color: var(--color-terciario);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.cba-formulario .radio-options label:hover {
  background-color: #e2f0f5;
}

.cba-formulario .radio-options input[type="radio"] {
  accent-color: var(--color-secundario);
  width: 1rem;
  height: 1rem;
}

/* Alineación para la opción Nuevo Ingreso en fila */
.cba-formulario .values-inline {
  padding-top: 0.5rem;
}

/* Cuadro Legal de Responsabilidades */
.cba-formulario .legal-text-box {
  background-color: var(--color-terciario);
  border-left: 5px solid var(--color-primario);
  padding: 1.5rem;
  border-radius: 4px 16px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cba-formulario .legal-text-box p {
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: justify;
  color: var(--body-color);
  margin: 0;
}

/* Botón de Envió */
.cba-formulario .form-submit-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.cba-formulario .submit-button {
  background-image: linear-gradient(180deg, #90d572, #7cce59);
  color: var(--white-color);
  font-family: "Kidsbar", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  border: 1px solid #7cce59;
  padding: 0.8rem 3.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 0 0 var(--color-secundario-sombra);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cba-formulario .submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--color-secundario-sombra);
}

.cba-formulario .submit-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 var(--color-secundario-sombra);
}

/* ========================================================== */
/* 💻 ESCALADO INTELIGENTE (TABLETS, LAPTOPS Y PANTALLAS GRANDES) */
/* ========================================================== */
@media screen and (min-width: 768px) {
  .aplicaenlinea {
    padding: 3rem 3.5rem;
  }

  /* Fuerza que las filas marcadas como col-2 se dividan en exactamente 2 columnas perfectas de 50% */
  .cba-formulario .form-row.col-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Asegura que los campos marcados como col-1 se mantengan fluidos al 100% */
  .cba-formulario .form-row.col-1 {
    grid-template-columns: 1fr;
  }

  .cba-formulario .values-inline {
    padding-top: 1.5rem; /* Alinea los radios perfectamente con la columna vecina */
  }
}

/*=============== BREAKPOINTS ===============*/

@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .section__title,
  .subportada_title {
    font-size: var(--h2-font-size);
  }

  .home__title {
    font-size: 3rem;
  }

  .home__buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .home__circle {
    width: 250px;
    height: 250px;
  }

  .home__subcircle {
    width: 200px;
    height: 200px;
  }

  .home__images .home__img {
    width: 200px;
  }

  .products__content {
    grid-template-columns: 160px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .contact-modal .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media screen and (max-width: 767px) {
  .somos__item {
    /* Tus propiedades existentes (grid-column, grid-row, flex-direction, justify-content, align-items, margin-top, background-color, border, padding, gap) se mantienen */
    /* AGREGADO: Resetea z-index y position para ítems en móvil */
    z-index: auto;
    position: static;
  }

  .somos__item i {
    /* Tus propiedades existentes (margin-bottom, background-color, color, border, border-radius, display, justify-content, align-items, flex-shrink, flex-grow) se mantienen */
    /* AGREGADO (EJEMPLO): Ajusta el tamaño de los círculos en móvil si lo deseas */
    width: 3rem;
    height: 3rem;
  }

  /* AGREGADO: Restablecer las propiedades de alineación específicas para TODOS los iconos en móvil */
  .icon-item.top-left-corner,
  .icon-item.top-right-corner,
  .icon-item.bottom-left-corner,
  .icon-item.bottom-right-corner {
    flex-direction: column;
    /* Asegura que todos se apilen en móvil */
    justify-self: auto;
    /* Resetea la alineación horizontal específica */
    align-self: auto;
    /* Resetea la alineación vertical específica */
  }

  .social-stickies {
    display: none;
  }
}

@media screen and (min-width: 540px) {
  .subportada {
    height: 70vh;
    min-height: 350px;
  }

  .subportada::after {
    background-size: cover;
  }

  .home__container,
  .favorites__container,
  .care__container {
    grid-template-columns: 370px;
    /* el ancho columna sera siempre 370 */
    justify-content: center;
  }

  .favorites__swiper {
    max-width: 600px;
    overflow-x: clip;
    justify-self: center;
  }

  .products__content {
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }

  .contact {
    display: grid;
    grid-template-columns: 450px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .hero__main {
    padding: 50px 0 120px 0;
    justify-items: start;
    align-items: center;

    grid-template-areas:
      "titulo img"
      "parrafo img"
      "link img";

    grid-template-rows: max-content max-content max-content;
    grid-auto-columns: 55% 45%;

    position: relative !important;
    z-index: 10 !important;
  }

  .hero__titles {
    grid-area: titulo;
    text-align: left;
  }

  .hero__description {
    grid-area: parrafo;
    text-align: left;
  }

  .hero__figure {
    grid-area: img;
    align-self: end;

    margin-bottom: -5rem;
  }

  .hero__cta {
    grid-area: link;
  }

  .portada::after {
    content: "";
    position: absolute;
    inset: 0;

    /* imagen al lado derecho */
    background: url("img/colegio bosques del alba escuelas privadas en cuautitlán izcalli.png")
      no-repeat right center / contain;
  }

  .products__content {
    grid-template-columns: repeat(3, 160px);
  }

  body.home-page .nav__toggle {
    color: var(--white-color);
    transition: color 0.3s ease;
  }

  /* Traducción: "Si el header tiene sombra, pinta el botón de azul" */
  body.home-page .shadow-header .nav__toggle {
    color: var(--color-primario) !important;
  }

  .subportada {
    min-height: 400px;
  }

  .subportada::after {
    background-position: center top;
    top: 80px;
  }

  .subportada_title {
    text-align: left;
  }

  /************************ ESTUDIA NOSOTROS ************************/

  .nosotros,
  .info-section {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nosotros__container {
    align-items: center;
    gap: 2.5rem;
  }

  .somos__iconos {
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: center;
  }

  .nosotros__container p {
    width: 70%;
    margin: 0 auto;
  }

  /************************ GALERIA ************************/

  .galeria__container {
    margin-top: 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .galeria__item {
    border-radius: 12px;
    overflow: hidden;

    border-bottom: 3px solid transparent;
    /* base */
  }

  .galeria__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 300 / 214;
    object-fit: cover;
  }

  /* Detalle elegante al pasar el mouse (opcional) */
  .galeria__item:hover .galeria__img {
    transform: scale(1.02);
    transition: transform 0.25s ease;
  }

  /* Colores por item */
  .galeria__item--red {
    border-bottom-color: #ff4d1a;
  }

  .galeria__item--blue {
    border-bottom-color: #0099ff;
  }

  .galeria__item--green {
    border-bottom-color: #00cc33;
  }

  .galeria__item--yellow {
    border-bottom-color: #ffcc00;
  }

  .galeria__item--purple {
    border-bottom-color: #a333c8;
  }

  .galeria__item--orange {
    border-bottom-color: #ff751a;
  }

  .contact {
    grid-template-columns: 550px;
  }

  /* ********************************** */
  /*               Modal                */
  /* ********************************** */

  .contact-modal {
    max-height: none;
    width: min(90%, 600px);
    overflow-y: visible;
  }

  .contact-modal .form-container {
    padding: 30px 40px;
  }

  .contact-modal .form-row {
    grid-template-columns: 1fr 1fr; /* Volvemos a 2 columnas */
    gap: 20px;
  }

  .contact-modal .form-row .form-group {
    margin-bottom: 20px; /* Reseteamos margen */
  }

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

  .custom-centered-list {
    padding-left: 2rem;
  }
}

@media screen and (min-width: 1110px) {
}

@media screen and (min-width: 1170px) {
  .container {
    margin-inline: auto;
  }

  .fsection {
    padding-block: 3rem 0.25rem;
  }

  .section {
    /* padding-block: 7rem 0.25rem; */
    padding-block: 7rem 3rem;
  }

  .section__body {
    padding-block: 3rem 0.25rem;
  }

  /* .section__title {
    margin-bottom: 1.5rem;
  } */

  .hero__main {
    padding: 100px 0 110px 0;

    position: relative !important;
    z-index: 10 !important;
  }

  .hero__cta {
    margin-bottom: 3rem;
  }

  .home__container {
    /*  grid-template-columns: 585px 420px; */
    grid-template-columns: 600px 400px;
    align-items: center;
    column-gap: 6rem;
    gap: 1rem;
    padding-top: 5rem;
    justify-content: space-between;
  }

  .home__data {
    text-align: initial;
  }

  .home__title {
    margin-bottom: 1.5rem;
  }

  .home__description {
    margin-bottom: 4rem;
  }

  .home__buttons {
    justify-content: initial;
    column-gap: 1.5rem;
  }

  .home__meat {
    width: 80px;
    top: 15rem;
  }

  .home__circle {
    width: 550px;
    height: 550px;
  }

  .home__subcircle {
    width: 430px;
    height: 430px;
  }

  .home__images .home__img {
    width: 400px;
  }

  .home__images img {
    width: 95px;
  }

  .favorites__container {
    grid-template-columns: 520px;
    row-gap: 4rem;
  }

  .favorites__cheese-1,
  .favorites__cheese-2 {
    width: 80px;
  }

  .favorites__cheese-1 {
    right: -18px;
  }

  .favorites__cheese-2 {
    left: -18rem;
  }

  .favorites__swiper {
    max-width: 1000px;
  }

  .favorites__article,
  .favorites__img {
    width: 320px;
  }

  .favorites__leaf-1,
  .favorites__leaf-2 {
    width: 110px;
  }

  .care__container {
    grid-template-columns: 500px 410px;
    column-gap: 6rem;
    align-items: center;
    padding-block: 4rem;
  }

  .care__img {
    width: 550px;
    order: -1;
  }

  .care__item {
    column-gap: 1rem;
  }

  .care__item i {
    font-size: 2rem;
  }

  .banner {
    padding-top: 4rem;
  }

  .banner__list {
    column-gap: 6.5rem;
  }

  .banner__item {
    column-gap: 1rem;
  }

  .banner__item i {
    font-size: 4rem;
  }

  .banner__item span {
    font-size: var(--h1-font-size);
  }

  .products__container {
    padding-top: 7.5rem;
  }

  .products__content {
    grid-template-columns: repeat(3, 250px);
    gap: 10rem 4rem;
  }

  .products__card {
    padding: 11rem 2rem 2rem;
    border-radius: 1.5rem;
  }

  .products__img {
    width: 170px;
    top: -5rem;
  }

  .products__subtitle {
    font-size: var(--normal-font-size);
  }

  .products__price {
    font-size: var(--h3-font-size);
  }

  .products__button {
    right: 2rem;
    bottom: 2rem;
    padding: 6px;
    font-size: 1.5rem;
    border-radius: 0.5rem;
  }

  .contact {
    display: block;
    /* se resetea propiedades grid */
  }

  .contact__container {
    border-radius: 4rem;
  }

  .contact__content {
    grid-template: 330px / 360px 320px;
    /* filas altura / columnas ancho */
    justify-content: center;
    align-items: flex-start;
    column-gap: 10rem;
    padding-top: 2rem;
  }

  .contact__data {
    text-align: initial;
    grid-template: max-content / repeat(2, max-content);
    gap: 3rem 2rem;
  }

  .contact__title {
    margin-bottom: 0.75rem;
  }

  .contact__social {
    justify-content: initial;
  }

  .contact__img {
    width: 320px;
    transform: translateY(-6rem);
  }

  .contact__shrimp,
  .contact__crab,
  .contact__meat {
    width: 80px;
  }

  .contact__shrimp {
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 20rem;
  }

  .contact__crab {
    top: 5rem;
    left: 4rem;
  }

  .contact__meat {
    right: initial;
    left: 12rem;
    bottom: -1rem;
  }

  .footer {
    margin-top: -3rem;
    padding-block: 3rem 0.5rem;
  }

  .footer__container {
  }

  .scrollup {
    right: 3rem;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    margin-inline: auto;
  }

  /* .portada {
    padding-top: 80px;
  } */

  /* 2. Arreglamos la imagen de fondo */
  .portada::after {
    content: "" !important;
    position: absolute !important;

    inset: auto !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    /* URL ENTRE COMILLAS (Vital por los espacios) */
    background-image: url("img/colegio bosques del alba escuelas privadas en cuautitlán izcalli.png") !important;

    background-repeat: no-repeat !important;
    background-position: right top !important;
    background-size: contain !important;

    opacity: 1 !important;
  }

  .subportada {
    height: 80vh;
    min-height: 600px;
    padding-top: 100px;
  }

  .subportada::after {
    top: 80px;

    background-position: right top;
    background-size: contain;
  }

  .header {
    position: absolute;
    padding: 0.5rem 0;
  }

  .header__container {
    position: static;
    display: flex;
  }

  .nav__logo-img {
    height: 140px;
  }

  .nav__toggle,
  .nav__close,
  .nav__top-info,
  .top-bar__menu {
    display: none;
  }

  .header .top-bar {
    display: block;
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .top-bar__container {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    padding-right: 1rem;
  }

  .top-bar__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .top-bar__icon {
    width: 40px;
    height: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
  }

  .top-bar__text {
    display: flex;
    flex-direction: column;
  }

  .top-bar__title {
    font-family: "Kidsbar", sans-serif;
    font-size: 1.1rem;
    color: var(--color-primario);
    text-decoration: none;
  }

  .top-bar__title:hover {
    color: var(--color-secundario);
  }

  .top-bar__subtitle {
    font-size: 0.9rem;
    color: var(--body-color);
  }

  .nav__menu {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;

    transition: none;
    overflow-y: visible;
    overflow-x: visible;
    height: auto;
    overscroll-behavior: auto;

    background: linear-gradient(to bottom, #27749f 50%, #337ca4 50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 9999px;
  }

  .nav__list {
    display: flex;
    /* flex-direction: row; */
    /*  flex-wrap: wrap; */
    height: 100%;

    align-items: center;
    column-gap: 0.3rem;
  }

  .nav__link [class*="ri-home"] {
    font-size: 1.7rem;
  }

  .nav__link {
    padding: 0.3rem;
    font-size: 1.1rem;

    white-space: nowrap;

    border-radius: 0;

    /* color: white;
    transition: color 0.3s; */
  }

  /* ********************************** */
  /*             Dropdown               */
  /* ********************************** */

  .mobile-only {
    display: none !important;
  }

  .dropdown__button {
    column-gap: 0.2rem;
    pointer-events: none;
  }

  .dropdown__container {
    height: auto !important;
    position: absolute;
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition:
      top 0.4s,
      opacity 0.3s;
  }

  .dropdown__content {
    grid-template-columns: repeat(2, max-content);
    column-gap: 1rem;
    /* max-width: 600px; */
    margin-inline: auto;

    align-items: start;
  }

  .dropdown__group {
    align-self: start;
    padding: 1.2rem;
  }

  .dropdown__group:first-child,
  .dropdown__group:last-child {
    margin: 0;
  }

 /*  .dropdown__list {
    row-gap: 1rem;
  } */

  .dropdown__link {
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    padding-bottom: 0.5rem;
  }

  .dropdown__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .dropdown__item {
    cursor: pointer;
  }

  .dropdown__arrow {
    font-size: 1.3rem;
  }

  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }

  .dropdown__item:hover > .nav__link {
    background-color: #61ce70;
    color: var(--white-color);
  }

  .nav__link:has([class*="ri-home"]) {
    border-radius: 50px;
  }

  .dropdown__item:hover > .dropdown__container {
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }

  .top-bar__dropdown-menu .dropdown__group {
    padding: 1.5rem;
  }

  .top-bar__dropdown-menu .dropdown__link {
    font-size: 1rem;
    /* padding: 1rem; */
  }

  .top-bar__dropdown > .top-bar__item {
    gap: 0.5rem;
  }

  .top-bar__dropdown-arrow {
    font-size: 1rem;
    color: var(--color-primario);
    margin-left: 0.5rem;
    transition: transform 0.4s;
  }

  .top-bar__dropdown:hover .top-bar__dropdown-arrow {
    transform: rotate(180deg);
  }

  .educacion__container {
    gap: 1rem;
  }

  /* ********************************** */
  /*            floating social         */
  /* ********************************** */

  .social-stickies {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translate(-30px, -50%);
    display: flex;
    flex-direction: column;

    z-index: 999;
    background-color: var(--color-primario);
    padding: 0.5rem 0.25rem 0.5rem 0;
    border-radius: 0 20px 20px 0;
  }

  /* Cada icono */
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    color: #fff;
    font-size: 1.7rem;
    /* background: rgba(0, 0, 0, 0.35); */

    border-radius: 0.75rem;
    /* no completamente redondo al inicio */
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease,
      background-color 0.3s ease,
      border-radius 0.4s ease;
    /* transición suave del borde */
  }

  .social-link:hover {
    transform: translateX(6px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: var(--color-secundario);
    border-radius: 50%;
  }

  .mv__card {
    padding: 2.5rem 2rem;
  }
}

@media screen and (min-width: 1300px) {
  /* ********************************** */
  /*            floating social         */
  /* ********************************** */
  .nav__logo-img {
    height: 150px;
  }
  .nav__link {
    font-size: 1.15rem;
  }

  .nav__list {
    column-gap: 0.75rem;
  }

  .dropdown__link {
    font-size: 1.05rem; /* Apenas un poco más grande */
  }

  .social-stickies {
    padding: 1rem 0.5rem 1rem 0;
    border-radius: 0 30px 30px 0;
  }

  .social-link {
    width: 45px;
    height: 45px;

    font-size: 2rem;
  }
}

@media screen and (min-width: 1440px) {
  .nav__menu {
    padding: 1rem 1.2rem;
  }

  .nav__logo-img {
    height: 170px;
  }

  .nav__list {
    column-gap: 0.5rem;
  }

  .nav__link {
    padding: 0.5rem;
    font-size: 1.2rem;
    column-gap: 1rem;
  }

  .dropdown__content {
    column-gap: 1.5rem;
  }

  .dropdown__link {
    font-size: 1.05rem;
  }

  .dropdown__arrow {
    font-size: 1.5rem;
  }

  .dropdown__content {
    row-gap: 3rem;
  }

  .dropdown__group {
    padding: 1.2rem;
  }

  .top-bar__icon {
    font-size: 1.5rem;
  }

  .top-bar__subtitle {
    font-size: 1rem;
    color: var(--body-color);
  }

  .top-bar__container {
    padding-right: 1.5rem;
  }
}
