:root {
  --navy: #292e38;
  --blue: #417ea5;
  --purple: #764c73;
  --teal: #389c98;
  --aqua: #3bafaf;
  --green: #64b39c;
  --orange: #f19e3d;
  --yellow: #f1bc54;
  --red: #b0457d;
  --blue-dark: #315e79;
  --purple-dark: #5a3b57;
  --teal-dark: #267874;
  --green-dark: #3d7465;
  --orange-dark: #9a5a1c;
  --red-dark: #84335c;
  --ink: #292e38;
  --muted: #56656a;
  --line: #d6e5e2;
  --surface: #ffffff;
  --page: #f7faf8;
  --shadow: 0 10px 30px rgba(50, 143, 154, 0.14);
  --soft-shadow: 0 5px 18px rgba(50, 143, 154, 0.11);
  --radius: 20px;
  --shell: min(1180px, calc(100% - 56px));
  --dashboard-shell: min(1440px, calc(100% - 56px));
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }

.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;
  left: 18px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  color: white;
  background: var(--purple);
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.site-header {
  position: relative;
  top: 0;
  z-index: 100;
  height: 88px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(100, 179, 156, 0.32);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1240px, calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.brand-logo { display: block; object-fit: contain; }
.brand-logo-header { width: 76px; height: 76px; }
.primary-nav {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 26px;
}
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transition: right .2s ease;
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.round-action, .menu-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.round-action {
  width: 38px;
  height: 38px;
  border: 1px solid #e1e9f5;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.round-action:hover { background: #eaf6f3; color: var(--teal); }
.teacher-access { color: white; background: var(--teal-dark); border-color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.teacher-access:hover { color: white; background: var(--purple); border-color: var(--purple); }
.access-menu { position: relative; }
.access-menu-toggle {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: white;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(38, 120, 116, .23);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}
.access-menu-toggle:hover, .access-menu-toggle[aria-expanded="true"] { transform: translateY(-1px); box-shadow: 0 11px 24px rgba(38, 120, 116, .28); }
.access-grid-mark { width: 18px; height: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.access-grid-mark i { display: block; border: 1.5px solid currentColor; border-radius: 2px; }
.access-chevron { width: 7px; height: 7px; margin: -3px 1px 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.access-menu-toggle[aria-expanded="true"] .access-chevron { margin-top: 3px; transform: rotate(225deg); }
.access-dropdown {
  position: absolute;
  z-index: 210;
  top: calc(100% + 13px);
  right: 0;
  width: 370px;
  padding: 10px;
  background: rgba(255,255,255,.99);
  border: 1px solid #dbe7e5;
  border-radius: 19px;
  box-shadow: 0 24px 60px rgba(41,46,56,.2);
  animation: access-menu-in .18s ease;
}
.access-dropdown::before { content: ""; position: absolute; top: -7px; right: 29px; width: 12px; height: 12px; background: white; border-top: 1px solid #dbe7e5; border-left: 1px solid #dbe7e5; transform: rotate(45deg); }
@keyframes access-menu-in { from { opacity: 0; transform: translateY(-7px); } }
.access-dropdown > header { padding: 11px 12px 12px; border-bottom: 1px solid #e5eceb; }
.access-dropdown > header strong { font-size: 15px; }
.access-dropdown > header p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.access-dropdown nav { padding-top: 5px; display: grid; gap: 3px; }
.access-link { --access-color: var(--teal); min-height: 67px; padding: 9px 10px; display: grid; grid-template-columns: 46px 1fr 24px; align-items: center; gap: 11px; border-radius: 13px; transition: background .16s ease, transform .16s ease; }
.access-link:hover, .access-link:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--access-color) 9%, white); transform: translateX(2px); }
.access-link > span:nth-child(2) { min-width: 0; display: grid; }
.access-link strong { color: color-mix(in srgb, var(--access-color) 78%, var(--ink)); font-size: 13px; }
.access-link small { margin-top: 2px; overflow: hidden; color: #68747a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.access-icon { width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--access-color); border-radius: 13px; box-shadow: 0 6px 14px color-mix(in srgb, var(--access-color) 25%, transparent); font-size: 13px; font-weight: 900; }
.access-arrow { color: var(--access-color); font-size: 20px; font-style: normal; transition: transform .16s ease; }
.access-link:hover .access-arrow { transform: translateX(3px); }
.access-link.student { --access-color: var(--purple); }
.access-link.guardian { --access-color: var(--teal-dark); }
.access-link.teacher { --access-color: var(--blue); }
.access-link.admin { --access-color: var(--orange-dark); margin-top: 3px; border-top: 1px solid #e8edec; border-radius: 0 0 13px 13px; }
.platform-button {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: linear-gradient(135deg, var(--purple), #605287);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(118, 76, 115, .26);
}
.platform-button:hover { transform: translateY(-1px); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.hero {
  position: relative;
  height: clamp(420px, 40vw, 560px);
  min-height: 420px;
  overflow: hidden;
  background: #d9efff;
}
.hero-picture { position: absolute; inset: 0; display: block; }
.hero-media { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.12) 14%, rgba(255,255,255,.96) 18%, rgba(255,255,255,.92) 31%, rgba(255,255,255,.34) 42%, transparent 58%);
}
.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(28px, calc((100% - 1180px) / 2));
  width: min(350px, 39vw);
  transform: translateY(-50%);
}
.admission-open-badge { min-height: 35px; margin: 0 0 13px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; color: #fff; background: linear-gradient(105deg, var(--purple), var(--teal-dark)); border: 0; border-radius: 999px; box-shadow: 0 8px 20px rgba(68,75,115,.2); cursor: pointer; font: inherit; font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.admission-open-badge i { width: 8px; height: 8px; background: #80e5b5; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: 0 0 0 4px rgba(128,229,181,.15); }
.admission-open-badge span { padding-left: 7px; border-left: 1px solid rgba(255,255,255,.35); font-size: 10px; }
.admission-open-badge:hover { background: linear-gradient(105deg, var(--teal-dark), var(--purple)); }
.hero-content .eyebrow { margin: 0; font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; line-height: 1.05; }
.hero-content h1 { margin: 0 0 6px; font-size: clamp(62px, 7vw, 94px); line-height: .96; letter-spacing: -.055em; }
.hero-content > p:last-of-type { max-width: 330px; margin: 8px 0 18px; font-size: clamp(14px, 1.35vw, 18px); font-weight: 600; }
.button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(24, 39, 94, .18); }
.button-primary { color: var(--ink); background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.button-secondary { color: var(--ink); background: rgba(255,255,255,.9); border-color: #8292a9; }
.play-mark { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; }

.benefits { position: relative; min-height: 78px; color: white; background: #294c52; overflow: hidden; }
.benefits > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.benefits::after { content: ""; position: absolute; inset: 0; background: rgba(41, 46, 56, .26); }
.benefits-inner {
  position: relative;
  z-index: 2;
  width: var(--shell);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 28px;
}
.benefits article { min-width: 0; display: flex; align-items: center; gap: 12px; }
.benefit-symbol { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; font-size: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.landscape { background: linear-gradient(135deg, var(--blue), var(--green)); }
.inclusion { background: linear-gradient(135deg, var(--purple), var(--orange)); }
.learning { background: linear-gradient(135deg, var(--yellow), var(--teal)); }
.technology { background: linear-gradient(135deg, var(--aqua), var(--purple)); }
.benefits h2 { margin: 0 0 2px; font-size: 14px; }
.benefits p { margin: 0; color: #dfeef8; font-size: 11px; line-height: 1.35; }

.page-shell { width: var(--dashboard-shell); margin: 0 auto; }
.platform-section { padding: 28px 0 23px; }
.platform-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; }
.platform-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #e0eaf4;
  border-radius: 21px;
  background: white;
  box-shadow: var(--soft-shadow);
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.platform-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.platform-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 31%, rgba(255,255,255,0) 55%); }
.platform-icon { position: absolute; top: 18px; left: 18px; width: 45px; height: 45px; display: grid; place-items: center; color: white; background: currentColor; border-radius: 15px; font-size: 19px; box-shadow: 0 6px 15px rgba(30,50,90,.14); }
.platform-icon::first-letter { color: white; }
.platform-card.blue .platform-icon { background: var(--blue); }
.platform-card.teal .platform-icon { background: var(--teal); }
.platform-card.purple .platform-icon { background: var(--purple); }
.platform-card.green .platform-icon { background: var(--green); }
.platform-card.orange .platform-icon { background: var(--orange); }
.platform-card.red .platform-icon { background: var(--red); }
.platform-copy { position: absolute; top: 18px; left: 72px; right: 10px; }
.platform-copy strong { display: block; font-size: clamp(14px, 1.25vw, 20px); line-height: 1.08; }
.platform-copy small { display: block; margin-top: 11px; color: #3d4965; font-size: clamp(10px, .78vw, 13px); line-height: 1.3; }
.blue .platform-copy strong { color: var(--blue-dark); }
.teal .platform-copy strong { color: var(--teal-dark); }
.purple .platform-copy strong { color: var(--purple-dark); }
.green .platform-copy strong { color: var(--green-dark); }
.orange .platform-copy strong { color: var(--orange-dark); }
.red .platform-copy strong { color: var(--red-dark); }
.card-arrow { position: absolute; right: 13px; bottom: 13px; width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--ink); border: 3px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 23px; }
.blue .card-arrow { background: var(--blue); }
.teal .card-arrow { background: var(--teal); }
.purple .card-arrow { background: var(--purple); }
.green .card-arrow { background: var(--green); }
.orange .card-arrow { background: var(--orange); }
.red .card-arrow { background: var(--red); }

.feature-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: 18px; }
.feature-card { position: relative; min-height: 306px; overflow: hidden; border: 1px solid #dfe9f4; border-radius: var(--radius); background: white; box-shadow: var(--soft-shadow); isolation: isolate; }
.feature-card > img, .feature-card > .feature-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.feature-card > img, .feature-card > .feature-art > img { width: 100%; height: 100%; object-fit: cover; }
.why-card > img, .why-card > .feature-art > img { object-position: center; }
.why-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 39%, rgba(255,255,255,.45) 53%, transparent 70%); }
.feature-copy { width: 54%; padding: 28px 0 20px 28px; }
.feature-copy h2, .method-heading h2, .section-heading h2, .story-copy h2, .culture-copy h2, .cta h2 { margin: 0; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.15; }
.feature-copy > p, .method-heading p, .story-copy > p, .culture-copy > p, .cta p { margin: 6px 0 15px; font-size: 15px; }
.feature-copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.feature-copy li { position: relative; padding-left: 30px; font-size: 14px; }
.feature-copy li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; display: grid; place-items: center; color: var(--teal-dark); border: 1px solid var(--teal-dark); border-radius: 50%; font-size: 13px; font-weight: 800; }
.method-heading { position: relative; z-index: 3; padding: 25px 28px 0; }
.method-heading p { position: relative; z-index: 3; max-width: 100%; padding-right: 8px; }
.method-visual { position: absolute; z-index: 2; top: 103px; right: 18px; bottom: 53px; left: 18px; }
.method-visual > img, .method-visual > .method-art { position: absolute; inset: 0 0 29px; width: 100%; height: calc(100% - 29px); }
.method-visual > img, .method-visual > .method-art > img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; opacity: .98; }
.method-labels { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1.1fr .95fr .95fr 1.1fr .9fr; align-items: center; list-style: none; text-align: center; font-size: 12.5px; line-height: 1.05; font-weight: 700; }
.method-button { position: absolute; z-index: 2; left: 50%; bottom: 10px; min-height: 40px; padding: 0 18px; transform: translateX(-50%); font-size: 12.5px; }
.method-button:hover { transform: translate(-50%, -2px); }

.plans-section { padding: 58px 0 22px; }
.plans-heading { max-width: 720px; margin: 0 auto 21px; text-align: center; }
.plans-heading h2 { margin: 3px 0 7px; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.plans-heading > p:last-child { margin: 0; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); }
.plans-eyebrow { margin: 0; color: var(--teal-dark); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.plans-common { min-height: 84px; padding: 14px 18px; display: grid; grid-template-columns: 1.35fr repeat(5, 1fr); align-items: center; overflow: hidden; color: #27425a; background: linear-gradient(135deg, #f4fbfa, #fff); border: 1px solid #bddfdc; border-radius: 15px; box-shadow: 0 5px 16px rgba(50,143,154,.06); }
.plans-common-title { padding-right: 16px; color: var(--teal-dark); font-size: 15px; line-height: 1.25; }
.plans-common-item { min-height: 46px; padding: 0 11px; display: flex; align-items: center; gap: 9px; border-left: 1px solid #c9e2e0; font-size: 11.5px; line-height: 1.3; }
.plans-common-item i { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--teal); border: 1px solid #8bcfca; border-radius: 10px; font-size: 15px; font-style: normal; font-weight: 900; }
.plans-grid { width: min(900px,100%); margin: 20px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.plan-a { --plan-color: #119c99; --plan-soft: #e6f7f5; }
.plan-b { --plan-color: #1779c8; --plan-soft: #eaf4fc; }
.plan-c { --plan-color: #7c4b91; --plan-soft: #f3ebf7; }
.plan-d { --plan-color: #ef6d12; --plan-soft: #fff0e5; }
.plan-card { min-width: 0; padding: 16px 18px 17px; display: flex; flex-direction: column; color: var(--ink); background: linear-gradient(180deg, #fff, #fcfefe); border: 1px solid #dce7e7; border-radius: 18px; box-shadow: var(--soft-shadow); transition: transform .18s ease, box-shadow .18s ease; }
.plan-card[hidden] { display: none !important; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card-heading { padding-bottom: 13px; text-align: center; border-bottom: 2px solid var(--plan-color); }
.plan-icon { width: 57px; height: 57px; margin: -2px auto 9px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--plan-color), color-mix(in srgb, var(--plan-color) 68%, var(--purple))); border-radius: 50%; box-shadow: 0 8px 16px color-mix(in srgb, var(--plan-color) 24%, transparent); font-size: 28px; font-weight: 700; }
.plan-icon-people { font-size: 13px; letter-spacing: -3px; }
.plan-card h3 { margin: 0; color: var(--plan-color); font-size: 27px; line-height: 1; text-transform: uppercase; }
.plan-card-heading p { min-height: 34px; margin: 6px 0 0; font-size: 13px; line-height: 1.3; }
.plan-summary { margin: 16px 0 17px; padding: 0; display: grid; gap: 10px; list-style: none; }
.plan-summary li { position: relative; padding-left: 25px; font-size: 12px; line-height: 1.35; }
.plan-summary li::before { content: "✓"; position: absolute; top: 0; left: 0; width: 17px; height: 17px; display: grid; place-items: center; color: white; background: var(--plan-color); border-radius: 50%; font-size: 10px; font-weight: 900; }
.plan-price { margin-top: auto; padding: 10px 2px 11px; border-top: 1px solid #dce6e7; border-bottom: 1px dashed #c9d8da; text-align: center; }
.plan-price p { margin: 0; font-size: 13px; }
.plan-price p + p { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #d7e2e3; }
.plan-price strong { color: var(--plan-color); font-size: 17px; }
.plan-button { width: 100%; min-height: 42px; margin-top: 13px; color: var(--plan-color); background: white; border: 1px solid var(--plan-color); border-radius: 10px; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 850; transition: color .18s ease, background .18s ease, transform .18s ease; }
.plan-button:hover { color: white; background: var(--plan-color); transform: translateY(-2px); }
.plans-inclusion { margin-top: 22px; padding: 18px 23px; display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 20px; background: linear-gradient(100deg, #fff8f2, #fffdfb); border: 1px solid #f3d2a7; border-radius: 16px; }
.plans-inclusion-icon { width: 68px; height: 68px; display: grid; place-items: center; color: var(--red); background: #fff0f3; border: 1px solid #f3cbd7; border-radius: 50%; font-size: 38px; }
.plans-inclusion h3 { margin: 0 0 6px; font-size: 18px; }
.plans-inclusion p { max-width: 900px; margin: 0; color: #536071; font-size: 12.5px; line-height: 1.55; }
.plans-scholarship-button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--red); background: white; border: 1px solid var(--red); border-radius: 12px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 850; white-space: nowrap; transition: color .18s ease, background .18s ease, transform .18s ease; }
.plans-scholarship-button:hover { color: white; background: var(--red); transform: translateY(-2px); }

.adult-program-preview { padding: 55px 0 30px; }
.adult-program-preview > header { max-width: 820px; margin: 0 auto 22px; text-align: center; }
.adult-program-preview > header p { margin: 0 0 7px; color: var(--teal-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.adult-program-preview > header h2 { margin: 0; font-size: clamp(34px,3.5vw,52px); line-height: 1.06; letter-spacing: -.04em; }
.adult-preview-card { overflow: hidden; display: grid; grid-template-columns: .92fr 1.08fr; min-height: 490px; background: white; border: 1px solid #dce7e7; border-radius: 25px; box-shadow: var(--shadow); }
.adult-preview-card > figure { min-width: 0; margin: 0; overflow: hidden; }
.adult-preview-card > figure picture { width: 100%; height: 100%; display: block; }
.adult-preview-card > figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.adult-preview-copy { padding: 44px 48px 38px; display: flex; flex-direction: column; justify-content: center; }
.adult-preview-copy > p:first-child { max-width: 610px; margin: 0 0 25px; color: #3f4a50; font-size: 18px; line-height: 1.6; }
.adult-preview-levels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.adult-preview-levels article { min-height: 154px; padding: 20px; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 15px; background: white; border: 1px solid currentColor; border-radius: 16px; }
.adult-preview-levels article.teal { color: var(--teal-dark); }
.adult-preview-levels article.purple { color: var(--purple); }
.adult-preview-levels article > span { width: 55px; height: 55px; display: grid; place-items: center; color: currentColor; background: color-mix(in srgb,currentColor 10%,white); border-radius: 50%; font-size: 25px; font-weight: 900; }
.adult-preview-levels div { display: grid; gap: 7px; }
.adult-preview-levels strong { font-size: 19px; }
.adult-preview-levels small { color: #46545a; font-size: 13px; line-height: 1.45; }
.adult-preview-actions { margin-top: 24px; display: flex; align-items: center; gap: 24px; }
.adult-preview-actions > a:last-child { color: var(--blue-dark); border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 800; }
.adult-preview-note { margin: 21px 0 0; color: #67747a; font-size: 14px; font-style: italic; }

.academic-section { padding: 28px 0 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.slider-actions { display: flex; gap: 8px; }
.slider-actions span { width: 40px; height: 40px; display: grid; place-items: center; background: white; border: 1px solid #dfe8f3; border-radius: 50%; box-shadow: var(--soft-shadow); }
.academic-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; }
.academic-card { overflow: hidden; background: white; border: 1px solid #dce6f2; border-radius: 13px; box-shadow: var(--soft-shadow); text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.academic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.academic-card img { display: block; width: 100%; height: 135px; object-fit: cover; object-position: center 40%; }
.academic-card strong { display: block; padding: 10px 4px; font-size: 14px; }

.team-section { padding: 58px 0 42px; }
.team-heading { max-width: 780px; margin: 0 auto 25px; text-align: center; }
.team-heading p { margin: 0 0 7px; color: var(--teal-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.team-heading h2 { margin: 0 0 9px; font-size: clamp(34px,3.6vw,52px); line-height: 1.05; letter-spacing: -.04em; }
.team-heading span { color: #65727a; font-size: 15px; line-height: 1.55; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.team-card { min-width: 0; overflow: hidden; background: white; border: 1px solid #dce7e5; border-radius: 22px; box-shadow: var(--soft-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card > img { width: 100%; aspect-ratio: 1.3 / 1; display: block; object-fit: cover; object-position: center 27%; }
.team-card > div { position: relative; min-height: 292px; padding: 22px 23px 24px; }
.team-card > div::before { content: ""; position: absolute; top: 0; left: 23px; width: 66px; height: 4px; background: var(--team-color,var(--teal)); border-radius: 4px; }
.team-card.ingrid { --team-color: #be5e31; }.team-card.pati { --team-color: #139e9a; }.team-card.pame { --team-color: #7b4e76; }
.team-card p { margin: 0 0 5px; color: var(--team-color,var(--teal)); font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.team-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 28px; letter-spacing: -.025em; }
.team-card strong { min-height: 42px; display: block; color: #344e61; font-size: 13px; line-height: 1.45; }
.team-card span { margin-top: 14px; display: block; color: #5f6d73; font-size: 12.5px; line-height: 1.62; }

.community-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; }
.story-card, .culture-card { position: relative; min-height: 235px; overflow: hidden; border: 1px solid #dfe8f3; border-radius: var(--radius); box-shadow: var(--soft-shadow); isolation: isolate; }
.story-card > img, .culture-card > img, .culture-card > .community-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.story-card > img, .culture-card > img, .culture-card > .community-art > img { width: 100%; height: 100%; object-fit: cover; }
.story-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(41,46,56,.96) 0%, rgba(41,46,56,.9) 42%, rgba(41,46,56,.12) 68%, transparent); }
.story-copy { width: 54%; padding: 21px 0 15px 23px; color: white; }
.story-copy h2, .culture-copy h2 { font-size: clamp(21px, 1.7vw, 28px); }
.story-copy > p, .culture-copy > p { font-size: 13px; }
.story-copy blockquote { margin: 20px 0 13px; padding-left: 18px; border-left: 4px solid var(--orange); color: #f6f0f4; font-size: 14px; font-style: italic; }
.student-attribution { display: flex; align-items: center; gap: 10px; }
.student-attribution > span { width: 35px; height: 35px; display: grid; place-items: center; color: #f3a6ff; background: #fff1; border-radius: 50%; }
.student-attribution p { margin: 0; display: grid; font-size: 12.5px; }
.student-attribution small { color: #cbd8ef; }
.culture-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,252,246,.98) 0%, rgba(255,252,246,.92) 42%, rgba(255,252,246,.16) 67%, transparent); }
.culture-copy { width: 58%; padding: 21px 0 15px 23px; }
.culture-copy ul { margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; text-align: center; }
.culture-copy li { font-size: 11px; font-weight: 700; line-height: 1.2; }
.culture-copy li span { display: block; margin-bottom: 5px; color: var(--orange); font-size: 26px; }

.cta { position: relative; min-height: 181px; margin: 21px 0 0; overflow: hidden; color: white; border-radius: var(--radius); box-shadow: var(--shadow); isolation: isolate; }
.cta > img, .cta > .cta-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.cta > img, .cta > .cta-art > img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(118,76,115,.78), rgba(56,156,152,.16) 58%, transparent); }
.cta-copy { width: 46%; padding: 30px 35px; }
.cta p { margin-bottom: 15px; }
.cta .cta-admission-label { margin: 0 0 5px; color: #fff1bf; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.cta-copy h2 { margin: 0 0 7px; font-size: clamp(28px,3vw,42px); line-height: 1.05; }
.button-light { color: var(--purple); background: white; }
.button-outline-light { color: white; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.8); }

.site-footer { position: relative; min-height: 312px; margin-top: 10px; overflow: hidden; color: white; background: var(--ink); isolation: isolate; }
.site-footer > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(41,46,56,.9), rgba(50,143,154,.48)); }
.footer-inner { width: var(--dashboard-shell); margin: 0 auto; padding: 35px 0 24px; display: grid; grid-template-columns: 1.45fr repeat(3, .8fr) 1.55fr; gap: 42px; }
.footer-logo-card { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.footer-logo-lockup { position: relative; width: 165px; height: 161px; display: block; }
.brand-logo-footer { width: 165px; height: 161px; filter: drop-shadow(0 2px 2px rgba(255,255,255,.24)); }
.footer-logo-white-text { position: absolute; inset: 0; width: 165px; height: 161px; display: block; object-fit: contain; clip-path: inset(71.5% 0 0); filter: brightness(0) invert(1) drop-shadow(0 2px 2px rgba(0,0,0,.2)); pointer-events: none; }
.social-links { display: flex; gap: 14px; margin-top: 28px; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-weight: 800; }
.social-links a:hover { color: var(--teal); background: white; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.footer-column h2 { margin: 4px 0 9px; font-size: 15px; }
.footer-column a, .footer-column p { margin: 0; color: #e4eef8; font-size: 12.5px; line-height: 1.45; }
.footer-column a:hover { color: white; text-decoration: underline; }
.footer-contact { gap: 8px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-institutional { width: var(--dashboard-shell); margin: 0 auto; padding: 24px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(17,48,70,.56); backdrop-filter: blur(8px); }
.footer-institutional .footer-kicker { margin: 0 0 4px; color: #8edbd2; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.footer-institutional h2 { margin: 0 0 10px; color: white; font-size: clamp(21px,2vw,28px); }
.footer-institutional > p:last-child { max-width: 1120px; margin: 0; color: #e8f4f7; font-size: 14px; line-height: 1.72; }
.footer-legal { width: var(--dashboard-shell); margin: 16px auto 0; padding: 18px 22px; display: grid; grid-template-columns: 2.1fr .75fr 1fr 1.5fr; gap: 20px; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.18); background: rgba(9,34,52,.38); }
.footer-legal div { min-width: 0; display: grid; align-content: start; gap: 4px; }
.footer-legal small { color: #9fded7; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.footer-legal strong, .footer-legal a { color: #f5fbff; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.footer-legal a:hover { color: white; text-decoration: underline; }
.copyright { margin: 0; padding: 17px 16px 19px; text-align: center; color: #d5e4f1; font-size: 12.5px; }

.modal { width: min(520px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.38); }
.modal::backdrop { background: rgba(41, 46, 56, .78); backdrop-filter: blur(5px); }
.modal-panel { position: relative; padding: 30px; text-align: center; }
.modal-panel h2 { margin: 14px 0 8px; }
.modal-panel p { margin: 0 auto 20px; color: var(--muted); }
.modal-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--ink); background: #eef3fa; cursor: pointer; font-size: 25px; }

/* Promoción de clases por asignatura */
.subject-promo {
  width: min(980px, calc(100% - 32px));
  max-width: none;
  max-height: min(92vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: #fcfdfc;
  border-radius: 28px;
  box-shadow: 0 32px 100px rgba(15, 35, 43, .46);
}
.subject-promo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 10px;
  background: linear-gradient(90deg, var(--teal) 0 28%, var(--green) 28% 46%, var(--purple) 46% 65%, var(--orange) 65% 84%, var(--yellow) 84%);
}
.subject-promo[open] { animation: subject-promo-in .28s ease-out both; }
.subject-promo::backdrop { background: rgba(27, 42, 48, .72); backdrop-filter: blur(5px); }
.subject-promo-panel { position: relative; padding: 35px 40px 31px; }
.subject-promo-close {
  z-index: 3;
  top: 25px;
  right: 27px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #2e3640;
  background: #fff;
  border: 1px solid #cbd4d6;
  font-size: 31px;
  line-height: 1;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.subject-promo-close:hover { color: var(--purple); background: #f5f0f6; border-color: #bca7bb; transform: rotate(5deg); }
.subject-promo-brand { height: 82px; display: flex; align-items: center; gap: 12px; }
.subject-promo-brand > span:last-child { display: grid; gap: 1px; }
.subject-promo-brand strong { color: var(--ink); font-size: 29px; line-height: 1; letter-spacing: .025em; }
.subject-promo-brand small { color: var(--ink); font-size: 12px; font-weight: 750; letter-spacing: .035em; }
.subject-promo-mark { position: relative; width: 64px; height: 58px; overflow: hidden; flex: 0 0 64px; }
.subject-promo-mark img { position: absolute; top: -2px; left: -16px; width: 96px; height: 94px; max-width: none; object-fit: contain; }
.subject-promo-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr); align-items: start; gap: 17px; }
.subject-promo-copy { position: relative; z-index: 1; padding: 20px 0 0; text-align: left; }
.subject-promo-eyebrow { margin: 0 0 12px; color: var(--purple); font-size: 18px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.subject-promo-copy h2 { max-width: 520px; margin: 0 0 17px; color: var(--ink); font-size: clamp(36px, 3.15vw, 49px); line-height: 1.02; letter-spacing: -.045em; }
.subject-promo-copy .subject-promo-lead { margin: 0 0 17px; color: var(--teal-dark); font-size: 20px; font-weight: 850; line-height: 1.3; }
.subject-promo-copy #single-subject-promo-description { max-width: 470px; margin: 0; color: #424b52; font-size: 16px; line-height: 1.5; }
.subject-promo-actions { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 15px 24px; }
.subject-promo-primary {
  min-height: 56px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: linear-gradient(100deg, #ff741d, #ffc32b);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(241, 158, 61, .22);
  font-size: 16px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease;
}
.subject-promo-primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 27px rgba(241, 158, 61, .32); }
.subject-promo-secondary { color: var(--blue-dark); border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 650; }
.subject-promo-secondary:hover { color: var(--purple); }
.subject-promo-copy .subject-promo-note { margin: 28px 0 0; color: #68747a; font-size: 14px; font-style: italic; line-height: 1.4; }
.subject-promo-visual { min-width: 0; margin: 8px -18px -18px 0; align-self: center; }
.subject-promo-visual img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }

@keyframes subject-promo-in {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.video-placeholder { height: 190px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--teal), var(--purple)); border-radius: 16px; font-size: 48px; }
.lead-dialog { position: relative; width: min(720px, calc(100% - 28px)); max-height: min(94vh, 860px); overflow: hidden; border-radius: 24px; }
.lead-dialog::after { content: ""; position: absolute; z-index: 3; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg, var(--teal) 0 31%, var(--purple) 31% 62%, var(--orange) 62% 82%, var(--yellow) 82%); pointer-events: none; }
.lead-form { position: relative; max-height: min(94vh, 860px); overflow-y: auto; padding: 35px 38px 29px; color: var(--ink); background: linear-gradient(145deg, #fff 0 72%, #f1faf7 100%); text-align: left; }
.lead-form .modal-close { z-index: 4; top: 18px; right: 18px; width: 42px; height: 42px; color: #37444a; background: white; border: 1px solid #d9e4e2; box-shadow: 0 5px 14px rgba(41,46,56,.08); font-size: 23px; transition: transform .18s ease, border-color .18s ease; }
.lead-form .modal-close:hover { border-color: var(--teal); transform: rotate(4deg); }
.lead-form-heading { padding-right: 52px; display: flex; align-items: center; gap: 16px; }
.lead-form-icon { width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--teal), var(--teal-dark)); border-radius: 19px 19px 19px 7px; box-shadow: 0 11px 24px rgba(38,120,116,.22); font-size: 34px; font-weight: 800; }
.scholarship-lead-dialog .lead-form-icon { background: linear-gradient(145deg, #df7089, var(--red)); box-shadow: 0 11px 24px rgba(190,74,101,.21); }
.lead-form-heading p { margin: 0 0 3px; color: var(--teal-dark); font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.scholarship-lead-dialog .lead-form-heading p { color: var(--red); }
.plan-contact-dialog .lead-form-icon { background: linear-gradient(145deg, var(--purple), #78558a); box-shadow: 0 11px 24px rgba(113,73,130,.22); }
.plan-contact-dialog .lead-form-heading p { color: var(--purple); }
.plan-contact-dialog [name="plan"] { color: var(--purple); background: #f7f1f9; border-color: #d7c2de; font-weight: 900; }
.lead-form-heading h2 { margin: 0; font-size: clamp(28px,4vw,38px); line-height: 1.05; letter-spacing: -.035em; }
.lead-form-intro { max-width: 590px; margin: 17px 0 21px; color: #536166; font-size: 14px; line-height: 1.6; }
.lead-form-whatsapp { margin: -11px 0 19px; padding: 10px 13px; color: #315e59; background: #edf9f5; border: 1px solid #c9e8df; border-radius: 10px; font-size: 12px; line-height: 1.45; }
.lead-form-whatsapp a { color: #176b5c; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; }
.lead-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 16px; }
.lead-form label { display: grid; gap: 7px; color: #35444a; font-size: 12px; font-weight: 800; }
.lead-form label.is-wide { grid-column: 1 / -1; }
.lead-form input,.lead-form select,.lead-form textarea { width: 100%; min-height: 49px; padding: 11px 13px; color: var(--ink); background: rgba(255,255,255,.94); border: 1px solid #bdcfcc; border-radius: 11px; outline: 0; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.lead-form textarea { min-height: 82px; resize: vertical; }
.lead-form input::placeholder,.lead-form textarea::placeholder { color: #879397; }
.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus { background: white; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(56,156,152,.12); }
.scholarship-lead-dialog .lead-form input:focus,.scholarship-lead-dialog .lead-form select:focus,.scholarship-lead-dialog .lead-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(190,74,101,.1); }
.lead-form-submit { width: 100%; min-height: 54px; margin-top: 19px; display: flex; align-items: center; justify-content: center; gap: 10px; color: white; background: linear-gradient(105deg, var(--teal-dark), var(--teal)); border: 0; border-radius: 13px; box-shadow: 0 10px 23px rgba(38,120,116,.2); cursor: pointer; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.scholarship-lead-dialog .lead-form-submit { background: linear-gradient(105deg, var(--red), #e67776 62%, var(--orange)); box-shadow: 0 10px 23px rgba(190,74,101,.2); }
.lead-form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(38,120,116,.26); }
.lead-form-submit:disabled { opacity: .62; cursor: wait; transform: none; }
.lead-form > small { margin-top: 10px; display: block; color: #728085; font-size: 11px; text-align: center; }
.lead-form-status { min-height: 20px; margin: 8px 0 0; color: var(--teal-dark); font-size: 12px; font-weight: 850; text-align: center; }
.lead-form-status.is-error { color: #a63951; }
.lead-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.plan-modal { width: min(760px, calc(100% - 30px)); max-height: min(90vh, 820px); }
#plan-a-dialog { --plan-color: #119c99; --plan-soft: #e6f7f5; }
#plan-b-dialog { --plan-color: #1779c8; --plan-soft: #eaf4fc; }
#plan-c-dialog { --plan-color: #7c4b91; --plan-soft: #f3ebf7; }
#plan-d-dialog { --plan-color: #ef6d12; --plan-soft: #fff0e5; }
.plan-modal-panel { max-height: min(90vh, 820px); overflow-y: auto; padding: 30px 34px 32px; text-align: left; }
.plan-modal-icon { width: 58px; height: 58px; margin: 0 auto 10px; display: grid; place-items: center; color: white; background: var(--plan-color); border-radius: 50%; box-shadow: 0 8px 18px color-mix(in srgb, var(--plan-color) 24%, transparent); font-size: 27px; text-align: center; }
.plan-modal-eyebrow { margin: 0 !important; color: var(--plan-color) !important; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.plan-modal-panel h2 { margin: 5px 0 6px; color: var(--plan-color); font-size: 32px; text-align: center; text-transform: uppercase; }
.plan-modal-panel > p:not(.plan-modal-eyebrow) { max-width: 610px; margin-bottom: 18px; text-align: center; }
.plan-modal-panel ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; list-style: none; }
.plan-modal-panel li { position: relative; padding: 10px 11px 10px 34px; color: #40505e; background: var(--plan-soft); border-radius: 10px; font-size: 12.5px; line-height: 1.35; }
.plan-modal-panel li::before { content: "✓"; position: absolute; top: 10px; left: 11px; width: 16px; height: 16px; display: grid; place-items: center; color: white; background: var(--plan-color); border-radius: 50%; font-size: 9px; font-weight: 900; }
.plan-modal-price { margin: 20px 0 14px; padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; color: var(--ink); background: #f7faf9; border: 1px solid #dbe6e4; border-radius: 12px; text-align: center; }
.plan-modal-price span + span { border-left: 1px solid #d4e1df; }
.plan-modal-price strong { color: var(--plan-color); font-size: 18px; }
.plan-modal-panel > .button { width: 100%; min-height: 50px; margin-top: 4px; color: white; background: var(--plan-color, var(--teal)); border: 0; box-shadow: 0 10px 22px color-mix(in srgb, var(--plan-color, var(--teal)) 28%, transparent); font: inherit; font-size: 14px; font-weight: 900; }
.plan-modal-panel > .button:hover { background: color-mix(in srgb, var(--plan-color, var(--teal)) 82%, #172c38); }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; max-width: calc(100% - 40px); padding: 12px 18px; color: white; background: var(--ink); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity .2s ease, transform .2s ease; font-size: 13px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 38px, 980px); --dashboard-shell: min(100% - 38px, 980px); }
  .header-inner { width: calc(100% - 24px); gap: 14px; }
  .brand-logo-header { width: 66px; height: 66px; }
  .primary-nav { gap: 15px; }
  .primary-nav a { font-size: 11px; }
  .round-action { width: 34px; height: 34px; }
  .access-menu-toggle { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .platform-button { padding: 0 12px; font-size: 11px; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-common { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .plans-common-title { grid-column: 1 / -1; padding: 0 0 11px; text-align: center; }
  .plans-common-item { margin: 5px 0; }
  .plans-common-item:nth-of-type(3n + 1) { border-left: 0; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { gap: 18px; }
  .footer-legal { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  :root { --shell: calc(100% - 30px); --dashboard-shell: calc(100% - 30px); }
  .subject-promo-panel { padding: 31px 30px 27px; }
  .subject-promo-layout { grid-template-columns: minmax(0, 1fr) minmax(285px, .86fr); gap: 8px; }
  .subject-promo-brand { height: 70px; }
  .subject-promo-brand strong { font-size: 24px; }
  .subject-promo-brand small { font-size: 10px; }
  .subject-promo-mark { width: 57px; height: 52px; flex-basis: 57px; }
  .subject-promo-mark img { top: -2px; left: -14px; width: 85px; height: 83px; }
  .subject-promo-copy { padding-top: 15px; }
  .subject-promo-copy h2 { font-size: clamp(31px, 5vw, 40px); }
  .subject-promo-copy .subject-promo-lead { font-size: 18px; }
  .subject-promo-copy #single-subject-promo-description { font-size: 14px; }
  .subject-promo-primary { min-height: 52px; padding: 0 21px; font-size: 14px; }
  .subject-promo-visual { margin-right: -14px; }
  .site-header { height: 74px; }
  .brand-logo-header { width: 62px; height: 62px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav {
    position: fixed;
    inset: 74px 0 auto;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 0;
    background: white;
    box-shadow: 0 18px 30px rgba(27,50,90,.16);
    transition: max-height .25s ease;
  }
  .primary-nav.is-open { max-height: 420px; }
  .primary-nav a { min-height: 48px; padding: 0 20px; border-bottom: 1px solid #edf2f8; font-size: 14px; }
  .primary-nav a::after { display: none; }
  .header-actions .round-action { display: none; }
  .access-menu-toggle { min-height: 38px; }
  .platform-button { min-height: 36px; }
  .hero { height: 480px; }
  .hero-media { object-position: 58% 38%; }
  .hero-shade { background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.88) 43%, rgba(255,255,255,.05) 78%); }
  .hero-content { left: 22px; width: 45%; }
  .benefits-inner { grid-template-columns: repeat(2, 1fr); padding: 16px 0; gap: 16px; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .community-grid { grid-template-columns: 1fr; }
  .plans-section { padding-top: 44px; }
  .plans-common { grid-template-columns: repeat(2, 1fr); }
  .plans-common-item:nth-of-type(3n + 1) { border-left: 1px solid #c9e2e0; }
  .plans-common-item:nth-of-type(odd) { border-left: 0; }
  .plans-inclusion { grid-template-columns: 66px 1fr; }
  .plans-inclusion-icon { width: 58px; height: 58px; }
  .adult-preview-card { grid-template-columns: .82fr 1.18fr; }
  .adult-preview-copy { padding: 30px 27px; }
  .adult-preview-levels { grid-template-columns: 1fr; }
  .adult-preview-levels article { min-height: 108px; }
  .plans-scholarship-button { grid-column: 1 / -1; width: 100%; }
  .academic-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-card:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .academic-card img { height: 132px; }
  .footer-inner { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .footer-contact { grid-column: span 2; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 22px); --dashboard-shell: calc(100% - 22px); --radius: 16px; }
  .lead-dialog { width: calc(100% - 18px); max-height: 96vh; border-radius: 19px; }
  .lead-form { max-height: 96vh; padding: 29px 17px 22px; }
  .lead-form .modal-close { top: 13px; right: 13px; width: 38px; height: 38px; }
  .lead-form-heading { padding-right: 38px; gap: 11px; }
  .lead-form-icon { width: 52px; height: 52px; flex-basis: 52px; border-radius: 15px 15px 15px 6px; font-size: 27px; }
  .lead-form-heading h2 { font-size: 27px; }
  .lead-form-intro { margin: 14px 0 17px; font-size: 13px; }
  .lead-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .lead-form label.is-wide { grid-column: auto; }
  .lead-form input,.lead-form select { min-height: 47px; }
  .subject-promo { width: calc(100% - 22px); max-height: calc(100dvh - 22px); border-radius: 22px; }
  .subject-promo::before { height: 8px; }
  .subject-promo-panel { min-height: 0; max-height: calc(100dvh - 22px); overflow-y: auto; padding: 27px 20px 24px; }
  .subject-promo-close { position: fixed; top: max(22px, calc((100dvh - min(100dvh - 22px, 760px)) / 2 + 12px)); right: 22px; width: 41px; height: 41px; font-size: 27px; }
  .subject-promo-brand { width: calc(100% - 48px); height: 61px; gap: 9px; }
  .subject-promo-brand strong { font-size: 21px; }
  .subject-promo-brand small { font-size: 9px; }
  .subject-promo-mark { width: 52px; height: 47px; flex-basis: 52px; }
  .subject-promo-mark img { top: -2px; left: -13px; width: 78px; height: 76px; }
  .subject-promo-layout { display: flex; flex-direction: column; gap: 5px; }
  .subject-promo-copy { padding-top: 15px; }
  .subject-promo-eyebrow { margin-bottom: 9px; font-size: 14px; }
  .subject-promo-copy h2 { margin-bottom: 13px; font-size: clamp(29px, 9vw, 38px); line-height: 1.04; }
  .subject-promo-copy .subject-promo-lead { margin-bottom: 12px; font-size: 17px; }
  .subject-promo-copy #single-subject-promo-description { font-size: 14px; line-height: 1.45; }
  .subject-promo-actions { margin-top: 19px; display: grid; gap: 14px; }
  .subject-promo-primary { width: 100%; min-height: 52px; padding: 0 16px; }
  .subject-promo-secondary { width: max-content; margin-left: 4px; }
  .subject-promo-copy .subject-promo-note { margin-top: 19px; font-size: 13px; }
  .subject-promo-visual { width: min(100%, 410px); margin: 0 auto -10px; order: 2; }
  .brand-logo-header { width: 58px; height: 58px; }
  .platform-button { width: 38px; padding: 0; justify-content: center; font-size: 0; border-radius: 12px; }
  .platform-button span { font-size: 16px; }
  .access-menu-toggle { width: 40px; padding: 0; justify-content: center; border-radius: 12px; }
  .access-label, .access-chevron { display: none; }
  .access-dropdown { position: fixed; top: 68px; right: 11px; width: calc(100vw - 22px); }
  .access-dropdown::before { right: 19px; }
  .hero { height: 570px; }
  .hero-media { object-position: 69% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 37%, rgba(255,255,255,.1) 72%, rgba(0,23,64,.12)); }
  .hero-content { top: 32px; left: 20px; right: 20px; width: auto; transform: none; }
  .hero-content h1 { font-size: 64px; }
  .hero-content > p:last-of-type { max-width: 310px; font-size: 14px; }
  .benefits-inner { grid-template-columns: 1fr; }
  .benefits article { min-height: 50px; }
  .platform-section { padding-top: 15px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .platform-copy strong { font-size: 15px; }
  .platform-copy small { font-size: 10px; }
  .feature-card { min-height: 420px; }
  .button { min-height: 44px; }
  .slider-actions span { width: 44px; height: 44px; }
  .why-card > img { object-position: 70% center; }
  .why-card::after { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.1) 76%); }
  .feature-copy { width: 100%; padding: 20px; }
  .plans-section { padding-top: 38px; }
  .plans-heading { margin-bottom: 17px; }
  .plans-heading h2 { font-size: 34px; }
  .plans-common { padding: 13px; grid-template-columns: 1fr; }
  .plans-common-title { padding-bottom: 9px; }
  .plans-common-item, .plans-common-item:nth-of-type(odd), .plans-common-item:nth-of-type(3n + 1) { min-height: 50px; padding: 6px 4px; border-top: 1px solid #d6e9e7; border-left: 0; }
  .plans-grid { grid-template-columns: 1fr; gap: 12px; }
  .plan-card { padding: 17px; }
  .plan-card-heading p { min-height: 0; }
  .plans-inclusion { padding: 17px; grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .plans-inclusion-icon { margin: 0 auto; }
  .plans-inclusion p { font-size: 12px; }
  .adult-program-preview { padding-top: 42px; }
  .adult-preview-card { display: flex; flex-direction: column; min-height: 0; border-radius: 19px; }
  .adult-preview-card > figure { height: 260px; }
  .adult-preview-copy { padding: 25px 19px 27px; }
  .adult-preview-copy > p:first-child { margin-bottom: 19px; font-size: 15px; }
  .adult-preview-levels { gap: 11px; }
  .adult-preview-levels article { min-height: 100px; padding: 15px; grid-template-columns: 48px 1fr; }
  .adult-preview-levels article > span { width: 46px; height: 46px; font-size: 21px; }
  .adult-preview-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .adult-preview-actions .button { width: 100%; }
  .plan-modal-panel { padding: 26px 17px 22px; }
  .plan-modal-panel ul { grid-template-columns: 1fr; }
  .plan-modal-price { grid-template-columns: 1fr; }
  .plan-modal-price span + span { padding-top: 10px; border-top: 1px solid #d4e1df; border-left: 0; }
  .methodology-card { min-height: 360px; }
  .method-visual { top: 86px; right: 8px; bottom: 54px; left: 8px; }
  .method-visual > img { object-fit: contain; object-position: center bottom; }
  .method-labels { font-size: 10px; }
  .academic-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .team-section { padding: 43px 0 30px; }
  .team-grid { grid-template-columns: 1fr; gap: 15px; }
  .team-card:last-child { grid-column: auto; width: auto; }
  .team-card > div { min-height: 0; padding: 20px 19px 22px; }
  .academic-card { flex: 0 0 42%; scroll-snap-align: start; }
  .academic-card img { height: 130px; }
  .community-grid { gap: 12px; }
  .story-card, .culture-card { min-height: 370px; }
  .story-card > img { object-position: 72% center; }
  .story-card::after { background: linear-gradient(180deg, rgba(41,46,56,.97) 0%, rgba(41,46,56,.86) 48%, rgba(41,46,56,.08) 78%); }
  .story-copy, .culture-copy { width: 100%; padding: 20px; }
  .culture-card > img { object-position: 70% center; }
  .culture-card::after { background: linear-gradient(180deg, rgba(255,252,246,.98) 0%, rgba(255,252,246,.9) 45%, rgba(255,252,246,.08) 78%); }
  .culture-copy ul { margin-top: 12px; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
  .cta { min-height: 360px; }
  .cta > img { object-position: 68% center; }
  .cta::after { background: linear-gradient(180deg, rgba(118,76,115,.92), rgba(56,156,152,.42) 55%, transparent); }
  .cta-copy { width: 100%; padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-bottom: 24px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .site-footer { min-height: 640px; }
  .site-footer > img { object-position: 48% center; }
  .footer-institutional { padding: 21px 19px; }
  .footer-institutional > p:last-child { font-size: 13px; line-height: 1.65; }
  .footer-legal { grid-template-columns: 1fr; gap: 14px; }
  .modal-panel { padding: 24px 18px; }
}

/* Experiencia móvil diseñada para interacción táctil, no como reducción del escritorio. */
@media (max-width: 600px) {
  html { scroll-padding-top: 68px; }
  body { background: #f8fbf9; }
  .site-header { position: sticky; top: 0; height: 68px; box-shadow: 0 5px 18px rgba(41,46,56,.06); }
  .header-inner { width: calc(100% - 16px); gap: 6px; }
  .brand-logo-header { width: 54px; height: 54px; }
  .menu-toggle, .access-menu-toggle { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
  .menu-toggle { padding: 9px; }
  .primary-nav { inset: 68px 0 auto; max-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .primary-nav.is-open { max-height: calc(100dvh - 68px); border-bottom: 1px solid #dce8e5; }
  .primary-nav a { min-height: 52px; padding-inline: 18px; }
  .access-dropdown { top: 62px; max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .access-link { min-height: 70px; }

  .hero { height: min(700px, calc(100svh - 68px)); min-height: 610px; max-height: 700px; }
  .hero-media { object-position: 64% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 35%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.04) 67%, rgba(14,47,65,.08)); }
  .hero-content { top: 22px; left: 16px; right: 16px; max-width: 340px; }
  .admission-open-badge { min-height: 42px; margin-bottom: 11px; padding-inline: 12px; font-size: 10.5px; }
  .hero-content .eyebrow { font-size: clamp(19px, 6.3vw, 25px); }
  .hero-content h1 { margin-top: 1px; font-size: clamp(50px, 16.5vw, 66px); }
  .hero-content > p:last-of-type { max-width: 296px; margin: 7px 0 14px; font-size: 14px; line-height: 1.45; }
  .hero-content .button { min-width: 148px; min-height: 48px; }

  .benefits { min-height: 102px; }
  .benefits-inner { width: 100%; min-height: 102px; padding: 13px 11px 14px; display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 11px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .benefits-inner::-webkit-scrollbar, .platform-grid::-webkit-scrollbar, .team-grid::-webkit-scrollbar, .academic-grid::-webkit-scrollbar { display: none; }
  .benefits article { flex: 0 0 min(82vw, 310px); min-height: 74px; padding: 10px 12px; scroll-snap-align: start; background: rgba(17,48,70,.48); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; backdrop-filter: blur(5px); }
  .benefit-symbol { flex-basis: 44px; height: 44px; }
  .benefits h2 { font-size: 14px; }
  .benefits p { font-size: 11.5px; }

  .platform-section { padding: 17px 0 26px; }
  .platform-grid { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .platform-card { flex: 0 0 min(72vw, 278px); aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .platform-copy strong { font-size: 18px; }
  .platform-copy small { font-size: 12px; }
  .platform-icon { width: 46px; height: 46px; }

  .feature-grid { gap: 14px; }
  .feature-card { border-radius: 20px; }
  .feature-copy { padding: 21px 17px; }
  .feature-copy h2, .method-heading h2, .section-heading h2, .story-copy h2, .culture-copy h2, .cta h2 { font-size: clamp(25px, 8vw, 32px); }
  .feature-copy > p, .method-heading p, .story-copy > p, .culture-copy > p, .cta p { font-size: 14px; line-height: 1.5; }
  .feature-copy li { padding-left: 27px; font-size: 13px; }
  .method-heading { padding-inline: 18px; }
  .method-button { width: calc(100% - 34px); min-height: 46px; }

  .plans-section { padding-top: 45px; }
  .plans-heading h2 { font-size: clamp(30px, 9.6vw, 38px); }
  .plans-eyebrow { font-size: 10.5px; }
  .plans-common-item { font-size: 12px; }
  .plan-card { padding: 20px 17px; border-radius: 20px; }
  .plan-button { min-height: 48px; }
  .plans-inclusion p { font-size: 13px; line-height: 1.55; }
  .plans-scholarship-button { min-height: 48px; }

  .adult-program-preview > header { margin-bottom: 18px; }
  .adult-program-preview > header h2 { font-size: clamp(30px, 9.5vw, 38px); }
  .adult-preview-card > figure { height: 245px; }
  .adult-preview-card > figure img { object-position: 48% 44%; }
  .adult-preview-actions > a:last-child { min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }

  .team-heading { margin-bottom: 19px; }
  .team-heading h2 { font-size: clamp(30px, 9.5vw, 38px); }
  .team-heading > span { font-size: 14px; line-height: 1.5; }
  .team-grid { display: flex; gap: 13px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 1px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .team-card, .team-card:last-child { flex: 0 0 min(86vw, 365px); width: auto; scroll-snap-align: start; }
  .team-card > img { aspect-ratio: 1.18 / 1; }
  .team-card > div { min-height: 290px; }

  .section-heading { margin-block: 23px 13px; }
  .slider-actions { display: flex; }
  .slider-actions span { width: 42px; height: 42px; }
  .academic-grid { gap: 12px; scroll-padding-inline: 1px; scrollbar-width: none; }
  .academic-card { flex: 0 0 min(67vw, 250px); border-radius: 18px; }
  .academic-card img { height: 188px; }
  .academic-card strong { min-height: 52px; display: grid; place-items: center; font-size: 16px; }

  .community-grid { gap: 14px; }
  .story-card, .culture-card { min-height: 390px; border-radius: 20px; }
  .story-copy, .culture-copy { padding: 22px 18px; }
  .story-copy blockquote { margin-top: 14px; font-size: 13px; }
  .culture-copy ul { gap: 12px 8px; }
  .culture-copy li { font-size: 10.5px; }

  .cta { min-height: 430px; border-radius: 20px; }
  .cta-copy { padding: 23px 17px; }
  .cta-copy .button-row { width: 100%; display: grid; gap: 10px; }
  .cta-copy .button { width: 100%; min-height: 48px; }

  /* Las variantes verticales solo existen en móvil; escritorio conserva su composición original. */
  .why-card { min-height: 0; display: flex; flex-direction: column; background: white; }
  .why-card::after { display: none; }
  .why-card > .feature-art { position: relative; inset: auto; z-index: 0; order: 2; height: clamp(340px, 108vw, 430px); flex: 0 0 auto; }
  .why-card > .feature-art > img { object-fit: cover; object-position: center 52%; }
  .why-card > .feature-copy { position: relative; z-index: 1; order: 1; width: 100%; padding: 23px 18px 21px; background: white; }
  .why-card .feature-copy ul { margin-top: 16px; gap: 10px; }

  .methodology-card { min-height: 0; display: flex; flex-direction: column; background: white; }
  .method-heading { position: relative; padding: 24px 18px 14px; }
  .method-visual { position: relative; inset: auto; height: auto; padding: 0 14px; display: flex; flex-direction: column; }
  .method-visual > .method-art { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 2 / 3; overflow: hidden; background: #eff7ff; border: 1px solid #e0edf5; border-radius: 17px; }
  .method-visual > .method-art > img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; }
  .method-labels { position: relative; inset: auto; margin: 12px 0 14px; counter-reset: methodology; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; color: #34454f; font-size: 13px; line-height: 1.25; text-align: left; }
  .method-labels li { min-height: 43px; padding: 8px 9px; counter-increment: methodology; display: flex; align-items: center; gap: 7px; background: #f2f8f7; border: 1px solid #d8e8e5; border-radius: 11px; }
  .method-labels li::before { content: counter(methodology); flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; color: white; background: var(--teal-dark); border-radius: 50%; font-size: 11px; font-weight: 900; }
  .method-labels li:last-child { grid-column: 1 / -1; }
  .method-button { position: relative; left: auto; bottom: auto; width: auto; min-height: 48px; margin: 0 14px 15px; transform: none; }
  .method-button:hover { transform: none; }

  .culture-card { min-height: 0; display: flex; flex-direction: column; background: #fffaf1; }
  .culture-card::after { display: none; }
  .culture-card > .community-art { position: relative; inset: auto; z-index: 0; order: 2; height: clamp(345px, 110vw, 440px); flex: 0 0 auto; }
  .culture-card > .community-art > img { object-fit: cover; object-position: center 49%; }
  .culture-card > .culture-copy { position: relative; z-index: 1; order: 1; width: 100%; padding: 23px 18px 20px; background: #fffaf1; }
  .culture-copy ul { margin-top: 17px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; text-align: left; }
  .culture-copy li { min-height: 62px; padding: 9px 8px; display: grid; grid-template-columns: 32px 1fr; align-items: center; color: #3c474c; background: white; border: 1px solid #eadfce; border-radius: 12px; font-size: 11px; line-height: 1.25; }
  .culture-copy li span { margin: 0; font-size: 23px; text-align: center; }

  .cta { min-height: 0; display: flex; flex-direction: column; color: white; background: var(--purple); }
  .cta::after { display: none; }
  .cta > .cta-art { position: relative; inset: auto; z-index: 0; order: 2; height: clamp(350px, 112vw, 445px); flex: 0 0 auto; }
  .cta > .cta-art > img { object-fit: cover; object-position: center 50%; }
  .cta > .cta-copy { position: relative; z-index: 1; order: 1; width: 100%; padding: 24px 17px 21px; background: linear-gradient(135deg, var(--purple), var(--teal-dark)); }
  .cta-copy > p:not(.cta-admission-label) { margin-bottom: 18px; color: #f3edf4; }
  .cta .button-outline-light { background: rgba(255,255,255,.09); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px 14px; padding-top: 28px; }
  .footer-brand { display: grid; place-items: center; }
  .footer-logo-lockup, .brand-logo-footer, .footer-logo-white-text { width: 138px; height: 135px; }
  .footer-column a { min-height: 36px; display: inline-flex; align-items: center; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-institutional { padding: 20px 16px; }
  .footer-institutional h2 { font-size: 23px; }
  .footer-legal { padding-inline: 16px; }

  .subject-promo { width: calc(100% - 14px); max-height: calc(100dvh - 14px); border-radius: 19px; }
  .subject-promo-panel { max-height: calc(100dvh - 14px); padding: 23px 15px 20px; }
  .subject-promo-close { position: absolute; top: 11px; right: 11px; width: 44px; height: 44px; }
  .subject-promo-brand { width: calc(100% - 42px); }
  .subject-promo-copy { padding-top: 10px; }
  .subject-promo-copy h2 { font-size: clamp(28px, 9vw, 36px); }
  .subject-promo-primary { min-height: 50px; font-size: 14px; }
  .subject-promo-secondary { min-height: 44px; display: inline-flex; align-items: center; }
  .subject-promo-visual { max-height: 230px; margin-bottom: -8px; overflow: hidden; }
  .subject-promo-visual img { height: 230px; object-fit: contain; object-position: center top; }

  .modal { width: calc(100% - 14px); max-height: calc(100dvh - 14px); border-radius: 18px; }
  .modal-close { width: 44px; height: 44px; }
  .lead-dialog, .lead-form { max-height: calc(100dvh - 14px); }
  .lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; }
  .lead-form-submit { min-height: 50px; }
  .plan-modal, .plan-modal-panel { max-height: calc(100dvh - 14px); }
  .toast { bottom: max(14px, env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 22px); text-align: center; }
}

@media (max-width: 430px) {
  .page-shell { width: calc(100% - 20px); }
  .team-card, .team-card:last-child { flex-basis: 88vw; }
  .platform-card { flex-basis: 74vw; }
  .academic-card { flex-basis: 69vw; }
}

@media (max-width: 380px) {
  .method-labels { font-size: 12px; }
  .plans-heading h2 { font-size: 30px; }
  .admission-open-badge span { display: none; }
  .hero-content h1 { font-size: 52px; }
  .hero-content > p:last-of-type { max-width: 274px; }
  .culture-copy ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 330px) {
  .brand-logo-header { width: 50px; height: 50px; }
  .hero-content { left: 13px; right: 13px; }
  .hero-content h1 { font-size: 48px; }
  .platform-card { flex-basis: 78vw; }
  .team-card, .team-card:last-child { flex-basis: 91vw; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-column, .footer-contact { grid-column: auto; }
}

@media (hover: none), (pointer: coarse) {
  .platform-card:hover, .team-card:hover, .academic-card:hover, .plan-card:hover, .button:hover, .access-menu-toggle:hover { transform: none; box-shadow: var(--soft-shadow); }
  .platform-card:active, .team-card:active, .academic-card:active, .plan-card:active, .button:active, .plan-button:active, .access-link:active { transform: scale(.985); }
}

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