/* ==========================================================================
   Colegio Lima · Plan Profesional — Sistema de diseño institucional
   Tipografía local: Manrope | Paleta: Azul marino, Dorado institucional, Marfil
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #231f48;
  --navy-deep: #171433;
  --navy-soft: #312c62;
  --navy-tint: #eeecf7;
  --gold: #f2b705;
  --gold-hover: #dfa600;
  --gold-deep: #8a6300;
  --gold-soft: #fff6d9;
  --emerald-soft: #e6f4ef;
  --emerald-ink: #125842;

  --ivory: #faf8f4;
  --sand: #f2ede3;
  --surface: #ffffff;
  --ink: #1e1b36;
  --muted: #524f68;
  --line: rgba(35, 31, 72, 0.11);
  --line-strong: rgba(35, 31, 72, 0.22);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(23, 20, 51, 0.05);
  --shadow-md: 0 12px 34px rgba(23, 20, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(23, 20, 51, 0.14);

  --header-h: 78px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ivory);
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy-deep);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-weight: 800;
}

p {
  margin: 0;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy-deep);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  top: 1rem;
}

/* Layout Helpers */
.wrap {
  width: min(var(--container), calc(100% - 2.25rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(860px, calc(100% - 2.25rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 6.5vw, 6rem);
}

.section-sand {
  background: var(--sand);
  border-block: 1px solid var(--line);
}

.section-navy {
  background: var(--navy-deep);
  color: #f4f2fa;
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: #ffffff;
}

.section-navy .lead,
.section-navy p {
  color: rgba(244, 242, 250, 0.84);
}

.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;
}

/* Typography Accents */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 0.9rem;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2.5px;
  border-radius: 99px;
  background: var(--gold);
  flex-shrink: 0;
}

.kicker-light {
  color: var(--gold);
}

.display-title {
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.12;
}

.accent-em {
  font-style: normal;
  color: var(--navy-soft);
  position: relative;
  display: inline;
  background-image: linear-gradient(transparent 68%, rgba(242, 183, 5, 0.42) 68%, rgba(242, 183, 5, 0.42) 94%, transparent 94%);
  padding-inline: 0.06em;
}

.section-navy .accent-em {
  color: var(--gold);
  background-image: none;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--muted);
  max-width: 60ch;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-header-copy {
  max-width: 620px;
  display: grid;
  gap: 0.65rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(242, 183, 5, 0.28);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(242, 183, 5, 0.34);
}

.btn-navy {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(35, 31, 72, 0.18);
}
.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23, 20, 51, 0.26);
}

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy-tint);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.12rem;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.text-link:hover {
  gap: 0.7rem;
  color: var(--navy-deep);
}

/* ==========================================================================
   Header & Navigation (Sticky, Accessible Dropdown, Mobile Drawer)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(23, 20, 51, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 44px;
  flex-shrink: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-link:hover,
.nav-dropdown-btn:hover {
  background: var(--navy-tint);
  color: var(--navy-deep);
}

.nav-link[aria-current="page"],
.nav-dropdown-btn.is-active {
  background: var(--navy-tint);
  color: var(--navy-deep);
  box-shadow: inset 0 -2.5px 0 var(--gold);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown-btn[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  display: grid;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav-submenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.18s var(--ease);
}

.nav-submenu a strong {
  font-size: 0.92rem;
  color: var(--navy-deep);
}

.nav-submenu a small {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  background: var(--navy-tint);
}

.nav-submenu a[aria-current="page"] strong {
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-cta {
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Mobile Navigation Panel */
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem 0 1.5rem;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
}

.mobile-nav-list a:hover,
.mobile-nav-list a[aria-current="page"] {
  background: var(--navy-tint);
  color: var(--navy-deep);
}

.mobile-nav-list a[aria-current="page"]::after {
  content: "Actual";
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--gold-soft);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.mobile-nav-sub {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  margin-left: 1rem;
  display: grid;
  gap: 0.15rem;
}

.mobile-drawer-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
}

/* ==========================================================================
   Home Hero (Asymmetric Editorial Split)
   ========================================================================== */

.hero-home {
  padding-block: clamp(2rem, 4vw, 3.75rem) clamp(3rem, 5.5vw, 4.75rem);
  position: relative;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.42rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.35rem;
}

.btn-play-tour {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.55rem 1.25rem 0.55rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-play-tour:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.play-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.tour-duration {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--sand);
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-pill);
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.pillar-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.pillar-item span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
  display: block;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10.5;
  border: 1px solid var(--line);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.28s var(--ease);
}

.hero-frame-bar {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.55rem 0.5rem 1.05rem;
  background: rgba(23, 20, 51, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-frame-caption {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-frame-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.icon-btn-dark {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--navy-deep);
}
.icon-btn-dark:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

/* ==========================================================================
   Interior Page Hero & Breadcrumbs
   ========================================================================== */

.page-hero {
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem) clamp(2rem, 3.8vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(640px 260px at 92% 0%, rgba(242, 183, 5, 0.14), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--ivory) 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.page-hero-grid {
  display: grid;
  gap: 1rem;
  max-width: 780px;
}

/* ==========================================================================
   Cards, Bento Grids & Level Showcases
   ========================================================================== */

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.2vw, 1.75rem);
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--navy-tint);
  color: var(--navy);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.card-icon-gold {
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
}

/* Level Cards (Home & Oferta Educativa) */
.level-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-rows: 270px 1fr;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.level-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.level-media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.level-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.45s var(--ease);
}

.level-card:hover .level-media img {
  transform: scale(1.03);
}

.level-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(23, 20, 51, 0.84);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.level-body {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.level-body h3 {
  font-size: 1.5rem;
}

.level-body p {
  color: var(--muted);
}

.level-actions {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* Detailed Level Showcase (Oferta Educativa page) */
.level-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}

.level-feature-reverse .level-feature-media {
  order: 2;
}

.level-feature-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 4 / 4.6;
  max-height: 460px;
  width: 100%;
}

.level-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.level-feature-copy {
  display: grid;
  gap: 1.15rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.info-note {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--ivory);
  border-left: 3.5px solid var(--gold);
  font-size: 0.92rem;
  color: var(--muted);
}

/* ==========================================================================
   Model / Reading Template (Modelo Educativo)
   ========================================================================== */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.statement-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.2vw, 2.6rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: relative;
  overflow: hidden;
}

.statement-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
}

.statement-quote {
  font-size: clamp(1.04rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: var(--ink);
}

.statement-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.values-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.value-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-deep);
}

/* Modelo Educativo Integral (10 áreas) */
.model-wheel-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}

.model-wheel-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  text-align: center;
}

.model-wheel-card img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 0;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.area-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.area-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.area-item strong {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.25;
}

.areas-strip-home {
  margin-top: 2rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}

.areas-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

@media (max-width: 1020px) {
  .model-wheel-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Tour Spotlight & Anniversary Banner
   ========================================================================== */

.tour-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.tour-poster-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f0d24;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  width: 100%;
  padding: 0;
  text-align: left;
  display: block;
}

.tour-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.82;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}

.tour-poster-card:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

.tour-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 20, 51, 0.15) 0%, rgba(23, 20, 51, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  color: #ffffff;
}

.tour-play-big {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(242, 183, 5, 0.45);
  transition: transform 0.25s var(--ease);
}

.tour-poster-card:hover .tour-play-big {
  transform: scale(1.08);
}

.tour-poster-meta {
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(23, 20, 51, 0.78);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.anniversary-card {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.anniversary-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Interactive Campus Gallery / Slider (Instalaciones)
   ========================================================================== */

.gallery-shell {
  display: grid;
  gap: 1rem;
  outline: none;
}

.gallery-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  width: 100%;
  display: grid;
  place-items: center;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-stage-bg {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(26px) brightness(0.42);
  opacity: 0.85;
  pointer-events: none;
}

.gallery-stage-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.24s var(--ease);
  cursor: zoom-in;
}

.gallery-stage-img.is-landscape {
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(23, 20, 51, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery-arrow:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.06);
}

.gallery-arrow-prev {
  left: 0.9rem;
}

.gallery-arrow-next {
  right: 0.9rem;
}

.gallery-stage-top {
  position: absolute;
  top: 0.9rem;
  inset-inline: 0.9rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.gallery-pill-counter {
  pointer-events: auto;
  padding: 0.36rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(23, 20, 51, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.gallery-zoom-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(23, 20, 51, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.gallery-zoom-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.gallery-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.gallery-caption-wrap {
  display: grid;
  gap: 0.2rem;
}

.gallery-counter {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-soft);
}

.gallery-caption-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.gallery-caption-desc {
  font-size: 0.92rem;
  color: var(--muted);
}

.gallery-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.55rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.thumb-btn {
  position: relative;
  flex: 0 0 132px;
  scroll-snap-align: center;
  padding: 0;
  border: 2.5px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 16 / 10;
  min-height: 76px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  opacity: 0.68;
}

.thumb-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.thumb-btn[aria-pressed="true"] {
  border-color: var(--gold);
  opacity: 1;
  box-shadow: 0 0 0 2px var(--navy);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.3rem 0.45rem;
  background: linear-gradient(transparent, rgba(23, 20, 51, 0.9));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .gallery-stage {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
  }
  .gallery-arrow {
    width: 44px;
    height: 44px;
  }
  .gallery-arrow-prev {
    left: 0.5rem;
  }
  .gallery-arrow-next {
    right: 0.5rem;
  }
  .gallery-stage-top {
    top: 0.6rem;
    inset-inline: 0.6rem;
  }
  .thumb-btn {
    flex: 0 0 112px;
    min-height: 68px;
  }
}

/* ==========================================================================
   Admissions Form & Contact Layout
   ========================================================================== */

.split-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.25rem;
}

.revision-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--navy-deep);
}

.field-hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--ivory);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field input:focus,
.field select:focus {
  background: var(--surface);
  border-color: var(--navy);
}

.field-error {
  font-size: 0.84rem;
  font-weight: 700;
  color: #b42318;
  min-height: 1.2em;
}

.preview-box {
  background: var(--emerald-soft);
  border: 1px solid rgba(18, 88, 66, 0.22);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: grid;
  gap: 0.9rem;
}

.preview-bubble {
  margin: 0;
  background: var(--surface);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--emerald-ink);
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

a.contact-item:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-item span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
}

/* ==========================================================================
   Native Dialogs: Recorrido 2025 Video Player & Cartel Lightbox
   ========================================================================== */

dialog.media-dialog {
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  max-width: min(96vw, 760px);
  max-height: 96dvh;
  overflow: visible;
  color: #ffffff;
}

dialog.media-dialog::backdrop {
  background: rgba(15, 13, 36, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tour-dialog-shell {
  background: #14112b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  width: min(94vw, 460px);
  overflow: hidden;
  animation: dialogIn 0.22s var(--ease);
}

.tour-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem 0.75rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tour-dialog-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

.tour-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.tour-close-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.tour-video-wrap {
  position: relative;
  background: #070611;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
}

.tour-video-wrap video {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 11.5rem);
  aspect-ratio: 480 / 854;
  object-fit: contain;
  background: #070611;
}

.tour-dialog-foot {
  padding: 0.7rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(244, 242, 250, 0.82);
  line-height: 1.45;
}

.tour-error-panel {
  padding: 2rem 1.5rem;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.tour-error-panel[hidden] {
  display: none;
}

/* Landscape mobile adjustment so Close button + Video fit comfortably */
@media (max-height: 560px) and (orientation: landscape) {
  .tour-dialog-shell {
    width: min(94vw, 680px);
    grid-template-columns: minmax(0, 1fr) 230px;
    grid-template-rows: auto 1fr;
    max-height: calc(100dvh - 1rem);
  }
  .tour-video-wrap {
    grid-row: 1 / 3;
    grid-column: 1;
  }
  .tour-video-wrap video {
    max-height: calc(100dvh - 1.5rem);
  }
  .tour-dialog-head {
    grid-column: 2;
    flex-direction: column;
    align-items: flex-start;
  }
  .tour-dialog-foot {
    grid-column: 2;
    border-top: none;
  }
}

/* Cartel Lightbox */
.poster-dialog-shell {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1rem;
  max-width: min(92vw, 640px);
  max-height: 92dvh;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
}

.poster-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.poster-dialog-shell img {
  max-height: calc(88dvh - 5rem);
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Blog & Legal Prose
   ========================================================================== */

.prose {
  display: grid;
  gap: 1.15rem;
  max-width: 72ch;
}

.prose h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-top: 1rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 0.5rem;
}

.prose p,
.prose li {
  color: var(--ink);
  line-height: 1.75;
}

.prose ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-chip {
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 242, 250, 0.82);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.footer-brand-row img {
  width: 46px;
  height: 46px;
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  color: rgba(244, 242, 250, 0.82);
  font-size: 0.92rem;
  transition: color 0.18s var(--ease);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  font-size: 0.84rem;
  color: rgba(244, 242, 250, 0.68);
}

.footer-bottom a {
  color: rgba(244, 242, 250, 0.86);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* Progressive Reveal */
.js-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

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

/* ==========================================================================
   Responsive Breakpoints (Tested down to 320px)
   ========================================================================== */

@media (max-width: 1020px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-home-grid,
  .tour-spotlight,
  .level-feature,
  .split-form-layout {
    grid-template-columns: 1fr;
  }
  .level-feature-reverse .level-feature-media {
    order: 0;
  }
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cards-2,
  .cards-3,
  .mission-grid,
  .anniversary-card {
    grid-template-columns: 1fr;
  }
  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .wrap,
  .wrap-narrow {
    width: calc(100% - 1.5rem);
  }
  .brand-sub {
    display: none;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 1rem;
  }
  .header-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.84rem;
  }
  .menu-toggle-label {
    display: none;
  }
  .hero-actions .btn,
  .hero-actions .btn-play-tour {
    width: 100%;
    justify-content: center;
  }
  .hero-frame-bar {
    inset-inline: 0.6rem;
    bottom: 0.6rem;
    padding: 0.4rem 0.45rem 0.4rem 0.85rem;
  }
}

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