:root {
  --navy: #111f7b;
  --navy-dark: #102f73;
  --pink: #ff63ad;
  --pink-soft: #ff6fb8;
  --purple: #c987ef;
  --green: #91e765;
  --sky: #72d7f5;
  --white: #ffffff;
  --text-dark: #09174f;
  --page-bg: #ffffff;
  --font-main: "Montserrat", sans-serif;
}


/* =========================================================
   ESTILOS GENERALES
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 130px;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--page-bg);
  font-family: var(--font-main);
}

img {
  max-width: 100%;
  height: auto;
}

.site-container {
  width: min(100%, 1440px);
  padding-left: clamp(24px, 5.2vw, 82px);
  padding-right: clamp(24px, 5.2vw, 82px);
}


/* =========================================================
   MENÚ PRINCIPAL
========================================================= */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(9, 23, 79, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  overflow: visible;
}

.site-header.is-scrolled {
  background: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(9, 23, 79, 0.4);
}

.site-header .navbar {
  min-height: 96px;
  padding: 13px 0;
}

.site-logo {
  width: 250px;
  max-height: 88px;
  object-fit: contain;
}

.navbar-nav {
  gap: clamp(12px, 1.4vw, 28px);
}

.navbar .nav-link {
  position: relative;
  padding: 5px 10px !important;
  border: 1.5px solid transparent;
  border-radius: 999px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.navbar .nav-link:hover {
  color: var(--pink);
}

.navbar .nav-link.active-link {
  color: var(--pink);
  border-color: var(--pink);
  background: rgba(255, 99, 173, 0.1);
  box-shadow: 0 3px 8px rgba(255, 99, 173, 0.25);
  transform: translateY(-1px);
}

.btn-tour {
  min-width: 145px;
  padding: 9px 23px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-family: "Comfortaa", sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-tour:hover,
.btn-tour:focus {
  color: var(--white);
  background: #0c1764;
}

/* Join Our Team — enlace accentuado en el nav */
.navbar .nav-link-careers {
  color: var(--white) !important;
  background: var(--green);
  border-color: var(--green) !important;
  font-weight: 700;
  padding: 5px 16px !important;
}

.navbar .nav-link-careers:hover {
  background: #78d44e;
  border-color: #78d44e !important;
  color: var(--white) !important;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}


/* =========================================================
   HERO PRINCIPAL
========================================================= */
.hero-section {
  position: relative;
  z-index: 3;
  height: 880px;
  min-height: 880px;
  max-height: 880px;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(10, 18, 43, 0.3) 0%,
      rgba(10, 18, 43, 0.06) 55%,
      rgba(10, 18, 43, 0.02) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-copy {
  max-width: 820px;
  margin-bottom: 12px;
  min-height: auto;
  transition: opacity 0.35s ease;
}

.hero-copy.is-changing {
  opacity: 0.35;
}

.hero-logo-img {
  width: 480px;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-carousel-dots {
  position: absolute;
  z-index: 4;
  bottom: 96px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-dot.is-active {
  border-color: var(--white);
  background: var(--white);
  transform: scale(1.15);
}

.hero-dot:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.5);
}

.hero-content .row {
  width: 100%;
  margin-top: 0;
  flex-shrink: 0;
}

.hero-title {
  margin: 0;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: clamp(52px, 5.75vw, 84px);
  font-weight: 900;
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  overflow-wrap: break-word;
  word-break: break-word;
  min-height: 2.73em;
}

.hero-title span {
  display: block;
  min-height: 0.91em;
}

.hero-description {
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(16px, 1.45vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.025em;
  min-height: 4.05em;
}

.btn-story {
  min-width: 145px;
  padding: 9px 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--navy-dark);
  background: var(--sky);
  font-family: "Comfortaa", sans-serif;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-story:hover,
.btn-story:focus {
  color: var(--navy-dark);
  background: #8ce1f8;
}


/* =========================================================
   BARRA INFERIOR DEL HERO
========================================================= */
.hero-bottom-bar {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px 280px;
  min-height: 76px;
  background: var(--purple);
}

.enrollment-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px clamp(24px, 5vw, 82px);
  color: var(--white);
  text-align: center;
}

.enrollment-message strong {
  font-size: 19px;
  font-weight: 600;
}

.enrollment-message small {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.45;
}

.contact-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  margin: -14px 3px -26px;
  padding: 28px 18px;
  color: var(--white);
  text-align: center;
  box-shadow: 0 12px 26px rgba(9, 15, 46, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 30px rgba(9, 15, 46, 0.35);
}

.contact-card span {
  font-family: "Comfortaa", sans-serif;
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.1;
}

.contact-card strong {
  font-family: "Comfortaa", sans-serif;
  font-size: 14pt;
  font-weight: 700;
  line-height: 1.05;
}

.contact-card-phone {
  border-radius: 22px;
  background: var(--green);
}

.contact-card-hours {
  border-radius: 22px;
  background: var(--pink-soft);
}

/* Filas de horario dentro de la tarjeta rosa */
.contact-hours-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  width: 100%;
}

.contact-hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.contact-hours-row span {
  font-size: 10pt;
  font-weight: 400;
  opacity: 0.85;
  white-space: nowrap;
}

.contact-hours-row strong {
  font-size: 11pt;
  font-weight: 700;
  white-space: nowrap;
}


/* =========================================================
   CONTENIDO DE DEMOSTRACIÓN
========================================================= */
.demo-content {
  min-height: 260px;
  background: var(--white);
}

.demo-content h2 {
  color: var(--navy);
  font-weight: 800;
}


/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1199.98px) {
  .hero-section {
    height: 860px;
    min-height: 860px;
    max-height: 860px;
  }

  .hero-content {
    padding-bottom: 180px;
  }

  .hero-copy {
    max-width: 700px;
    min-height: 12rem;
  }

  .hero-title {
    font-size: clamp(30px, 4.6vw, 52px);
  }

  .btn-story {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-bottom-bar {
    grid-template-columns: 1fr 220px 220px;
  }
}


/* =========================================================
   MENÚ MÓVIL Y TABLET PEQUEÑA
========================================================= */
@media (max-width: 991.98px) {
  .site-header .navbar {
    min-height: 88px;
    padding: 14px 0;
  }

  .site-logo {
    width: 190px;
  }

  .navbar-collapse {
    padding: 8px 0 12px;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 4px;
    padding: 16px 20px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(12, 23, 100, 0.15);
  }

  .navbar .nav-link {
    display: inline-block;
    padding: 10px 0 !important;
    color: var(--navy);
  }

  .navbar .nav-link.active-link {
    padding: 8px 14px !important;
  }

  .btn-tour {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(8, 17, 49, 0.04) 0%,
        rgba(8, 17, 49, 0.18) 42%,
        rgba(8, 17, 49, 0.7) 100%);
  }
}


/* =========================================================
   TELÉFONO
========================================================= */
@media (max-width: 767.98px) {
  .site-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section {
    height: 700px;
    min-height: 700px;
    max-height: 700px;
  }

  /*
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(8, 17, 60, 0.45) 0%,
        rgba(8, 17, 60, 0.25) 50%,
        rgba(8, 17, 60, 0.55) 100%);
  }*/

  .hero-logo-img {
    width: 300px;
  }

  .hero-carousel-dots {
    bottom: 24px;
    top: auto;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 12px;
  }

  .hero-content .row {
    height: auto !important;
    align-items: stretch !important;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    min-height: 0;
  }

  .hero-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: clamp(28px, 8.6vw, 40px);
    line-height: 1;
    letter-spacing: -0.04em;
    min-height: 0;
  }

  .hero-title span {
    min-height: 0;
  }

  .hero-description {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 580px;
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.45;
    min-height: 0;
  }

  .btn-story {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 9px 20px;
  }

  .hero-bottom-bar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .enrollment-message {
    grid-column: 1 / -1;
    min-height: 88px;
    padding: 17px 20px;
  }

  .enrollment-message strong {
    font-size: 17px;
  }

  .enrollment-message small {
    max-width: 430px;
    margin: 6px auto 0;
    font-size: 12px;
  }

  .contact-card {
    min-height: 92px;
    margin: 0;
    padding: 14px 8px;
    box-shadow: none;
  }

  .contact-card span {
    font-size: 11px;
  }

  .contact-card strong {
    margin-top: 3px;
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .contact-card-phone,
  .contact-card-hours {
    border-radius: 0;
  }
}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
========================================================= */
@media (max-width: 420px) {
  .hero-section {
    height: 660px;
    min-height: 660px;
    max-height: 660px;
  }

  .hero-title {
    font-size: clamp(24px, 8vw, 32px);
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-bottom-bar {
    grid-template-columns: 1fr;
  }

  .enrollment-message,
  .contact-card {
    grid-column: 1;
  }

  .contact-card {
    min-height: 78px;
  }
}





/* =========================================================
   INICIO SECCIÓN: HISTORIA, NOMBRE, MISIÓN Y VISIÓN
========================================================= */

.about-cards-section {
  --about-blue: #72cdf5;
  --about-green: #91e765;
  --about-purple: #c88cf0;
  --about-purple-light: #d39cf4;
  --about-text: #5f5f66;
  --about-white: #ffffff;

  position: relative;
  overflow: hidden;
  background: var(--about-white);
  font-family: "Montserrat", sans-serif;
}


/* =========================================================
   BLOQUE SUPERIOR: OUR STORY / THE NAME SAYS IT ALL
========================================================= */

.about-cards-top {
  padding: 48px 0 38px;
  background: var(--about-white);
}

.story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 385px;
  overflow: visible;
  border: 4px solid;
  border-radius: 22px;
  background: var(--about-white);
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

.story-card.is-visible {
  animation: story-card-fade-in 0.8s ease forwards;
}

.story-card-green.is-visible {
  animation-delay: 0.18s;
}

@keyframes story-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-card-blue {
  border-color: var(--about-blue);
}

.story-card-green {
  border-color: var(--about-green);
}

.story-card-content {
  padding: 22px 28px 12px;
}

@media (min-width: 992px) {
  .story-card-content {
    margin-bottom: 20px;
  }
}

.story-card-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 8px;
  font-family: "Comfortaa", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.story-card-title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: currentColor;
}

.story-card-blue .story-card-title {
  color: var(--about-blue);
}

.story-card-green .story-card-title {
  color: var(--about-green);
}

.story-card-text {
  margin: 0;
  color: var(--about-text);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.22;
}

.story-card-image {
  width: 100%;
  height: 220px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 15px 15px 18px 18px;
}

.story-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.story-card-plus {
  position: absolute;
  right: 22px;
  bottom: -20px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: var(--about-white);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: default;
}

.story-card-blue .story-card-plus {
  background: var(--about-blue);
}

.story-card-green .story-card-plus {
  background: var(--about-green);
}


/* =========================================================
   BLOQUE INFERIOR: MISIÓN / VISIÓN
========================================================= */

.mission-vision-area {
  position: relative;
  padding: 34px 0 20px;
  background:
    linear-gradient(rgba(200, 140, 240, 0.94),
      rgba(200, 140, 240, 0.94));
}

.mission-vision-area::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 25%,
      rgba(255, 255, 255, 0.08),
      transparent 28%),
    radial-gradient(circle at 83% 70%,
      rgba(255, 255, 255, 0.07),
      transparent 30%);
}

.mission-vision-area .container {
  position: relative;
  z-index: 2;
}

.paper-card {
  position: relative;
  min-height: 310px;
  padding: 32px 34px 30px;
  background: var(--about-white);
  text-align: center;
  box-shadow:
    8px 10px 18px rgba(75, 35, 105, 0.25),
    0 3px 8px rgba(0, 0, 0, 0.08);
  transform: rotate(-0.4deg);
  opacity: 0;
  will-change: transform, opacity, box-shadow;
}

.paper-card.is-visible {
  animation: post-it-stick-mission 0.95s cubic-bezier(0.22, 1.08, 0.36, 1) forwards;
}

.paper-card-vision.is-visible {
  animation: post-it-stick-vision 0.95s cubic-bezier(0.22, 1.08, 0.36, 1) 0.22s forwards;
}

.paper-card::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 28px;
  content: "";
  background: var(--about-white);
  clip-path: polygon(0 12%,
      14% 16%,
      28% 8%,
      42% 18%,
      57% 10%,
      72% 17%,
      87% 7%,
      100% 13%,
      100% 100%,
      0 100%);
}

.paper-card-vision {
  transform: rotate(0.3deg);
}

.paper-card-title {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 24px;
  font-family: "Comfortaa", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.paper-card-mission .paper-card-title {
  color: var(--about-green);
}

.paper-card-vision .paper-card-title {
  color: var(--about-blue);
}

.paper-card-icon {
  display: inline-block;
  font-size: 28px;
  font-weight: 300;
  transform: rotate(15deg);
}

.paper-card-text {
  position: relative;
  z-index: 2;
  max-width: 280px;
  margin: 0 auto;
  color: var(--about-text);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
}

.paper-card-quote {
  position: relative;
  z-index: 2;
  max-width: 280px;
  margin: 18px auto 0;
  color: var(--about-text);
  font-size: 12px;
  font-style: italic;
  line-height: 1.35;
}

.paper-clip {
  position: absolute;
  z-index: 4;
  top: -17px;
  left: 28%;
  width: 18px;
  height: 72px;
  border: 3px solid;
  border-radius: 12px;
  transform: rotate(-5deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  opacity: 0;
  will-change: transform, opacity;
}

.paper-card.is-visible .paper-clip {
  animation: clip-stick 0.62s cubic-bezier(0.34, 1.25, 0.64, 1) 0.52s forwards;
}

.paper-card-vision.is-visible .paper-clip {
  animation-delay: 0.74s;
}

@keyframes post-it-stick-mission {
  0% {
    opacity: 0;
    transform: translate3d(-22px, -95px, 0) rotate(-16deg) scale(0.86);
    box-shadow: 2px 4px 10px rgba(75, 35, 105, 0.06);
  }

  48% {
    opacity: 1;
    transform: translate3d(3px, 14px, 0) rotate(-2deg) scale(1.04);
    box-shadow: 14px 18px 26px rgba(75, 35, 105, 0.22);
  }

  68% {
    transform: translate3d(0, -7px, 0) rotate(-0.8deg) scale(0.98);
  }

  84% {
    transform: translate3d(0, 4px, 0) rotate(-0.2deg) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-0.4deg) scale(1);
    box-shadow:
      8px 10px 18px rgba(75, 35, 105, 0.25),
      0 3px 8px rgba(0, 0, 0, 0.08);
  }
}

@keyframes post-it-stick-vision {
  0% {
    opacity: 0;
    transform: translate3d(24px, -95px, 0) rotate(14deg) scale(0.86);
    box-shadow: 2px 4px 10px rgba(75, 35, 105, 0.06);
  }

  48% {
    opacity: 1;
    transform: translate3d(-2px, 14px, 0) rotate(2deg) scale(1.04);
    box-shadow: 14px 18px 26px rgba(75, 35, 105, 0.22);
  }

  68% {
    transform: translate3d(0, -7px, 0) rotate(0.6deg) scale(0.98);
  }

  84% {
    transform: translate3d(0, 4px, 0) rotate(0.1deg) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0.3deg) scale(1);
    box-shadow:
      8px 10px 18px rgba(75, 35, 105, 0.25),
      0 3px 8px rgba(0, 0, 0, 0.08);
  }
}

@keyframes clip-stick {
  0% {
    opacity: 0;
    transform: translate3d(0, -42px, 0) rotate(-32deg) scale(0.45);
  }

  55% {
    opacity: 1;
    transform: translate3d(0, 8px, 0) rotate(-11deg) scale(1.12);
  }

  75% {
    transform: translate3d(0, -4px, 0) rotate(-7deg) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-5deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .story-card,
  .paper-card,
  .paper-clip,
  .core-values-heading,
  .value-card {
    opacity: 1;
    animation: none !important;
    transform: none;
    will-change: auto;
  }

  .paper-card-vision {
    transform: none;
  }
}

.paper-clip::after {
  position: absolute;
  top: 6px;
  left: 3px;
  width: 7px;
  height: 51px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 8px;
}

.paper-clip-green {
  color: #4ebd2a;
  border-color: #4ebd2a;
}

.paper-clip-blue {
  color: #22b8ee;
  border-color: #22b8ee;
}


/* =========================================================
   RESPONSIVE: TABLET
========================================================= */

@media (max-width: 991.98px) {
  .about-cards-top {
    padding: 42px 0 44px;
  }

  .story-card {
    min-height: 390px;
  }

  .story-card-content {
    padding: 22px 22px 14px;
  }

  .story-card-text {
    font-size: 13px;
  }

  .story-card-image {
    height: 150px;
    margin-top: auto;
  }

  .mission-vision-area {
    padding: 45px 0 30px;
  }

  .paper-card {
    min-height: 330px;
    padding: 34px 26px 34px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO
========================================================= */

@media (max-width: 767.98px) {
  .about-cards-top {
    padding: 36px 0 44px;
  }

  .about-cards-top .row {
    --bs-gutter-y: 38px;
  }

  .story-card {
    min-height: auto;
    border-width: 3px;
    border-radius: 20px;
  }

  .story-card-content {
    padding: 22px 20px 18px;
  }

  .story-card-title {
    margin-bottom: 14px;
    font-size: 27px;
  }

  .story-card-text {
    font-size: 14px;
    line-height: 1.35;
  }

  .story-card-image {
    height: 190px;
    margin-top: 16px;
  }

  .story-card-plus {
    right: 18px;
    bottom: -19px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 36px;
  }

  .mission-vision-area {
    padding: 46px 0 34px;
  }

  .mission-vision-area .row {
    --bs-gutter-y: 34px;
  }

  .paper-card,
  .paper-card-vision {
    width: min(100%, 390px);
    min-height: auto;
    margin: 0 auto;
    padding: 42px 28px 42px;
    transform: none;
  }

  .paper-card.is-visible {
    animation-name: post-it-stick-mission-mobile;
  }

  .paper-card-vision.is-visible {
    animation-name: post-it-stick-vision-mobile;
  }

  @keyframes post-it-stick-mission-mobile {
    0% {
      opacity: 0;
      transform: translate3d(-12px, -70px, 0) rotate(-8deg) scale(0.9);
    }

    50% {
      opacity: 1;
      transform: translate3d(0, 10px, 0) rotate(1deg) scale(1.02);
    }

    72% {
      transform: translate3d(0, -5px, 0) rotate(-0.5deg) scale(0.99);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
  }

  @keyframes post-it-stick-vision-mobile {
    0% {
      opacity: 0;
      transform: translate3d(12px, -70px, 0) rotate(8deg) scale(0.9);
    }

    50% {
      opacity: 1;
      transform: translate3d(0, 10px, 0) rotate(-1deg) scale(1.02);
    }

    72% {
      transform: translate3d(0, -5px, 0) rotate(0.5deg) scale(0.99);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
  }

  .paper-card-title {
    margin-bottom: 20px;
    font-size: 27px;
  }

  .paper-card-text {
    max-width: 300px;
    font-size: 13px;
  }

  .paper-clip {
    left: 22%;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 420px) {
  .story-card-content {
    padding: 20px 17px 17px;
  }

  .story-card-title {
    font-size: 24px;
  }

  .story-card-text {
    font-size: 13px;
  }

  .story-card-image {
    height: 160px;
    margin-top: 12px;
  }

  .paper-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .paper-card-title {
    font-size: 25px;
  }

  .paper-card-text,
  .paper-card-quote {
    font-size: 12px;
  }
}

/* =========================================================
   FIN SECCIÓN: HISTORIA, NOMBRE, MISIÓN Y VISIÓN
========================================================= */

/* =========================================================
   INICIO SECCIÓN: DIFERENCIA Y VALORES
========================================================= */

.difference-values-section {
  --difference-purple: #a444ae;
  --difference-purple-light: #c88df0;
  --difference-yellow: #ffe51a;
  --difference-pink: #f76eb4;
  --difference-blue: #72c8ef;
  --difference-green: #9ee768;
  --difference-navy: #111979;
  --difference-white: #ffffff;
  --difference-text: #171746;
  --difference-gray: #6f6f75;

  position: relative;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}


/* =========================================================
   BLOQUE SUPERIOR: WHAT MAKES US DIFFERENT
========================================================= */

.difference-banner {
  position: relative;
  min-height: 355px;
  display: flex;
  align-items: center;
  background-image: url("../images/galeria/img2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.difference-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.72);
}

.difference-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 20px 58px;
  color: var(--difference-white);
  text-align: center;
}

.difference-title {
  margin: 0 0 14px;
  font-family: "Comfortaa", sans-serif;
  font-size: 53px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.difference-description {
  max-width: 760px;
  margin: 0 auto 20px;
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.difference-highlight {
  max-width: 650px;
  margin: 0 auto 24px;
  padding: 14px 24px;
  border-radius: 2px;
  color: var(--difference-white);
  background: rgba(164, 68, 174, 0.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.difference-highlight strong {
  color: #ffe51a;
  font-weight: 800;
}

.difference-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 30px;
  padding: 8px 18px;
  border: 1px solid #d5d5d5;
  color: #55555b;
  background: var(--difference-white);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.difference-button:hover {
  color: var(--difference-white);
  background: var(--difference-purple);
  transform: translateY(-2px);
}


/* =========================================================
   BLOQUE INFERIOR: OUR CORE VALUES
========================================================= */

.core-values-area {
  padding-top: 36px;
  background: var(--difference-white);
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  perspective: 900px;
}

.core-values-heading {
  padding: 0 20px 26px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform;
}

.core-values-heading.is-visible {
  animation: core-values-heading-in 0.65s ease forwards;
}

@keyframes core-values-heading-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-card {
  display: flex;
  min-height: 205px;
  padding: 24px 28px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--difference-text);
  text-align: center;
  border-radius: 18px;
  opacity: 0;
  transform: translate3d(0, -40px, 0) scale(0.78) rotate(-5deg);
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.core-values-grid.is-visible .value-card {
  animation: lego-snap 0.58s cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
}

.core-values-grid.is-visible .value-card:nth-child(1) {
  animation-delay: 0.04s;
}

.core-values-grid.is-visible .value-card:nth-child(2) {
  animation-delay: 0.11s;
}

.core-values-grid.is-visible .value-card:nth-child(3) {
  animation-delay: 0.18s;
}

.core-values-grid.is-visible .value-card:nth-child(4) {
  animation-delay: 0.25s;
}

.core-values-grid.is-visible .value-card:nth-child(5) {
  animation-delay: 0.32s;
}

.core-values-grid.is-visible .value-card:nth-child(6) {
  animation-delay: 0.39s;
}

.core-values-grid.is-visible .value-card:nth-child(7) {
  animation-delay: 0.46s;
}

.core-values-grid.is-visible .value-card:nth-child(8) {
  animation-delay: 0.53s;
}

@keyframes lego-snap {
  0% {
    opacity: 0;
    transform: translate3d(0, -40px, 0) scale(0.78) rotate(-5deg);
  }

  52% {
    opacity: 1;
    transform: translate3d(0, 7px, 0) scale(1.05) rotate(1.5deg);
  }

  72% {
    transform: translate3d(0, -3px, 0) scale(0.98) rotate(-0.5deg);
  }

  88% {
    transform: translate3d(0, 2px, 0) scale(1.01) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

.core-values-heading h2 {
  margin: 0 0 10px;
  color: #35353b;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(26px, 3.6vw, 53px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.core-values-heading h2 span {
  color: var(--difference-purple);
}

.core-values-heading p {
  margin: 0;
  color: var(--difference-gray);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.5;
}

.value-card-icon {
  display: block;
  font-size: 54px;
  line-height: 1;
  margin-bottom: 8px;
}

.value-card h3 {
  margin: 0 0 3px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.value-card p {
  max-width: 285px;
  margin: 0;
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.15;
}

.value-card-light {
  color: var(--difference-white);
}

.value-card-purple {
  background: var(--difference-purple-light);
}

.value-card-yellow {
  background: var(--difference-yellow);
}

.value-card-pink {
  background: var(--difference-pink);
}

.value-card-blue {
  background: var(--difference-blue);
}

.value-card-green {
  background: var(--difference-green);
}

.value-card-navy {
  background: var(--difference-navy);
}


/* =========================================================
   RESPONSIVE: TABLET
========================================================= */

@media (max-width: 991.98px) {
  .difference-banner {
    min-height: 390px;
  }

  .difference-content {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .difference-description {
    max-width: 680px;
    font-size: 14px;
  }

  .difference-highlight {
    max-width: 610px;
  }

  .core-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card {
    min-height: 210px;
  }

  .value-card p {
    max-width: 300px;
    font-size: 12px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO
========================================================= */

@media (max-width: 767.98px) {
  .difference-banner {
    min-height: 470px;
    background-position: center;
  }

  .difference-overlay {
    background: rgba(8, 8, 12, 0.76);
  }

  .difference-content {
    max-width: 600px;
    padding: 48px 18px;
  }

  .difference-title {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .difference-description {
    font-size: 14px;
    line-height: 1.55;
  }

  .difference-highlight {
    margin-bottom: 22px;
    padding: 14px 18px;
    font-size: 14px;
  }

  .difference-button {
    min-width: 210px;
    min-height: 38px;
    font-size: 12px;
  }

  .core-values-area {
    padding-top: 32px;
  }

  .core-values-heading {
    padding-bottom: 24px;
  }

  .core-values-heading h2 {
    font-size: 26px;
  }

  .core-values-heading p {
    max-width: 430px;
    margin: 0 auto;
    font-size: 11px;
  }

  .core-values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 190px;
    padding: 28px 24px;
  }

  .value-card-icon {
    font-size: 58px;
  }

  .value-card h3 {
    font-size: 18px;
  }

  .value-card p {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.25;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 420px) {
  .difference-banner {
    min-height: 520px;
  }

  .difference-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .difference-title {
    font-size: 25px;
  }

  .difference-description {
    font-size: 13px;
  }

  .difference-highlight {
    padding: 13px 14px;
    font-size: 13px;
  }

  .value-card {
    min-height: 180px;
  }

  .value-card h3 {
    font-size: 21px;
  }

  .value-card p {
    font-size: 13px;
  }
}

/* =========================================================
   FIN SECCIÓN: DIFERENCIA Y VALORES
========================================================= */

/* =========================================================
   INICIO SECCIÓN: PROGRAMAS Y ESTADÍSTICAS
========================================================= */

.programs-section {
  --programs-blue: #75c7ed;
  --programs-pink: #f66cb5;
  --programs-purple: #c995ee;
  --programs-yellow: #ffe51b;
  --programs-green: #a4e86b;
  --programs-navy: #111a73;
  --programs-navy-vocational: #111873;
  --programs-white: #ffffff;
  --programs-text: #111a73;
  --programs-gray: #77777d;

  position: relative;
  overflow: hidden;
  background: var(--programs-white);
  font-family: "Montserrat", sans-serif;
}


/* =========================================================
   BLOQUE SUPERIOR: ESTADÍSTICAS
========================================================= */

.programs-stats {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  background-image: url("../images/galeria/img2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.programs-stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.68);
}

.programs-stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  margin: 0 auto;
  padding: 28px 0;
}

.program-stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--programs-white);
  text-align: center;
}

.program-stat-icon {
  display: block;
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1;
  margin-bottom: 6px;
}

.program-stat strong {
  margin-bottom: 6px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.program-stat span {
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}


/* =========================================================
   BLOQUE INFERIOR: CONTENEDOR GENERAL
========================================================= */

.programs-content {
  background: var(--programs-white);
}

.section-programs {
  position: relative;
  width: 100%;
  aspect-ratio: 1372 / 686;
  overflow: hidden;
  background: var(--programs-white);
}

.section-programs * {
  box-sizing: border-box;
}


/* =========================================================
   ENCABEZADO: OUR PROGRAMS
========================================================= */

.programs-intro {
  position: absolute;
  left: 4.8%;
  top: 14%;
  width: 29%;
  z-index: 2;
}

.programs-intro h2 {
  margin: 0 0 10px;
  color: var(--programs-text);
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.programs-intro-pink {
  color: var(--programs-pink);
}

.programs-intro p {
  margin: 0;
  color: var(--programs-gray);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.35;
}


/* =========================================================
   ESTILOS GENERALES DE LAS TARJETAS
========================================================= */

.program-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(8px, 1.6vw, 24px);
  border: 3px solid var(--programs-white);
  color: var(--programs-text);
  text-align: center;
}

.program-card h3 {
  margin: 0 0 6px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(18px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.program-card p {
  margin: 0;
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 400;
  line-height: 1.3;
}

.program-card-icon {
  display: block;
  width: 1em;
  height: 1em;
  font-size: clamp(24px, 3.8vw, 56px);
  line-height: 1;
  margin-bottom: 6px;
}

.program-card-icon-large {
  font-size: clamp(36px, 6vw, 88px);
}


/* =========================================================
   TARJETA: ACTIVITIES OF DAILY LIVING (rosa)
========================================================= */

.program-card-daily {
  left: 39.5%;
  top: 11.5%;
  width: 27.2%;
  height: 31.2%;
  z-index: 2;
  border-radius: 22px;
  color: var(--programs-white);
  background: var(--programs-pink);
}


/* =========================================================
   TARJETA: COMMUNICATION SKILLS (morado)
========================================================= */

.program-card-communication {
  left: 66.7%;
  top: 0;
  width: 33.3%;
  height: 43.6%;
  z-index: 1;
  border-radius: 0 0 0 22px;
  background: var(--programs-purple);
}

.program-card-communication .program-card-icon {
  margin-bottom: 8px;
}


/* =========================================================
   TARJETA: COMMUNITY-BASED LEARNING (amarillo)
========================================================= */

.program-card-community {
  left: 20.9%;
  top: 42.9%;
  width: 59.5%;
  height: 22.2%;
  z-index: 3;
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 30px);
  padding-right: clamp(14px, 2.6vw, 40px);
  padding-left: clamp(14px, 2.6vw, 40px);
  border-radius: 22px;
  background: var(--programs-yellow);
}

.program-community-title,
.program-community-text {
  display: flex;
  height: 100%;
  align-items: center;
}

.program-community-title h3 {
  margin: 0;
  text-align: left;
}

.program-community-text p {
  text-align: left;
}


/* =========================================================
   TARJETA: SOCIAL SKILLS (azul)
========================================================= */

.program-card-social {
  left: 0;
  top: 43.6%;
  width: 41.3%;
  height: 56.4%;
  z-index: 1;
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(8px, 1.8vw, 22px);
  padding-right: clamp(14px, 2.6vw, 34px);
  padding-left: clamp(14px, 2.6vw, 34px);
  border-radius: 0 22px 22px 0;
  background: var(--programs-blue);
}

.program-social-visual,
.program-social-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.program-social-visual h3 {
  margin: 4px 0 0;
}

.program-social-text p {
  text-align: left;
}


/* =========================================================
   TARJETA: FUNCTIONAL & REAL ACADEMICS (verde)
========================================================= */

.program-card-academics {
  left: 41.3%;
  top: 65%;
  width: 39.1%;
  height: 35%;
  z-index: 1;
  border-radius: 0 22px 22px 22px;
  background: var(--programs-green);
}

.program-card-academics .program-card-icon {
  margin-bottom: 6px;
}


/* =========================================================
   TARJETA: VOCATIONAL READINESS (azul oscuro)
========================================================= */

.program-card-vocational {
  left: 80.4%;
  top: 43.6%;
  width: 19.6%;
  height: 56.4%;
  z-index: 1;
  border-radius: 22px 0 0 22px;
  color: var(--programs-white);
  background: var(--programs-navy-vocational);
}

.program-card-vocational .program-card-icon {
  margin-bottom: 8px;
}


/* =========================================================
   RESPONSIVE: TABLET (estadísticas)
========================================================= */

@media (max-width: 991.98px) {
  .programs-stats {
    min-height: 210px;
  }

  .programs-stats-grid {
    max-width: 680px;
  }

  .program-stat strong {
    font-size: 20px;
  }
}


/* =========================================================
   RESPONSIVE: MOSAICO "OUR PROGRAMS" APILADO
========================================================= */

@media (max-width: 899.98px) {
  .section-programs {
    display: flex;
    aspect-ratio: auto;
    flex-direction: column;
  }

  .programs-intro,
  .program-card {
    position: static;
    width: 100%;
    height: auto;
    min-height: 220px;
    border-radius: 0;
  }

  .programs-intro {
    padding: 44px 24px;
    text-align: center;
  }

  .programs-intro h2 {
    font-size: 22px;
    white-space: normal;
  }

  .programs-intro p {
    max-width: 430px;
    margin: 0 auto;
    font-size: 17px;
  }

  .program-card {
    padding: 34px 24px;
  }

  .program-card:first-of-type {
    border-radius: 20px 20px 0 0;
  }

  .program-card:last-of-type {
    border-radius: 0 0 20px 20px;
  }

  .program-card-community,
  .program-card-social {
    flex-direction: column;
  }

  .program-community-title,
  .program-community-text,
  .program-social-visual,
  .program-social-text {
    width: 100%;
    height: auto;
    padding: 0;
  }

  .program-community-title h3 {
    text-align: center;
  }

  .program-community-text p,
  .program-social-text p {
    max-width: 360px;
    margin: 14px auto 0;
    text-align: center;
  }

  .program-card-icon {
    font-size: 70px;
    margin-bottom: 10px;
  }

  .program-card-icon-large {
    font-size: 90px;
  }

  .program-card h3 {
    font-size: 24px;
  }

  .program-card p {
    max-width: 380px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.3;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO (estadísticas)
========================================================= */

@media (max-width: 767.98px) {
  .programs-stats {
    min-height: auto;
  }

  .programs-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 500px;
    padding: 28px 14px;
    row-gap: 30px;
  }

  .program-stat-icon {
    font-size: 24px;
  }

  .program-stat strong {
    font-size: 20px;
  }

  .program-stat span {
    font-size: 12px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 420px) {
  .programs-stats-grid {
    padding-right: 8px;
    padding-left: 8px;
  }

  .program-stat strong {
    font-size: 18px;
  }

  .program-stat span {
    font-size: 11px;
  }

  .programs-intro h2 {
    font-size: 20px;
  }

  .programs-intro p {
    font-size: 15px;
  }

  .program-card {
    min-height: 220px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .program-card h3 {
    font-size: 20px;
  }

  .program-card p {
    font-size: 15px;
  }
}

/* =========================================================
   FIN SECCIÓN: PROGRAMAS Y ESTADÍSTICAS
========================================================= */

/* =========================================================
   INICIO SECCIÓN: ADMISIONES Y FUNDADORAS
========================================================= */

.admissions-founders-section {
  --admissions-purple: #c98df2;
  --admissions-purple-dark: #bf7fe9;
  --admissions-pink: #ff70b4;
  --admissions-yellow: #ffd91a;
  --admissions-green: #9fe765;
  --admissions-white: #ffffff;
  --admissions-background: #f5f5fb;
  --admissions-text: #6b6b73;
  --admissions-navy: #141b76;

  position: relative;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}


/* =========================================================
   BLOQUE SUPERIOR: INFORMACIÓN DE ADMISIONES
========================================================= */

.admissions-area {
  padding: 28px 0 42px;
  background: var(--admissions-background);
}

.admission-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 365px;
  padding: 26px 28px 52px;
  flex-direction: column;
  border: 4px solid;
  border-radius: 24px;
  background: transparent;
}

.admission-card h2 {
  margin: 0 0 20px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.admission-card h3 {
  margin: 0 0 14px;
  color: #59595f;
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.admission-card-purple {
  border-color: var(--admissions-purple);
}

.admission-card-purple h2 {
  color: var(--admissions-purple);
}

.admission-card-pink {
  border-color: var(--admissions-pink);
}

.admission-card-pink h2 {
  color: var(--admissions-pink);
}

.admission-card-yellow {
  border-color: var(--admissions-yellow);
}

.admission-card-yellow h2 {
  color: var(--admissions-yellow);
}


/* =========================================================
   LISTAS DE ADMISIONES
========================================================= */

.admission-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.admission-list li {
  position: relative;
  padding-left: 28px;
  color: var(--admissions-text);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.admission-list li::before {
  position: absolute;
  top: 0.48em;
  left: 2px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  transform: translateY(-50%);
  background: currentColor;
}

.admission-card-purple .admission-list li::before {
  color: var(--admissions-purple);
}

.admission-card-pink .admission-list li::before {
  color: var(--admissions-pink);
}

.admission-card-yellow .admission-list li::before {
  color: var(--admissions-yellow);
}


/* =========================================================
   TARJETA: HOW TO APPLY
========================================================= */

.admission-card-apply .admission-list {
  gap: 15px;
}

.admission-note {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--admissions-text);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  text-align: center;
}

.admission-apply-button {
  position: absolute;
  right: 20px;
  bottom: -21px;
  display: inline-flex;
  min-width: 190px;
  min-height: 42px;
  padding: 9px 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #7a6b00;
  background: var(--admissions-yellow);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.admission-apply-button:hover {
  color: #6d6000;
  filter: brightness(0.97);
  transform: translateY(-3px);
}


/* =========================================================
   SECCIÓN: SPECIAL EDUCATION CATEGORIES
========================================================= */

.sped-categories-area {
  padding: 72px 0 64px;
  background: #f5f5fb;
}

.sped-categories-header {
  text-align: center;
  margin-bottom: 48px;
}

.sped-categories-header h2 {
  margin: 0 0 12px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: #111a73;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sped-categories-header h2 span {
  color: #c994ed;
}

.sped-categories-header p {
  margin: 0 auto;
  max-width: 520px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  color: #555;
  line-height: 1.6;
}

.sped-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sped-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  background: #ffffff;
  border-radius: 16px;
  border-top: 4px solid #c994ed;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sped-cat-card:nth-child(2) {
  border-top-color: #ffe51b;
}

.sped-cat-card:nth-child(3) {
  border-top-color: #a4e86b;
}

.sped-cat-card:nth-child(4) {
  border-top-color: #ffb3c6;
}

.sped-cat-card:nth-child(5) {
  border-top-color: #7dd3fc;
}

.sped-cat-card:nth-child(6) {
  border-top-color: #fda4af;
}

.sped-cat-card:nth-child(7) {
  border-top-color: #86efac;
}

.sped-cat-card:nth-child(8) {
  border-top-color: #c4b5fd;
}

.sped-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.sped-cat-icon {
  font-size: 32px;
  color: #111a73;
  margin-bottom: 12px;
  line-height: 1;
}

.sped-cat-card h3 {
  margin: 0 0 6px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  color: #111a73;
  line-height: 1.3;
}

.sped-cat-card p {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #888;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .sped-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .sped-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .sped-cat-card {
    padding: 20px 14px 18px;
  }

  .sped-cat-icon {
    font-size: 26px;
  }
}


/* =========================================================
   BLOQUE INFERIOR: FUNDADORAS
========================================================= */

.founders-area {
  --wave-width: 90px;
  --wave-height: 22px;
  --founders-purple: #c994ed;
  --founders-green: #a4e86b;
  --founders-yellow: #ffe51b;
  --founders-navy: #111a73;

  position: relative;
  width: 100%;
  min-height: 540px;
  aspect-ratio: 1372 / 566;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--founders-purple);
}

.founders-area,
.founders-area *,
.founders-area *::before,
.founders-area *::after {
  box-sizing: border-box;
}

.founders-area .wave {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  height: var(--wave-height);
  background-repeat: repeat-x;
  background-size: var(--wave-width) var(--wave-height);
  pointer-events: none;
}

.founders-area .wave-top {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='22' viewBox='0 0 90 22'%3E%3Cpath d='M0,11 Q22.5,0 45,11 T90,11 L90,0 L0,0 Z' fill='%23f5f5fb'/%3E%3C/svg%3E");
}

.founders-area .wave-bottom {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='22' viewBox='0 0 90 22'%3E%3Cpath d='M0,11 Q22.5,22 45,11 T90,11 L90,22 L0,22 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.founders-people {
  position: static;
}

.founder-card {
  position: absolute;
  z-index: 3;
  width: 20.4%;
  height: 43.8%;
  text-align: center;
}

.founder-card-1 {
  left: 12.4%;
  top: 30%;
}

.founder-card-2 {
  left: 35%;
  top: 30%;
  /* igual que Maja */
}

.founder-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 28px;
}

.founder-card-bg-green {
  background: var(--founders-green);
}

.founder-card-bg-yellow {
  background: var(--founders-yellow);
}

.founder-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 140.3%;
}

.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* Katie tiene menos espacio vacío arriba — se baja la imagen con
   transform para que la cabeza quede al mismo nivel que Maja */
.founder-card-2 .founder-photo {
  overflow: hidden;
}

.founder-card-2 .founder-photo img {
  transform: translateY(8.5%);
}

.founder-card-label {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 3;
  margin-top: 12px;
}

.founder-card-label h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.founder-card-label p {
  margin: 4px 0 0;
  color: var(--founders-navy);
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}


/* =========================================================
   TEXTO: MEET OUR FOUNDERS
========================================================= */

.founders-copy {
  position: absolute;
  top: 50%;
  left: 64.1%;
  z-index: 3;
  width: min(340px, 30%);
  transform: translateY(-50%);
  text-align: left;
}

.founders-copy h2 {
  margin: 0 0 12px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(38px, 4.4vw, 59px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.founders-copy h2 span,
.founders-copy h2 strong {
  display: block;
}

.founders-copy h2 span {
  color: #ffffff;
  font-weight: 700;
}

.founders-copy h2 strong {
  color: var(--founders-yellow);
  font-weight: 700;
}

.founders-copy p {
  max-width: 340px;
  margin: 0;
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.15;
}

.founders-team-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--founders-navy);
  color: #ffffff;
  font-family: "Comfortaa", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.founders-team-btn:hover {
  background: #0c1260;
  color: #ffffff;
  transform: translateY(-2px);
}



/* =========================================================
   RESPONSIVE: FUNDADORAS APILADAS
========================================================= */

@media (max-width: 899.98px) {
  .founders-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    aspect-ratio: auto;
    padding: 54px 6% 44px;
  }

  .founders-copy {
    position: static;
    order: 1;
    width: 100%;
    max-width: 420px;
    transform: none;
    text-align: center;
    margin: 0 auto 40px;
  }

  .founders-people {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 480px;
  }

  .founder-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 280 / 248;
    height: auto;
    margin-bottom: 72px;
  }

  .founder-card-label h3 {
    font-size: clamp(24px, 6vw, 30px);
  }
}

@media (max-width: 480px) {
  .founders-people {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 60px;
  }
}


/* =========================================================
   RESPONSIVE: PANTALLAS MEDIANAS
========================================================= */

@media (max-width: 1199.98px) {
  .admission-card {
    min-height: 390px;
  }
}


/* =========================================================
   RESPONSIVE: TABLET
========================================================= */

@media (max-width: 991.98px) {
  .admissions-area {
    padding: 36px 0 54px;
  }

  .admission-card {
    min-height: 390px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO
========================================================= */

@media (max-width: 767.98px) {
  .admissions-area {
    padding: 32px 0 58px;
  }

  .admissions-area .row {
    --bs-gutter-y: 28px;
  }

  .admission-card {
    width: min(100%, 470px);
    min-height: auto;
    margin: 0 auto;
    padding: 25px 22px 52px;
    border-width: 3px;
    border-radius: 22px;
  }

  .admission-card h2 {
    font-size: 19px;
  }

  .admission-list {
    gap: 15px;
  }

  .admission-list li {
    padding-left: 25px;
    font-size: 15px;
  }

  .admission-apply-button {
    right: 50%;
    bottom: -21px;
    min-width: 200px;
    transform: translateX(50%);
  }

  .admission-apply-button:hover {
    transform: translateX(50%) translateY(-3px);
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 420px) {
  .admission-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .admission-card h2 {
    font-size: 18px;
  }

  .admission-list li {
    font-size: 14px;
  }

  .admission-apply-button {
    min-width: 185px;
    font-size: 16px;
  }
}

/* =========================================================
   FIN SECCIÓN: ADMISIONES Y FUNDADORAS
========================================================= */

/* ── Special Education Categories (dentro de Who We Serve) ── */
.wws-sped-categories {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(138, 110, 242, 0.22);
}

.wws-sped-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6ef2;
  margin-bottom: 12px;
}

.wws-sped-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wws-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(138, 110, 242, 0.12);
  border: 1px solid rgba(138, 110, 242, 0.28);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #4a3fa8;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wws-chip i {
  font-size: 11px;
  opacity: 0.8;
}

.wws-chip:hover {
  background: rgba(138, 110, 242, 0.22);
  border-color: rgba(138, 110, 242, 0.5);
}




/* =========================================================
   INICIO SECCIÓN: CAMPUS Y GALERÍA
========================================================= */

.campus-gallery-section {
  --campus-purple: #c995ee;
  --campus-pink: #f66cb5;
  --campus-yellow: #ffe51b;
  --campus-blue: #75c7ed;
  --campus-green: #a4e86b;
  --campus-navy: #111873;
  --campus-white: #ffffff;
  --campus-text: #111873;
  --campus-gray: #6d6d73;

  position: relative;
  overflow: hidden;
  background: var(--campus-white);
  font-family: "Montserrat", sans-serif;
}


/* =========================================================
   BLOQUE SUPERIOR: OUR CAMPUS
========================================================= */

.campus-area {
  padding: 54px 0 56px;
  background: var(--campus-white);
}

.campus-layout {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  max-width: 1220px;
  margin: 0 auto;
  gap: 52px;
  align-items: center;
}


/* =========================================================
   TEXTO PRINCIPAL DEL CAMPUS
========================================================= */

.campus-intro {
  padding-left: 10px;
}

.campus-intro h2 {
  margin: 0 0 12px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(38px, 4.4vw, 59px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.campus-intro h2 span,
.campus-intro h2 strong {
  display: block;
}

.campus-intro h2 span {
  color: var(--campus-navy);
  font-weight: 700;
}

.campus-intro h2 strong {
  color: var(--campus-pink);
  font-weight: 700;
}

.campus-intro p {
  max-width: 285px;
  margin: 0;
  color: var(--campus-gray);
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
}


/* =========================================================
   CUADRÍCULA DE ESPACIOS DEL CAMPUS
========================================================= */

.campus-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  align-items: stretch;
}

.campus-feature {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 0;
  padding: 15px 15px 12px;
  aspect-ratio: 1 / 1.15;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  color: var(--campus-text);
  text-align: center;
}

.campus-feature>* {
  position: relative;
  z-index: 2;
}


/* =========================================================
   BORDE ONDULADO (4 LADOS) — .campus-card--wavy
   Silueta única en un solo <path> (curvas Q continuas).
   El color viene únicamente del path SVG (fill: currentColor).
   Sin círculos, sin rect, sin mask, sin capas blancas.
========================================================= */

.campus-card--wavy {
  position: relative;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible;
  isolation: isolate;
}

.campus-card--wavy::before,
.campus-card--wavy::after {
  content: none !important;
  display: none !important;
}

.campus-card__shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.campus-card__shape-path {
  fill: currentColor;
  stroke: none;
}

.campus-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 16px 14px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-classrooms {
  color: #c995ee;
}

.card-kitchen {
  color: #f66cb5;
}

.card-accessible {
  color: #a4e86b;
}

.card-safe {
  color: #ffe51b;
}

.card-classrooms .campus-card__content,
.card-accessible .campus-card__content,
.card-safe .campus-card__content {
  color: #111a73;
}

.card-kitchen .campus-card__content {
  color: #ffffff;
}

.campus-feature-icon {
  display: block;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1;
  margin-bottom: 6px;
}

svg.campus-feature-icon {
  width: 1em;
  height: 1em;
}

.campus-feature h3 {
  margin: 6px 0 5px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.campus-feature p {
  max-width: 90%;
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 400;
  line-height: 1.15;
}

.campus-feature-light {
  color: var(--campus-white);
}


/* =========================================================
   COLORES DE LAS TARJETAS
========================================================= */

.campus-feature-purple {
  background: var(--campus-purple);
}

.campus-feature-yellow {
  background: var(--campus-yellow);
}

.campus-feature-pink {
  background: var(--campus-pink);
}

.campus-feature-blue {
  background: var(--campus-pink);
  color: var(--campus-white);
}

.campus-feature-green {
  background: var(--campus-green);
}

.campus-feature-navy {
  background: var(--campus-navy);
}


/* =========================================================
   GALERÍA
========================================================= */

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 330px;
}

.gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  text-decoration: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 37, 0.32);
  transition: background-color 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(20, 16, 37, 0.2);
}

.gallery-title {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 100%;
  color: var(--campus-white);
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(38px, 4.4vw, 53px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
  transform: translate(-50%, -50%);
}

.gallery-item-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--campus-purple), var(--campus-blue));
  color: var(--campus-white);
  text-align: center;
}

.gallery-placeholder-icon {
  font-size: 42px;
  line-height: 1;
  opacity: 0.85;
}

.gallery-placeholder-text {
  max-width: 200px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.9;
}


/* =========================================================
   RESPONSIVE: PANTALLAS MEDIANAS
========================================================= */

@media (max-width: 1199.98px) {
  .campus-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 38px;
  }

  .campus-intro h2 {
    font-size: 56px;
  }

  .campus-feature {
    min-height: 145px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .campus-feature-icon {
    font-size: 40px;
  }

  .campus-feature p {
    font-size: 12px;
  }
}


/* =========================================================
   RESPONSIVE: TABLET
========================================================= */

@media (max-width: 991.98px) {
  .campus-area {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .campus-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .campus-intro {
    padding-left: 0;
    text-align: center;
  }

  .campus-intro h2 span,
  .campus-intro h2 strong {
    display: inline;
  }

  .campus-intro h2 {
    font-size: 52px;
    line-height: 1;
  }

  .campus-intro p {
    max-width: 480px;
    margin: 0 auto;
    font-size: 16px;
  }

  .campus-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .campus-feature {
    min-height: 160px;
    border-radius: 16px;
  }

  .campus-feature-icon {
    font-size: 46px;
  }

  .campus-feature h3 {
    font-size: 19px;
  }

  .campus-feature p {
    max-width: 240px;
    font-size: 13px;
    line-height: 1.12;
  }

  .campus-gallery,
  .gallery-item,
  .gallery-item img {
    min-height: 280px;
  }

  .gallery-title {
    font-size: 50px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO
========================================================= */

@media (max-width: 767.98px) {
  .campus-area {
    padding: 40px 0;
  }

  .campus-intro h2 {
    font-size: 46px;
  }

  .campus-intro h2 span,
  .campus-intro h2 strong {
    display: block;
  }

  .campus-intro p {
    max-width: 360px;
    font-size: 15px;
    line-height: 1.3;
  }

  .campus-features-grid {
    grid-template-columns: 1fr;
    width: min(100%, 470px);
    margin: 0 auto;
    gap: 4px;
  }

  .campus-feature {
    min-height: 175px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .campus-feature-icon {
    font-size: 52px;
    margin-bottom: 8px;
  }

  .campus-feature h3 {
    font-size: 22px;
  }

  .campus-feature p {
    max-width: 330px;
    font-size: 12px;
    line-height: 1.22;
  }

  .campus-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 300px;
  }

  .gallery-title {
    font-size: 52px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 420px) {
  .campus-intro h2 {
    font-size: 41px;
  }

  .campus-intro p {
    font-size: 14px;
  }

  .campus-feature {
    min-height: 165px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .campus-feature-icon {
    font-size: 46px;
  }

  .campus-feature h3 {
    font-size: 18px;
  }

  .campus-feature p {
    font-size: 12px;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 260px;
  }

  .gallery-title {
    font-size: 44px;
  }
}

/* =========================================================
   FIN SECCIÓN: CAMPUS Y GALERÍA
========================================================= */


/* =========================================================
   INICIO SECCIÓN: FUNDING, TUITION Y FAQ
========================================================= */

.funding-faq-section {
  --funding-navy: #111a73;
  --funding-lilac: #c79aec;
  --funding-pink: #f776ad;
  --funding-purple: #c88be9;
  --funding-yellow: #ffd91a;
  --funding-green: #9beb46;
  --funding-blue: #70caf2;
  --funding-white: #ffffff;
  --funding-text: #111a73;
  --funding-gray: #747474;
  --funding-board: #f4f3f3;
  --faq-background: #fffaf0;

  position: relative;
  overflow: hidden;
  background: var(--funding-white);
  font-family: "Montserrat", sans-serif;
}


/* =========================================================
   BLOQUE SUPERIOR: FUNDING & TUITION
========================================================= */

.funding-area {
  width: 100%;
  padding: 20px 0 18px;
  background: var(--funding-white);
}

.funding-heading {
  text-align: center;
}

.funding-heading h2 {
  margin: 0;
  color: var(--funding-navy);
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(38px, 4.4vw, 53px);
  font-weight: 700;
  line-height: 1;
}

.funding-heading h2 span {
  color: var(--funding-lilac);
}

.funding-heading p {
  max-width: 820px;
  margin: 6px auto 0;
  color: var(--funding-gray);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}


/* =========================================================
   PANEL Y CUADRÍCULA DE NOTAS
========================================================= */

.funding-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 258px));
  justify-content: center;
  align-items: start;
  width: min(1250px, 94%);
  margin: 14px auto 0;
  padding: 22px 30px 17px;
  gap: 40px;
  border-radius: 0;
  box-sizing: border-box;
}

.funding-note {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  box-sizing: border-box;
  color: var(--funding-text);
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
    radial-gradient(circle at 82% 74%, rgba(0, 0, 0, 0.07), transparent 45%),
    linear-gradient(150deg, var(--paper-light) 0%, var(--paper-color) 52%, var(--paper-dark) 100%);
  filter:
    drop-shadow(7px 9px 10px rgba(0, 0, 0, 0.18)) drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.1));
}

.funding-note::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  clip-path: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mix-blend-mode: overlay;
  opacity: 0.06;
}

.funding-card__content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 54px 20px 18px;
  box-sizing: border-box;
  text-align: center;
}

.funding-note h3 {
  margin: 0 0 8px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.funding-note p {
  max-width: 210px;
  margin: 0 auto;
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
}

.funding-price {
  display: block;
  margin: 0 0 8px;
  color: var(--funding-white);
  font-size: clamp(42px, 3.5vw, 54px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.funding-note-light {
  color: var(--funding-white);
}


/* =========================================================
   COLORES DE PAPEL (VARIABLES POR TARJETA)
========================================================= */

.funding-note-pink {
  --paper-light: #ff91bf;
  --paper-color: #f776ad;
  --paper-dark: #ec679e;
  color: var(--funding-white);
}

.funding-note-purple {
  --paper-light: #d7a6f3;
  --paper-color: #c88be9;
  --paper-dark: #b878db;
}

.funding-note-navy {
  --paper-light: #162a9e;
  --paper-color: #091b84;
  --paper-dark: #061268;
}

.funding-note-green {
  --paper-light: #b5f66b;
  --paper-color: #9beb46;
  --paper-dark: #83d634;
}


/* =========================================================
   ESQUINA DOBLADA (CARA VISIBLE + SOMBRA)
========================================================= */

.funding-note-fold-face {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background:
    radial-gradient(circle at 78% 78%, rgba(0, 0, 0, 0.3), transparent 62%),
    linear-gradient(135deg, var(--paper-light) 0%, var(--paper-dark) 100%);
  filter: drop-shadow(-4px 5px 5px rgba(0, 0, 0, 0.16));
}


/* =========================================================
   CINTA WASHI (reemplaza la chincheta)
========================================================= */

.funding-tape {
  position: absolute;
  z-index: 6;
  top: -9px;
  left: 50%;
  width: 72px;
  height: 25px;
  clip-path: polygon(0% 6%, 9% 22%, 1% 38%, 10% 54%, 0% 70%, 9% 86%, 1% 100%,
      100% 96%, 91% 80%, 99% 64%, 90% 48%, 100% 32%, 91% 16%, 99% 0%);
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.16) 0 5px,
      rgba(255, 255, 255, 0.04) 5px 11px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46));
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.funding-tape-1 {
  transform: translateX(-50%) rotate(-6deg);
}

.funding-tape-2 {
  transform: translateX(-50%) rotate(4deg);
}

.funding-tape-3 {
  transform: translateX(-50%) rotate(-4deg);
}

.funding-tape-4 {
  transform: translateX(-50%) rotate(7deg);
}


/* =========================================================
   BLOQUE INFERIOR: FAQ
========================================================= */

.faq-area {
  padding: 34px 0 58px;
  background: var(--faq-background);
}

.faq-heading {
  margin-bottom: 25px;
  text-align: center;
}

.faq-heading h2 {
  margin: 0;
  color: var(--funding-navy);
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.faq-heading h2 span {
  color: var(--funding-pink);
}


/* =========================================================
   CUADRÍCULA DEL ACORDEÓN
========================================================= */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
  gap: 0 18px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 2px solid;
  border-radius: 999px;
  background: transparent;
  transition: border-radius 0.2s ease;
}

.faq-item:has(.accordion-collapse.show) {
  border-radius: 20px;
}

.faq-item .accordion-header {
  margin: 0;
}

.faq-item .accordion-button {
  min-height: 42px;
  padding: 9px 16px;
  border: 0;
  color: currentColor;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
  color: currentColor;
  background: transparent;
  box-shadow: none;
}

.faq-item .accordion-button::after {
  display: none;
}

.faq-plus {
  display: inline-block;
  margin-right: 4px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item .accordion-button:not(.collapsed) .faq-plus {
  transform: rotate(45deg);
}

.faq-item .accordion-body {
  padding: 2px 18px 16px 36px;
  color: #64646c;
  font-size: 12px;
  line-height: 1.45;
}


/* =========================================================
   COLORES DE LAS PREGUNTAS
========================================================= */

.faq-item-pink {
  color: var(--funding-pink);
  border-color: var(--funding-pink);
}

.faq-item-navy {
  color: var(--funding-navy);
  border-color: var(--funding-navy);
}

.faq-item-yellow {
  color: #edc800;
  border-color: var(--funding-yellow);
}

.faq-item-green {
  color: #8bdc49;
  border-color: #8bdc49;
}

.faq-item-purple {
  color: var(--funding-purple);
  border-color: var(--funding-purple);
}

.faq-item-blue {
  color: var(--funding-blue);
  border-color: var(--funding-blue);
}


/* =========================================================
   RESPONSIVE: PANTALLAS MEDIANAS
========================================================= */

@media (max-width: 1199.98px) {
  .funding-notes-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .funding-note h3 {
    font-size: 20px;
  }

  .funding-note p {
    font-size: 12px;
  }
}


/* =========================================================
   RESPONSIVE: TABLET
========================================================= */

@media (max-width: 991.98px) {
  .funding-area {
    padding-top: 36px;
  }

  .funding-heading {
    margin-bottom: 24px;
  }

  .funding-heading p {
    max-width: 570px;
    font-size: 13px;
  }

  .funding-notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 560px;
    margin: 14px auto 0;
    padding: 28px;
  }

  .funding-note {
    height: 240px;
  }

  .funding-note h3 {
    font-size: 22px;
  }

  .funding-note p {
    max-width: 240px;
    font-size: 12px;
    line-height: 1.2;
  }

  .faq-grid {
    max-width: 700px;
    padding: 0 20px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO
========================================================= */

@media (max-width: 767.98px) {
  .funding-area {
    padding: 26px 0 28px;
  }

  .funding-heading {
    padding: 0 20px;
  }

  .funding-heading h2 {
    font-size: 36px;
  }

  .funding-heading p {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.5;
  }

  .funding-notes-grid {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    margin: 14px auto 0;
    padding: 24px;
  }

  .funding-note {
    height: 230px;
  }

  .funding-card__content {
    padding: 46px 18px 14px;
  }

  .funding-note h3 {
    font-size: 21px;
  }

  .funding-note p {
    max-width: 240px;
    font-size: 13px;
    line-height: 1.3;
  }

  .funding-price {
    font-size: 48px;
  }

  .faq-area {
    padding: 38px 0 48px;
  }

  .faq-heading {
    padding: 0 20px;
  }

  .faq-heading h2 {
    font-size: 29px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    padding: 0 20px;
    gap: 10px;
  }

  .faq-column {
    gap: 10px;
  }

  .faq-item .accordion-button {
    min-height: 46px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13px;
  }

  .faq-item .accordion-body {
    padding-right: 16px;
    padding-left: 32px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 420px) {
  .funding-heading h2 {
    font-size: 32px;
  }

  .funding-notes-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .funding-note {
    height: 215px;
  }

  .funding-note h3 {
    font-size: 19px;
  }

  .funding-note p {
    font-size: 12px;
  }

  .funding-price {
    font-size: 44px;
  }

  .faq-heading h2 {
    font-size: 25px;
  }

  .faq-grid {
    padding-right: 14px;
    padding-left: 14px;
  }

  .faq-item .accordion-button {
    font-size: 12px;
  }

  .faq-item .accordion-body {
    font-size: 11px;
  }
}

/* =========================================================
   FIN SECCIÓN: FUNDING, TUITION Y FAQ
========================================================= */

/* =========================================================
   INICIO SECCIÓN: CONTACTO Y FOOTER
========================================================= */

.contact-footer-section {
  --contact-background: #f5f5fb;
  --contact-purple: #c978ee;
  --contact-purple-dark: #b85fdc;
  --contact-pink: #e573d4;
  --contact-orange: #ff8750;
  --contact-navy: #113274;
  --contact-navy-dark: #0d2a67;
  --contact-white: #ffffff;
  --contact-text: #2c2c35;
  --contact-gray: #6d6d78;
  --contact-line: #ddddE5;

  position: relative;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}


/* =========================================================
   BLOQUE SUPERIOR: CONTACTO
========================================================= */

.contact-area {
  padding: 42px 0 58px;
  background: var(--contact-background);
}

.contact-heading {
  margin-bottom: 24px;
  text-align: center;
}

.contact-heading h2 {
  margin: 0 0 8px;
  color: var(--contact-text);
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-heading h2 span {
  color: var(--contact-purple-dark);
}

.contact-heading p {
  margin: 0;
  color: var(--contact-gray);
  font-size: 16px;
  line-height: 1.5;
}


/* =========================================================
   INFORMACIÓN DE CONTACTO
========================================================= */

.contact-information {
  max-width: 320px;
  margin-left: auto;
}

.contact-information h3 {
  margin: 0 0 9px;
  color: var(--contact-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.contact-title-line {
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--contact-orange);
}

.contact-details {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.contact-details li {
  display: flex;
  min-height: 40px;
  padding: 10px 0;
  gap: 9px;
  align-items: flex-start;
  border-bottom: 1px solid var(--contact-line);
  color: var(--contact-gray);
  font-size: 15px;
  line-height: 1.45;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--contact-purple-dark);
}

.contact-detail-icon {
  flex: 0 0 16px;
  color: var(--contact-navy);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.contact-opening strong {
  color: var(--contact-text);
  font-weight: 700;
}

.contact-call-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: var(--contact-white);
  background: var(--contact-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.contact-call-button:hover {
  color: var(--contact-white);
  background: var(--contact-purple-dark);
  transform: translateY(-2px);
}


/* =========================================================
   FORMULARIO DE CONTACTO
========================================================= */

.contact-form-wrapper {
  max-width: 650px;
  padding: 38px 34px 34px;
  border-radius: 24px;
  background:
    linear-gradient(135deg,
      rgba(205, 121, 238, 0.96),
      rgba(198, 108, 231, 0.9));
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  color: var(--contact-white);
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  box-shadow: none;
}

.contact-form textarea.form-control {
  min-height: 78px;
  resize: vertical;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
}

.contact-form .form-select {
  color: rgba(255, 255, 255, 0.95);
  background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 16px,
    calc(100% - 9px) 16px;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
}

.contact-form .form-select option {
  color: var(--contact-text);
  background: var(--contact-white);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--contact-white);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.contact-submit-button {
  min-width: 138px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  color: #c3a0cc;
  background: var(--contact-white);
  font-size: 15px;
  font-weight: 500;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-submit-button:hover {
  color: var(--contact-purple-dark);
  transform: translateY(-2px);
}


/* =========================================================
   FOOTER GENERAL
========================================================= */

.site-footer {
  --contact-navy: #113274;
  --contact-white: #ffffff;
  --contact-pink: #e573d4;
  --contact-purple-dark: #b85fdc;
  --contact-orange: #ff8750;

  position: relative;
  padding-top: 45px;
  color: var(--contact-white);
  background: var(--contact-navy);
}

.footer-brand,
.footer-column {
  height: 100%;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  display: block;
  width: 165px;
  max-height: 165px;
  object-fit: contain;
}

.footer-slogan {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  margin-bottom: 10px;
  gap: 7px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.footer-contact-list li span {
  color: var(--contact-pink);
}

.footer-contact-list a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: var(--contact-pink);
}


/* =========================================================
   COLUMNAS DEL FOOTER
========================================================= */

.footer-column h3 {
  position: relative;
  margin: 0 0 19px;
  padding-bottom: 10px;
  color: var(--contact-white);
  font-size: 16px;
  font-weight: 600;
}

.footer-column h3::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.16);
}

.footer-column h3::before {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  content: "";
  background: var(--contact-orange);
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  margin-bottom: 13px;
  font-size: 14px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--contact-pink);
}


/* =========================================================
   HORARIOS
========================================================= */

.footer-hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  gap: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer-hours-row span:last-child {
  text-align: right;
}

.footer-socials {
  display: flex;
  margin-top: 40px;
  gap: 9px;
}

.footer-social-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--contact-white) !important;
  background: var(--contact-pink);
  font-size: 20px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  color: var(--contact-white);
  background: var(--contact-purple-dark);
  transform: translateY(-2px);
}

/* Variante grande con SVG oficial */
.footer-social-link--lg {
  width: 48px;
  height: 48px;
  font-size: 24px;
}

.footer-social-link--lg svg {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* Fila de Office Hours — sutil diferenciador */
.footer-hours-row--office {
  margin-bottom: 18px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

/* =========================================================
   PARTE INFERIOR DEL FOOTER
========================================================= */

.footer-bottom {
  margin-top: 42px;
  padding: 10px 0;
  background: #252933;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.back-to-top {
  position: absolute;
  right: 15px;
  bottom: 0;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: rgba(255, 255, 255, 0.65);
  background: #17254e;
  font-size: 20px;
  text-decoration: none;
}

.back-to-top:hover {
  color: var(--contact-white);
  background: var(--contact-purple-dark);
}


/* =========================================================
   RESPONSIVE: TABLET
========================================================= */

@media (max-width: 991.98px) {
  .contact-area {
    padding-top: 40px;
  }

  .contact-information {
    max-width: 650px;
    margin: 0 auto;
  }

  .contact-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-logo img {
    width: 195px;
  }

  .footer-slogan {
    font-size: 14px;
  }

  .footer-contact-list li,
  .footer-column li,
  .footer-hours-row {
    font-size: 14px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO
========================================================= */

@media (max-width: 767.98px) {
  .contact-area {
    padding: 36px 0 45px;
  }

  .contact-heading {
    padding: 0 18px;
  }

  .contact-heading h2 {
    font-size: 29px;
    line-height: 1.15;
  }

  .contact-heading p {
    max-width: 420px;
    margin: 0 auto;
    font-size: 15px;
  }

  .contact-information {
    width: min(100%, 500px);
  }

  .contact-information h3 {
    font-size: 20px;
  }

  .contact-details li {
    min-height: 46px;
    padding: 12px 0;
    font-size: 15px;
  }

  .contact-call-button {
    min-height: 46px;
    font-size: 15px;
  }

  .contact-form-wrapper {
    width: min(100%, 520px);
    padding: 28px 22px;
    border-radius: 22px;
  }

  .contact-form .form-control,
  .contact-form .form-select {
    min-height: 46px;
    font-size: 15px;
  }

  .contact-form textarea.form-control {
    min-height: 110px;
  }

  .contact-submit-button {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
  }

  .site-footer {
    padding-top: 42px;
    text-align: center;
  }

  .footer-brand {
    max-width: 430px;
    margin: 0 auto;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-contact-list li {
    justify-content: center;
  }

  .footer-column {
    text-align: left;
  }

  .footer-hours {
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 26px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS
========================================================= */

@media (max-width: 420px) {
  .contact-heading h2 {
    font-size: 25px;
  }

  .contact-heading p {
    font-size: 14px;
  }

  .contact-form-wrapper {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-form .form-control,
  .contact-form .form-select {
    font-size: 14px;
  }

  .footer-column h3 {
    font-size: 15px;
  }

  .footer-column li,
  .footer-contact-list li,
  .footer-hours-row {
    font-size: 13px;
  }

  .footer-hours-row {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }

  .footer-hours-row span:last-child {
    text-align: center;
  }
}

/* =========================================================
   FIN SECCIÓN: CONTACTO Y FOOTER
========================================================= */

/* =========================================================
   ANIMACIONES AL ENTRAR EN PANTALLA (RESTO DE CUADROS)
========================================================= */

.program-stat,
.program-card,
.campus-feature {
  opacity: 0;
  transform: translate3d(0, -40px, 0) scale(0.78) rotate(-5deg);
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.program-stat.is-visible,
.program-card.is-visible,
.campus-feature.is-visible {
  animation: lego-snap 0.58s cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
}

.admission-card,
.founder-card,
.faq-item {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

.admission-card.is-visible,
.founder-card.is-visible,
.faq-item.is-visible {
  animation: story-card-fade-in 0.8s ease forwards;
}

.funding-note {
  opacity: 0;
  transform: translate3d(-12px, -70px, 0) rotate(-7deg) scale(0.9);
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.funding-note.is-visible {
  animation: reveal-post-it 0.92s cubic-bezier(0.22, 1.08, 0.36, 1) forwards;
}

@keyframes reveal-post-it {
  0% {
    opacity: 0;
    transform: translate3d(-12px, -70px, 0) rotate(-7deg) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translate3d(2px, 10px, 0) rotate(1deg) scale(1.03);
  }

  72% {
    transform: translate3d(0, -4px, 0) rotate(-0.5deg) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .program-stat,
  .program-card,
  .campus-feature,
  .admission-card,
  .founder-card,
  .faq-item,
  .funding-note {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ========================================
   ESA PARENT INFORMATION PAGE
======================================== */

/* =========================================================
   VARIABLES DE LA PÁGINA (reutiliza la paleta de marca ya
   definida en :root y en las secciones existentes)
========================================================= */

.esa-page {
  --esa-navy: #111f7b;
  --esa-navy-dark: #0c1764;
  --esa-pink: #ff63ad;
  --esa-purple: #c987ef;
  --esa-purple-light: #d7a6f3;
  --esa-green: #91e765;
  --esa-sky: #72d7f5;
  --esa-yellow: #ffd91a;
  --esa-white: #ffffff;
  --esa-text: #09174f;
  --esa-gray: #6d6d78;
  --esa-bg-soft: #f5f5fb;
  --esa-line: #dddde5;
  --esa-cream: #fbf7ec;

  /* Puente de variables: permite reutilizar tal cual los
     componentes .core-values-grid / .value-card definidos en
     la sección "DIFERENCIA Y VALORES" sin duplicar su CSS. */
  --difference-purple-light: var(--esa-purple-light);
  --difference-yellow: var(--esa-yellow);
  --difference-pink: var(--esa-pink);
  --difference-blue: var(--esa-sky);
  --difference-green: var(--esa-green);
  --difference-navy: var(--esa-navy);
  --difference-white: var(--esa-white);
  --difference-text: var(--esa-text);
  --difference-gray: var(--esa-gray);

  /* Puente de variables: en index.html el footer vive dentro de
     <section class="contact-footer-section">, que es quien define estas
     variables (fondo navy, blanco, rosa, naranja...). En esta página el
     footer reutilizado no tiene ese ancestro, así que se declaran aquí
     con los mismos valores para que el footer se vea idéntico. */
  --contact-background: #f5f5fb;
  --contact-purple: #c978ee;
  --contact-purple-dark: #b85fdc;
  --contact-pink: #e573d4;
  --contact-orange: #ff8750;
  --contact-navy: #113274;
  --contact-navy-dark: #0d2a67;
  --contact-white: #ffffff;
  --contact-text: #2c2c35;
  --contact-gray: #6d6d78;
  --contact-line: #dddde5;
}

/* .site-container (compartida con index.html) nunca define margin: auto —
   en index.html se centra porque siempre va junto con la clase de
   Bootstrap "container-fluid", que sí trae margin-left/right:auto. Como
   en esta página se usa sola (sin Bootstrap) en el resto de secciones, se
   centra aquí explícitamente sin tocar la regla compartida. */
.esa-page .site-container {
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   SKIP LINK
========================================================= */

.esa-skip-link {
  position: absolute;
  z-index: 2000;
  top: -60px;
  left: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--esa-navy);
  background: var(--esa-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(9, 23, 79, 0.25);
  transition: top 0.2s ease;
}

.esa-skip-link:focus {
  top: 12px;
}


/* =========================================================
   BOTONES COMPARTIDOS
========================================================= */

.esa-btn {
  display: inline-flex;
  min-height: 46px;
  padding: 12px 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.esa-btn:hover {
  transform: translateY(-2px);
}

.esa-btn-primary {
  color: var(--esa-white);
  background: var(--esa-navy);
  box-shadow: 0 10px 22px rgba(17, 31, 123, 0.25);
}

.esa-btn-primary:hover,
.esa-btn-primary:focus-visible {
  color: var(--esa-white);
  background: var(--esa-navy-dark);
}

.esa-btn-secondary {
  color: var(--esa-navy);
  background: var(--esa-white);
  border-color: var(--esa-navy);
}

.esa-btn-secondary:hover,
.esa-btn-secondary:focus-visible {
  color: var(--esa-white);
  background: var(--esa-navy);
}

.esa-page *:focus-visible {
  outline: 3px solid var(--esa-navy);
  outline-offset: 3px;
}

/* Igual que cada sección existente del sitio (about-cards-section,
   difference-values-section, funding-faq-section, etc.), se recorta el
   desbordamiento horizontal: los elementos .reveal-left/.reveal-right
   parten con un translateX antes de entrar en pantalla y no deben
   generar scroll lateral mientras esperan su animación. */
.esa-main {
  overflow-x: hidden;
}

/* En index.html el footer vive dentro de <section class="contact-footer-section">
   que ya define overflow:hidden y absorbe los márgenes negativos del grid de
   Bootstrap (.row). En esta página el footer es un elemento independiente, así
   que se le da el mismo recorte aquí (con un selector más específico para no
   tocar la regla compartida .site-footer que usa index.html). */
.esa-page .site-footer {
  overflow-x: hidden;
}


/* =========================================================
   ANIMACIONES DE ENTRADA AL HACER SCROLL
========================================================= */

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(26px);
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .esa-page .reveal,
  .esa-page .reveal-left,
  .esa-page .reveal-right,
  .esa-page .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* =========================================================
   ESTRUCTURA GENERAL DE SECCIÓN
========================================================= */

.esa-eyebrow {
  margin: 0 0 10px;
  color: var(--esa-pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.esa-section-title {
  margin: 0 0 14px;
  color: var(--esa-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.esa-section-intro {
  max-width: 640px;
  margin: 0 0 8px;
  color: var(--esa-gray);
  font-size: 15px;
  line-height: 1.5;
}

.esa-fine-print {
  color: var(--esa-gray);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

.esa-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 56px;
  padding-bottom: 56px;
}

.esa-two-col-reverse {
  direction: rtl;
}

.esa-two-col-reverse>* {
  direction: ltr;
}

.esa-check-list {
  display: flex;
  flex-direction: column;
  margin: 14px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.esa-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--esa-text);
  font-size: 15px;
  line-height: 1.4;
}

.esa-check-list i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--esa-green);
  font-size: 16px;
}


/* =========================================================
   HERO
========================================================= */

.esa-hero {
  padding-top: clamp(128px, 16vw, 168px);
  padding-bottom: 48px;
  background: linear-gradient(180deg, var(--esa-bg-soft) 0%, var(--esa-white) 100%);
  overflow: hidden;
}

.esa-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.esa-hero-title {
  margin: 0 0 18px;
  color: var(--esa-navy);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.esa-hero-text {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--esa-gray);
  font-size: 16px;
  line-height: 1.55;
}

.esa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.esa-hero-visual {
  position: relative;
}

.esa-hero-photo {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 50px rgba(9, 23, 79, 0.22);
}

.esa-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.esa-hero-shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  opacity: 0.85;
  animation: esa-float 6s ease-in-out infinite;
}

.esa-hero-shape-1 {
  top: -26px;
  left: -26px;
  width: 74px;
  height: 74px;
  background: var(--esa-yellow);
}

.esa-hero-shape-2 {
  right: -20px;
  bottom: 30%;
  width: 46px;
  height: 46px;
  background: var(--esa-pink);
  animation-delay: 1.2s;
}

.esa-hero-shape-3 {
  left: 20%;
  bottom: -22px;
  width: 58px;
  height: 58px;
  background: var(--esa-sky);
  animation-delay: 2.4s;
}

@keyframes esa-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.esa-tuition-card {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: -28px;
  width: min(240px, 68%);
  padding: 18px 20px;
  border-radius: 20px;
  color: var(--esa-navy);
  background: var(--esa-white);
  text-align: center;
  box-shadow: 0 20px 40px rgba(9, 23, 79, 0.25);
}

.esa-tuition-card-label {
  display: block;
  color: var(--esa-gray);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.esa-tuition-card-amount {
  display: block;
  margin: 4px 0;
  color: var(--esa-navy);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.esa-tuition-card-note {
  margin: 6px 0 0;
  color: var(--esa-gray);
  font-size: 10.5px;
  font-style: italic;
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .esa-hero-shape {
    animation: none;
  }
}


/* =========================================================
   RESUMEN RÁPIDO: ESA AT A GLANCE
========================================================= */

.esa-glance {
  padding: 44px 0;
  background: var(--esa-white);
}

.esa-glance-title {
  margin: 0 0 26px;
  color: var(--esa-navy);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.03em;
}

.esa-glance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.esa-glance-item {
  display: flex;
  min-height: 150px;
  padding: 26px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--esa-line);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.esa-glance-item:hover {
  border-color: var(--esa-navy);
  box-shadow: 0 14px 28px rgba(9, 23, 79, 0.12);
  transform: translateY(-4px);
}

.esa-glance-item i {
  font-size: 30px;
}

.esa-glance-item p {
  margin: 0;
  color: var(--esa-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.esa-glance-item:nth-child(1) i {
  color: var(--esa-navy);
}

.esa-glance-item:nth-child(2) i {
  color: var(--esa-pink);
}

.esa-glance-item:nth-child(3) i {
  color: var(--esa-purple);
}

.esa-glance-item:nth-child(4) i {
  color: #4bbf3f;
}


/* =========================================================
   QUÉ ES ESA (composición de mosaico decorativa)
========================================================= */

.esa-what {
  background: var(--esa-white);
}

.esa-what-text h2 {
  color: var(--esa-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.esa-what-text p {
  color: var(--esa-gray);
  font-size: 16px;
  line-height: 1.6;
}

.esa-mosaic-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 360px;
  margin: 0 auto;
  padding: 20px;
}

.esa-mosaic-piece {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 22px;
  color: var(--esa-white);
  font-size: 34px;
  box-shadow: 0 14px 26px rgba(9, 23, 79, 0.16);
}

.esa-mosaic-piece:nth-child(odd) {
  transform: rotate(-3deg);
}

.esa-mosaic-piece:nth-child(even) {
  transform: rotate(3deg);
}

.esa-mosaic-piece-navy {
  background: var(--esa-navy);
}

.esa-mosaic-piece-pink {
  background: var(--esa-pink);
}

.esa-mosaic-piece-yellow {
  background: var(--esa-yellow);
  color: var(--esa-navy);
}

.esa-mosaic-piece-green {
  background: var(--esa-green);
  color: var(--esa-navy);
}

.esa-mosaic-dot {
  position: absolute;
  z-index: -1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--esa-sky);
}

.esa-mosaic-dot:nth-of-type(1) {
  top: -6px;
  right: 18%;
}

.esa-mosaic-dot-2 {
  bottom: 10%;
  left: -10px;
  background: var(--esa-yellow);
}

.esa-mosaic-dot-3 {
  top: 40%;
  right: -12px;
  width: 10px;
  height: 10px;
  background: var(--esa-pink);
}


/* =========================================================
   QUÉ ES CLASSWALLET (panel visual decorativo)
========================================================= */

.esa-classwallet {
  background: var(--esa-bg-soft);
}

.esa-classwallet-text h2 {
  color: var(--esa-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.esa-classwallet-text p {
  color: var(--esa-gray);
  font-size: 16px;
  line-height: 1.6;
}

.esa-wallet-panel {
  overflow: hidden;
  border-radius: 22px;
  background: var(--esa-white);
  box-shadow: 0 20px 44px rgba(9, 23, 79, 0.14);
}

.esa-wallet-panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(120deg, var(--esa-purple), var(--esa-purple-light));
}

.esa-wallet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.esa-wallet-panel-bar strong {
  margin-left: 8px;
  color: var(--esa-white);
  font-size: 13px;
  font-weight: 600;
}

.esa-wallet-panel-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
}

.esa-wallet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--esa-navy);
  font-size: 14px;
  font-weight: 600;
}

.esa-wallet-row:nth-child(odd) {
  background: var(--esa-bg-soft);
}

.esa-wallet-row i {
  font-size: 18px;
  color: var(--esa-purple);
}


/* =========================================================
   QUÉ PUEDE CUBRIR ESA
========================================================= */

.esa-covers {
  padding: 56px 0;
  background: var(--esa-white);
  text-align: center;
}

.esa-covers .esa-section-title {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.esa-covers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
  text-align: left;
}

/* Las tarjetas de esta cuadrícula reutilizan el componente exacto de la
   sección "Our Campus": .campus-feature (tamaño, padding, animación de
   entrada "lego-snap") + .campus-card.campus-card--wavy (borde ondulado
   tipo sello vía SVG, sin fondo/sombra/radio propios) + .campus-card__shape
   / .campus-card__shape-path (mismo <path>, fill: currentColor) +
   .campus-card__content (texto). Aquí solo se define el color de cada
   variante — ni el borde, ni el tamaño, ni el hover, ni la sombra se
   redefinen: son los mismos que en Our Campus (de hecho, ninguno tiene
   hover ni sombra propios, igual que allí). */
.esa-wavy-navy {
  color: var(--esa-navy);
}

.esa-wavy-navy .campus-card__content {
  color: var(--esa-white);
}

.esa-wavy-pink {
  color: var(--esa-pink);
}

.esa-wavy-pink .campus-card__content {
  color: var(--esa-white);
}

.esa-wavy-purple {
  color: var(--esa-purple);
}

.esa-wavy-purple .campus-card__content {
  color: var(--esa-navy);
}

.esa-wavy-green {
  color: var(--esa-green);
}

.esa-wavy-green .campus-card__content {
  color: var(--esa-navy);
}

.esa-wavy-sky {
  color: var(--esa-sky);
}

.esa-wavy-sky .campus-card__content {
  color: var(--esa-navy);
}

.esa-wavy-yellow {
  color: var(--esa-yellow);
}

.esa-wavy-yellow .campus-card__content {
  color: var(--esa-navy);
}


/* =========================================================
   CÓMO PAGAR LA MATRÍCULA
========================================================= */

.esa-tuition {
  background: var(--esa-bg-soft);
}

.esa-tuition-text h2 {
  color: var(--esa-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.esa-tuition-text p {
  color: var(--esa-gray);
  font-size: 16px;
  line-height: 1.6;
}

.esa-tuition-text .esa-btn {
  margin-top: 10px;
}

.esa-tuition-card-large {
  padding: 40px 32px;
  border-radius: 24px;
  color: var(--esa-white);
  text-align: center;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(150deg, var(--esa-purple-light) 0%, var(--esa-purple) 55%, #b878db 100%);
  box-shadow: 0 24px 48px rgba(148, 70, 190, 0.28);
}

.esa-tuition-card-large .esa-tuition-card-label {
  color: rgba(255, 255, 255, 0.85);
}

.esa-tuition-card-large .esa-tuition-card-amount {
  color: var(--esa-white);
  font-size: 56px;
}

.esa-tuition-disclaimer {
  max-width: 380px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   PROCESO EN CUATRO PASOS
========================================================= */

.esa-steps {
  position: relative;
  padding: 64px 0 68px;
  background: var(--esa-cream);
  overflow: visible;
  text-align: center;
}

.esa-steps__heading {
  max-width: 720px;
  margin: 0 auto 46px;
}

.esa-steps__heading .esa-section-title,
.esa-steps__heading .esa-eyebrow,
.esa-steps__heading .esa-section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.esa-steps__grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* IMPORTANTE: esta tarjeta NO lleva z-index propio a propósito.
   position:relative + z-index (aunque sea 1) crearía su propio stacking
   context y "atraparía" al círculo numerado dentro de él — por más alto
   que fuera el z-index del círculo, nunca podría salir a compararse con
   la línea (que ahora vive dentro de cada tarjeta). Sin z-index aquí, la
   tarjeta pinta en el nivel base y el segmento/círculo pueden compararse
   directamente entre tarjetas (por ejemplo, el segmento de la tarjeta 1
   necesita pintarse POR ENCIMA del fondo blanco de la tarjeta 2, ya que
   visualmente entra en su territorio hasta el círculo 2 — si la tarjeta 1
   tuviera z-index propio, quedaría atrapada por completo detrás de la
   tarjeta 2, que le sigue en el DOM). Por el mismo motivo, el hover usa
   "top" en vez de "transform": la propiedad transform también crea un
   stacking context nuevo por sí sola y volvería a atrapar todo esto
   mientras se hace hover. */
.esa-step-card {
  --step-circle-size: 58px;
  --steps-gap: 28px;
  --step-circle-left: calc(1px + 28px);
  /* 1px de borde + 28px de padding-left de la tarjeta = borde izquierdo
     real del círculo (ver .esa-step-card__number más abajo). */
  --line-clearance: 12px;

  position: relative;
  overflow: visible;
  display: flex;
  top: 0;
  min-height: 300px;
  padding: 34px 28px 28px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--esa-white);
  border: 1px solid var(--esa-line);
  border-radius: 20px;
  transition: top 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  /* Esta tarjeta también lleva la clase compartida ".reveal" (animación de
     entrada), que trae "will-change: opacity, transform". Por spec, eso
     por sí solo OBLIGA a crear un stacking context — aunque ya esté en
     opacity:1/transform:none — y volvería a atrapar al círculo numerado
     debajo del segmento. Se anula aquí (misma especificidad que .reveal,
     pero esta regla va después en el archivo, así que gana). */
  will-change: auto;
}

.esa-step-card:hover {
  border-color: #b9c2d6;
  box-shadow: 0 10px 24px rgba(9, 23, 79, 0.1);
  top: -6px;
}

/* Segmento amarillo: uno por tarjeta (menos en la última), va del borde
   derecho de SU círculo hasta el borde izquierdo del círculo de la
   siguiente tarjeta, con un corte de --line-clearance a cada lado para
   que no toque ningún círculo. Así no existe línea antes del círculo 1
   ni después del círculo 4 — cada tramo solo conecta un par de círculos
   consecutivos, con espacio limpio en ambos extremos. */
.esa-step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(34px + var(--step-circle-size) / 2);
  left: calc(var(--step-circle-left) + var(--step-circle-size) + var(--line-clearance));
  /* Ancho sin corte: 100% - circle_size + gap (llega de borde a borde de
     círculo, ver versión anterior). Con el corte, se resta ese espacio
     dos veces (uno por cada extremo del segmento). */
  width: calc(95% - var(--step-circle-size) + var(--steps-gap) - (var(--line-clearance) * 2));
  border-top: 4px dashed var(--esa-yellow);
  pointer-events: none;
}

.esa-step-card__number {
  position: relative;
  z-index: 5;
  isolation: isolate;
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--esa-yellow);
  background-color: var(--esa-navy);
  background-image: none;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(9, 23, 79, 0.24);
}

.esa-step-card__number span {
  position: relative;
  z-index: 6;
}

.esa-step-card h3 {
  margin: 0 0 12px;
  color: var(--esa-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.esa-step-card p {
  margin: 0;
  color: var(--esa-gray);
  font-size: 14.5px;
  line-height: 1.6;
}

/* La línea discontinua no encaja bien en 2 o 1 columnas (quedaría cortada
   a mitad de tarjeta), así que se retira en tablet/móvil, igual que en
   "Our Campus" con sus formas decorativas. */
@media (max-width: 1024px) {
  .esa-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esa-step-card::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .esa-steps {
    padding: 65px 0;
  }

  .esa-steps__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .esa-step-card {
    min-height: auto;
    padding: 26px 24px;
  }

  .esa-step-card__number {
    width: 54px;
    height: 54px;
  }
}


/* =========================================================
   POR QUÉ ELEGIR THE MOSAIC SCHOOL
========================================================= */

.esa-why {
  padding: 56px 0;
  background: var(--esa-bg-soft);
}

.esa-why-intro {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.esa-why-intro h2 {
  color: var(--esa-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.esa-why-intro p {
  color: var(--esa-gray);
  font-size: 16px;
  line-height: 1.55;
}

.esa-why-grid {
  perspective: none;
}

.esa-why-grid .value-card {
  min-height: 168px;
}


/* =========================================================
   APOYO PARA LAS FAMILIAS
========================================================= */

.esa-support {
  padding: 56px 0;
  background: var(--esa-white);
}

.esa-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.esa-support-text h2 {
  color: var(--esa-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.esa-support-text p {
  color: var(--esa-gray);
  font-size: 16px;
  line-height: 1.6;
}

.esa-support-card {
  padding: 32px 28px;
  border-radius: 22px;
  color: var(--esa-white);
  background: var(--esa-navy);
  box-shadow: 0 20px 40px rgba(9, 23, 79, 0.22);
}

.esa-support-card h3 {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 600;
}

.esa-support-card-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  gap: 16px;
  list-style: none;
}

.esa-support-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.esa-support-card-list i {
  flex: 0 0 auto;
  font-size: 17px;
  color: var(--esa-yellow);
}

.esa-support-card-list a {
  color: var(--esa-white);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.esa-support-card-list a:hover {
  color: var(--esa-yellow);
  text-decoration: underline;
}


/* =========================================================
   PREGUNTAS FRECUENTES (acordeón vanilla)
========================================================= */

.esa-faq {
  padding: 56px 0 60px;
  background: var(--esa-bg-soft);
  text-align: center;
}

.esa-faq .esa-eyebrow,
.esa-faq .esa-section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.esa-faq-list {
  display: flex;
  flex-direction: column;
  max-width: 780px;
  margin: 32px auto 0;
  gap: 12px;
  text-align: left;
}

.esa-faq-item {
  overflow: hidden;
  border: 2px solid;
  border-radius: 22px;
  background: var(--esa-white);
  transition: border-radius 0.2s ease;
}

.esa-faq-heading {
  margin: 0;
}

.esa-faq-trigger {
  display: flex;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.esa-faq-plus {
  flex: 0 0 auto;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.esa-faq-item.is-open .esa-faq-plus {
  transform: rotate(45deg);
}

.esa-faq-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.esa-faq-item.is-open .esa-faq-panel-wrap {
  grid-template-rows: 1fr;
}

.esa-faq-panel {
  overflow: hidden;
}

.esa-faq-panel p {
  margin: 0;
  padding: 0 20px 18px 52px;
  color: var(--esa-gray);
  font-size: 14px;
  line-height: 1.5;
}

.esa-faq-navy {
  color: var(--esa-navy);
  border-color: var(--esa-navy);
}

.esa-faq-pink {
  color: var(--esa-pink);
  border-color: var(--esa-pink);
}

.esa-faq-purple {
  color: var(--esa-purple);
  border-color: var(--esa-purple);
}

.esa-faq-yellow {
  color: #b89400;
  border-color: var(--esa-yellow);
}

.esa-faq-green {
  color: #4bbf3f;
  border-color: var(--esa-green);
}

.esa-faq-sky {
  color: #2aa9cf;
  border-color: var(--esa-sky);
}


/* =========================================================
   LLAMADO A LA ACCIÓN FINAL Y FORMULARIO
========================================================= */

.esa-cta {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--esa-navy) 0%, #1c2c99 100%);
  color: var(--esa-white);
}

.esa-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.esa-cta-copy h2 {
  margin: 0 0 14px;
  color: var(--esa-white);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.esa-cta-copy p {
  max-width: 480px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.55;
}

.esa-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.esa-cta .esa-btn-secondary {
  color: var(--esa-white);
  background: transparent;
  border-color: var(--esa-white);
}

.esa-cta .esa-btn-secondary:hover,
.esa-cta .esa-btn-secondary:focus-visible {
  color: var(--esa-navy);
  background: var(--esa-white);
}

.esa-form-wrapper {
  padding: 30px 28px 26px;
  border-radius: 24px;
  background: var(--esa-white);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.esa-form-title {
  margin: 0 0 18px;
  color: var(--esa-navy);
  font-size: 21px;
  font-weight: 600;
}

.esa-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.esa-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.esa-form-row-full {
  grid-column: 1 / -1;
}

.esa-form-row label {
  color: var(--esa-text);
  font-size: 13px;
  font-weight: 600;
}

.esa-form-row input,
.esa-form-row select,
.esa-form-row textarea {
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--esa-line);
  border-radius: 12px;
  color: var(--esa-text);
  background: var(--esa-white);
  font-family: var(--font-main);
  font-size: 15px;
}

.esa-form-row textarea {
  min-height: 100px;
  resize: vertical;
}

.esa-form-row input:focus,
.esa-form-row select:focus,
.esa-form-row textarea:focus {
  border-color: var(--esa-navy);
  outline: none;
}

.esa-form-row.has-error input,
.esa-form-row.has-error select,
.esa-form-row.has-error textarea {
  border-color: #d43b3b;
}

.esa-form-error {
  min-height: 16px;
  color: #d43b3b;
  font-size: 12px;
  font-weight: 600;
}

.esa-form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.esa-form-success {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  color: #1f7a34;
  background: #e6f8ea;
  font-size: 14px;
  font-weight: 600;
}

.esa-form-success[hidden] {
  display: none;
}


/* =========================================================
   RESPONSIVE: PANTALLAS MEDIANAS (≤1199.98px)
========================================================= */

@media (max-width: 1199.98px) {
  .esa-covers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esa-glance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   RESPONSIVE: TABLET (≤991.98px)
========================================================= */

@media (max-width: 991.98px) {
  .esa-hero {
    padding-top: clamp(120px, 20vw, 150px);
  }

  .esa-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .esa-hero-visual {
    max-width: 460px;
    margin: 32px auto 0;
  }

  .esa-two-col {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .esa-two-col-reverse {
    direction: ltr;
  }

  .esa-two-col-reverse .esa-wallet-panel {
    order: 2;
  }

  .esa-mosaic-visual {
    margin: 0 auto;
  }

  .esa-support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .esa-cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONO (≤767.98px)
========================================================= */

@media (max-width: 767.98px) {
  .esa-hero {
    padding-top: 140px;
    padding-bottom: 36px;
  }

  .esa-hero-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .esa-hero-actions .esa-btn,
  .esa-cta-actions .esa-btn {
    width: 100%;
  }

  .esa-glance-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .esa-covers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .esa-tuition-card {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  /* En móvil la tarjeta pasa a position:static (pierde su z-index), así
     que las formas flotantes decorativas se ocultan para que no queden
     pintadas encima de su texto. */
  .esa-hero-shape {
    display: none;
  }

  .esa-contact-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .esa-form-wrapper {
    padding: 26px 20px 22px;
  }
}


/* =========================================================
   RESPONSIVE: TELÉFONOS PEQUEÑOS (≤420px)
========================================================= */

@media (max-width: 420px) {
  .esa-section-title {
    font-size: 26px;
  }

  .esa-hero-title {
    font-size: 27px;
  }

  .esa-tuition-card-amount {
    font-size: 34px;
  }

  .esa-tuition-card-large .esa-tuition-card-amount {
    font-size: 44px;
  }

  .esa-support-card,
  .esa-form-wrapper {
    padding: 22px 18px;
  }
}

/* ========================================
   FIN: ESA PARENT INFORMATION PAGE
======================================== */


/* =========================================================
   SECCIÓN: SCHOOL CALENDAR
========================================================= */

.calendar-section {
  padding: 80px 0 72px;
  background: #ffffff;
}

.calendar-header {
  text-align: center;
  margin-bottom: 52px;
}

.calendar-header h2 {
  margin: 0 0 12px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: #111a73;
  letter-spacing: -0.03em;
}

.calendar-header h2 span {
  color: #111a73;
}

.calendar-header h2 strong {
  color: var(--pink);
}

.calendar-header p {
  margin: 0 auto;
  max-width: 540px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  color: #555;
  line-height: 1.6;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Tarjeta de evento */
.calendar-event-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: #f5f5fb;
  border-left: 5px solid var(--purple);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calendar-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.calendar-event-card[data-type="holiday"] {
  border-left-color: var(--pink);
}

.calendar-event-card[data-type="break"] {
  border-left-color: var(--sky);
}

.calendar-event-card[data-type="school"] {
  border-left-color: var(--green);
}

.calendar-event-card[data-type="event"] {
  border-left-color: #fbbf24;
}

.calendar-event-date {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  border-radius: 10px;
  padding: 6px 0;
  background: #111a73;
  color: #fff;
}

.calendar-event-date .cal-month {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.calendar-event-date .cal-day {
  display: block;
  font-family: "Comfortaa", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.calendar-event-info h4 {
  margin: 0 0 4px;
  font-family: "Comfortaa", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111a73;
}

.calendar-event-info p {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* Empty state */
.calendar-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: #aaa;
}

.calendar-empty-state i {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.calendar-empty-state p {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.calendar-empty-state code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #555;
}


/* =========================================================
   SECCIÓN: JOIN OUR TEAM
========================================================= */

.careers-section {
  padding: 28px 0 24px;
  background: linear-gradient(160deg, #111a73 0%, #1c2b9c 100%);
}

.careers-header {
  text-align: center;
  margin-bottom: 20px;
}

.careers-header h2 {
  margin: 0 0 4px;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.careers-header h2 span {
  color: var(--green);
}

.careers-header h2 strong {
  color: #ffffff;
}

.careers-header p {
  margin: 0 auto;
  max-width: 520px;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.careers-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: start;
}

/* Por qué trabajar aquí */
.careers-why h3 {
  margin: 0 0 14px;
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}

.careers-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.careers-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.careers-why-list li i {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--green);
  margin-top: 2px;
}

/* Posiciones */
.careers-positions h3 {
  margin: 0 0 12px;
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

/* Tarjeta de posición abierta */
.career-position-card {
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.career-position-card:hover {
  background: rgba(255, 255, 255, 0.14);
}

.career-position-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.career-position-title {
  margin: 0;
  font-family: "Comfortaa", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.career-position-type {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #111a73;
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.career-position-description {
  margin: 0 0 12px;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.career-position-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-family: "Comfortaa", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.career-position-apply:hover {
  background: var(--green);
  color: #111a73;
}

/* Empty state */
.careers-empty-state {
  text-align: center;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.careers-empty-state i {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.careers-empty-state p {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.careers-empty-state a {
  color: var(--green);
}

/* CTA de contacto */
.careers-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.careers-cta p {
  margin: 0 0 14px;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.careers-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--green);
  color: #111a73;
  font-family: "Comfortaa", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.careers-apply-btn:hover {
  background: #78d44e;
  color: #111a73;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 767.98px) {
  .careers-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   GALERÍA PREMIUM — BENTO GRID
   (reemplaza la .campus-gallery original)
========================================================= */

/* Wrapper principal */
.gallery-section-wrapper {
  background: #f7f6fc;
  padding-bottom: 0;
}

/* ── Encabezado ── */
.gallery-header {
  padding: 72px 24px 48px;
  text-align: center;
}

.gallery-header-inner {
  max-width: 640px;
  margin: 0 auto;
}

.gallery-header-tag {
  display: inline-block;
  padding: 5px 18px;
  background: linear-gradient(135deg, #8a6ef2, #4a3fa8);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 18px;
}

.gallery-header-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: #111a73;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.gallery-header-title span {
  background: linear-gradient(135deg, #8a6ef2, #e86fa8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-header-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #5a5a7a;
  line-height: 1.6;
  margin: 0;
}

/* ── Bento Grid ── */
.gallery-bento-grid {
  display: grid;
  /* 4 columnas base, cada columna = 1fr */
  grid-template-columns: repeat(4, 1fr);
  /* rows fijas — todas las celdas tienen la misma altura */
  grid-auto-rows: 260px;
  /* dense: rellena automáticamente cualquier hueco */
  grid-auto-flow: dense;
  gap: 6px;
  padding: 0 6px 6px;
}

/* ── Items base ── */
.gallery-bento-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  text-decoration: none;
  background: #e0dff0;
}

.gallery-bento-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.3s ease;
  will-change: transform;
}

/* ── Overlay oscuro suave ── */
.gb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 26, 115, 0.18);
  transition: background 0.3s ease;
  border-radius: 10px;
  pointer-events: none;
}

/* ── Icono de zoom ── */
.gb-zoom-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #111a73;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* ── Hover ── */
.gallery-bento-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.95);
}

.gallery-bento-item:hover .gb-overlay {
  background: rgba(17, 26, 115, 0.08);
}

.gallery-bento-item:hover .gb-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── Variantes de tamaño ── */

/* Wide: ocupa 2 columnas, 1 fila */
.gb-wide {
  grid-column: span 2;
  grid-row: span 1;
}

/* Square: ocupa 1 columna, 1 fila */
.gb-square {
  grid-column: span 1;
  grid-row: span 1;
}

/* Quad: 4 items iguales en una fila de 4 columnas */
.gb-quad {
  grid-column: span 1;
  grid-row: span 1;
}


/* ── LIGHTBOX ── */
.gb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 6, 24, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.gb-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.gb-lightbox-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-lightbox-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  transition: opacity 0.2s ease;
}

.gb-lightbox-close,
.gb-lightbox-prev,
.gb-lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.gb-lightbox-close {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.gb-lightbox-prev,
.gb-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 22px;
}

.gb-lightbox-prev {
  left: 20px;
}

.gb-lightbox-next {
  right: 20px;
}

.gb-lightbox-close:hover,
.gb-lightbox-prev:hover,
.gb-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gb-lightbox-prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.gb-lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

.gb-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Tall: ocupa 1 columna, 2 filas — solo boy-in-wheelchair | img1 | img2 */
.gb-tall {
  grid-column: span 1;
  grid-row: span 2;
}

/* ── Responsive: tablet (992px → 600px) ── */
@media (max-width: 991.98px) {
  .gallery-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .gb-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gb-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gb-quad,
  .gb-square {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ── Responsive: móvil (< 600px) ── */
@media (max-width: 599.98px) {
  .gallery-header {
    padding: 48px 20px 32px;
  }

  .gallery-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 4px;
    padding: 0 4px 4px;
  }

  /* En móvil: wide ocupa todo el ancho */
  .gb-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* Verticales: 1 col, 2 filas (más llamativas en móvil) */
  .gb-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gb-quad,
  .gb-square {
    grid-column: span 1;
    grid-row: span 1;
  }
}



/* =========================================================
   COMING SOON SPLASH SCREEN
   (.mosaic-splash)
========================================================= */

.mosaic-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b1140;
  animation: ms-fade-in 0.5s ease forwards;
}

.mosaic-splash.ms-hide {
  animation: ms-fade-out 0.6s ease forwards;
  pointer-events: none;
}

@keyframes ms-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ms-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* ── Decorative blobs ── */
.ms-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.ms-blob-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -160px;
  background: #8a4ef2;
  animation: ms-float 8s ease-in-out infinite alternate;
}

.ms-blob-2 {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -100px;
  background: #f66cb5;
  animation: ms-float 10s ease-in-out infinite alternate-reverse;
}

.ms-blob-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 55%;
  background: #91e765;
  animation: ms-float 12s ease-in-out infinite alternate;
}

@keyframes ms-float {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.08);
  }
}

/* ── Inner content ── */
.ms-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  max-width: 680px;
  width: 100%;
}

/* ── Logo ── */
.ms-logo {
  width: min(220px, 55vw);
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

/* ── Tagline ── */
.ms-tagline {
  margin: 0 0 18px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Main heading ── */
.ms-heading {
  margin: 0 0 12px;
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.ms-date {
  display: block;
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #c88cf0 0%, #f66cb5 45%, #91e765 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Sub text ── */
.ms-sub {
  margin: 0 0 32px;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Countdown ── */
.ms-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.ms-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: clamp(60px, 13vw, 90px);
  padding: 14px 10px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(4px);
}

.ms-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.ms-label {
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.ms-sep {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  margin-bottom: 20px;
}

/* ── Action buttons ── */
.ms-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.ms-btn-primary {
  background: linear-gradient(135deg, #c88cf0, #f66cb5);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(200, 140, 240, 0.4);
}

.ms-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200, 140, 240, 0.55);
  color: #ffffff;
}

.ms-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ms-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Social icons ── */
.ms-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ms-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ms-socials a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .ms-countdown {
    gap: 5px;
  }

  .ms-unit {
    min-width: 58px;
    padding: 10px 6px 8px;
  }

  .ms-sep {
    font-size: 20px;
  }

  .ms-actions {
    flex-direction: column;
    width: 100%;
  }

  .ms-btn {
    width: 100%;
  }
}

/* ======================================================
   TESTIMONIALS MARQUEE
====================================================== */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  padding: 5rem 0;
}

.testimonials-title-area {
  margin-bottom: 3rem;
}

.marquee-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-row {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-row[style*="--marquee-direction: 1"] .marquee-track {
  animation-direction: reverse;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.testimonial-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 2rem;
  min-width: 320px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card .stars {
  color: #ffc107;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.testimonial-card strong {
  font-size: 0.95rem;
  color: #1a2a47;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: auto;
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 280px;
    padding: 1.5rem;
  }
}