@layer reset, tokens, base, components, layout, motion, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
  ul, ol { padding: 0; }
  img, picture { max-width: 100%; display: block; }
  button, input, textarea, select { font: inherit; }
  button { color: inherit; }
  a { color: inherit; }
}

@layer tokens {
  :root {
    --brand-blue: #002E81;
    --brand-blue-dark: #001D54;
    --brand-blue-ink: #071D42;
    --brand-gold: #DA9500;
    --brand-gold-soft: #FFF4D6;
    --white: #FFFFFF;
    --ink: #0A1C3A;
    --muted: #58677D;
    --muted-2: #728097;
    --soft: #F5F8FD;
    --soft-blue: #EDF4FF;
    --line: #DCE5F0;
    --blue-04: rgba(0, 46, 129, 0.04);
    --blue-08: rgba(0, 46, 129, 0.08);
    --blue-12: rgba(0, 46, 129, 0.12);
    --blue-18: rgba(0, 46, 129, 0.18);
    --gold-10: rgba(218, 149, 0, 0.10);
    --gold-16: rgba(218, 149, 0, 0.16);
    --gold-24: rgba(218, 149, 0, 0.24);
    --shadow-xs: 0 8px 20px rgba(0, 46, 129, 0.06);
    --shadow-sm: 0 14px 34px rgba(0, 46, 129, 0.10);
    --shadow-md: 0 28px 70px rgba(0, 46, 129, 0.16);
    --shadow-lg: 0 42px 100px rgba(0, 29, 84, 0.22);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --radius-xl: 48px;
    --shell: min(1220px, calc(100% - 48px));
    --font-display: "Bungee", "Arial Black", sans-serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --header-height: 86px;
    --ease-out: cubic-bezier(.22, .75, .28, 1);
  }
}

@layer base {
  html { background: var(--white); overflow-x: clip; }

  body {
    min-width: 320px;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-body);
    line-height: 1.62;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  body.menu-open { overflow: hidden; }

  h1, h2, h3 {
    color: var(--brand-blue);
    line-height: 1.07;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  h1 {
    font-size: clamp(2.55rem, 5.4vw, 5.35rem);
    max-width: 14ch;
  }

  h2 { font-size: clamp(2rem, 3.8vw, 3.55rem); }
  h3 { font-size: clamp(1.15rem, 1.4vw, 1.4rem); }
  p { color: var(--muted); }

  .shell { width: var(--shell); margin-inline: auto; }
  .section { padding: clamp(78px, 9vw, 132px) 0; }
  .section--soft { background: var(--soft); }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    transform: translateY(-180%);
    background: var(--brand-gold);
    color: var(--brand-blue-dark);
    font-weight: 900;
    padding: 10px 15px;
    border-radius: 12px;
    transition: transform 160ms ease;
  }
  .skip-link:focus { transform: translateY(0); }

  :focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 4px;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-family: var(--font-display);
    font-size: .72rem;
    letter-spacing: .08em;
    margin-bottom: 18px;
  }

  .eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 99px;
    background: var(--brand-gold);
  }

  .eyebrow--light { color: white; }

  .icon {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
  }
}

@layer components {
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 23px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition:
      transform 220ms var(--ease-out),
      box-shadow 220ms var(--ease-out),
      background 220ms ease,
      color 220ms ease,
      border-color 220ms ease;
  }

  .button:hover { transform: translateY(-3px); }
  .button__icon { width: 17px; height: 17px; transition: transform 220ms var(--ease-out); }
  .button:hover .button__icon { transform: translateX(4px); }

  .button--gold {
    background: var(--brand-gold);
    color: var(--brand-blue-dark);
    box-shadow: 0 14px 30px rgba(218, 149, 0, .22);
  }
  .button--gold:hover { box-shadow: 0 18px 38px rgba(218, 149, 0, .34); }

  .button--blue {
    background: var(--brand-blue);
    color: white;
    box-shadow: 0 14px 30px rgba(0, 46, 129, .20);
  }

  .button--outline {
    border: 1.5px solid rgba(0, 46, 129, .28);
    color: var(--brand-blue);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(10px);
  }
  .button--outline:hover { border-color: var(--brand-blue); background: white; }

  .button--white { background: white; color: var(--brand-blue); }

  .button--ghost {
    color: white;
    border: 1px solid rgba(255,255,255,.34);
    background: rgba(255,255,255,.08);
  }
  .button--ghost:hover { background: rgba(255,255,255,.15); }

  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-blue);
    text-decoration: none;
    font-size: .86rem;
    font-weight: 900;
  }
  .text-link .icon { width: 17px; transition: transform 180ms var(--ease-out); }
  .text-link:hover .icon { transform: translateX(5px); }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px) saturate(150%);
    transition:
      box-shadow 220ms ease,
      border-color 220ms ease,
      background 220ms ease;
  }

  .site-header.is-scrolled {
    border-color: rgba(220, 229, 240, .9);
    box-shadow: 0 9px 30px rgba(0,46,129,.08);
    background: rgba(255, 255, 255, .985);
  }

  .scroll-progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--brand-gold);
    pointer-events: none;
  }

  .site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: min-height 220ms ease;
  }

  .is-scrolled .site-header__inner { min-height: 74px; }

  .brand { flex: 0 0 auto; display: block; }
  .brand img {
    width: 208px;
    height: auto;
    transition: width 220ms var(--ease-out);
  }
  .is-scrolled .brand img { width: 190px; }

  .site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.55vw, 24px);
  }

  .site-nav__link {
    position: relative;
    color: var(--ink);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
    padding-block: 12px;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    height: 3px;
    border-radius: 99px;
    background: var(--brand-blue);
    left: 50%;
    right: 50%;
    bottom: 3px;
    transition: left 180ms ease, right 180ms ease;
  }
  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after { left: 0; right: 0; }

  .site-nav__cta { min-height: 44px; padding-inline: 19px; }

  .menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: white;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) {
    width: 21px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 9px;
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section-heading { max-width: 820px; margin-bottom: 46px; }
  .section-heading > p { margin-top: 18px; max-width: 720px; font-size: 1.03rem; }
  .section-heading--center { text-align: center; margin-inline: auto; }
  .section-heading--center .eyebrow { justify-content: center; }
  .section-heading--center > p { margin-inline: auto; }
  .section-heading--split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
  }
  .section-heading--split > div:first-child { max-width: 780px; }

  .pillar-card {
    position: relative;
    min-height: 306px;
    padding: 30px 28px 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    isolation: isolate;
    transition:
      transform 300ms var(--ease-out),
      box-shadow 300ms var(--ease-out),
      border-color 300ms ease;
  }
  .pillar-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -72px;
    top: -78px;
    border-radius: 50%;
    background: var(--blue-08);
    z-index: -1;
    transition: transform 380ms var(--ease-out);
  }
  .pillar-card:nth-child(even)::before { background: var(--gold-16); }
  .pillar-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,46,129,.14);
  }
  .pillar-card:hover::before { transform: scale(1.35); }

  .pillar-card__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin-bottom: 26px;
    background: var(--brand-blue);
    color: white;
    box-shadow: 0 12px 26px rgba(0,46,129,.18);
  }
  .pillar-card:nth-child(even) .pillar-card__icon {
    background: var(--brand-gold);
    color: var(--brand-blue-dark);
    box-shadow: 0 12px 26px rgba(218,149,0,.20);
  }
  .pillar-card__icon .icon { width: 27px; height: 27px; }
  .pillar-card__letter {
    position: absolute;
    right: 20px;
    top: 17px;
    color: rgba(0,46,129,.10);
    font-family: var(--font-display);
    font-size: 3.1rem;
    line-height: 1;
  }
  .pillar-card:nth-child(even) .pillar-card__letter { color: rgba(218,149,0,.18); }
  .pillar-card h3 { margin-bottom: 11px; }
  .pillar-card p { font-size: .91rem; }
  .pillar-card__line {
    position: absolute;
    left: 28px;
    bottom: 20px;
    width: 36px;
    height: 4px;
    border-radius: 99px;
    background: var(--brand-gold);
  }

  .feature-list { display: grid; gap: 25px; margin-top: 32px; }
  .feature-item { display: grid; grid-template-columns: 54px 1fr; gap: 17px; align-items: start; }
  .feature-item__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: var(--brand-blue);
    background: var(--soft-blue);
  }
  .feature-item:nth-child(2) .feature-item__icon { background: var(--brand-gold-soft); }
  .feature-item__icon .icon { width: 25px; height: 25px; }
  .feature-item h3 { font-size: 1.08rem; margin-bottom: 6px; letter-spacing: -.02em; }
  .feature-item p { font-size: .9rem; }

  .whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-blue);
    color: white;
    text-decoration: none;
    font-weight: 950;
    letter-spacing: -.03em;
    box-shadow: var(--shadow-md);
    border: 3px solid white;
    transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
  }
  .whatsapp-fab:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-lg); }
  .whatsapp-fab__ring {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(0,46,129,.22);
    border-radius: 50%;
    animation: waRing 2.6s ease-out infinite;
  }

  .site-footer { background: #F7F9FC; border-top: 1px solid var(--line); }
  .site-footer__grid {
    padding: 68px 0 46px;
    display: grid;
    grid-template-columns: 1.35fr .85fr 1.25fr 1fr;
    gap: 44px;
  }
  .site-footer h2 {
    font-size: .78rem;
    font-family: var(--font-display);
    letter-spacing: .04em;
    margin-bottom: 18px;
  }
  .site-footer__brand img { width: 145px; margin-bottom: 16px; }
  .site-footer__brand p { font-size: .84rem; max-width: 230px; }
  .footer-links, address, .footer-social { display: grid; gap: 8px; font-style: normal; }
  .site-footer a { color: var(--muted); text-decoration: none; font-size: .87rem; }
  .site-footer a:hover { color: var(--brand-blue); }
  .footer-legal { display: block; margin-top: 10px; font-weight: 800; }
  .site-footer__bottom { background: var(--brand-blue); color: white; padding: 15px 0; font-size: .77rem; }

  .route-card, .foundation-card {
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-sm);
  }

  .foundation-card { border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 54px); }
  .foundation-card__label {
    display: inline-block;
    color: var(--brand-gold);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    margin-bottom: 12px;
  }
  .foundation-card p { margin: 18px 0 26px; }
}

@layer layout {
  .home-hero {
    position: relative;
    overflow: clip;
    padding: clamp(54px, 6vw, 86px) 0 clamp(86px, 9vw, 126px);
    background:
      radial-gradient(circle at 3% 24%, rgba(218,149,0,.14), transparent 24%),
      radial-gradient(circle at 91% 30%, rgba(0,46,129,.09), transparent 26%),
      linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  }

  .hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
  }

  .hero__copy { position: relative; z-index: 4; }
  .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--brand-blue);
    border: 1px solid rgba(0,46,129,.08);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .02em;
  }
  .hero-kicker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 0 6px var(--gold-16);
  }
  .hero__copy h1 em { color: var(--brand-gold); font-style: normal; }
  .hero__copy > p {
    max-width: 610px;
    margin-top: 24px;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
  }
  .hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 31px; }

  .hero-trust {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }
  .hero-trust__item { display: flex; align-items: center; gap: 10px; min-width: 150px; }
  .hero-trust__item > .icon { width: 22px; height: 22px; color: var(--brand-gold); }
  .hero-trust__item span { display: grid; color: var(--muted); font-size: .78rem; line-height: 1.35; }
  .hero-trust__item strong { color: var(--brand-blue); font-size: .84rem; }

  .hero-stage {
    --mx: 0px;
    --my: 0px;
    position: relative;
    min-height: 590px;
    isolation: isolate;
  }

  .hero-stage__shape {
    position: absolute;
    z-index: -1;
    inset: 36px 8px 8px 48px;
    border-radius: 44% 17% 36% 18% / 18% 32% 17% 40%;
    background: var(--brand-blue);
    transform: translate3d(calc(var(--mx) * -.18), calc(var(--my) * -.18), 0) rotate(2deg);
    box-shadow: var(--shadow-lg);
    transition: transform 100ms linear;
  }

  .hero-stage__shape::after {
    content: "";
    position: absolute;
    width: 128px;
    height: 128px;
    right: -34px;
    top: -38px;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 0 20px rgba(218,149,0,.09);
  }

  .hero-stage__photo {
    position: absolute;
    inset: 0 35px 14px 0;
    overflow: hidden;
    border-radius: 42% 14% 31% 14% / 13% 34% 13% 34%;
    border: 7px solid white;
    box-shadow: var(--shadow-md);
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform 100ms linear;
  }

  .hero-stage__photo picture, .hero-stage__photo img { width: 100%; height: 100%; }
  .hero-stage__img { object-fit: cover; object-position: 50% 44%; }

  .hero-stage__photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(0,29,84,.22));
    pointer-events: none;
  }

  .hero-stage__badge {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 205px;
    padding: 13px 15px;
    border-radius: 19px;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
  }
  .hero-stage__badge img { width: 44px; height: 44px; object-fit: contain; }
  .hero-stage__badge > .icon { width: 29px; height: 29px; color: var(--brand-gold); }
  .hero-stage__badge div { display: grid; line-height: 1.25; }
  .hero-stage__badge strong { color: var(--brand-blue); font-size: .83rem; }
  .hero-stage__badge span { color: var(--muted); font-size: .72rem; }
  .hero-stage__badge--top { left: -34px; top: 72px; }
  .hero-stage__badge--bottom { right: -6px; bottom: 42px; }

  .hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0,46,129,.14);
    pointer-events: none;
  }
  .hero-orbit--one { width: 180px; height: 180px; left: -90px; top: 26%; }
  .hero-orbit--two { width: 310px; height: 310px; right: -190px; bottom: -90px; }

  .hero-wave {
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -42px;
    height: 88px;
    border-radius: 50% 50% 0 0 / 65% 65% 0 0;
    background: white;
    transform: rotate(-1deg);
  }

  .pillars-section { position: relative; background: white; }
  .pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }

  .levels-section { overflow: clip; }
  .levels-layout {
    display: grid;
    grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
    gap: clamp(42px, 6vw, 80px);
    align-items: center;
  }
  .levels-copy p { margin: 20px 0 26px; max-width: 470px; }
  .level-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
  .level-card {
    overflow: hidden;
    border-radius: 32px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
  }
  .level-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
  .level-card__media { position: relative; height: 250px; overflow: hidden; }
  .level-card__media picture, .level-card__media img { width: 100%; height: 100%; }
  .level-card__media img { object-fit: cover; transition: transform 650ms var(--ease-out); }
  .level-card:hover .level-card__media img { transform: scale(1.045); }
  .level-card--initial .level-card__media img { object-position: 50% 38%; }
  .level-card--primary .level-card__media img { object-position: 50% 54%; }
  .level-card__symbol {
    position: absolute;
    right: 18px;
    bottom: -24px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--brand-gold);
    color: var(--brand-blue-dark);
    border: 5px solid white;
    box-shadow: var(--shadow-xs);
  }
  .level-card--primary .level-card__symbol { background: var(--brand-blue); color: white; }
  .level-card__symbol .icon { width: 25px; height: 25px; }
  .level-card__body { padding: 30px 27px 28px; }
  .level-card__tag {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--brand-gold);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  .level-card h3 { font-size: 1.6rem; margin-bottom: 8px; }
  .level-card p { min-height: 52px; margin-bottom: 20px; font-size: .91rem; }

  .learning-section { background: white; overflow: clip; }
  .learning-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(50px, 7vw, 92px);
    align-items: center;
  }
  .learning-media { position: relative; min-height: 610px; }
  .learning-media__main {
    position: absolute;
    inset: 0 72px 52px 0;
    overflow: hidden;
    border-radius: 40px 18px 40px 18px;
    box-shadow: var(--shadow-md);
  }
  .learning-media__main picture, .learning-media__main img { width: 100%; height: 100%; }
  .learning-media__main img { object-fit: cover; }
  .learning-media__mini {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 205px;
    height: 260px;
    overflow: hidden;
    border-radius: 28px;
    border: 7px solid white;
    box-shadow: var(--shadow-md);
  }
  .learning-media__mini picture, .learning-media__mini img { width: 100%; height: 100%; }
  .learning-media__mini img { object-fit: cover; object-position: 50% 54%; }
  .learning-media__scribble {
    position: absolute;
    left: -16px;
    bottom: 8px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgba(0,46,129,.11);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: .12em;
  }
  .learning-copy > p { margin-top: 20px; font-size: 1.02rem; }

  .campus-section {
    position: relative;
    min-height: 610px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--brand-blue-dark);
  }
  .campus-bg { position: absolute; inset: 0; }
  .campus-bg picture, .campus-bg img { width: 100%; height: 100%; }
  .campus-bg img { object-fit: cover; object-position: 50% 45%; }
  .campus-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(0,29,84,.96) 0%, rgba(0,46,129,.86) 43%, rgba(0,46,129,.48) 68%, rgba(0,29,84,.20) 100%),
      linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,29,84,.36) 100%);
  }
  .campus-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 70px;
    align-items: end;
    padding-block: 84px;
  }
  .campus-copy { max-width: 560px; }
  .campus-copy h2, .campus-copy p { color: white; }
  .campus-copy p { margin: 20px 0 28px; color: rgba(255,255,255,.78); }
  .fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .fact-card {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 21px;
    border-radius: 24px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(12px);
  }
  .fact-card strong {
    color: var(--brand-gold);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.05;
  }
  .fact-card span { margin-top: 8px; color: rgba(255,255,255,.84); font-size: .82rem; font-weight: 750; }

  .school-life { background: white; overflow: hidden; }
  .carousel-controls { display: flex; gap: 8px; }
  .carousel-button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    color: var(--brand-blue);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  }
  .carousel-button:hover { background: var(--brand-blue); color: white; transform: translateY(-2px); }
  .carousel-button .icon { width: 20px; height: 20px; }
  .carousel-button:not(.carousel-button--next) .icon { transform: rotate(180deg); }

  .life-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 33.333%);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding: 4px 4px 22px;
    margin-inline: -4px;
  }
  .life-gallery::-webkit-scrollbar { display: none; }
  .life-card {
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow-xs);
    transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
  }
  .life-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
  .life-card__media { height: 260px; overflow: hidden; }
  .life-card__media picture, .life-card__media img { width: 100%; height: 100%; }
  .life-card__media img { object-fit: cover; transition: transform 650ms var(--ease-out); }
  .life-card:hover .life-card__media img { transform: scale(1.05); }
  .life-card__body { padding: 23px 23px 25px; }
  .life-card__body > span { color: var(--brand-gold); font-size: .69rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
  .life-card h3 { margin: 7px 0 8px; }
  .life-card p { font-size: .88rem; }
  .life-footer { display: flex; justify-content: flex-end; margin-top: 16px; }

  .admission-cta { padding-top: 34px; }
  .admission-card {
    position: relative;
    overflow: hidden;
    min-height: 385px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: end;
    padding: clamp(42px, 6vw, 74px);
    border-radius: 42px;
    background:
      radial-gradient(circle at 88% 15%, rgba(218,149,0,.24), transparent 25%),
      linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
    box-shadow: var(--shadow-lg);
  }
  .admission-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -220px;
    border: 1px dashed rgba(255,255,255,.20);
    border-radius: 50%;
  }
  .admission-card__mark {
    position: absolute;
    right: 74px;
    top: 34px;
    width: 170px;
    opacity: .10;
    transform: rotate(8deg);
  }
  .admission-card__content { position: relative; z-index: 2; max-width: 760px; }
  .admission-card h2, .admission-card p { color: white; }
  .admission-card p { margin-top: 18px; max-width: 650px; color: rgba(255,255,255,.78); }
  .admission-card__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .admission-card__meta {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    min-width: 205px;
    color: rgba(255,255,255,.83);
    font-size: .82rem;
    font-weight: 800;
  }
  .admission-card__meta span { display: flex; align-items: center; gap: 9px; }
  .admission-card__meta .icon { color: var(--brand-gold); }

  .page-hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 82% 12%, rgba(218,149,0,.14), transparent 27%),
      linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
    padding: clamp(80px, 10vw, 138px) 0;
    border-bottom: 1px solid var(--line);
  }
  .page-hero::after {
    content: "T.E.C.H.";
    position: absolute;
    right: 4vw;
    bottom: -22px;
    color: rgba(0,46,129,.035);
    font-family: var(--font-display);
    font-size: clamp(5rem, 14vw, 13rem);
    line-height: .8;
    pointer-events: none;
  }
  .page-hero__inner { max-width: 900px; position: relative; z-index: 2; }
  .page-hero__inner p { max-width: 720px; margin-top: 24px; font-size: 1.08rem; }
  .page-hero--404 { min-height: 58vh; display: grid; align-items: center; }
  .content-shell { max-width: 920px; }
}

@layer motion {
  [data-reveal] {
    opacity: 0;
    transition:
      opacity 700ms var(--ease-out),
      transform 700ms var(--ease-out);
    transition-delay: var(--delay, 0ms);
    will-change: transform, opacity;
  }
  [data-reveal="up"] { transform: translateY(28px); }
  [data-reveal="left"] { transform: translateX(-30px); }
  [data-reveal="right"] { transform: translateX(30px); }
  [data-reveal="scale"] { transform: scale(.965); }
  [data-reveal].is-visible { opacity: 1; transform: none; }

  [data-float] { animation: floatCard 5s ease-in-out infinite; }
  [data-float-delay] { animation-delay: -2.2s; }

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

  @keyframes waRing {
    0% { transform: scale(.82); opacity: .65; }
    70%, 100% { transform: scale(1.38); opacity: 0; }
  }
}

@layer responsive {
  @media (max-width: 1180px) {
    :root { --header-height: 78px; }
    .brand img { width: 196px; }
    .menu-toggle { display: flex; margin-left: auto; }
    .site-nav {
      position: fixed;
      top: 84px;
      left: 18px;
      right: 18px;
      max-height: calc(100dvh - 102px);
      overflow: auto;
      display: grid;
      gap: 0;
      padding: 14px;
      margin: 0;
      background: rgba(255,255,255,.985);
      border: 1px solid var(--line);
      border-radius: 24px;
      box-shadow: var(--shadow-lg);
      transform: translateY(-12px) scale(.98);
      transform-origin: top right;
      opacity: 0;
      pointer-events: none;
      transition: opacity 180ms ease, transform 180ms var(--ease-out);
    }
    .site-nav[data-open="true"] { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
    .site-nav__link { padding: 14px 12px; font-size: .94rem; border-bottom: 1px solid var(--line); }
    .site-nav__link::after { display: none; }
    .site-nav__cta { margin-top: 10px; min-height: 50px; }
    .pillar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .life-gallery { grid-auto-columns: minmax(310px, 45%); }
  }

  @media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; gap: 50px; }
    .hero__copy { max-width: 760px; }
    .hero-stage { min-height: min(720px, 74vw); }
    .hero-stage__badge--top { left: 12px; }
    .hero-stage__badge--bottom { right: 10px; }
    .levels-layout { grid-template-columns: 1fr; }
    .levels-copy { max-width: 720px; }
    .learning-grid { grid-template-columns: 1fr; gap: 56px; }
    .learning-media { min-height: 600px; max-width: 760px; }
    .learning-copy { max-width: 720px; }
    .campus-content { grid-template-columns: 1fr; gap: 42px; }
    .fact-grid { max-width: 680px; }
    .campus-overlay { background: linear-gradient(90deg, rgba(0,29,84,.96), rgba(0,46,129,.72)); }
    .admission-card { grid-template-columns: 1fr; }
    .admission-card__meta { grid-template-columns: repeat(2, minmax(0,auto)); justify-content: start; }
  }

  @media (max-width: 720px) {
    :root {
      --shell: min(100% - 28px, 1220px);
      --header-height: 70px;
    }

    h1 { font-size: clamp(2.35rem, 11vw, 3.65rem); }
    h2 { font-size: clamp(1.9rem, 8.5vw, 2.7rem); }
    .section { padding: 74px 0; }

    .site-header__inner, .is-scrolled .site-header__inner { min-height: 70px; }
    .brand img, .is-scrolled .brand img { width: 176px; }
    .menu-toggle { width: 44px; height: 44px; border-radius: 14px; }
    .site-nav { top: 76px; left: 12px; right: 12px; max-height: calc(100dvh - 88px); }

    .home-hero { padding: 40px 0 82px; }
    .hero-kicker { font-size: .66rem; }
    .hero__copy > p { margin-top: 20px; }
    .hero__actions { display: grid; }
    .button { width: 100%; min-height: 52px; }
    .hero-trust { gap: 18px; }
    .hero-stage { min-height: 430px; margin-top: 2px; }
    .hero-stage__shape { inset: 24px 4px 4px 20px; border-radius: 36% 13% 33% 15% / 12% 28% 13% 31%; }
    .hero-stage__shape::after { width: 86px; height: 86px; right: -18px; top: -18px; }
    .hero-stage__photo { inset: 0 16px 12px 0; border-width: 5px; border-radius: 34% 10% 29% 12% / 10% 25% 11% 27%; }
    .hero-stage__badge { min-width: auto; padding: 10px 12px; border-radius: 16px; }
    .hero-stage__badge img { width: 36px; height: 36px; }
    .hero-stage__badge > .icon { width: 24px; height: 24px; }
    .hero-stage__badge strong { font-size: .72rem; }
    .hero-stage__badge span { font-size: .63rem; }
    .hero-stage__badge--top { left: -2px; top: 38px; }
    .hero-stage__badge--bottom { right: 0; bottom: 24px; }

    .section-heading { margin-bottom: 32px; }
    .section-heading--split { align-items: flex-end; }
    .pillar-grid, .level-cards, .fact-grid, .site-footer__grid { grid-template-columns: 1fr; }
    .pillar-card { min-height: 260px; }
    .level-card__media { height: 235px; }
    .level-card p { min-height: 0; }

    .learning-media { min-height: 440px; }
    .learning-media__main { inset: 0 42px 42px 0; border-radius: 30px 14px 30px 14px; }
    .learning-media__mini { width: 145px; height: 195px; border-width: 5px; border-radius: 22px; }
    .learning-media__scribble { display: none; }

    .campus-section { min-height: 690px; }
    .campus-content { padding-block: 72px; }
    .campus-overlay { background: linear-gradient(180deg, rgba(0,29,84,.88), rgba(0,46,129,.90)); }
    .campus-bg img { object-position: 58% 50%; }
    .fact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
    .fact-card { min-height: 112px; padding: 16px; }
    .fact-card strong { font-size: 1.35rem; }

    .section-heading--split { display: block; }
    .carousel-controls { margin-top: 20px; }
    .life-gallery { grid-auto-columns: 86%; gap: 14px; }
    .life-card__media { height: 235px; }
    .life-footer { justify-content: flex-start; }

    .admission-cta { padding-top: 18px; }
    .admission-card { min-height: 0; padding: 38px 24px; border-radius: 30px; }
    .admission-card__mark { right: 20px; top: 20px; width: 110px; }
    .admission-card__actions { display: grid; }
    .admission-card__meta { grid-template-columns: 1fr; }

    .site-footer__grid { gap: 34px; }
    .whatsapp-fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  }

  @media (max-width: 420px) {
    .hero-stage { min-height: 380px; }
    .hero-stage__badge--bottom { display: none; }
    .hero-trust { display: grid; grid-template-columns: 1fr 1fr; }
    .fact-grid { grid-template-columns: 1fr 1fr; }
    .fact-card { min-height: 104px; }
    .life-gallery { grid-auto-columns: 92%; }
  }

  @media (hover: none) {
    .pillar-card:hover, .level-card:hover, .life-card:hover { transform: none; box-shadow: var(--shadow-xs); }
    .level-card:hover .level-card__media img, .life-card:hover .life-card__media img { transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
      scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
  }
}

/* =========================
   FASE 3 · PÁGINAS INTERNAS
   ========================= */
@layer components {
  .section--compact { padding-top: 46px; padding-bottom: 96px; }
  .section--blue { background: var(--brand-blue-dark); color: white; }
  .section--blue h2, .section--blue h3, .section--blue p { color: white; }
  .section--blue p { color: rgba(255,255,255,.78); }

  .inner-hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 18%, rgba(218,149,0,.12), transparent 28%),
      linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
    padding: clamp(60px, 7vw, 104px) 0 clamp(76px, 8vw, 118px);
    border-bottom: 1px solid var(--line);
  }
  .inner-hero::before {
    content: "T.E.C.H.";
    position: absolute;
    right: -1vw;
    top: 6%;
    font-family: var(--font-display);
    font-size: clamp(5rem, 13vw, 12rem);
    line-height: 1;
    color: rgba(0,46,129,.035);
    pointer-events: none;
  }
  .inner-hero__glow {
    position: absolute;
    width: 480px;
    height: 480px;
    right: -180px;
    bottom: -250px;
    border-radius: 50%;
    border: 1px dashed rgba(0,46,129,.13);
  }
  .inner-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .inner-hero__copy h1 { margin-top: 14px; font-size: clamp(2.7rem, 5.1vw, 5.25rem); }
  .inner-hero__copy > p { margin-top: 24px; max-width: 700px; font-size: 1.06rem; }
  .inner-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .inner-hero__media {
    position: relative;
    min-height: 470px;
    border-radius: 46px 18px 46px 18px;
  }
  .inner-hero__media picture, .inner-hero__media img { width: 100%; height: 100%; }
  .inner-hero__media picture { position: absolute; inset: 0; }
  .inner-hero__media img {
    object-fit: cover;
    border-radius: inherit;
    box-shadow: var(--shadow-lg);
  }
  .inner-hero__seal {
    position: absolute;
    left: -34px;
    bottom: -34px;
    width: 116px;
    height: 116px;
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: 30px;
    background: white;
    box-shadow: var(--shadow-md);
  }
  .inner-hero__seal img { width: 100%; height: auto; box-shadow: none; border-radius: 0; }
  .page-hero--compact { padding: clamp(64px, 8vw, 105px) 0; }

  .split-story {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(48px, 7vw, 92px);
    align-items: center;
  }
  .split-story__copy p { margin-top: 18px; max-width: 680px; }
  .split-story__media { position: relative; min-height: 570px; }
  .split-story__media > picture, .split-story__media > picture img { width: 100%; height: 100%; }
  .split-story__media > picture { position: absolute; inset: 0 46px 64px 0; }
  .split-story__media > picture img { object-fit: cover; border-radius: 24px 46px 24px 46px; box-shadow: var(--shadow-md); }
  .photo-note {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(330px, 78%);
    padding: 22px 24px;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
  }
  .photo-note strong { display: block; color: var(--brand-blue); }
  .photo-note span { display: block; color: var(--muted); font-size: .84rem; margin-top: 5px; }
  .info-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 15px;
    border-radius: 14px;
    background: var(--soft-blue);
    color: var(--brand-blue);
    font-size: .82rem;
    font-weight: 800;
  }
  .info-chip .icon { width: 20px; height: 20px; flex: 0 0 auto; }

  .pillar-grid--detail { margin-top: 42px; }
  .pillar-grid--detail .pillar-card { min-height: 320px; }

  .feature-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(46px, 7vw, 88px);
    align-items: center;
  }
  .feature-band--reverse .feature-band__media { order: 2; }
  .feature-band--reverse .feature-band__copy { order: 1; }
  .feature-band__media { min-height: 515px; overflow: hidden; border-radius: 42px 20px 42px 20px; box-shadow: var(--shadow-md); }
  .feature-band__media picture, .feature-band__media img { width: 100%; height: 100%; }
  .feature-band__media img { object-fit: cover; transition: transform 700ms var(--ease-out); }
  .feature-band__media:hover img { transform: scale(1.03); }
  .feature-band__copy > p { margin-top: 20px; }
  .check-list { list-style: none; display: grid; gap: 13px; margin-top: 26px; }
  .check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-weight: 720; }
  .check-list .icon { width: 21px; height: 21px; margin-top: 2px; color: var(--brand-gold); flex: 0 0 auto; }

  .space-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
  .space-grid__photos { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; min-height: 430px; }
  .space-grid__photos > div { overflow: hidden; border-radius: 28px; }
  .space-grid__photos picture, .space-grid__photos img { width: 100%; height: 100%; }
  .space-grid__photos img { object-fit: cover; }

  .mini-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 38px;
    padding: clamp(36px, 5vw, 60px);
    border-radius: 36px;
    background:
      radial-gradient(circle at 88% 22%, rgba(218,149,0,.25), transparent 24%),
      linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
    box-shadow: var(--shadow-md);
  }
  .mini-cta h2, .mini-cta p { color: white; }
  .mini-cta p { color: rgba(255,255,255,.78); margin-top: 14px; max-width: 760px; }
  .mini-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

  .age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .age-card {
    min-height: 250px;
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 30px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
  }
  .age-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -70px;
    bottom: -76px;
    border-radius: 50%;
    background: var(--gold-10);
  }
  .age-card > span { display: block; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--brand-gold); }
  .age-card h3 { margin-top: 20px; font-size: 1.55rem; }
  .age-card p { margin-top: 10px; }

  .workshop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
  .workshop-card {
    min-height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 24px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform 250ms var(--ease-out), border-color 250ms ease;
  }
  .workshop-card:hover { transform: translateY(-5px); border-color: rgba(0,46,129,.22); }
  .workshop-card__number { color: var(--brand-gold); font-family: var(--font-display); font-size: .85rem; }
  .workshop-card h3 { font-size: 1.15rem; }

  .photo-strip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .photo-strip > div { min-height: 360px; overflow: hidden; border-radius: 26px; }
  .photo-strip picture, .photo-strip img { width: 100%; height: 100%; }
  .photo-strip img { object-fit: cover; }
  .photo-strip > div:nth-child(2) { transform: translateY(24px); }

  .notice-card {
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--soft);
  }
  .notice-card strong { color: var(--brand-blue); }
  .notice-card p { margin-top: 7px; font-size: .9rem; }
  .notice-card--gold { background: var(--brand-gold-soft); border-color: rgba(218,149,0,.27); }

  .subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
  .subject-card { min-height: 100%; padding: 0; overflow: hidden; border-radius: 26px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
  .subject-card__media { height: 165px; overflow: hidden; background: var(--soft-blue); }
  .subject-card__media picture, .subject-card__media img { width: 100%; height: 100%; }
  .subject-card__media img { object-fit: cover; transition: transform 600ms var(--ease-out); }
  .subject-card:hover .subject-card__media img { transform: scale(1.04); }
  .subject-card__body { padding: 22px 24px 24px; }
  .subject-card h3 { margin: 0; font-size: 1.08rem; }

  .tech-continuity { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
  .tech-continuity__marks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tech-continuity__marks > div { min-height: 128px; display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.17); }
  .tech-continuity__marks strong { font-family: var(--font-display); font-size: 2.1rem; color: var(--brand-gold); }
  .tech-continuity__marks span { color: white; font-weight: 850; }

  .filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin: 34px 0; }
  .filter-button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: white; color: var(--brand-blue); font-weight: 800; cursor: pointer; transition: all 180ms ease; }
  .filter-button:hover, .filter-button.is-active { border-color: var(--brand-blue); background: var(--brand-blue); color: white; }
  .masonry-grid { columns: 3 310px; column-gap: 16px; }
  .gallery-tile { break-inside: avoid; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow-xs); transition: opacity 200ms ease, transform 250ms var(--ease-out); }
  .gallery-tile[hidden] { display: none !important; }
  .gallery-tile__media { min-height: 250px; max-height: 430px; overflow: hidden; }
  .gallery-tile__media picture, .gallery-tile__media img { width: 100%; height: 100%; }
  .gallery-tile__media img { object-fit: cover; transition: transform 600ms var(--ease-out); }
  .gallery-tile:hover .gallery-tile__media img { transform: scale(1.04); }
  .gallery-tile__body { padding: 21px; }
  .gallery-tile__body > span { color: var(--brand-gold); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 900; }
  .gallery-tile__body h3 { margin-top: 6px; }
  .gallery-tile__body p { margin-top: 8px; font-size: .86rem; }

  .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 42px; }
  .process-card { min-height: 260px; padding: 28px; border-radius: 27px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
  .process-card > strong { font-family: var(--font-display); color: var(--brand-gold); font-size: 1.4rem; }
  .process-card h3 { margin-top: 52px; }
  .process-card p { margin-top: 10px; font-size: .88rem; }

  .requirements-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: start; }
  .document-list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
  .document-list li { display: flex; gap: 13px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-weight: 750; }
  .document-list .icon { width: 22px; height: 22px; color: var(--brand-gold); }
  .attention-card { padding: 36px; border-radius: 30px; background: var(--brand-blue); color: white; box-shadow: var(--shadow-md); }
  .attention-card h3, .attention-card p { color: white; }
  .attention-card p { color: rgba(255,255,255,.78); margin-top: 8px; }
  .attention-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 25px 0; }
  .attention-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 18px; background: var(--brand-gold); color: var(--brand-blue-dark); }
  .attention-card__icon .icon { width: 27px; height: 27px; }
  .attention-card .button { margin-top: 28px; width: 100%; }
  .quick-path { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }

  .form-section { background: var(--soft); }
  .form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: start; }
  .form-aside { position: sticky; top: 120px; }
  .form-aside > p { margin-top: 16px; }
  .form-aside > h3 { margin-top: 30px; }
  .form-aside__small { font-size: .82rem; }
  .privacy-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 17px; border-radius: 16px; background: var(--brand-blue); color: white; }
  .privacy-note .icon { width: 23px; height: 23px; flex: 0 0 auto; color: var(--brand-gold); }
  .privacy-note strong, .privacy-note span { display: block; }
  .privacy-note span { margin-top: 3px; color: rgba(255,255,255,.75); font-size: .78rem; }
  .mini-list { list-style: none; display: grid; gap: 9px; margin-top: 14px; }
  .mini-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: .85rem; font-weight: 700; }
  .mini-list .icon { width: 17px; height: 17px; color: var(--brand-gold); margin-top: 3px; flex: 0 0 auto; }

  .form-panel { padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .form-panel--compact > p { margin: 10px 0 26px; }
  .wizard-progress { margin-bottom: 32px; }
  .wizard-progress__bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--soft-blue); }
  .wizard-progress__bar span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--brand-gold); transition: width 350ms var(--ease-out); }
  .wizard-progress__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 11px; font-size: .78rem; color: var(--muted); }
  .wizard-progress__meta strong { color: var(--brand-blue); }
  .wizard-step { display: none; }
  .wizard-step.is-active { display: block; animation: stepIn 280ms var(--ease-out); }
  @keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .form-heading { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
  .form-heading > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-blue); color: white; font-family: var(--font-display); font-size: .74rem; flex: 0 0 auto; }
  .form-heading h2 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
  .form-heading p { margin-top: 5px; font-size: .86rem; }
  .field-grid { display: grid; gap: 18px; }
  .field-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
  .field { display: grid; gap: 8px; }
  .field > span { color: var(--ink); font-size: .8rem; font-weight: 800; }
  .field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid #C9D6E6;
    border-radius: 13px;
    background: white;
    color: var(--ink);
    padding: 13px 14px;
    outline: 0;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  }
  .field textarea { resize: vertical; min-height: 112px; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(0,46,129,.09); }
  .field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B43A3A; background: #FFF9F9; }
  .check-grid { display: grid; gap: 11px; }
  .check-card { position: relative; display: flex; gap: 13px; align-items: center; min-height: 60px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
  .check-card input { position: absolute; opacity: 0; pointer-events: none; }
  .check-card__box { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; border: 1px solid #B9C9DC; color: transparent; flex: 0 0 auto; }
  .check-card__box .icon { width: 17px; height: 17px; }
  .check-card:has(input:checked) { border-color: rgba(0,46,129,.35); background: var(--soft-blue); }
  .check-card input:checked + .check-card__box { background: var(--brand-blue); border-color: var(--brand-blue); color: white; }
  .review-box { display: grid; gap: 13px; padding: 20px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
  .review-box dl { display: grid; grid-template-columns: 145px 1fr; gap: 6px 14px; margin: 0; }
  .review-box dt { color: var(--muted); font-size: .78rem; font-weight: 800; }
  .review-box dd { margin: 0; color: var(--ink); font-size: .85rem; font-weight: 700; overflow-wrap: anywhere; }
  .consent-field { display: flex; gap: 11px; align-items: flex-start; margin-top: 20px; font-size: .8rem; color: var(--muted); }
  .consent-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-blue); flex: 0 0 auto; }
  .consent-field a { color: var(--brand-blue); font-weight: 850; }
  .submit-note { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--muted); font-size: .78rem; }
  .submit-note .icon { width: 20px; height: 20px; color: var(--brand-gold); }
  .wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 30px; }
  .wizard-actions [hidden] { display: none !important; }
  .form-result { min-height: 24px; margin-top: 12px; color: var(--brand-blue); font-size: .82rem; font-weight: 750; }
  .form-divider { border-top: 1px solid var(--line); margin: 34px 0; }

  .news-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 17px; margin-top: 40px; }
  .news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow-xs); }
  .news-card__media { height: 250px; overflow: hidden; }
  .news-card--featured .news-card__media { height: 340px; }
  .news-card__media picture, .news-card__media img { width: 100%; height: 100%; }
  .news-card__media img { object-fit: cover; transition: transform 600ms var(--ease-out); }
  .news-card:hover .news-card__media img { transform: scale(1.04); }
  .news-card__body { padding: 23px; }
  .news-card__body > span { color: var(--brand-gold); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
  .news-card h3 { margin-top: 8px; }
  .news-card p { margin-top: 10px; font-size: .86rem; }

  .contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: start; }
  .contact-details { display: grid; gap: 12px; }
  .contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--soft); }
  .contact-card > .icon { width: 24px; height: 24px; color: var(--brand-gold); margin-top: 3px; flex: 0 0 auto; }
  .contact-card span { display: block; color: var(--muted); text-transform: uppercase; font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
  .contact-card strong { display: block; color: var(--brand-blue); margin-top: 5px; overflow-wrap: anywhere; }
  .contact-card p { margin-top: 4px; font-size: .82rem; }
  .contact-map-link { justify-content: flex-start; }
  .contact-map-link .icon { width: 20px; height: 20px; }

  .legal-form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; }
  .legal-aside { position: sticky; top: 120px; }
  .legal-aside > p { margin-top: 16px; }
  .legal-aside a { color: var(--brand-blue); font-weight: 850; }
  .legal-content { max-width: 900px; }
  .legal-content h2 { margin-top: 40px; font-size: clamp(1.45rem, 2.4vw, 2.2rem); }
  .legal-content p { margin-top: 13px; }
  .legal-content .button { margin-top: 34px; }
}

@layer responsive {
  @media (max-width: 980px) {
    .inner-hero__grid,
    .split-story,
    .feature-band,
    .space-grid,
    .tech-continuity,
    .requirements-layout,
    .form-layout,
    .contact-grid,
    .legal-form-layout { grid-template-columns: 1fr; }
    .inner-hero__media { min-height: 440px; }
    .inner-hero__seal { left: 20px; }
    .split-story__media { min-height: 500px; }
    .feature-band--reverse .feature-band__media,
    .feature-band--reverse .feature-band__copy { order: initial; }
    .space-grid__photos { min-height: 390px; }
    .mini-cta { grid-template-columns: 1fr; }
    .mini-cta__actions { justify-content: flex-start; }
    .workshop-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .subject-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-path { grid-template-columns: 1fr; }
    .form-aside, .legal-aside { position: static; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card--featured { grid-column: 1 / -1; }
    .subject-card__media { height: 150px; }
  }

  @media (max-width: 700px) {
    .inner-hero { padding-top: 46px; }
    .inner-hero__grid { gap: 36px; }
    .inner-hero__copy h1 { font-size: clamp(2.25rem, 11.5vw, 3.5rem); }
    .inner-hero__media { min-height: 370px; border-radius: 30px 14px 30px 14px; }
    .inner-hero__seal { width: 88px; height: 88px; bottom: -20px; left: 14px; border-radius: 22px; }
    .inner-hero__actions .button { flex: 1 1 100%; }
    .split-story__media { min-height: 440px; }
    .split-story__media > picture { inset: 0 18px 90px 0; }
    .photo-note { width: 86%; }
    .feature-band__media { min-height: 380px; border-radius: 28px 14px 28px 14px; }
    .space-grid__photos { grid-template-columns: 1fr; min-height: 650px; }
    .age-grid { grid-template-columns: 1fr; }
    .workshop-grid { grid-template-columns: 1fr 1fr; }
    .photo-strip { grid-template-columns: 1fr; }
    .photo-strip > div { min-height: 330px; }
    .photo-strip > div:nth-child(2) { transform: none; }
    .subject-grid { grid-template-columns: 1fr; }
    .tech-continuity__marks { grid-template-columns: 1fr 1fr; }
    .masonry-grid { columns: 1; }
    .process-grid { grid-template-columns: 1fr; }
    .process-card { min-height: auto; }
    .process-card h3 { margin-top: 28px; }
    .field-grid--2 { grid-template-columns: 1fr; }
    .field--full { grid-column: auto; }
    .wizard-actions { flex-wrap: wrap; }
    .wizard-actions .button { flex: 1 1 auto; }
    .review-box dl { grid-template-columns: 1fr; }
    .review-box dd + dt { margin-top: 7px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card--featured { grid-column: auto; }
    .news-card--featured .news-card__media { height: 270px; }
    .mini-cta__actions .button { flex: 1 1 100%; }
  }

  @media (max-width: 460px) {
    .workshop-grid { grid-template-columns: 1fr; }
    .tech-continuity__marks { grid-template-columns: 1fr; }
    .form-panel { padding: 22px 17px; border-radius: 24px; }
    .form-heading { gap: 12px; }
    .form-heading > span { width: 40px; height: 40px; }
    .contact-card { padding: 18px; }
  }
}

/* FASE 4 · SEO/UX: breadcrumbs accesibles */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: #5c6f91;
  font-size: .78rem;
  font-weight: 800;
}
.breadcrumb a { color: var(--brand-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-current="page"] { color: #65758f; }
.section[hidden], [hidden] { display: none !important; }
.noscript-banner {
  background: #fff6dc;
  border-bottom: 1px solid rgba(218,149,0,.35);
  color: #4a3a10;
  padding: 12px 20px;
  text-align: center;
  font-size: .86rem;
  font-weight: 750;
}

/* =========================================================
   REVISIÓN VISUAL 2026 · propuesta aprobada + más dinámica
   ========================================================= */
:root {
  --revision-green: #79C700;
  --revision-orange: #F28A00;
  --revision-sky: #DBEEFF;
}

/* Escala tipográfica más controlada */
h1 { font-size: clamp(2.45rem, 4.2vw, 4.15rem); max-width: 17ch; }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.85rem); }
h3 { font-size: clamp(1.05rem, 1.25vw, 1.3rem); }
.section { padding: clamp(68px, 7vw, 104px) 0; }

/* Header más compacto y cercano a la propuesta visual de referencia */
.site-header__inner { min-height: 76px; }
.is-scrolled .site-header__inner { min-height: 66px; }
.brand img { width: 215px; height: auto; }
.site-nav { gap: clamp(13px, 1.55vw, 23px); }
.site-nav__link { font-size: .78rem; position: relative; }
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -10px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand-blue);
  transition: left 220ms var(--ease-out), right 220ms var(--ease-out);
}
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after { left: 0; right: 0; }
.site-nav__cta { min-height: 43px; padding-inline: 20px; }

/* Hero editorial, más parecido al concepto que gustó al cliente */
.home-hero--editorial {
  position: relative;
  overflow: clip;
  padding: clamp(52px, 6.7vw, 86px) 0 0;
  background:
    radial-gradient(circle at 85% 6%, rgba(219,238,255,.72), transparent 31%),
    radial-gradient(circle at 4% 72%, rgba(218,149,0,.09), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.hero__grid--refined {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: clamp(38px, 6vw, 86px);
  min-height: 560px;
}
.hero__copy--refined { padding-bottom: 60px; }
.hero__copy--refined h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 5.05vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 10.5ch;
}
.hero__copy--refined h1 span { color: var(--brand-gold); display: block; }
.hero__copy--refined > p {
  max-width: 545px;
  margin-top: 25px;
  font-size: clamp(.96rem, 1.15vw, 1.09rem);
  line-height: 1.72;
}
.hero__copy--refined .hero__actions { margin-top: 28px; }
.hero-kicker {
  box-shadow: none;
  background: var(--soft-blue);
  border-color: rgba(0,46,129,.10);
  font-size: .72rem;
}
.hero-mini-proof {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.hero-mini-proof > div {
  display: grid;
  gap: 0;
  padding: 17px 20px 0 0;
  margin-right: 20px;
  min-width: 110px;
}
.hero-mini-proof > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.hero-mini-proof strong { color: var(--brand-blue); font-size: 1.13rem; line-height: 1.1; }
.hero-mini-proof span { color: var(--muted); font-size: .7rem; margin-top: 3px; }

.hero-showcase {
  --mx: 0px;
  --my: 0px;
  position: relative;
  min-height: 555px;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 180ms ease-out;
}
.hero-showcase__halo {
  position: absolute;
  width: 78%;
  height: 76%;
  left: 12%;
  top: 13%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,46,129,.15), rgba(0,46,129,0) 68%);
  filter: blur(18px);
}
.hero-slider {
  position: absolute;
  inset: 18px 24px 28px 24px;
  overflow: hidden;
  border-radius: 34px;
  border: 6px solid white;
  box-shadow: 0 34px 75px rgba(0,46,129,.22);
  background: #dfeafa;
  isolation: isolate;
}
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(0,46,129,.11);
  border-radius: inherit;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 700ms ease, transform 1600ms var(--ease-out);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; }
.hero-showcase__img { object-fit: cover; object-position: center; }
.hero-slide:first-child .hero-showcase__img { object-position: 50% 50%; }
.hero-slide:nth-child(2) .hero-showcase__img { object-position: 50% 50%; }
.hero-slide:nth-child(3) .hero-showcase__img { object-position: 50% 50%; }
.hero-handnote {
  position: absolute;
  z-index: 8;
  top: 74px;
  right: -7px;
  color: white;
  text-align: center;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  transform: rotate(-5deg);
  text-shadow: 0 3px 16px rgba(0,29,84,.45);
}
.hero-handnote span { display: block; font-size: 1.9rem; color: white; }
.hero-handnote::after {
  content: "";
  display: block;
  width: 76px;
  height: 11px;
  margin: 4px auto 0;
  border-bottom: 3px solid white;
  border-radius: 50%;
  transform: rotate(-5deg);
}
.hero-float-card {
  position: absolute;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(0,46,129,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0,46,129,.15);
  animation: floatCard 4.4s ease-in-out infinite;
}
.hero-float-card img { width: 34px; height: 34px; object-fit: contain; }
.hero-float-card .icon { width: 24px; height: 24px; color: var(--brand-gold); }
.hero-float-card div { display: grid; }
.hero-float-card strong { color: var(--brand-blue); font-size: .72rem; }
.hero-float-card span { color: var(--muted); font-size: .61rem; max-width: 210px; }
.hero-float-card--tech { left: -18px; top: 86px; }
.hero-float-card--learn { right: 16px; bottom: 72px; animation-delay: -2s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-slider__controls {
  position: absolute;
  z-index: 10;
  right: 20px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.hero-slider__controls > button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 180ms ease, background 180ms ease;
}
.hero-slider__controls > button:hover { transform: scale(1.08); background: var(--brand-gold); color: var(--brand-blue-dark); }
.hero-slider__dots { display: flex; gap: 5px; }
.hero-slider__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(0,46,129,.22);
  cursor: pointer;
  transition: width 200ms ease, background 200ms ease;
}
.hero-slider__dots button.is-active { width: 22px; background: var(--brand-gold); }

.hero-deco { position: absolute; pointer-events: none; opacity: .5; }
.hero-deco--dots {
  left: -40px;
  top: 170px;
  width: 150px;
  height: 190px;
  background-image: radial-gradient(rgba(0,46,129,.14) 2px, transparent 2px);
  background-size: 17px 17px;
  mask-image: linear-gradient(to right, transparent, #000 55%);
}
.hero-deco--arc {
  right: -100px;
  bottom: 90px;
  width: 260px;
  height: 260px;
  border: 42px solid rgba(218,149,0,.10);
  border-radius: 50%;
}

/* Beneficios integrados al hero como en la referencia */
.benefit-dock {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -18px;
  transform: translateY(34px);
  background: white;
  border: 1px solid rgba(0,46,129,.08);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0,46,129,.12);
  overflow: hidden;
}
.benefit-dock article {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 140px;
  padding: 25px 24px;
  position: relative;
  transition: background 220ms ease, transform 220ms ease;
}
.benefit-dock article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--line);
}
.benefit-dock article:hover { background: #fbfdff; }
.benefit-dock__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(0,46,129,.18);
}
.benefit-dock__icon--gold { background: var(--revision-orange); }
.benefit-dock__icon--green { background: var(--revision-green); }
.benefit-dock__icon .icon { width: 24px; height: 24px; }
.benefit-dock h2 { font-size: .98rem; line-height: 1.16; letter-spacing: -.02em; }
.benefit-dock p { margin-top: 4px; font-size: .72rem; line-height: 1.5; }

/* Esencia T.E.C.H. */
.essence-section { padding-top: clamp(112px, 10vw, 150px); }
.compact-heading { max-width: 760px; margin-inline: auto; }
.compact-heading h2 { font-size: clamp(2rem, 3.15vw, 2.85rem); }
.pillar-grid--interactive { margin-top: 42px; }
.pillar-grid--interactive .pillar-card {
  min-height: 285px;
  padding: 28px 25px 24px;
  border-radius: 26px;
  overflow: hidden;
  transform-style: preserve-3d;
}
.pillar-grid--interactive .pillar-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 4px;
  border-radius: 99px 99px 0 0;
  background: var(--brand-gold);
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.pillar-grid--interactive .pillar-card:hover::after { transform: scaleX(1); }
.pillar-grid--interactive .pillar-card p { font-size: .84rem; }
.pillar-grid--interactive .pillar-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-blue);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
}
.pillar-grid--interactive .pillar-card a .icon { width: 15px; }

/* Marquee de talleres */
.workshop-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(0,46,129,.08);
  background: var(--brand-blue);
  color: white;
}
.workshop-marquee__track {
  display: flex;
  width: max-content;
  animation: workshopScroll 28s linear infinite;
}
.workshop-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: .66rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.workshop-marquee__track .icon { color: var(--brand-gold); width: 15px; height: 15px; }
@keyframes workshopScroll { to { transform: translateX(-50%); } }
.workshop-marquee:hover .workshop-marquee__track { animation-play-state: paused; }

/* Niveles */
.levels-section--editorial { background: linear-gradient(180deg, #f4f8ff, #edf4ff); }
.levels-layout--refined { grid-template-columns: .6fr 1.4fr; gap: clamp(34px, 6vw, 80px); }
.levels-copy h2 { font-size: clamp(2.2rem, 3.4vw, 3.25rem); max-width: 10ch; }
.levels-copy p { max-width: 440px; }
.levels-copy .button { margin-top: 24px; }
.level-cards--refined .level-card { border-radius: 30px; box-shadow: 0 18px 42px rgba(0,46,129,.11); }
.level-cards--refined .level-card__media { height: 270px; }
.level-cards--refined .level-card__body { padding: 24px 25px 26px; }
.level-cards--refined .level-card h3 { font-size: 1.45rem; }

/* Campus dividido como la referencia */
.campus-showcase {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 580px;
  background: var(--brand-blue);
  overflow: hidden;
}
.campus-showcase__photo { position: relative; min-height: 580px; overflow: hidden; }
.campus-showcase__photo picture, .campus-showcase__photo img { width: 100%; height: 100%; }
.campus-showcase__photo img { object-fit: cover; object-position: center 54%; transition: transform 1200ms var(--ease-out); }
.campus-showcase:hover .campus-showcase__photo img { transform: scale(1.025); }
.campus-showcase__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, rgba(0,46,129,.72));
}
.campus-showcase__caption {
  position: absolute;
  z-index: 3;
  left: 30px;
  bottom: 28px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--brand-blue);
  font-weight: 900;
  font-size: .72rem;
  box-shadow: var(--shadow-sm);
}
.campus-showcase__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 90px);
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.12), transparent 32%),
    var(--brand-blue);
}
.campus-showcase__panel::after {
  content: "T.E.C.H.";
  position: absolute;
  right: -20px;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  color: rgba(255,255,255,.035);
  pointer-events: none;
}
.campus-showcase__panel h2 { color: white; font-size: clamp(2.1rem, 3.3vw, 3.05rem); max-width: 12ch; }
.campus-showcase__panel > p { color: rgba(255,255,255,.78); max-width: 560px; margin-top: 18px; }
.campus-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 32px 0; background: rgba(255,255,255,.18); }
.campus-stat-grid > div { min-height: 112px; padding: 19px 18px; background: var(--brand-blue); }
.campus-stat-grid strong { display: block; color: var(--brand-gold); font-size: 1.55rem; line-height: 1; }
.campus-stat-grid strong .icon { width: 25px; height: 25px; }
.campus-stat-grid span { display: block; margin-top: 7px; color: rgba(255,255,255,.78); font-size: .73rem; }
.campus-showcase__panel .button { align-self: flex-start; }

/* Comunidad */
.community-story { background: white; }
.community-story__card {
  display: grid;
  grid-template-columns: .85fr 1.15fr .55fr;
  align-items: stretch;
  min-height: 355px;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,46,129,.10);
  background: #fff;
}
.community-story__photo { min-height: 355px; overflow: hidden; }
.community-story__photo picture, .community-story__photo img { width: 100%; height: 100%; }
.community-story__photo img { object-fit: cover; object-position: 50% 24%; }
.community-story__quote { position: relative; padding: clamp(34px, 4vw, 58px); align-self: center; }
.community-story__quote-mark { position: absolute; left: 30px; top: 18px; font-size: 5rem; line-height: 1; color: var(--brand-gold); opacity: .35; font-family: Georgia, serif; }
.community-story__quote h2 { position: relative; font-size: clamp(1.85rem, 2.8vw, 2.55rem); max-width: 15ch; }
.community-story__quote p { margin-top: 16px; max-width: 600px; font-size: .9rem; }
.community-story__quote .text-link { margin-top: 20px; }
.community-story__doodle {
  display: grid;
  place-content: center;
  padding: 28px;
  text-align: center;
  color: var(--brand-blue);
  background: linear-gradient(145deg, #fffaf0, #fff);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.18rem;
  line-height: 1.25;
  border-left: 1px solid rgba(218,149,0,.15);
  transform: rotate(-1deg);
}
.community-story__doodle strong { color: var(--brand-gold); font-size: 1.6em; }

/* Noticias / vida escolar */
.school-life--news { background: linear-gradient(180deg, #fff, #fbfdff); }
.news-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { border-radius: 25px; transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); transform-style: preserve-3d; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.news-card__media { position: relative; height: 245px; }
.news-card__media > span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--brand-blue);
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.news-card__body { padding: 20px 20px 22px; }
.news-card__body h3 { margin-top: 0; font-size: 1.12rem; }
.news-card__body p { font-size: .8rem; min-height: 62px; }
.news-card__body a { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--brand-blue); font-size: .73rem; font-weight: 900; text-decoration: none; }
.news-card__body a .icon { width: 15px; }

/* CTA final */
.admission-cta--refined { padding-top: 32px; }
.admission-card--refined { min-height: 310px; border-radius: 32px; }
.admission-card--refined h2 { font-size: clamp(2rem, 3.2vw, 3rem); max-width: 15ch; }
.button-brand-icon { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.button--shine { position: relative; overflow: hidden; }
.button--shine::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 38%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transition: left 520ms var(--ease-out);
}
.button--shine:hover::before { left: 115%; }

/* Footer + logos oficiales */
.site-footer__grid { padding-block: 55px 44px; gap: 55px; }
.site-footer__brand img { width: 122px; max-width: 100%; height: auto; display: block; object-fit: contain; }
.footer-ruc { display: block; margin-top: 12px; color: var(--muted-2); font-size: .69rem; max-width: 250px; }
.footer-social { display: flex; gap: 9px; margin: 14px 0 18px; }
.site-footer .social-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease;
}
.social-button img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.social-button--facebook { background: #1877F2; }
.social-button--instagram { background: linear-gradient(135deg,#833AB4,#FD1D1D,#FCAF45); }
.social-button--tiktok { background: #111; }
.site-footer .social-button:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* WhatsApp oficial */
.whatsapp-fab {
  width: 62px;
  height: 62px;
  right: 22px;
  bottom: 22px;
  background: #25D366;
  border: 3px solid white;
  box-shadow: 0 16px 38px rgba(15,110,57,.30);
  overflow: visible;
}
.whatsapp-fab img { width: 30px; height: 30px; filter: brightness(0) invert(1); position: relative; z-index: 2; }
.whatsapp-fab__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.45);
  animation: waPulse 2.2s ease-out infinite;
}
.whatsapp-fab__label {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 10px;
  background: #16352a;
  color: white;
  font-size: .72rem;
  font-weight: 850;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.whatsapp-fab:hover .whatsapp-fab__label { opacity: 1; transform: none; }
@keyframes waPulse { 0% { transform: scale(.92); opacity: .9; } 75%,100% { transform: scale(1.42); opacity: 0; } }
.mobile-quickbar { display: none; }

/* Páginas internas: tamaños y composición más refinados */
.inner-hero { padding: clamp(52px, 6vw, 86px) 0 clamp(66px, 7vw, 96px); }
.inner-hero__grid { grid-template-columns: .92fr 1.08fr; gap: clamp(38px, 6vw, 76px); }
.inner-hero__copy h1 { font-size: clamp(2.65rem, 4.15vw, 4.2rem); max-width: 13ch; line-height: 1.02; }
.inner-hero__copy > p { font-size: .98rem; margin-top: 20px; }
.inner-hero__media { min-height: 470px; border-radius: 34px 14px 34px 14px; box-shadow: 0 30px 70px rgba(0,46,129,.16); }
.page-hero__inner h1 { font-size: clamp(2.45rem, 4vw, 3.9rem); max-width: 16ch; }
.page-hero--compact { padding-block: clamp(52px, 6vw, 82px); }
.subject-card, .process-card, .workshop-card, .gallery-tile, .contact-card, .form-panel { transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms ease; }
.subject-card:hover, .process-card:hover, .workshop-card:hover, .contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: rgba(0,46,129,.18); }
.grade-ribbon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.grade-ribbon span { padding: 9px 12px; border-radius: 999px; background: var(--soft-blue); color: var(--brand-blue); border: 1px solid rgba(0,46,129,.12); font-size: .72rem; font-weight: 900; }
.legal-business { display: grid; gap: 4px; margin-bottom: 22px; padding: 18px; border-radius: 16px; background: var(--brand-blue); color: white; }
.legal-business strong { color: white; }
.legal-business span { color: rgba(255,255,255,.78); font-size: .8rem; }

/* Tilt suave controlado por JS */
[data-tilt] { will-change: transform; transition: transform 220ms var(--ease-out), box-shadow 220ms ease; }

@media (max-width: 1180px) {
  .hero__grid--refined { grid-template-columns: .9fr 1.1fr; gap: 32px; }
  .hero__copy--refined h1 { font-size: clamp(2.75rem, 5vw, 4.25rem); }
  .benefit-dock article { padding: 22px 17px; gap: 12px; }
  .benefit-dock__icon { width: 44px; height: 44px; }
  .benefit-dock h2 { font-size: .9rem; }
  .site-nav__link { font-size: .72rem; }
}

@media (max-width: 980px) {
  h1 { font-size: clamp(2.35rem, 7vw, 3.7rem); }
  .hero__grid--refined { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy--refined { max-width: 720px; padding-bottom: 0; }
  .hero__copy--refined h1 { max-width: 11.5ch; }
  .hero-showcase { min-height: 600px; }
  .hero-slider { inset: 20px 6% 30px 6%; }
  .hero-float-card--tech { left: 4%; }
  .benefit-dock { grid-template-columns: repeat(2, 1fr); transform: translateY(28px); }
  .benefit-dock article:nth-child(3)::before { display: none; }
  .benefit-dock article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .levels-layout--refined { grid-template-columns: 1fr; }
  .levels-copy h2 { max-width: 16ch; }
  .campus-showcase { grid-template-columns: 1fr; }
  .campus-showcase__photo { min-height: 520px; }
  .campus-showcase__photo::after { background: linear-gradient(180deg, transparent 70%, rgba(0,46,129,.55)); }
  .community-story__card { grid-template-columns: .9fr 1.1fr; }
  .community-story__doodle { display: none; }
  .inner-hero__grid { grid-template-columns: 1fr; }
  .inner-hero__copy h1 { max-width: 15ch; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 30px, 1220px); }
  .section { padding: 60px 0; }
  .home-hero--editorial { padding-top: 32px; }
  .hero__grid--refined { gap: 32px; }
  .hero__copy--refined h1 { font-size: clamp(2.55rem, 12.5vw, 3.7rem); max-width: 9.5ch; }
  .hero__copy--refined > p { margin-top: 18px; font-size: .94rem; }
  .hero__actions .button { flex: 1 1 100%; }
  .hero-mini-proof { overflow-x: auto; padding-bottom: 5px; }
  .hero-mini-proof > div { min-width: 105px; }
  .hero-showcase { min-height: 455px; }
  .hero-slider { inset: 12px 7px 28px; border-width: 4px; border-radius: 30% 10% 28% 12% / 10% 22% 12% 25%; }
  .hero-float-card--tech { left: -4px; top: 42px; }
  .hero-float-card--learn { right: 4px; bottom: 68px; }
  .hero-float-card span { max-width: 150px; }
  .hero-handnote { right: 12px; top: 56px; font-size: .94rem; }
  .hero-handnote span { font-size: 1.4rem; }
  .hero-slider__controls { right: 10px; bottom: 4px; }
  .benefit-dock { grid-template-columns: 1fr; border-radius: 24px; transform: translateY(26px); }
  .benefit-dock article { min-height: 105px; padding: 18px; }
  .benefit-dock article + article::before { top: 0; bottom: auto; right: 18px; width: auto; height: 1px; }
  .benefit-dock article:nth-child(3)::before { display: block; }
  .benefit-dock article:nth-child(n+3) { border-top: 0; }
  .essence-section { padding-top: 96px; }
  .pillar-grid--interactive { grid-template-columns: 1fr; }
  .pillar-grid--interactive .pillar-card { min-height: 240px; }
  .level-cards--refined { grid-template-columns: 1fr; }
  .level-cards--refined .level-card__media { height: 245px; }
  .campus-showcase__photo { min-height: 370px; }
  .campus-showcase__panel { padding: 42px 22px 48px; }
  .campus-stat-grid { grid-template-columns: 1fr 1fr; }
  .community-story__card { grid-template-columns: 1fr; border-radius: 26px; }
  .community-story__photo { min-height: 300px; max-height: 340px; }
  .community-story__quote { padding: 32px 24px 36px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card__body p { min-height: 0; }
  .admission-card--refined { padding: 36px 24px; }
  .inner-hero__copy h1 { font-size: clamp(2.35rem, 10.8vw, 3.35rem); }
  .inner-hero__media { min-height: 350px; }
  .page-hero__inner h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .site-footer { padding-bottom: 68px; }
  .whatsapp-fab { display: none; }
  .mobile-quickbar {
    position: fixed;
    z-index: 120;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 7px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 48px rgba(0,29,84,.20);
    border: 1px solid rgba(0,46,129,.10);
  }
  .mobile-quickbar a {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 13px;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 900;
  }
  .mobile-quickbar a:first-child { background: #25D366; color: white; }
  .mobile-quickbar a:first-child img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
  .mobile-quickbar a:last-child { background: var(--brand-gold); color: var(--brand-blue-dark); }
  .mobile-quickbar .icon { width: 15px; }
}

@media (max-width: 420px) {
  .hero-showcase { min-height: 410px; }
  .hero-float-card--learn { display: none; }
  .hero-float-card span { display: none; }
  .hero-float-card--tech { padding: 8px 10px; }
  .hero-handnote { font-size: .82rem; }
  .campus-stat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .workshop-marquee__track,
  .hero-float-card,
  .whatsapp-fab__pulse { animation: none !important; }
  .hero-slide { transition: none; }
  [data-tilt] { transform: none !important; }
}

/* Contacto con marcas oficiales */
.contact-card--whatsapp { background: #f2fff7; border-color: rgba(37,211,102,.25); }
.contact-brand-icon { width: 24px; height: 24px; margin-top: 2px; filter: invert(67%) sepia(76%) saturate(889%) hue-rotate(91deg) brightness(91%) contrast(86%); flex: 0 0 auto; }
.contact-socials { display: flex; align-items: center; gap: 9px; padding-top: 4px; }
.contact-socials .social-button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.contact-socials .social-button img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.contact-socials > span { margin-left: 5px; color: var(--muted); font-size: .76rem; font-weight: 800; }

/* Logo de cabecera más cercano a la propuesta visual aprobada */
.brand--school { position: relative; z-index: 4; flex: 0 0 auto; display: flex; align-items: center; text-decoration: none; }
.brand__primary { display: block; width: 92px !important; height: auto; margin: 8px 10px -34px 0; filter: drop-shadow(0 7px 12px rgba(0,46,129,.08)); }
.brand__horizontal { display: none !important; }
.site-header__inner { min-height: 82px; }
.is-scrolled .site-header__inner { min-height: 72px; }
@media (max-width: 1180px) {
  .brand__primary { display: none !important; }
  .brand__horizontal { display: block !important; width: 205px !important; height: auto; margin: 0; }
}
@media (max-width: 700px) {
  .brand__horizontal { width: 180px !important; }
}

/* La forma es la oficial de WhatsApp; en botones conserva el verde de marca. */
.button-brand-icon { filter: invert(67%) sepia(76%) saturate(889%) hue-rotate(91deg) brightness(91%) contrast(86%); }
.button--ghost .button-brand-icon { filter: none; opacity: .98; }

/* ============================================================
   HOME MOBILE REFINEMENT — v1.0.4 (base oficial v1.0.3)
   Solo responsive del Inicio. No altera diseño desktop/internas.
   ============================================================ */
@media (max-width: 700px) {
  body[data-page="inicio"] .home-hero--editorial {
    padding: 22px 0 0;
    background:
      radial-gradient(circle at 92% 5%, rgba(219,238,255,.82), transparent 30%),
      radial-gradient(circle at 0% 56%, rgba(218,149,0,.08), transparent 26%),
      linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  }

  body[data-page="inicio"] .hero__grid--refined {
    gap: 24px;
  }

  body[data-page="inicio"] .hero__copy--refined {
    padding-bottom: 0;
  }

  body[data-page="inicio"] .hero-kicker {
    width: fit-content;
    max-width: 100%;
    padding: 8px 11px;
    font-size: .64rem;
    line-height: 1.25;
  }

  body[data-page="inicio"] .hero__copy--refined h1 {
    margin-top: 15px;
    max-width: 10ch;
    font-size: clamp(2.65rem, 13.2vw, 3.55rem);
    line-height: .96;
    letter-spacing: -.052em;
  }

  body[data-page="inicio"] .hero__copy--refined > p {
    max-width: 36ch;
    margin-top: 17px;
    font-size: .93rem;
    line-height: 1.62;
  }

  body[data-page="inicio"] .hero__copy--refined .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  body[data-page="inicio"] .hero__copy--refined .hero__actions .button {
    min-height: 50px;
    justify-content: space-between;
    padding-inline: 17px;
  }

  body[data-page="inicio"] .hero-mini-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin-top: 22px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 28px rgba(0,46,129,.06);
  }

  body[data-page="inicio"] .hero-mini-proof > div {
    min-width: 0;
    margin: 0;
    padding: 13px 10px;
    text-align: center;
  }

  body[data-page="inicio"] .hero-mini-proof > div + div {
    padding-left: 10px;
  }

  body[data-page="inicio"] .hero-mini-proof strong {
    font-size: 1rem;
  }

  body[data-page="inicio"] .hero-mini-proof span {
    font-size: .62rem;
    line-height: 1.3;
  }

  body[data-page="inicio"] .hero-showcase {
    min-height: 390px;
    margin-top: 2px;
  }

  body[data-page="inicio"] .hero-showcase__halo {
    width: 90%;
    height: 82%;
    left: 5%;
    top: 9%;
    filter: blur(24px);
  }

  body[data-page="inicio"] .hero-slider {
    inset: 0 0 32px;
    border-width: 4px;
    border-radius: 26px;
    box-shadow: 0 24px 54px rgba(0,46,129,.20);
  }

  body[data-page="inicio"] .hero-slide:first-child .hero-showcase__img {
    object-position: 50% 50%;
  }

  body[data-page="inicio"] .hero-slide:nth-child(2) .hero-showcase__img,
  body[data-page="inicio"] .hero-slide:nth-child(3) .hero-showcase__img {
    object-position: 50% 48%;
  }

  body[data-page="inicio"] .hero-handnote {
    display: none;
  }

  body[data-page="inicio"] .hero-float-card {
    border-radius: 15px;
    box-shadow: 0 10px 28px rgba(0,29,84,.16);
  }

  body[data-page="inicio"] .hero-float-card--tech {
    left: 10px;
    top: 14px;
    max-width: calc(100% - 20px);
  }

  body[data-page="inicio"] .hero-float-card--tech img {
    width: 30px;
    height: 30px;
  }

  body[data-page="inicio"] .hero-float-card--tech span {
    display: block;
    max-width: 210px;
    font-size: .55rem;
  }

  body[data-page="inicio"] .hero-float-card--learn {
    right: 10px;
    bottom: 48px;
    padding: 9px 11px;
  }

  body[data-page="inicio"] .hero-slider__controls {
    right: 8px;
    bottom: 0;
  }

  body[data-page="inicio"] .benefit-dock {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin-top: 2px;
    padding: 0;
    transform: translateY(18px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="inicio"] .benefit-dock article {
    min-height: 148px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,46,129,.065);
  }

  body[data-page="inicio"] .benefit-dock article + article::before,
  body[data-page="inicio"] .benefit-dock article:nth-child(3)::before {
    display: none;
  }

  body[data-page="inicio"] .benefit-dock__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  body[data-page="inicio"] .benefit-dock h2 {
    font-size: .83rem;
    line-height: 1.18;
  }

  body[data-page="inicio"] .benefit-dock p {
    margin-top: 0;
    font-size: .67rem;
    line-height: 1.45;
  }

  body[data-page="inicio"] .essence-section {
    padding-top: 78px;
  }

  body[data-page="inicio"] .compact-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
  }

  body[data-page="inicio"] .pillar-grid--interactive {
    gap: 12px;
  }

  body[data-page="inicio"] .pillar-grid--interactive .pillar-card {
    min-height: 225px;
    padding: 22px;
    border-radius: 22px;
  }

  body[data-page="inicio"] .level-cards--refined {
    gap: 14px;
  }

  body[data-page="inicio"] .level-cards--refined .level-card {
    border-radius: 24px;
  }

  body[data-page="inicio"] .campus-showcase {
    border-radius: 26px;
    overflow: hidden;
  }

  body[data-page="inicio"] .campus-showcase__photo {
    min-height: 330px;
  }

  body[data-page="inicio"] .campus-showcase__panel {
    padding: 34px 20px 42px;
  }

  body[data-page="inicio"] .community-story__card {
    border-radius: 24px;
  }

  body[data-page="inicio"] .community-story__photo {
    min-height: 280px;
    max-height: 310px;
  }

  body[data-page="inicio"] .community-story__quote {
    padding: 28px 21px 32px;
  }

  body[data-page="inicio"] .community-story__quote h2 {
    max-width: 17ch;
  }

  body[data-page="inicio"] .news-grid {
    gap: 14px;
  }

  body[data-page="inicio"] .news-card {
    border-radius: 22px;
  }

  body[data-page="inicio"] .admission-card--refined {
    padding: 30px 21px;
    border-radius: 26px;
  }
}

@media (max-width: 420px) {
  body[data-page="inicio"] .hero-showcase {
    min-height: 350px;
  }

  body[data-page="inicio"] .hero-float-card--learn {
    display: flex;
  }

  body[data-page="inicio"] .hero-float-card--tech span {
    display: block;
  }

  body[data-page="inicio"] .benefit-dock article {
    min-height: 142px;
    padding: 14px;
  }
}

/* Vida Escolar · 4 espacios: conservar originales + nuevos */
@media (min-width: 760px) {
  .masonry-grid.is-filter-espacios { columns: 2 430px; }
}


/* v1.0.7 recovery: footer official horizontal lockup; preserve all accumulated changes */
.site-footer__brand .site-footer__logo {
  width: min(245px, 100%);
  height: auto !important;
  aspect-ratio: 525 / 133;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 20px;
}
@media (max-width: 760px) {
  .site-footer__brand .site-footer__logo { width: min(230px, 78vw); }
}


/* v1.0.8 UI polish + fixed sticky header */
body { padding-top: var(--header-height); }
.site-header { position: fixed; inset: 0 0 auto 0; width: 100%; }
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(0,46,129,.10); }
main { position: relative; z-index: 1; }

.admission-card--refined { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; }
.admission-card--refined .admission-card__content { max-width: 700px; }
.admission-card--refined .admission-card__actions { margin-top: 30px; }
.admission-card--refined .admission-card__meta { min-width: 0; gap: 14px; }
.admission-card--refined .admission-card__meta-card { padding: 18px 18px 16px; border-radius: 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.admission-card--refined .admission-card__meta-card strong, .admission-card--refined .admission-card__meta-card small, .admission-card--refined .admission-card__meta-card span { display: block; }
.admission-card--refined .admission-card__meta-card small { margin-top: 4px; color: rgba(255,255,255,.64); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.admission-card--refined .admission-card__meta-card strong { margin-top: 8px; font-size: 1rem; color: white; }
.admission-card--refined .admission-card__meta-card span { margin-top: 7px; color: rgba(255,255,255,.78); font-size: .85rem; }
.admission-card--refined .admission-card__meta-card .icon { width: 20px; height: 20px; color: var(--brand-gold); flex: 0 0 auto; }
.admission-card--refined .admission-card__meta-line { display: flex; gap: 10px; align-items: flex-start; }
.admission-card--refined .admission-card__meta-card--hours { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08)); }

.mini-cta { position: relative; overflow: hidden; grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr); align-items: center; gap: 42px; }
.mini-cta::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.06); }
.mini-cta::after { content: ""; position: absolute; width: 280px; height: 280px; right: 8%; bottom: -190px; border-radius: 50%; background: rgba(218,149,0,.12); }
.mini-cta > * { position: relative; z-index: 1; }
.mini-cta__copy p { max-width: 650px; }
.mini-cta__side { display: grid; gap: 18px; }
.mini-cta__actions { justify-content: flex-start; }
.mini-cta__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-cta__meta-item { padding: 16px 17px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); min-height: 100%; }
.mini-cta__meta-item small, .mini-cta__meta-item strong, .mini-cta__meta-item span { display: block; }
.mini-cta__meta-item small { color: rgba(255,255,255,.65); font-size: .71rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.mini-cta__meta-item strong { margin-top: 7px; color: white; font-size: .97rem; }
.mini-cta__meta-item span { margin-top: 6px; color: rgba(255,255,255,.78); font-size: .84rem; }

.feature-band--academic { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
.feature-band--academic .feature-band__media { position: relative; }
.feature-band--academic .feature-band__note { position: absolute; left: 22px; bottom: 22px; max-width: 240px; padding: 15px 17px; border-radius: 18px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-sm); }
.feature-band--academic .feature-band__note strong, .feature-band--academic .feature-band__note span { display: block; }
.feature-band--academic .feature-band__note strong { color: var(--brand-blue); font-size: .93rem; }
.feature-band--academic .feature-band__note span { margin-top: 5px; color: var(--muted); font-size: .82rem; }
.feature-band--academic .feature-band__copy { display: grid; gap: 0; }
.feature-band--academic .feature-band__copy > p { margin-top: 18px; }
.feature-band__highlights { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.feature-band__highlights li { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.feature-band__highlights strong { color: var(--brand-blue); font-size: .95rem; }
.feature-band__highlights span { color: var(--muted); font-size: .86rem; }

.subject-grid { gap: 18px; }
.subject-card { display: flex; flex-direction: column; transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 240ms ease; }
.subject-card:hover { transform: translateY(-6px); border-color: rgba(0,46,129,.18); box-shadow: var(--shadow-sm); }
.subject-card__media { height: 210px; position: relative; }
.subject-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(0,46,129,.22)); pointer-events: none; }
.subject-card__body { display: flex; flex-direction: column; gap: 10px; min-height: 170px; }
.subject-card__eyebrow { display: inline-flex; align-items: center; width: fit-content; padding: 7px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--brand-blue); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.subject-card__body p { margin: 0; font-size: .87rem; color: var(--muted); }
.subject-card__tag { margin-top: auto; display: inline-flex; width: fit-content; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(218,149,0,.12); color: var(--brand-blue); font-size: .77rem; font-weight: 800; }

.section-heading--split { align-items: start; }
.gallery-intro-card { max-width: 420px; padding: 20px 22px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.gallery-intro-card strong, .gallery-intro-card span, .gallery-intro-card small { display: block; }
.gallery-intro-card strong { color: var(--brand-blue); font-size: 1rem; }
.gallery-intro-card span { margin-top: 7px; color: var(--muted); font-size: .87rem; }
.gallery-intro-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gallery-intro-card__chips small { padding: 7px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--brand-blue); font-size: .7rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.filter-bar { width: fit-content; max-width: 100%; padding: 12px; border-radius: 24px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-xs); gap: 10px; margin: 26px 0 34px; }
.filter-button { min-height: 46px; padding: 11px 18px; box-shadow: inset 0 0 0 1px transparent; }
.filter-button:hover, .filter-button.is-active { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,46,129,.16); }
.masonry-grid { columns: 3 300px; column-gap: 18px; }
.gallery-tile { position: relative; transition: opacity 200ms ease, transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 220ms ease; }
.gallery-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: rgba(0,46,129,.16); }
.gallery-tile__media { position: relative; }
.gallery-tile__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(0,46,129,.20)); pointer-events: none; }
.gallery-tile__body { padding: 21px 21px 23px; }

@media (max-width: 1100px) {
  .admission-card--refined, .mini-cta, .feature-band--academic { grid-template-columns: 1fr; }
  .admission-card--refined .admission-card__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { padding-top: 70px; }
  .site-nav { top: 78px; }
  .admission-card--refined .admission-card__meta, .mini-cta__meta, .subject-grid { grid-template-columns: 1fr; }
  .mini-cta { gap: 24px; }
  .mini-cta__actions { display: grid; }
  .feature-band--academic .feature-band__note { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .subject-card__media { height: 190px; }
  .section-heading--split .gallery-intro-card { margin-top: 18px; }
  .filter-bar { width: 100%; }
}
