/* ============================================================
   SISTEMA EDUCATIVO JOSE VASCONCELOS — Premium CSS
   Version 2.0 — Complete Visual Upgrade
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS & CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* --- Core Palette --- */
  --ink-900: #10171d;
  --ink-700: #2f3b45;
  --ink-500: #5b6973;
  --ink-300: #97a4ad;
  --surface-0: #f4f5ef;
  --surface-1: #ffffff;
  --surface-2: #edf2ed;
  --brand-deep: #00340b;
  --brand: #0a5c1f;
  --brand-soft: #d4f0da;
  --accent: #f3a600;
  --accent-soft: #fef3d6;
  --line: rgba(16, 23, 29, 0.1);

  /* --- Radii --- */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;

  /* --- Layout --- */
  --content-max: 1180px;
  --header-h: 78px;

  /* --- Easings --- */
  --ease-standard: cubic-bezier(0.2, 0.75, 0.22, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.03, 0.98, 0.52, 0.99);

  /* --- Animation Timing (Emil Kowalski: 150-300ms for micro-interactions) --- */
  --duration-fast: 0.15s;
  --duration-base: 0.22s;
  --duration-slow: 0.5s;
  --duration-xslow: 0.75s;

  /* --- Blur Values --- */
  --blur-xs: 4px;
  --blur-sm: 10px;
  --blur-md: 20px;
  --blur-lg: 40px;
  --blur-xl: 80px;

  /* --- Glassmorphism --- */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-dark: rgba(10, 22, 18, 0.55);
  --glass-border: rgba(255, 255, 255, 0.38);
  --glass-border-dark: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(20px) saturate(1.8);
  --glass-blur-light: blur(14px) saturate(1.6);

  /* --- Glow Colors --- */
  --glow-brand: rgba(10, 92, 31, 0.35);
  --glow-brand-strong: rgba(10, 92, 31, 0.55);
  --glow-accent: rgba(243, 166, 0, 0.4);
  --glow-accent-strong: rgba(243, 166, 0, 0.62);
  --glow-white: rgba(255, 255, 255, 0.22);

  /* --- Layered Shadows --- */
  --shadow-soft:
    0 1px 2px rgba(16, 23, 29, 0.04),
    0 4px 10px rgba(16, 23, 29, 0.06),
    0 14px 34px rgba(16, 23, 29, 0.08);
  --shadow-strong:
    0 2px 4px rgba(16, 23, 29, 0.06),
    0 8px 20px rgba(16, 23, 29, 0.10),
    0 26px 60px rgba(16, 23, 29, 0.18),
    0 48px 90px rgba(16, 23, 29, 0.08);
  --shadow-brand:
    0 4px 14px var(--glow-brand),
    0 16px 40px rgba(0, 52, 11, 0.24);
  --shadow-accent:
    0 4px 14px var(--glow-accent),
    0 16px 40px rgba(243, 166, 0, 0.2);
  --shadow-glow:
    0 0 0 1px var(--glow-brand),
    0 8px 32px var(--glow-brand);

  /* --- Gradients --- */
  --grad-brand: linear-gradient(135deg, #00340b 0%, #0a5c1f 60%, #2a9972 100%);
  --grad-accent: linear-gradient(135deg, #b8883a 0%, #f3a600 60%, #ddb96a 100%);
  --grad-hero: linear-gradient(160deg, rgba(10, 22, 18, 0.72) 0%, rgba(10, 22, 18, 0.28) 60%, rgba(243, 166, 0, 0.12) 100%);
  --grad-footer: linear-gradient(180deg, #00240a 0%, #001506 100%);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-snap-type: y proximity;
}

/* --- Text Selection --- */
::selection {
  background: var(--brand);
  color: #fff;
}

::-moz-selection {
  background: var(--brand);
  color: #fff;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(10, 92, 31, 0.38);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 92, 31, 0.62);
}

/* ============================================================
   3. PRELOADER
   ============================================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-standard), visibility 0.6s var(--ease-standard);
}

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

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

/* ============================================================
   4. SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);
  background-size: 200% 100%;
  z-index: 999;
  transform-origin: left;
  transform: scaleX(0);
  animation: gradient-shift 3s ease infinite;
  box-shadow: 0 0 12px var(--glow-brand);
}


/* ============================================================
   6. ANIMATED MESH BACKGROUND BODY
   ============================================================ */

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink-700);
  line-height: 1.65;
  background-color: var(--surface-0);
  background-image:
    radial-gradient(ellipse 1400px 900px at 10% -15%, rgba(221, 241, 230, 0.9) 0%, rgba(221, 241, 230, 0) 55%),
    radial-gradient(ellipse 900px 600px at 95% 5%, rgba(249, 238, 216, 0.75) 0%, rgba(249, 238, 216, 0) 60%),
    radial-gradient(ellipse 700px 500px at 50% 110%, rgba(237, 242, 237, 0.6) 0%, rgba(237, 242, 237, 0) 65%);
  animation: meshShift 18s ease-in-out infinite alternate;
  position: relative;
}

body.nav-open {
  overflow: hidden;
}

/* Subtle noise texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

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

button {
  font: inherit;
}

main {
  min-height: calc(100vh - 360px);
  position: relative;
  z-index: 1;
}

/* ============================================================
   7. UTILITIES
   ============================================================ */

.skip-link {
  position: absolute;
  left: 14px;
  top: -50px;
  background: var(--brand-deep);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 500;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: min(var(--content-max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.section {
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
}

.section-tight {
  padding: clamp(32px, 4vw, 56px) 0;
  scroll-snap-align: start;
}

.surface-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, #fff 100%);
  position: relative;
}

.surface-white::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.015;
  pointer-events: none;
}

.surface-contrast {
  background-color: #001f08;
  background-image: url("../images/brand/surface-contrast-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.surface-contrast::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 52, 11, 0.87);
  z-index: 0;
  pointer-events: none;
}
.surface-contrast > .container,
.surface-contrast > * {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

/* ============================================================
   8. TYPOGRAPHY
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--brand-soft);
  color: var(--brand-deep);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.eyebrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.eyebrow:hover::before {
  transform: translateX(100%);
}

.surface-contrast .eyebrow,
.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

h1,
h2,
h3,
h4 {
  font-family: "Unbounded", sans-serif;
  color: var(--ink-900);
  margin: 0;
}

.surface-contrast h1,
.surface-contrast h2,
.surface-contrast h3,
.surface-contrast h4,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero h4 {
  color: #fff;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(16, 23, 29, 0.08);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 12px rgba(16, 23, 29, 0.05);
}

h3 {
  font-size: clamp(1.02rem, 2.1vw, 1.42rem);
  line-height: 1.24;
}

p {
  margin: 0;
}

.section-copy {
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  color: var(--ink-500);
  margin-top: 12px;
  max-width: 72ch;
}

.surface-contrast .section-copy,
.page-hero p {
  color: rgba(232, 240, 235, 0.92);
}

.text-brand {
  color: var(--brand);
}

.text-accent {
  color: var(--accent);
}

/* --- Gradient Text --- */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

/* --- Text Reveal (JS-assisted) --- */
.text-reveal {
  overflow: hidden;
}

.text-reveal .text-reveal-inner {
  transform: translateY(100%);
  display: block;
  transition: transform 0.8s var(--ease-spring);
}

.text-reveal.is-visible .text-reveal-inner {
  transform: translateY(0);
}

/* --- Typewriter --- */
.typewriter {
  border-right: 2px solid var(--brand);
  white-space: nowrap;
  overflow: hidden;
  animation: typewriter-cursor 0.75s step-end infinite;
}

@keyframes typewriter-cursor {
  0%, 100% { border-color: var(--brand); }
  50% { border-color: transparent; }
}

/* ── Accent word highlight ── */
.accent-word {
  color: var(--accent);
  font-style: normal;
  display: inline-block;
  transition: color 0.25s ease, background-color 0.25s ease, padding 0.25s ease, border-radius 0.25s ease;
  border-radius: 4px;
  padding: 0 2px;
}
.surface-contrast .accent-word {
  color: var(--accent);
}
/* On heading hover, invert the accent word: yellow bg, dark text */
h2:hover .accent-word,
h3:hover .accent-word {
  color: var(--brand-deep);
  background-color: var(--accent);
  padding: 0 6px;
}
/* On dark sections, invert differently: white bg, dark text */
.surface-contrast h2:hover .accent-word,
.surface-contrast h3:hover .accent-word {
  color: var(--brand-deep);
  background-color: var(--accent);
}

/* ============================================================
   9. BUTTONS — MAGNETIC + SHIMMER
   ============================================================ */

.btn,
.btn-outline,
.btn-ghost {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease-spring),
    background-color var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard);
}

/* Shimmer shine sweep pseudo-element */
.btn::before,
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn:hover::before,
.btn-outline:hover::before {
  transform: translateX(100%);
}

.btn {
  background: linear-gradient(135deg, #00340b 0%, #0a5c1f 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-accent {
  background: linear-gradient(135deg, #c88600 0%, #f3a600 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  box-shadow:
    0 6px 18px rgba(243, 166, 0, 0.42),
    0 22px 54px rgba(243, 166, 0, 0.24);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 4px 14px var(--glow-brand),
    0 20px 50px rgba(0, 52, 11, 0.38);
}

.btn:active {
  transform: scale(0.97);
}

/* Pulsing glow variant */
.btn-glow {
  animation: pulse-glow 2.4s ease-in-out infinite;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-deep);
  border: 1px solid rgba(0, 52, 11, 0.18);
  backdrop-filter: blur(8px);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-soft);
  border-color: rgba(10, 92, 31, 0.42);
  background: #fff;
}

.btn-outline:active {
  transform: scale(0.97);
}

.surface-contrast .btn-outline {
  background: rgba(255, 255, 255, 0.92);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

/* Focus states */
.btn:focus-visible,
.btn-outline:focus-visible,
.btn-ghost:focus-visible,
.nav-link:focus-visible,
.mega-link:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* ============================================================
   10. SITE HEADER — GLASSMORPHISM
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(16, 23, 29, 0.06),
    0 4px 24px rgba(16, 23, 29, 0.05);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 0 rgba(16, 23, 29, 0.08),
    0 8px 36px rgba(16, 23, 29, 0.1);
}

.header-inner {
  width: min(var(--content-max), calc(100% - 2.4rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform 0.3s var(--ease-spring);
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 52, 11, 0.18));
}

.footer-brand {
  align-items: center;
}

.footer-brand-copy {
  display: grid;
  gap: 2px;
}

.footer-brand-copy strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.84rem;
  line-height: 1.25;
  color: #fff;
}

.footer-brand-copy small {
  color: rgba(214, 228, 219, 0.78);
  font-size: 0.78rem;
}

/* ============================================================
   11. NAVIGATION
   ============================================================ */

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}

.menu-toggle:hover {
  transform: scale(1.05);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring), opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  height: 100%;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-link {
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  position: relative;
  justify-content: center;
  text-align: center;
  line-height: 1.22;
  min-height: 48px;
  white-space: normal;
  text-wrap: balance;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-spring);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-deep);
}

.nav-cta {
  margin-left: 8px;
}

.nav-cta .btn {
  justify-content: center;
  text-align: center;
  line-height: 1.16;
  white-space: normal;
  text-wrap: balance;
}

@media (min-width: 861px) {
  .nav-link {
    max-width: 122px;
    padding-inline: 10px;
  }

  #megaTrigger {
    max-width: 150px;
  }

  .nav-cta .btn {
    min-height: 56px;
    max-width: 150px;
  }
}

/* --- Mega Menu --- */
.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  /* Emil: popovers scale from trigger — use top center origin */
  transform-origin: top center;
  transform: translateX(-50%) translateY(8px) scale(0.97);
  width: min(940px, calc(100vw - 2rem));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow:
    0 4px 24px rgba(16, 23, 29, 0.08),
    0 24px 64px rgba(16, 23, 29, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  /* Enter: 0.28s ease-out | feels responsive */
  transition:
    opacity 0.22s var(--ease-standard),
    transform 0.22s var(--ease-spring);
}

.nav-item.mega:hover .mega-panel,
.nav-item.mega:focus-within .mega-panel,
.nav-item.mega.open .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mega-link {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 23, 29, 0.07);
  display: grid;
  gap: 6px;
  background: linear-gradient(160deg, #fff 0%, #f7faf8 100%);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.26s var(--ease-spring),
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.mega-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 92, 31, 0.05), rgba(243, 166, 0, 0.04));
  opacity: 0;
  transition: opacity 0.26s ease;
}

.mega-link:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(10, 92, 31, 0.3);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(10, 92, 31, 0.08);
}

.mega-link:hover::before {
  opacity: 1;
}

.mega-link strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.84rem;
  color: var(--ink-900);
  position: relative;
  z-index: 1;
}

.mega-link span {
  font-size: 0.84rem;
  color: var(--ink-500);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.mega-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--surface-2), rgba(237, 242, 237, 0.5));
  border: 1px solid rgba(10, 92, 31, 0.08);
}

/* ============================================================
   12. HERO — CINEMATIC
   ============================================================ */

.hero {
  position: relative;
  min-height: clamp(520px, 85svh, 860px);
  overflow: hidden;
  isolation: isolate;
}

/* Ken Burns background */
.hero::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image: url("../images/brand/hero-somos-tecos.png");
  background-size: cover;
  background-position: center;
  animation: heroDrift 22s ease-in-out infinite, kenBurns 32s ease-in-out infinite alternate;
  will-change: transform;
}

/* Color-grading overlay with animated gradient shift */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(185deg,
      rgba(10, 22, 18, 0.08) 0%,
      rgba(10, 22, 18, 0.38) 60%,
      rgba(10, 22, 18, 0.65) 100%),
    radial-gradient(ellipse 900px 500px at 82% 18%, rgba(243, 166, 0, 0.22), rgba(243, 166, 0, 0) 68%),
    radial-gradient(ellipse 600px 400px at 15% 80%, rgba(0, 52, 11, 0.28), rgba(0, 52, 11, 0) 70%);
  background-size: 100% 100%, 200% 200%, 200% 200%;
  animation: gradient-shift 12s ease-in-out infinite alternate;
}

/* Floating particles overlay */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle 1.5px at 20% 32%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(circle 1px at 72% 18%, rgba(255,255,255,0.42) 0%, transparent 100%),
    radial-gradient(circle 2px at 45% 72%, rgba(199,154,73,0.48) 0%, transparent 100%),
    radial-gradient(circle 1px at 88% 60%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 12% 82%, rgba(255,255,255,0.42) 0%, transparent 100%),
    radial-gradient(circle 1px at 60% 42%, rgba(255,255,255,0.3) 0%, transparent 100%);
  animation: float 8s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Bottom wave mask */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-intro-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

/* ============================================================
   13. PROOF CARDS — GLASSMORPHISM
   ============================================================ */

.proof-stack {
  display: grid;
  gap: 14px;
}

.proof-card {
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding: 18px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease-spring);
}

.proof-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
}

.proof-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-strong), 0 0 0 1px rgba(10, 92, 31, 0.1);
}

/* Mouse-tracking highlight via CSS custom properties */
.proof-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(10, 92, 31, 0.06),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proof-card:hover::after {
  opacity: 1;
}

.proof-card strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.92rem;
  color: var(--ink-900);
}

.proof-mascot {
  margin: 4px 0 0;
  justify-self: end;
  align-self: end;
}

.proof-mascot img {
  width: min(100%, 228px);
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.reason-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 320px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.reason-intro-grid .section-head {
  margin-bottom: 0;
}

.reason-mascot {
  margin: 0;
  justify-self: end;
}

.reason-mascot img {
  width: min(100%, 320px);
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.16));
}

.proof-card p {
  font-size: 0.94rem;
  color: var(--ink-500);
}

/* ============================================================
   14. KPI BAND — PREMIUM WITH ANIMATED BORDERS
   ============================================================ */

.kpi-band {
  position: relative;
  z-index: 2;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateZ(0);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease-spring);
  /* Animated gradient border via pseudo */
  border: 1px solid transparent;
  background-clip: padding-box;
}

/* Rotating conic gradient border */
.kpi-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-md) + 1px);
  background: conic-gradient(
    from var(--angle, 0deg),
    var(--brand-soft),
    var(--accent-soft),
    var(--brand-soft),
    rgba(255,255,255,0.6),
    var(--brand-soft)
  );
  z-index: -1;
  animation: rotate-gradient 6s linear infinite;
  opacity: 0.7;
}

.kpi-item::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-md) - 1px);
  background: rgba(255, 255, 255, 0.94);
  z-index: -1;
}

.kpi-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-strong), 0 0 30px var(--glow-brand);
}

.kpi-item strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.kpi-item span {
  font-size: 0.86rem;
  color: var(--ink-500);
  margin-top: 4px;
  display: block;
}

/* Subtle pulse when JS triggers counter finish */
.kpi-item.counter-done strong {
  animation: bounce-subtle 0.6s var(--ease-bounce);
}

/* ============================================================
   15. INFO CARDS — GLASSMORPHISM + 3D TILT
   ============================================================ */

.info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth),
    border-color 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(10, 92, 31, 0.07),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-strong), 0 0 40px var(--glow-brand);
  border-color: rgba(10, 92, 31, 0.2);
}

.info-card h3 {
  font-size: 1rem;
}

.info-card p {
  color: var(--ink-500);
  font-size: 0.94rem;
}

.form-card ul,
.modality-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.form-card li,
.modality-card li {
  color: var(--ink-500);
  font-size: 0.93rem;
}

/* ============================================================
   16. MODALITY FILTER CHIPS
   ============================================================ */

.modality-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-chip {
  border: 1px solid rgba(16, 23, 29, 0.14);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  color: var(--ink-700);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s var(--ease-spring),
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.filter-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.filter-chip:hover::before {
  transform: translateX(100%);
}

.filter-chip.active,
.filter-chip:hover {
  border-color: rgba(10, 92, 31, 0.5);
  color: var(--brand-deep);
  background: var(--brand-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--glow-brand);
}

/* ============================================================
   17. MODALITY CARDS — ELEVATED + 3D
   ============================================================ */

.modalities-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modality-card {
  --modality-accent: rgba(10, 92, 31, 0.22);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(1.7);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  color: var(--ink-900);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 24px;
  display: grid;
  gap: 12px;
  transition:
    transform 0.5s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth),
    border-color 0.3s ease;
}

/* Animated gradient top border */
.modality-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(0, 52, 11, 0.96),
    rgba(10, 92, 31, 0.9),
    rgba(243, 166, 0, 0.9),
    rgba(0, 52, 11, 0.96)
  );
  background-size: 300% 100%;
  animation: gradient-shift 4s ease-in-out infinite;
}

/* Animated blur orb */
.modality-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: var(--modality-accent);
  filter: blur(28px);
  opacity: 0.85;
  animation: float 8s ease-in-out infinite alternate;
  transition: transform 0.5s var(--ease-smooth);
}

.modality-card:hover {
  transform: translateY(-8px) scale(1.008);
  box-shadow: var(--shadow-strong), 0 0 50px var(--glow-brand);
  border-color: rgba(10, 92, 31, 0.22);
}

.modality-card:hover::after {
  transform: scale(1.2) rotate(20deg);
}

/* Shimmer effect */
.modality-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(243, 166, 0, 0.07) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.55s ease;
  pointer-events: none;
  border-radius: inherit;
}
@media (hover: hover) and (pointer: fine) {
  .modality-card:hover::after {
    background-position: 200% 0;
  }
}

/* Shine sweep on hover */
.modality-card .modality-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform 0.6s ease;
}

.modality-card:hover .modality-shine {
  transform: translateX(100%);
}

/* Data-specific accent colors */
.modality-card[data-modality-id="secundaria"] {
  --modality-accent: rgba(243, 166, 0, 0.22);
}

.modality-card[data-modality-id="semestral"] {
  --modality-accent: rgba(10, 92, 31, 0.22);
}

.modality-card[data-modality-id="prepa2"] {
  --modality-accent: rgba(38, 120, 158, 0.2);
}

.modality-card[data-modality-id="universidad"] {
  --modality-accent: rgba(107, 84, 156, 0.18);
}

.modality-card[data-modality-id="posgrados"] {
  --modality-accent: rgba(137, 71, 63, 0.2);
}

/* Badge — no perpetual bounce (Emil: decorative-only animation = distraction) */
.modality-badge {
  display: inline-flex;
  align-items: center;
  align-self: start;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #7d5622;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(243, 166, 0, 0.2);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

/* Only animate badge on card hover — purposeful, not decorative */
.modality-card:hover .modality-badge {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(243, 166, 0, 0.32);
}

.modality-card h3,
.modality-card p,
.modality-meta,
.modality-card ul,
.modality-actions {
  position: relative;
  z-index: 1;
}

.modality-card h3 {
  max-width: 24ch;
}

.modality-card p {
  color: var(--ink-500);
  font-size: 0.95rem;
}

.modality-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(237, 242, 237, 0.92);
  color: var(--ink-700);
  border: 1px solid rgba(10, 92, 31, 0.08);
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}

.meta-pill:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.modality-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* ============================================================
   19. VIDEO SPOTLIGHT — CINEMATIC
   ============================================================ */

.video-spotlight {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  box-shadow:
    var(--shadow-strong),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.video-poster {
  position: relative;
  min-height: 320px;
  display: block;
  background: #f6f4ea;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s var(--ease-standard), filter 0.55s var(--ease-standard);
  overflow: hidden;
}

.video-poster-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Cinematic color grading overlay */
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(8, 24, 18, 0.68), rgba(8, 24, 18, 0.22) 65%, rgba(243, 166, 0, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 24, 18, 0.55) 0%, transparent 50%);
}

.video-spotlight:hover .video-poster {
  transform: scale(1.04);
  filter: saturate(1.12) brightness(1.04);
}

/* Pulsating play button with rings */
.video-play {
  position: absolute;
  inset: auto auto 24px 24px;
  z-index: 1;
  background: #fff;
  color: var(--ink-900);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow:
    var(--shadow-strong),
    0 0 0 0 rgba(255, 255, 255, 0.4);
  animation: pulse-ring 2.4s ease-out infinite;
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s var(--ease-spring);
}

.video-play:hover,
.video-play:focus-visible {
  transform: scale(1.12);
  box-shadow: 0 24px 60px rgba(16, 23, 29, 0.38), 0 0 0 8px rgba(255, 255, 255, 0.18);
  animation: none;
}

/* Floating video tags */
.video-copy {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.video-copy p {
  color: rgba(223, 235, 228, 0.94);
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
  animation: slide-in-right 0.5s var(--ease-spring) both;
}

.video-tag:nth-child(1) { animation-delay: 0.1s; }
.video-tag:nth-child(2) { animation-delay: 0.2s; }
.video-tag:nth-child(3) { animation-delay: 0.3s; }
.video-tag:nth-child(4) { animation-delay: 0.4s; }

.video-tag:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ============================================================
   20. TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 52px;
  margin-top: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--brand-soft));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(10, 92, 31, 0.08);
  box-shadow: 0 2px 12px rgba(10, 92, 31, 0.06);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(10, 92, 31, 0.12);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--accent);
}
.timeline-year {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.timeline-content p {
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   21. VALUE CHIPS
   ============================================================ */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.value-chip {
  border-radius: 999px;
  background: rgba(237, 242, 237, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(10, 92, 31, 0.1);
  padding: 11px 14px;
  text-align: center;
  font-weight: 800;
  color: var(--ink-700);
  transition:
    transform 0.25s var(--ease-spring),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.value-chip:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--brand-soft);
  box-shadow: 0 4px 16px var(--glow-brand);
  color: var(--brand-deep);
}

/* ============================================================
   22. SPLIT LAYOUT
   ============================================================ */

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modality-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
}

.modality-hero-mascot {
  margin: 0;
  justify-self: end;
  align-self: end;
}

.modality-hero-mascot img {
  width: min(100%, 320px);
  display: block;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.22));
}

/* ============================================================
   23. ADMISSION STEPS — GLASSMORPHISM
   ============================================================ */

.admission-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admission-step {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease-spring);
}

/* Accent line top */
.admission-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}

.admission-step:hover::before {
  transform: scaleX(1);
}

.admission-step:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-strong), 0 0 30px var(--glow-brand);
}

.step-number {
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   24. FAQ — SMOOTH ACCORDION WITH GRID TECHNIQUE
   ============================================================ */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(16, 23, 29, 0.1);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease-spring);
  position: relative;
}

/* Left accent bar that grows on open */
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 0 2px 2px 0;
  transition: height 0.4s var(--ease-spring);
}

.faq-item.open::before {
  height: 100%;
}

.faq-item.open,
.faq-item:hover {
  box-shadow: var(--shadow-strong);
  border-color: rgba(10, 92, 31, 0.18);
}

.faq-item:hover {
  transform: translateX(3px);
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;
  font-weight: 800;
  color: var(--ink-900);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--brand-deep);
}

/* Rotate + to x */
.faq-trigger .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition:
    transform 0.4s var(--ease-spring),
    background 0.3s ease;
}

.faq-item.open .faq-trigger .faq-icon {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

/* Grid-based smooth accordion */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-spring);
}

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

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel p {
  padding: 0 18px 16px;
  color: var(--ink-500);
}

/* Fallback for browsers that still support max-height approach */
.faq-panel.legacy-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-spring);
  display: block;
}

.faq-item.open .faq-panel.legacy-accordion {
  max-height: 280px;
}

/* ============================================================
   25. GALLERY — MASONRY + CLIP-PATH REVEAL
   ============================================================ */

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
}

/* Masonry-like varied heights */
.gallery-grid figure:nth-child(3n+1) {
  grid-row: span 1;
  min-height: 200px;
}

.gallery-grid figure:nth-child(3n+2) {
  grid-row: span 2;
  min-height: 200px;
}

.gallery-grid figure:nth-child(3n) {
  grid-row: span 1;
  min-height: 200px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #dde6df;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s var(--ease-standard),
    filter 0.55s var(--ease-standard),
    clip-path 0.55s var(--ease-spring);
  clip-path: inset(0);
}

/* Overlay with text that slides up on hover */
.gallery-grid figure figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 22, 18, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease-spring);
  pointer-events: none;
}

.gallery-grid figure figcaption span {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.gallery-grid figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.04);
}

/* Clip-path entrance animation for gallery items */
.gallery-grid figure.reveal {
  clip-path: inset(100% 0 0 0);
}

.gallery-grid figure.reveal.is-visible {
  clip-path: inset(0);
  transition: clip-path 0.65s var(--ease-spring);
}

.gallery-grid figure.is-broken {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f4f6ef 0%, #dee6de 100%);
}

.gallery-grid figure.is-broken::before {
  content: "SUVJ";
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  letter-spacing: 0.08em;
  color: rgba(0, 52, 11, 0.28);
}

.gallery-grid figure.is-broken figcaption {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(0deg, rgba(0, 52, 11, 0.82) 0%, rgba(0, 52, 11, 0.08) 100%);
}

/* ============================================================
   26. CAMPUS SELECTOR — PREMIUM TABS
   ============================================================ */

.campus-wrap {
  display: grid;
  gap: 16px;
  grid-template-columns: 0.9fr 1.1fr;
}

.campus-tabs {
  display: grid;
  gap: 8px;
}

.campus-tab {
  border: 1px solid rgba(16, 23, 29, 0.1);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  color: var(--ink-700);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.78rem;
  position: relative;
  overflow: hidden;
  min-width: 72px;
  transition:
    border-color 0.25s ease,
    transform 0.3s var(--ease-spring),
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.campus-tab-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.25s var(--ease-spring);
}

.campus-tab:hover .campus-tab-logo,
.campus-tab.active .campus-tab-logo {
  transform: scale(1.12);
}

/* Animated underline indicator */
.campus-tab::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform 0.35s var(--ease-spring);
}

.campus-tab.active::after,
.campus-tab:hover::after {
  transform: scaleY(1);
}

.campus-tab.active,
.campus-tab:hover {
  border-color: rgba(10, 92, 31, 0.45);
  transform: translateX(5px);
  box-shadow: var(--shadow-soft), 0 0 20px var(--glow-brand);
  background: rgba(255, 255, 255, 0.98);
  color: var(--brand-deep);
}

/* Smooth slide transition for campus info */
.campus-info,
.campus-map {
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  transition:
    opacity 0.4s var(--ease-spring),
    transform 0.4s var(--ease-spring);
}

.campus-info.is-ready,
.campus-map.is-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.campus-info {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink-900);
}
.campus-info h3 { color: var(--ink-900); }

.campus-meta {
  display: grid;
  gap: 7px;
  font-size: 0.91rem;
  color: var(--ink-500);
}

.campus-meta a {
  margin-top: 4px;
  color: var(--brand-deep);
  font-weight: 800;
  transition: color 0.2s ease;
}

.campus-meta a:hover {
  color: var(--brand);
}

/* Map with rounded corners and shadow */
.campus-map {
  border: 0;
  border-radius: 20px;
  width: 100%;
  min-height: 360px;
  background: #dfe6e0;
  box-shadow: var(--shadow-strong);
  outline: none;
}

.campus-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(0, 52, 11, 0.15));
}

/* ============================================================
   27. TABLE
   ============================================================ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(16, 23, 29, 0.07);
  font-size: 0.92rem;
  vertical-align: top;
}

th {
  background: rgba(237, 242, 237, 0.8);
  color: var(--ink-900);
  font-family: "Unbounded", sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:hover td {
  background: rgba(10, 92, 31, 0.025);
}

/* ============================================================
   28. FORM CARD — GLASSMORPHISM
   ============================================================ */

.form-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  padding: 24px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink-900);
}
.form-card h2, .form-card h3 {
  color: var(--ink-900);
}

.contact-copy-stack {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-copy-stack .section-head {
  margin-bottom: 0;
}

.contact-copy-stack .info-grid {
  margin-top: 0;
}

.contact-side-mascot {
  margin: 8px 0 0;
  justify-self: start;
  align-self: end;
}

.contact-side-mascot img {
  width: min(100%, 340px);
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}
.surface-contrast .form-card .reveal.is-visible h2,
.surface-contrast .form-card .reveal.is-visible h3 {
  animation-name: headingColorMorphDark;
}

.form-kicker {
  margin: -4px 0 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(47, 59, 69, 0.76);
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid rgba(16, 23, 29, 0.14);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.88);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(10, 92, 31, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 92, 31, 0.12);
  background: #fff;
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-span-2 {
  grid-column: span 2;
}

.form-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   29. PAGE HERO — INTERNAL PAGES
   ============================================================ */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(50px, 8vw, 90px) 0 clamp(30px, 4vw, 40px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 380px at 88% 0%, rgba(243, 166, 0, 0.18), rgba(243, 166, 0, 0) 66%),
    radial-gradient(500px 300px at 5% 100%, rgba(10, 92, 31, 0.15), rgba(10, 92, 31, 0) 70%),
    linear-gradient(130deg, rgba(0, 52, 11, 0.98), rgba(14, 45, 54, 0.96));
  animation: gradient-shift 10s ease-in-out infinite alternate;
}

.page-hero p {
  max-width: 70ch;
}

/* ============================================================
   30. BREADCRUMBS
   ============================================================ */

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.84rem;
  color: rgba(238, 244, 240, 0.9);
}

.breadcrumbs a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   31. STATS ROW
   ============================================================ */

.stats-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.stat strong {
  display: block;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Unbounded", sans-serif;
  font-size: 1.25rem;
}

.stat span {
  color: var(--ink-500);
  font-size: 0.88rem;
}

/* ============================================================
   32. FOOTER — MODERN
   ============================================================ */

.footer {
  background: var(--grad-footer);
  color: rgba(226, 235, 229, 0.92);
  padding: 0 0 26px;
  margin-top: 42px;
  position: relative;
  overflow: hidden;
}

/* Animated gradient line at top */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    var(--accent) 30%,
    var(--brand-deep) 60%,
    var(--accent) 80%,
    var(--brand) 100%
  );
  background-size: 200% 100%;
  animation: gradient-shift 5s linear infinite;
}

/* Decorative orb */
.footer::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -150px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 92, 31, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-inner {
  padding-top: 44px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
}

.footer h4 {
  font-family: "Unbounded", sans-serif;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

/* Link underline animation */
.footer a,
.footer p {
  display: block;
  margin: 5px 0;
  font-size: 0.88rem;
  color: rgba(214, 228, 219, 0.9);
  position: relative;
  width: fit-content;
  transition: color 0.25s ease;
}

.footer a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s var(--ease-spring);
}

.footer a:hover {
  color: #fff;
}

.footer a:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(214, 228, 219, 0.7);
  position: relative;
  z-index: 1;
}

/* ============================================================
   33. FLOATING CTA — ANIMATED
   ============================================================ */

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 10px;
  animation: slide-in-right 0.6s var(--ease-spring) both;
  animation-delay: 1.5s;
}

.floating-cta a {
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-strong);
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-cta a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.2) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.floating-cta a:hover::before {
  transform: translateX(100%);
}

.floating-cta a:hover {
  transform: translateY(-3px) scale(1.04);
}

/* WhatsApp with iconic green glow */
.floating-cta .wa {
  background: linear-gradient(135deg, #128C7E 0%, #1d9c64 100%);
  box-shadow: 0 4px 20px rgba(18, 140, 126, 0.45), 0 8px 40px rgba(29, 156, 100, 0.2);
  animation: pulse-glow-green 2.8s ease-in-out infinite;
}

.floating-cta .wa:hover {
  box-shadow: 0 6px 28px rgba(18, 140, 126, 0.65), 0 12px 50px rgba(29, 156, 100, 0.3);
}

.floating-cta .form {
  background: linear-gradient(135deg, #001f08 0%, #12372b 100%);
  box-shadow: var(--shadow-brand);
}

/* ============================================================
   34. MOBILE CTA BAR
   ============================================================ */

.mobile-cta-bar {
  display: none;
}

/* ============================================================
   35. MODAL — PREMIUM OVERLAY
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(9, 16, 14, 0);
  backdrop-filter: blur(0px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease;
}

.modal.open {
  display: flex;
  background: rgba(9, 16, 14, 0.82);
  backdrop-filter: blur(12px);
}

.modal-dialog {
  width: min(980px, 100%);
  background: linear-gradient(160deg, #001f08 0%, #001a07 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: scale-in 0.4s var(--ease-spring) both;
}

/* Enter: 0.35s | Exit: 0.21s — Emil: exit faster than enter */
.modal.open .modal-dialog {
  animation: scale-in 0.35s var(--ease-spring) both;
}

.modal.closing .modal-dialog {
  animation: scale-out 0.21s var(--ease-standard) both;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Close button with rotation on hover */
.modal-close {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition:
    background 0.2s ease,
    transform 0.35s var(--ease-spring);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
}

.video-wrap {
  width: 100%;
  background: #000;
}

.video-wrap video {
  width: 100%;
  display: block;
  max-height: 75vh;
}

/* ============================================================
   36. FALLBACK CARD
   ============================================================ */

.fallback-card {
  width: min(460px, 100%);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 20px;
  box-shadow: var(--shadow-strong);
  display: grid;
  gap: 10px;
}

.fallback-card h3 {
  font-size: 1.1rem;
}

.fallback-card p {
  color: var(--ink-500);
  font-size: 0.92rem;
}

/* ============================================================
   37. TOAST
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  bottom: 24px;
  z-index: 150;
  background: linear-gradient(135deg, #101f18 0%, #122a1f 100%);
  color: #f3f5f4;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease-standard),
    transform 0.25s var(--ease-spring);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ============================================================
   38. REVEAL ANIMATIONS — UPGRADED
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(8px);
  transition:
    opacity var(--duration-xslow) var(--ease-spring),
    transform var(--duration-xslow) var(--ease-spring),
    filter var(--duration-xslow) ease;
  will-change: opacity, transform, filter;
}

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

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.97);
  filter: blur(8px);
  transition:
    opacity var(--duration-xslow) var(--ease-spring),
    transform var(--duration-xslow) var(--ease-spring),
    filter var(--duration-xslow) ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  filter: blur(8px);
  transition:
    opacity var(--duration-xslow) var(--ease-spring),
    transform var(--duration-xslow) var(--ease-spring),
    filter var(--duration-xslow) ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

/* Reveal scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  filter: blur(12px);
  transition:
    opacity var(--duration-xslow) var(--ease-spring),
    transform var(--duration-xslow) var(--ease-bounce),
    filter var(--duration-xslow) ease;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Stagger delays — 1 through 6 */
.delay-1 { transition-delay: 70ms; }
.delay-2 { transition-delay: 140ms; }
.delay-3 { transition-delay: 210ms; }
.delay-4 { transition-delay: 280ms; }
.delay-5 { transition-delay: 360ms; }
.delay-6 { transition-delay: 440ms; }

/* ── Heading color reveal animation ── */
@keyframes headingColorMorphDark {
  0%   { color: var(--accent); }
  50%  { color: var(--accent); }
  100% { color: var(--ink-900); }
}
@keyframes headingColorMorphLight {
  0%   { color: var(--accent); }
  50%  { color: var(--accent); }
  100% { color: #fff; }
}
.reveal.is-visible h2 {
  animation: headingColorMorphDark 1s var(--ease-spring) both;
  animation-delay: 0.1s;
}
.reveal.is-visible h3 {
  animation: headingColorMorphDark 0.9s var(--ease-spring) both;
  animation-delay: 0.05s;
}
/* On dark (green) sections, headings must end white */
.surface-contrast .reveal.is-visible h2,
.page-hero .reveal.is-visible h2 {
  animation-name: headingColorMorphLight;
}
.surface-contrast .reveal.is-visible h3,
.page-hero .reveal.is-visible h3 {
  animation-name: headingColorMorphLight;
}
/* Hover color transition on section headings */
.section-head h2 {
  transition: color 0.25s ease;
}
.section-head h2:hover {
  color: var(--accent);
}

/* ============================================================
   39. MASCOT / IMAGE ANIMATIONS
   ============================================================ */

.float img,
.anim-float img {
  animation: floating 6.2s ease-in-out infinite;
}


/* ============================================================
   40. LOADING SKELETON
   ============================================================ */

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(16, 23, 29, 0.06) 0%,
    rgba(16, 23, 29, 0.12) 50%,
    rgba(16, 23, 29, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 1em;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-text:last-child {
  width: 65%;
}

/* ============================================================
   41. ALL KEYFRAMES
   ============================================================ */

/* Shimmer — left to right shine sweep */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Float — smooth up/down */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Pulse glow — expanding glow ring */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--glow-brand), 0 4px 20px var(--glow-brand);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(10, 92, 31, 0), 0 4px 32px var(--glow-brand-strong);
  }
}

/* Pulse glow for WhatsApp green */
@keyframes pulse-glow-green {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(18, 140, 126, 0.45), 0 0 0 0 rgba(18, 140, 126, 0.35);
  }
  50% {
    box-shadow: 0 4px 28px rgba(18, 140, 126, 0.6), 0 0 0 8px rgba(18, 140, 126, 0);
  }
}

/* Pulse ring for video play button */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5), var(--shadow-strong);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0), var(--shadow-strong);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), var(--shadow-strong);
  }
}

/* Rotate gradient — rotating conic gradient for KPI borders */
@keyframes rotate-gradient {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

/* For browsers that support @property */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Slide in from right */
@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(28px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from left */
@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-28px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale in — Emil: never from scale(0), start subtle */
@keyframes scale-in {
  0% {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* Scale out — exit faster than enter */
@keyframes scale-out {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(3px);
  }
}

/* Blur in */
@keyframes blur-in {
  0% {
    opacity: 0;
    filter: blur(16px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* Wave animation */
@keyframes wave {
  0%, 100% { d: path("M0,60 C200,100 400,20 600,60 C800,100 1000,20 1200,60 L1200,80 L0,80 Z"); }
  50% { d: path("M0,40 C200,20 400,80 600,40 C800,20 1000,80 1200,40 L1200,80 L0,80 Z"); }
}

/* Gradient shift — color shift for gradients */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Spin — 360 deg rotation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Bounce subtle — gentle bounce */
@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-8px); }
  40% { transform: translateY(-3px); }
  60% { transform: translateY(-6px); }
  80% { transform: translateY(-1px); }
}

/* Clip reveal */
@keyframes clip-reveal {
  0% { clip-path: inset(100% 0 0 0); }
  100% { clip-path: inset(0% 0 0 0); }
}

/* Text glow — text shadow pulse */
@keyframes text-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(10, 92, 31, 0), 0 2px 12px rgba(16, 23, 29, 0.08); }
  50% { text-shadow: 0 0 30px rgba(10, 92, 31, 0.3), 0 0 60px rgba(10, 92, 31, 0.15), 0 2px 12px rgba(16, 23, 29, 0.08); }
}

/* Border dance — animated border gradient */
@keyframes border-dance {
  0% { background-position: 0% 0%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

/* Mesh shift — body background animation */
@keyframes meshShift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
  50% {
    background-position: 15% 10%, 88% 8%, 45% 95%;
  }
  100% {
    background-position: 5% 5%, 95% 3%, 55% 100%;
  }
}

/* Ken Burns effect */
@keyframes kenBurns {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

/* Hero drift — original preserved + enhanced */
@keyframes heroDrift {
  0%, 100% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.1) translate3d(-1%, -0.8%, 0);
  }
}

/* Mascot animations — original preserved */
@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


/* ============================================================
   42. RESPONSIVE — 1050px
   ============================================================ */

@media (max-width: 1050px) {
  .hero-intro-grid,
  .video-spotlight,
  .split,
  .campus-wrap {
    grid-template-columns: 1fr;
  }

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

  .modalities-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .video-spotlight {
    overflow: hidden;
  }

  .video-poster {
    min-height: 280px;
  }
}

/* ============================================================
   43. RESPONSIVE — 860px
   ============================================================ */

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand img {
    height: 44px;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(16, 23, 29, 0.1);
    box-shadow: 0 12px 40px rgba(16, 23, 29, 0.12);
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.32s var(--ease-spring),
      opacity 0.32s var(--ease-standard);
    max-height: none;
    overflow: visible;
    z-index: 980;
  }

  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 10px 1.1rem 1rem;
    gap: 2px;
  }

  .nav-item {
    height: auto;
    display: block;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 12px 8px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 6px 4px 0;
  }

  .mega-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    margin-top: 2px;
    border-radius: 16px;
    box-shadow: none;
    backdrop-filter: none;
    background: rgba(247, 250, 248, 0.95);
  }

  .nav-item.mega.open .mega-panel {
    display: block;
  }

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

  .kpi-grid,
  .stats-row,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .floating-cta {
    display: none;
  }

  .mobile-cta-bar {
    position: fixed;
    z-index: 75;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(16, 23, 29, 0.1);
    box-shadow: 0 -4px 24px rgba(16, 23, 29, 0.08);
  }

  .mobile-cta-bar a {
    text-align: center;
    padding: 13px;
    font-size: 0.86rem;
    font-weight: 800;
    transition: background 0.2s ease;
  }

  .mobile-cta-bar a:hover {
    background: rgba(10, 92, 31, 0.05);
  }

  .mobile-cta-bar a:first-child {
    color: #0f8a56;
  }

  .mobile-cta-bar a:last-child {
    color: #12372b;
    border-left: 1px solid rgba(16, 23, 29, 0.1);
  }

  main {
    padding-bottom: 58px;
  }

  /* Reduce blur on mobile for performance */
  .proof-card,
  .info-card,
  .modality-card,
  .form-card {
    backdrop-filter: blur(10px);
  }
}

/* ============================================================
   44. RESPONSIVE — 640px
   ============================================================ */

@media (max-width: 640px) {
  .container,
  .header-inner {
    width: min(var(--content-max), calc(100% - 1.3rem));
  }

  .hero {
    min-height: 56svh;
  }

  .kpi-grid,
  .admission-grid,
  .stats-row,
  .value-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .form-span-2 {
    grid-column: span 1;
  }

  .modality-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-card,
  .info-card,
  .form-card,
  .modality-card,
  .admission-step,
  .campus-info,
  .kpi-item {
    padding: 18px;
  }

  /* Gallery fallback on mobile: no masonry */
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }

  .gallery-grid figure:nth-child(3n+1),
  .gallery-grid figure:nth-child(3n+2),
  .gallery-grid figure:nth-child(3n) {
    grid-row: span 1;
  }

  h1 {
    font-size: clamp(1.85rem, 7vw, 2.8rem);
  }

  .kpi-item strong {
    font-size: 1.35rem;
  }
}

/* ============================================================
   45. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .campus-info,
  .campus-map {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero::before {
    animation: none;
  }

  body {
    animation: none;
  }

  .scroll-progress {
    animation: none;
  }

  .floating-cta {
    animation: none;
  }

  .kpi-item::before {
    animation: none;
  }

  .modality-card::before {
    animation: none;
  }

  .modality-card::after {
    animation: none;
  }

  .btn-glow {
    animation: none;
  }

  .floating-cta .wa {
    animation: none;
  }

  .modality-badge {
    animation: none;
  }

  .video-play {
    animation: none;
  }
}

/* ============================================================
   46. EXTRA UTILITY CLASSES
   ============================================================ */

/* Animated gradient text heading */
.heading-glow {
  animation: text-glow 3s ease-in-out infinite;
}

/* Entrance from right helper */
.enter-right {
  animation: slide-in-right 0.6s var(--ease-spring) both;
}

/* Entrance from left helper */
.enter-left {
  animation: slide-in-left 0.6s var(--ease-spring) both;
}

/* Blur in helper */
.enter-blur {
  animation: blur-in 0.7s var(--ease-spring) both;
}

/* Generic float helper */
.floating {
  animation: float 6s ease-in-out infinite;
}

/* Spin helper */
.spinning {
  animation: spin 1s linear infinite;
}

/* Bounce helper */
.bouncing {
  animation: bounce-subtle 0.8s var(--ease-bounce);
}

/* ============================================================
   47. CONTAINER QUERIES (where supported)
   ============================================================ */

/* Allow cards to adapt in narrow containers */
@container (max-width: 400px) {
  .kpi-item strong {
    font-size: 1.2rem;
  }

  .modality-card {
    padding: 16px;
  }

  .info-card {
    padding: 16px;
  }
}

/* ============================================================
   48. MODERN :has() ENHANCEMENTS (progressive)
   ============================================================ */

/* Header with open nav gets no backdrop filter on mobile */
@supports selector(:has(*)) {
  .site-header:has(+ .primary-nav.open) {
    box-shadow: none;
  }

  /* Form with invalid fields shows subtle red glow */
  .form-field:has(input:invalid:not(:placeholder-shown)) label {
    color: #c0392b;
  }

  .form-field:has(input:invalid:not(:placeholder-shown)) input {
    border-color: rgba(192, 57, 43, 0.5);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
  }

  /* FAQ item trigger gets accent color when open */
  .faq-item:has(.faq-panel[style*="1fr"]) .faq-trigger {
    color: var(--brand-deep);
  }
}

/* ============================================================
   49. HOVER GATE — Emil Kowalski principle:
       Touch devices falsely fire :hover on tap.
       Gate all transform/scale hover effects behind
       @media (hover: hover) and (pointer: fine)
   ============================================================ */

@media (hover: hover) and (pointer: fine) {

  /* Cards */
  .proof-card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(10, 92, 31, 0.16);
  }

  .modality-card:hover {
    transform: translateY(-6px) scale(1.005);
    box-shadow: var(--shadow-strong), 0 0 40px var(--glow-brand);
    border-color: rgba(10, 92, 31, 0.22);
  }

  .kpi-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong), 0 0 24px var(--glow-brand);
  }

  .admission-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
  }

  .campus-tab:hover {
    transform: translateX(3px);
  }

  .mega-link:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(10, 92, 31, 0.3);
  }

  /* Gallery */
  .gallery-grid figure:hover img {
    transform: scale(1.06);
    filter: saturate(1.08);
  }

  .gallery-grid figure:hover .gallery-overlay {
    opacity: 1;
  }

  /* Video spotlight */
  .video-spotlight:hover .video-poster {
    transform: scale(1.03);
    filter: saturate(1.06);
  }

  /* Eyebrow shimmer */
  .eyebrow:hover::before {
    transform: translateX(100%);
  }

  /* Filter chips */
  .filter-chip:hover {
    border-color: rgba(10, 92, 31, 0.5);
    color: var(--brand-deep);
    background: var(--brand-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--glow-brand);
  }

  /* Brand logo */
  .brand:hover {
    transform: scale(1.02);
  }

  /* Menu toggle */
  .menu-toggle:hover {
    transform: scale(1.05);
    background: #fff;
  }

  /* Footer links */
  .footer a:hover {
    color: #fff;
    transform: translateX(3px);
    display: inline-block;
  }

  /* Timeline items */
  .timeline-item:hover {
    transform: translateX(4px);
    border-color: rgba(10, 92, 31, 0.25);
    box-shadow: var(--shadow-strong);
  }

  /* Modal close button */
  .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
  }
}

/* ============================================================
   EOF — Sistema Educativo Jose Vasconcelos Premium CSS v2.0
   ============================================================ */

/* ── Value chips + popup ── */
.value-chip {
  cursor: pointer;
  position: relative;
  user-select: none;
}
.value-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.value-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  transform-origin: bottom center;
  background: rgba(0, 52, 11, 0.95);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  color: #fff;
  border: 1px solid rgba(243, 166, 0, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  width: 240px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity 180ms cubic-bezier(0.16,1,0.3,1),
              transform 180ms cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.value-popup.is-open {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}
.value-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 52, 11, 0.95);
}
.value-popup strong {
  display: block;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* ── Velada Video ── */
.velada-video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.velada-video {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.velada-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.velada-video-caption strong {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  color: var(--accent);
}
.velada-video-caption span {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* ── Split word reveal ── */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.65s var(--ease-spring),
    opacity 0.4s ease;
}
.is-visible .word-inner {
  transform: translateY(0);
  opacity: 1;
}
/* Stagger each word */
.word-wrap:nth-child(1) .word-inner  { transition-delay: 0.05s; }
.word-wrap:nth-child(2) .word-inner  { transition-delay: 0.1s; }
.word-wrap:nth-child(3) .word-inner  { transition-delay: 0.15s; }
.word-wrap:nth-child(4) .word-inner  { transition-delay: 0.2s; }
.word-wrap:nth-child(5) .word-inner  { transition-delay: 0.25s; }
.word-wrap:nth-child(6) .word-inner  { transition-delay: 0.3s; }
.word-wrap:nth-child(7) .word-inner  { transition-delay: 0.35s; }
.word-wrap:nth-child(8) .word-inner  { transition-delay: 0.4s; }
.word-wrap:nth-child(9) .word-inner  { transition-delay: 0.45s; }
.word-wrap:nth-child(10) .word-inner { transition-delay: 0.5s; }

/* ── Pepe Teco decorative ── */
.pepe-faq {
  display: none;
  width: 90px;
  position: absolute;
  left: 24px;
  bottom: 24px;
  opacity: 0.15;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}
#faq-home:hover .pepe-faq {
  opacity: 0.4;
}
.pepe-cta {
  display: none;
  width: 90px;
  margin-top: 20px;
  opacity: 0.85;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  pointer-events: none;
}
@media (min-width: 860px) {
  .pepe-faq { display: block; }
  .pepe-cta { display: block; }
}
@media (min-width: 1100px) {
  .pepe-faq {
    width: 110px;
    left: 40px;
    bottom: 30px;
  }
}

/* ============================================================
   50. SUVJ REFINEMENT OVERRIDES
   ============================================================ */

h1,
h2,
h3,
h4 {
  text-shadow: none;
  font-weight: 800;
}

.surface-white h1,
.surface-white h2,
.surface-white h3,
.surface-white h4,
.kpi-band h1,
.kpi-band h2,
.kpi-band h3,
.kpi-band h4 {
  color: var(--brand-deep);
}

.section-copy {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.78;
}

.accent-word {
  color: var(--accent);
  background: transparent;
  padding: 0;
}

h2:hover .accent-word,
h3:hover .accent-word,
.surface-contrast h2:hover .accent-word,
.surface-contrast h3:hover .accent-word {
  color: var(--accent);
  background: transparent;
  padding: 0;
}

.section-head h2:hover {
  color: inherit;
}

.reveal.is-visible h1,
.reveal.is-visible h2,
.reveal.is-visible h3,
.reveal.is-visible h4,
.surface-contrast .reveal.is-visible h2,
.surface-contrast .reveal.is-visible h3,
.page-hero .reveal.is-visible h2,
.page-hero .reveal.is-visible h3 {
  animation: none !important;
}

.hero {
  min-height: auto;
  background: #fff;
}

.hero::before,
.hero::after,
.hero-particles {
  display: none !important;
}

.hero-media {
  position: relative;
  z-index: 1;
  background: #fff;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

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

.hero-intro-grid {
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.proof-card,
.info-card,
.admission-step,
.modality-card,
.kpi-item {
  transform: none;
}

.proof-card:hover,
.info-card:hover,
.admission-step:hover,
.modality-card:hover,
.kpi-item:hover {
  transform: translateY(-4px);
}

.section-head-centered {
  margin-inline: auto;
  text-align: center;
}

.section-head-centered::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.value-proposition-section {
  padding-top: clamp(44px, 5vw, 70px);
}

.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.value-prop-card {
  background: #f9fbfa;
  border: 1px solid rgba(12, 59, 46, 0.08);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.value-prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.value-prop-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(243, 166, 0, 0.14);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.value-prop-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-prop-card h3 {
  color: var(--brand-deep);
  font-size: 1.18rem;
}

.value-prop-card p {
  color: var(--ink-500);
  font-size: 1rem;
}

.section-head-with-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  gap: 28px;
  align-items: end;
}

.section-head-with-art .section-head {
  margin-bottom: 0;
}

.section-head-art {
  display: flex;
  justify-content: center;
  align-items: end;
}

.section-head-art img {
  width: min(100%, 240px);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.24));
}

.modality-card::after {
  display: none;
}

.modality-card h3,
.modality-card .modality-name {
  color: var(--accent);
}

.campus-wrap {
  grid-template-columns: 320px minmax(0, 1fr);
}

.campus-tabs {
  display: grid;
  gap: 12px;
}

.campus-tab {
  justify-content: flex-start;
  text-align: left;
  padding: 18px 20px;
  font-size: 0.95rem;
}

.campus-tab span {
  font-family: "Unbounded", sans-serif;
  font-size: 0.88rem;
  line-height: 1.35;
}

.campus-tab.active,
.campus-tab:hover {
  transform: translateX(2px);
}

.campus-info {
  gap: 16px;
}

.campus-info-header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 92, 31, 0.12);
}

.campus-address {
  color: var(--ink-500);
  margin-top: 4px;
}

.campus-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
}

.campus-map {
  min-height: 420px;
}

.vision-academica-section {
  padding-block: clamp(54px, 7vw, 88px);
}

.vision-academica-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: center;
}

.vision-mascot img {
  width: min(100%, 340px);
  margin-inline: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.34));
}

.vision-content h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
  margin-bottom: 18px;
}

.vision-content .section-copy {
  color: rgba(232, 240, 235, 0.92);
  max-width: 56ch;
}

.vision-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.vision-stat {
  padding: 20px 16px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(243, 166, 0, 0.32);
  backdrop-filter: blur(10px);
}

.vision-stat strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.vision-stat span {
  display: block;
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mission-vision-section .form-card {
  min-height: 100%;
}

.legacy-values-section {
  overflow: hidden;
}

.legacy-values-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
}

.legacy-values-copy h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  margin-bottom: 18px;
}

.legacy-values-copy .section-copy {
  max-width: 34ch;
  color: rgba(232, 240, 235, 0.9);
}

.legacy-values-section .value-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}

.value-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 16px;
  overflow: hidden;
}

.value-question {
  width: 100%;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.value-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.value-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}

.value-item.open .value-answer {
  max-height: 220px;
  padding: 0 1.25rem 1rem;
}

.value-answer p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.model-cta-card {
  max-width: 820px;
  margin-inline: auto;
}

#faq-home {
  overflow: hidden;
  padding-bottom: clamp(140px, 18vw, 220px);
}

#faq-home .container {
  position: relative;
  z-index: 1;
}

.pepe-faq {
  display: block;
  width: clamp(180px, 24vw, 320px);
  right: clamp(18px, 4vw, 56px);
  left: auto;
  bottom: 0;
  opacity: 0.92;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.14));
}

#faq-home:hover .pepe-faq {
  opacity: 1;
}

.pepe-cta {
  display: none !important;
}

.footer {
  background: #fcfcf6;
  color: var(--ink-900);
  padding: 0 0 30px;
}

.footer::before,
.footer::after {
  display: none;
}

.footer-inner {
  padding-top: 44px;
}

.footer-grid {
  gap: 24px;
}

.footer h4 {
  color: var(--brand-deep);
  font-size: 1.08rem;
}

.footer h4::after {
  width: 36px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.footer a,
.footer p {
  color: rgba(16, 23, 29, 0.78);
  width: auto;
}

.footer a:hover {
  color: var(--brand-deep);
}

.footer-brand-copy strong {
  color: var(--brand-deep);
}

.footer-brand-copy small {
  color: var(--ink-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 24px;
  border-top: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-deep), #0e4c18);
  color: #fff;
}

.footer-bottom span:last-child {
  color: rgba(255, 241, 210, 0.96);
  font-weight: 700;
}

.velada-video-caption {
  gap: 8px;
}

.velada-video-caption a {
  width: fit-content;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1050px) {
  .value-prop-grid,
  .vision-stats,
  .legacy-values-section .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head-with-art,
  .vision-academica-grid,
  .legacy-values-grid,
  .campus-wrap {
    grid-template-columns: 1fr;
  }

  .section-head-art {
    justify-content: flex-start;
  }

  .section-head-art img {
    width: 190px;
  }
}

@media (max-width: 860px) {
  .campus-tab {
    padding: 14px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .value-prop-grid,
  .vision-stats,
  .legacy-values-section .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-wave svg {
    height: 46px;
  }

  .section-head-art {
    justify-content: center;
  }

  .pepe-faq {
    width: 180px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    opacity: 0.24;
  }

  #faq-home:hover .pepe-faq {
    opacity: 0.24;
  }

  .campus-info-header {
    align-items: flex-start;
  }
}

/* ============================================================
   51. SUVJ FINAL REFINEMENTS
   ============================================================ */

main {
  min-height: 0;
}

.hero {
  margin-bottom: 0;
}

.hero-media {
  height: clamp(360px, 42vw, 620px);
  min-height: 0;
  overflow: hidden;
  line-height: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hero-wave {
  margin-top: -1px;
}

.hero-wave svg {
  height: clamp(28px, 4.6vw, 54px);
}

#propuesta-valor {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at top right, rgba(243, 166, 0, 0.1), transparent 28%),
    linear-gradient(135deg, #00340b 0%, #054615 52%, #0b5f1c 100%);
}

#propuesta-valor .section-head h2,
#propuesta-valor .section-head p,
#propuesta-valor .section-head-centered h2 {
  color: #fff;
}

#propuesta-valor .section-head-centered::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), var(--accent));
}

#propuesta-valor .value-prop-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

#propuesta-valor .value-prop-card p {
  color: var(--ink-700);
}

.modality-mascot-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(243, 166, 0, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #093b13 0%, #0f5a1f 100%);
  border: 1px solid rgba(243, 166, 0, 0.22);
  box-shadow: var(--shadow-strong);
}

.modality-mascot-card::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(243, 166, 0, 0.12);
  filter: blur(6px);
}

.modality-mascot-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.modality-mascot-card h3 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.modality-mascot-card p {
  color: rgba(232, 240, 235, 0.9);
  margin: 0;
}

.modality-mascot-card img {
  position: relative;
  z-index: 1;
  width: min(100%, 240px);
  justify-self: center;
  align-self: end;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

#universidad-video .video-spotlight,
#system-video .video-spotlight {
  background: #fff;
  border: 1px solid rgba(10, 92, 31, 0.12);
  box-shadow: 0 22px 54px rgba(16, 23, 29, 0.14);
}

#universidad-video .video-copy,
#system-video .video-copy {
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
}

#universidad-video .video-copy h3,
#system-video .video-copy h3 {
  color: var(--brand-deep);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

#universidad-video .video-copy p,
#system-video .video-copy p {
  color: rgba(0, 52, 11, 0.72);
}

#universidad-video .video-poster {
  background: linear-gradient(180deg, #f7f3e7 0%, #f4f5ef 100%);
}

#universidad-video .video-poster .video-poster-media {
  object-fit: contain;
  object-position: center;
}

#universidad-video .video-poster::after,
#system-video .video-poster::after {
  content: none;
}

#system-video .video-spotlight {
  margin-top: 8px;
}

#universidad-video .video-spotlight:hover .video-poster,
#system-video .video-spotlight:hover .video-poster {
  transform: none;
  filter: none;
}

#universidad-video .video-play,
#system-video .video-play {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

#universidad-video .video-play:hover,
#universidad-video .video-play:focus-visible,
#system-video .video-play:hover,
#system-video .video-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-poster--brand {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f2 100%);
}

.video-poster-brandstage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 48px);
}

.video-brand-logo {
  width: min(68%, 340px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 52, 11, 0.12));
}

.faq-shell {
  display: grid;
  gap: 18px;
}

.faq-shell-head {
  max-width: 700px;
}

#faq-home,
#admisiones-faq {
  overflow: visible;
  padding-bottom: clamp(60px, 8vw, 90px);
}

#faq-home {
  padding-bottom: clamp(34px, 5vw, 56px);
}

.faq-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 25vw);
  gap: clamp(14px, 2.2vw, 24px);
  align-items: start;
}

.faq-stage .faq-list {
  margin: 0;
}

.faq-mascot {
  margin: 0;
  align-self: end;
  justify-self: end;
}

.faq-mascot img {
  width: clamp(250px, 24vw, 380px);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.18));
}

#contacto-fast .split {
  align-items: start;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(26px, 3.2vw, 42px);
}

#contacto-fast .contact-copy-stack {
  min-height: clamp(540px, 44vw, 620px);
  grid-template-rows: auto auto auto auto 1fr auto;
}

#contacto-fast .form-card {
  align-self: start;
  min-height: clamp(540px, 44vw, 620px);
}

.footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.footer-bottom a {
  color: rgba(255, 241, 210, 0.96);
  font-weight: 700;
}

.footer-bottom a:hover {
  color: #fff;
}

.vision-content h2 {
  color: #fff;
}

.vision-content .section-copy {
  color: rgba(232, 240, 235, 0.9);
}

.surface-white.vision-academica-section {
  background: #fcfcf6;
}

.surface-white.vision-academica-section .vision-content h2,
.surface-white.vision-academica-section .eyebrow {
  color: var(--brand-deep);
}

.surface-white.vision-academica-section .section-copy {
  color: rgba(0, 52, 11, 0.74);
}

.surface-white.vision-academica-section .vision-stat {
  background: rgba(6, 70, 21, 0.04);
  border: 1px solid rgba(243, 166, 0, 0.28);
  box-shadow: 0 16px 34px rgba(12, 28, 20, 0.08);
}

.surface-white.vision-academica-section .vision-stat span {
  color: rgba(0, 52, 11, 0.74);
}

.surface-white.vision-academica-section .vision-mascot img {
  filter: drop-shadow(0 18px 32px rgba(12, 28, 20, 0.18));
}

.crm-embed-shell {
  min-height: 0;
  height: 760px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 92, 31, 0.1);
  box-shadow: 0 24px 54px rgba(16, 23, 29, 0.14);
}

.crm-embed-shell iframe {
  display: block;
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 0;
  background: #fff;
}

.crm-embed-shell--compact {
  height: 470px;
}

.crm-embed-shell--compact iframe {
  height: 100%;
}

.crm-embed-shell--full {
  height: 760px;
}

.crm-embed-shell--full iframe {
  height: 100%;
}

.video-modal-support {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.video-modal-note {
  margin: 0;
  color: rgba(0, 52, 11, 0.72);
  font-size: 0.95rem;
}

.video-modal-note[data-state="error"] {
  color: #8f2f1a;
}

.cta-face-layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(20px, 5vw, 54px);
  align-items: end;
}

.cta-face-mascot {
  margin: 0;
  align-self: end;
  justify-self: end;
}

.cta-face-mascot img {
  width: min(100%, 300px);
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
}

#why-jose .reveal.is-visible h2,
#why-jose .reveal.is-visible h3 {
  animation: none !important;
}

#why-jose .reveal,
#why-jose .reveal * {
  animation: none !important;
}

#why-jose .section-head h2,
#why-jose .info-card h3 {
  color: var(--brand-deep) !important;
  transition: none !important;
}

#why-jose .section-head h2:hover,
#why-jose .info-card h3:hover {
  color: var(--brand-deep) !important;
}

#why-jose .section-head .accent-word,
#why-jose .info-card .accent-word {
  color: var(--accent) !important;
}

#why-jose h2:hover .accent-word,
#why-jose h3:hover .accent-word {
  color: var(--accent) !important;
}

@media (max-width: 980px) {
  .reason-intro-grid,
  .modality-hero-layout {
    grid-template-columns: 1fr;
  }

  .proof-mascot,
  .reason-mascot,
  .modality-hero-mascot,
  .contact-side-mascot {
    justify-self: center;
  }

  .reason-mascot img,
  .modality-hero-mascot img {
    width: min(100%, 260px);
  }
}

@media (max-width: 640px) {
  .proof-mascot img,
  .reason-mascot img,
  .contact-side-mascot img,
  .modality-hero-mascot img {
    width: min(100%, 220px);
  }
}

.mission-vision-section {
  padding-top: 18px;
}

.mission-card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(9, 59, 19, 0.92), rgba(4, 48, 13, 0.96));
  border: 1px solid rgba(243, 166, 0, 0.18);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.2);
}

.mission-card h2,
.mission-card h3 {
  color: var(--accent);
}

.mission-card .section-copy {
  color: rgba(232, 240, 235, 0.92);
}

.legacy-values-section {
  padding-top: clamp(40px, 6vw, 72px);
}

.legacy-values-section .value-item {
  background: rgba(255, 255, 255, 0.1);
}

.legacy-values-section .value-question {
  color: var(--accent);
}

.legacy-values-section .value-answer p {
  color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 1050px) {
  .faq-stage {
    grid-template-columns: 1fr;
  }

  .faq-mascot {
    justify-self: center;
  }

  .cta-face-layout {
    grid-template-columns: 1fr;
  }

  .cta-face-mascot {
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .primary-nav {
    inset: calc(var(--header-h) + 8px) 14px auto;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(16, 23, 29, 0.08);
    border-radius: 22px;
    transform: translateY(-16px) scale(0.985);
    box-shadow: 0 20px 50px rgba(16, 23, 29, 0.18);
    max-height: none;
    overflow: visible;
    height: auto;
    z-index: 1250;
  }

  .primary-nav.open {
    transform: translateY(0) scale(1);
  }

  .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 16px 18px;
    gap: 0;
  }

  .nav-link {
    color: var(--brand-deep);
    font-size: 0.94rem;
    padding: 10px 10px;
    border-bottom: 1px solid rgba(16, 23, 29, 0.08);
    min-height: 40px;
    text-align: center;
    justify-content: center;
  }

  .nav-cta {
    margin: 10px 0 0;
  }

  .nav-cta .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    text-align: center;
  }

  .mega-panel {
    margin-top: 10px;
    border: 1px solid rgba(16, 23, 29, 0.06);
    background: #f7fbf7;
  }

  .hero-media {
    height: clamp(230px, 55vw, 320px);
    min-height: 0;
  }

  #universidad-video .video-spotlight,
  #system-video .video-spotlight {
    grid-template-columns: 1fr;
  }

  .hero-wave svg {
    height: clamp(20px, 6vw, 34px);
  }

  main {
    padding-bottom: 0;
  }

  .footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .crm-embed-shell--compact {
    height: 430px;
  }

  .crm-embed-shell--full {
    height: 680px;
  }

  .faq-shell {
    gap: 18px;
  }

  .contact-side-mascot img {
    width: min(100%, 340px);
  }

  #contacto-fast .contact-copy-stack,
  #contacto-fast .form-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero-media img {
    object-position: center 45%;
  }

  .hero-media {
    height: clamp(214px, 54vw, 280px);
  }

  .primary-nav {
    inset: calc(var(--header-h) + 6px) 10px auto;
  }

  .nav-link {
    padding: 9px 8px;
    min-height: 38px;
  }

  .modality-mascot-card {
    padding: 22px 20px 16px;
  }

  .faq-mascot img {
    width: min(82vw, 280px);
  }

  #faq-home .faq-shell {
    gap: 10px;
  }

  #contacto-fast .split {
    grid-template-columns: 1fr;
  }

  .crm-embed-shell,
  .crm-embed-shell iframe,
  .crm-embed-shell--compact,
  .crm-embed-shell--compact iframe {
    min-height: 0;
  }

  .crm-embed-shell--compact {
    height: 390px;
  }

  .crm-embed-shell--full {
    height: 620px;
  }

  .video-modal-support {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-face-mascot img {
    width: min(72vw, 230px);
  }

  .video-brand-logo {
    width: min(74vw, 260px);
  }
}
