/* ==========================================================================
   BRIDGE CSS — Complete styles for all HTML classes
   Maps HTML naming conventions to the design system
   ========================================================================== */

/* ── NAVBAR CONTAINER ─────────────────────────────────────────────────────── */
.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide, 1400px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
  height: 100%;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: var(--space-1, 4px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__link--dropdown {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.navbar__chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  flex-shrink: 0;
}

.navbar__item:hover .navbar__chevron,
.navbar__item--dropdown.is-open .navbar__chevron,
.navbar__item--megamenu.is-open .navbar__chevron {
  transform: rotate(180deg);
}

/* ── SIMPLE DROPDOWN (El Colegio) ─────────────────────────────────────────── */
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: var(--z-dropdown, 1000);
  min-width: 240px;
  background: var(--white, #fff);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.76, 0, 0.24, 1),
              transform 0.3s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0.3s;
  pointer-events: none;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Puente invisible bajo el <li> que mantiene el hover al cruzar el gap */
.navbar__item--dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 30px;
}

.navbar__item--dropdown.is-open .navbar__dropdown,
.navbar__item--dropdown:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

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

.navbar__dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.25s ease;
}

.navbar__dropdown-link:hover {
  background: #FAF8F0;
  color: #25347A;
  transform: translateX(4px);
}

.navbar__dropdown-link--highlight {
  color: #E6A200;
  font-weight: 600;
}

/* ── MEGA MENU ────────────────────────────────────────────────────────────── */
.navbar__megamenu {
  position: fixed;
  top: var(--nav-height, 80px);
  left: 0;
  right: 0;
  z-index: var(--z-dropdown, 1000);
  background: var(--white, #fff);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.08);
  padding: 40px 0 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.76, 0, 0.24, 1),
              transform 0.35s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0.35s;
  pointer-events: none;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.navbar.scrolled .navbar__megamenu {
  top: var(--nav-height-scrolled, 64px);
}

.navbar__item--megamenu:hover .navbar__megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar__megamenu-inner {
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  gap: 40px;
  max-width: var(--container-wide, 1400px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
}

.navbar__megamenu-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 16px;
  padding-left: 16px;
}

.navbar__megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.navbar__megamenu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
}

.navbar__megamenu-link:hover {
  background: #FAF8F0;
  color: #25347A;
  transform: translateX(4px);
}

.navbar__megamenu-link svg { flex-shrink: 0; }

.navbar__megamenu-meta {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 400;
  margin-left: 4px;
}

.navbar__megamenu-col {
  display: flex;
  flex-direction: column;
}

.navbar__megamenu-col:nth-child(2) {
  padding-left: 32px;
  border-left: 1px solid #e5e7eb;
}

.navbar__megamenu-col--featured {
  padding-left: 32px;
  border-left: 1px solid #e5e7eb;
}

.navbar__megamenu-featured {
  background: linear-gradient(135deg, #25347A, #35479E);
  border-radius: 24px;
  padding: 32px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.navbar__megamenu-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  width: fit-content;
}

.navbar__megamenu-featured-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}

.navbar__megamenu-featured-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.navbar__megamenu-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #FFB300;
  color: #1a1a2e;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.navbar__megamenu-featured-cta:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── HERO BACKGROUND ──────────────────────────────────────────────────────── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628, #25347A 25%, #35479E 50%, #25347A 75%, #0f2847);
  background-size: 400% 400%;
  animation: heroGradientShift 12s ease infinite;
}

@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__bg .hero__overlay {
  background: linear-gradient(180deg, rgba(10,22,40,0.4), rgba(26,60,110,0.3) 40%, rgba(10,22,40,0.6));
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  color: #fff;
}

.hero__title-line { display: block; }
.hero__title-line--accent { color: #FFB300; }

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn--hero-primary {
  background: #0082BE;
  color: #fff;
  border-color: #0082BE;
  box-shadow: 0 8px 24px rgba(46,125,50,0.3);
}

.btn--hero-primary:hover {
  background: #256b29;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(46,125,50,0.4);
}

.btn--hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn--hero-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__shape { position: absolute; }
.hero__shape--star { top: 15%; right: 10%; animation: float 6s ease-in-out infinite; }
.hero__shape--circle { bottom: 20%; left: 8%; animation: float 8s ease-in-out infinite reverse; }
.hero__shape--dots { top: 60%; right: 15%; animation: float 7s ease-in-out infinite 1s; }
.hero__shape--ring { top: 30%; left: 5%; animation: spin 30s linear infinite; }

.hero__scroll-text { display: block; }
.hero__scroll-dot { width: 4px; height: 4px; background: #FFB300; border-radius: 50%; }

.btn__arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── PAGE LOADER (inline styles already in HTML, just ensure class exists) ── */
.page-loader { /* Styles are inline in HTML head */ }
.loader-logo { /* Styles are inline in HTML head */ }
.loader-bar-track { /* Styles are inline in HTML head */ }
.loader-bar { /* Styles are inline in HTML head */ }

/* ── SECTION TAG BADGE ────────────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(37, 52, 122, 0.06);
  border: 1px solid rgba(37, 52, 122, 0.1);
  border-radius: 999px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #25347A;
  margin-bottom: 20px;
}

.section-tag svg {
  color: #FFB300;
}

.section-tag--light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.section-tag--light svg { color: #FFB300; }

.section-title--light { color: #fff !important; }

/* ── ABOUT SECTION ────────────────────────────────────────────────────────── */
.about {
  padding: 120px 0 24px;
  background: #FAF8F0;
}

.about__container {
  max-width: var(--container-wide, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
}

.about__grid {
  display: none;
}

.about__header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  margin-bottom: 60px;
}

.about__header-label {
  padding-top: 0.5rem;
}

.about__header-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink, #25347A);
  margin: 0;
}

.about__counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 48px 0;
  background: transparent;
  border-top: 1px solid rgba(37, 52, 122, 0.12);
  border-bottom: 1px solid rgba(37, 52, 122, 0.12);
  margin-bottom: 60px;
}

/* ── COUNTER ──────────────────────────────────────────────────────────────── */
.counter {
  text-align: left;
  padding: 0 40px;
  position: relative;
}

.counter + .counter::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(37, 52, 122, 0.15);
}

.counter__number {
  display: block;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1;
  margin-bottom: 8px;
  color: var(--ink, #25347A);
}

.counter__label {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(37, 52, 122, 0.55);
  line-height: 1.4;
}

/* ── PROGRAMS SECTION ─────────────────────────────────────────────────────── */
.programs__container,
.programs {
  padding: 120px 0;
}

.programs__container {
  max-width: var(--container-wide, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
}

.programs__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 0;
}

.programs__cta {
  text-align: center;
  margin-top: 48px;
}

/* ── PROGRAM CARDS ────────────────────────────────────────────────────────── */
.program-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1), box-shadow 0.4s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.program-card__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 48px;
  align-items: center;
}

.program-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-card__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-card__stage {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.program-card__text {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 600px;
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.3s ease;
  margin-top: 8px;
}

.program-card__link:hover { gap: 14px; }

/* Program card color variants */
.program-card--cream {
  background: linear-gradient(135deg, #FAF8F0, #FFE0B2);
  color: #5D4037;
}
.program-card--cream .program-card__icon { background: rgba(255,179,0,0.15); color: #F57F17; }
.program-card--cream .program-card__link { color: #E65100; }

.program-card--green {
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  color: #005E8C;
}
.program-card--green .program-card__icon { background: rgba(46,125,50,0.12); color: #0082BE; }
.program-card--green .program-card__link { color: #0082BE; }

.program-card--blue {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  color: #0D47A1;
}
.program-card--blue .program-card__icon { background: rgba(21,101,192,0.1); color: #1565C0; }
.program-card--blue .program-card__link { color: #1565C0; }

.program-card--dark {
  background: linear-gradient(135deg, #25347A, #0f2847);
  color: #fff;
}
.program-card--dark .program-card__icon { background: rgba(255,255,255,0.1); color: #FFB300; }
.program-card--dark .program-card__link { color: #FFB300; }

.program-card--purple {
  background: linear-gradient(135deg, #EDE7F6, #D1C4E9);
  color: #4A148C;
}
.program-card--purple .program-card__icon { background: rgba(123,31,162,0.1); color: #7B1FA2; }
.program-card--purple .program-card__link { color: #7B1FA2; }

/* ── THINKING SECTION ─────────────────────────────────────────────────────── */
.thinking {
  padding: 120px 0;
  background: #fff;
}

.thinking__container {
  max-width: var(--container-wide, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
}

.thinking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: stretch;
}

.thinking__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.8rem);
  align-self: start;
}

/* 2x2 feature mini-cards */
.thinking__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  align-self: stretch;
  height: 100%;
}
/* Columna izquierda (cards 1 y 3) bajan para crear el escalonado */
.thinking__feature-card:nth-child(odd) {
  margin-top: 60px;
}
.thinking__feature-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  transition: background 0.3s ease;
}
.thinking__feature-card:hover { background: rgba(255,255,255,0.14); }
.thinking__feature-card svg {
  margin-bottom: auto;
  flex-shrink: 0;
}
.thinking__feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-top: 32px;
}
.thinking__feature-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin-top: 8px;
}

.thinking__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 16px;
}

.thinking__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}

.thinking__pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #FAF8F0;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #25347A;
  border: 1px solid rgba(26,60,110,0.06);
  transition: all 0.3s ease;
}

.thinking__pill:hover {
  background: #25347A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,60,110,0.15);
}

.thinking__pill:hover svg * { stroke: #fff; }

.thinking__visual {
  position: relative;
}

.thinking__image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.thinking__image-wrapper img {
  width: 100%;
  display: block;
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.thinking__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 24px;
}

.thinking__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #25347A 0%, #35479E 50%, #25347A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.thinking__badge {
  position: absolute;
  bottom: -16px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.875rem;
  color: #25347A;
  z-index: 2;
}

/* ── VIDEO SECTION ────────────────────────────────────────────────────────── */
.video-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-section__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628, #25347A 40%, #35479E 70%, #25347A);
}

.video-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.video-section__container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  max-width: 800px;
  margin-inline: auto;
}

.video-section__play {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  margin-top: 40px;
}

.video-section__play-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.video-section__play:hover .video-section__play-circle {
  background: #FFB300;
  border-color: #FFB300;
  transform: scale(1.1);
  box-shadow: 0 0 0 20px rgba(255,179,0,0.15);
}

.video-section__play-text {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.8);
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────────── */
.testimonials__container {
  max-width: var(--container-wide, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
}

.testimonials__slider {
  display: flex;
  gap: 24px;
  animation: testimonialsScroll 40s linear infinite;
  width: max-content;
}

.testimonials__slider:hover { animation-play-state: paused; }

@keyframes testimonialsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card__quote {
  margin-bottom: 16px;
  color: #25347A;
}

/* ── BLOG SECTION ─────────────────────────────────────────────────────────── */
.blog {
  padding: 120px 0;
  background: #f9fafb;
}

.blog__container {
  max-width: var(--container-wide, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}

.blog__cta {
  text-align: center;
  margin-top: 48px;
}

/* ── BLOG CARD EXTRAS ─────────────────────────────────────────────────────── */
.blog-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.blog-card__image-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 16px 16px 0 0;
}

.blog-card__image-placeholder--1 {
  background: linear-gradient(135deg, #25347A, #0082BE);
}

.blog-card__image-placeholder--2 {
  background: linear-gradient(135deg, #7B1FA2, #E91E63);
}

.blog-card__image-placeholder--3 {
  background: linear-gradient(135deg, #E65100, #FFB300);
}

.blog-card__content {
  padding: 24px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #25347A;
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.blog-card__link:hover {
  gap: 12px;
  color: #0082BE;
}

.blog-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.blog-card__link:hover svg { transform: translateX(4px); }

/* ── CTA SECTION ──────────────────────────────────────────────────────────── */
.cta-section__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
  padding: 0 24px;
  text-align: center;
}

.cta-section__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn--cta-primary {
  background: #fff;
  color: #0082BE;
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--cta-primary:hover {
  background: #FFB300;
  color: #1a1a2e;
  border-color: #FFB300;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255,179,0,0.3);
}

.btn--cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-3px);
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer__container {
  max-width: var(--container-wide, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-px, 24px);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer__heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer__link:hover {
  color: #FFB300;
  transform: translateX(4px);
}

.footer__list--contact { gap: 16px; }

.footer__link--contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer__link--contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #FFB300;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer__tagline {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.footer__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
}

.footer__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── ANIMATION CLASSES ────────────────────────────────────────────────────── */
.reveal-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.76, 0, 0.24, 1),
              transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-slide-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.76, 0, 0.24, 1),
              transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE MENU SUBLISTS ────────────────────────────────────────────────── */
.navbar__mobile-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.navbar__mobile-link--parent {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.navbar__mobile-sublist {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.navbar__mobile-sublist.is-open { max-height: 500px; }

.navbar__mobile-sublink {
  display: block;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 1px solid #f9fafb;
}

.navbar__mobile-sublink:hover { color: #25347A; }

.navbar__mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #f5f5f5;
}

.navbar__mobile-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #4b5563;
  text-decoration: none;
}

.navbar__mobile-contact-link:hover { color: #0082BE; }

.navbar__logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.btn--full { width: 100%; justify-content: center; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .navbar__nav,
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex !important; }
  .navbar__megamenu,
  .navbar__dropdown { display: none; }
  .navbar__megamenu-inner { grid-template-columns: 1fr; }

  /* About */
  .about { padding: 80px 0 20px; }
  .about__header { grid-template-columns: 1fr; gap: 1rem; }
  .about__grid,
  .blog__grid { grid-template-columns: 1fr; }
  .about__counters { grid-template-columns: repeat(2, 1fr); }

  /* Photo cards */
  .photo-cards { grid-template-columns: repeat(2, 1fr); }
  .photo-card { height: 380px; }

  /* Programs */
  .program-card { grid-template-columns: 1fr; min-height: auto; }
  .program-card__media { min-height: 280px; order: 1; }
  .program-card__inner { order: 2; }

  /* Thinking */
  .thinking__grid { grid-template-columns: 1fr; gap: 48px; }
  .thinking__features { grid-template-rows: auto; height: auto; align-self: auto; }
  .thinking__feature-card:nth-child(odd) { margin-top: 0; }

  /* Footer */
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  /* About */
  .about__counters { padding: 32px; }

  /* Photo cards */
  .photo-cards { grid-template-columns: 1fr !important; }
  .photo-card { height: 300px !important; }

  /* Programs */
  .program-card__media { min-height: 240px; }
  .programs__cards { gap: 16px; }

  /* Thinking pills */
  .thinking__pills { grid-template-columns: 1fr; }

  /* Feature cards: 2 col sin stagger */
  .thinking__features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .thinking__feature-card { min-height: 180px; padding: 20px; }
  .thinking__feature-title { margin-top: 20px; font-size: 0.95rem; }

  /* Hero */
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__badges { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  /* About */
  .about__counters { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .counter + .counter::before { display: none; }

  /* Photo cards */
  .photo-cards { grid-template-columns: 1fr; }
  .photo-card { height: 260px; }

  /* Programs */
  .program-card__media { min-height: 200px; }
  .program-card__inner { padding: 24px; }

  /* Thinking */
  .thinking__features { grid-template-columns: 1fr; }
  .thinking__feature-card { min-height: auto; }

  /* Section headings */
  .section-title { font-size: clamp(1.6rem, 7vw, 2rem); }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── PHOTO CARDS ──────────────────────────────────────────────────────────── */
.photo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.photo-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 520px;
  margin: 0;
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card__caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink, #25347A);
}
