/* ==========================================================================
   Beyond Grades Academy — Premium Academic Boutique Design System
   Palette: Pure White (#FFFFFF), Warm Ivory (#FAF8F5), Oxford Sapphire (#102A4C),
            Refined Terracotta (#C95B28 / #B24C1D), Deep Sage Emerald (#14746F),
            Charcoal (#141B29) & Slate (#475569)
   ========================================================================== */

:root {
  /* Luminous Refined Surfaces */
  --bg-white: #ffffff;
  --bg-ivory: #faf8f5;
  --bg-pearl: #f3f0ea;

  /* High-Legibility Ink (WCAG AA+) */
  --ink-primary: #141b29;
  --ink-secondary: #475569;
  --ink-muted: #64748b;

  /* Primary Intellectual Authority: Deep Oxford Sapphire */
  --oxford: #102a4c;
  --oxford-hover: #0a1d36;
  --oxford-soft: #eef3f9;
  --oxford-border: #ccd9e8;

  /* Warm Brand Accent (Harmonized with Official Fox Logo): Refined Terracotta */
  --terracotta: #c95b28;
  --terracotta-hover: #b24c1d;
  --terracotta-soft: #fbf2ec;
  --terracotta-border: #ecc8b3;

  /* Secondary Precision & AI Innovation Accent (Used with Restraint): Deep Sage Emerald */
  --sage: #14746f;
  --sage-hover: #0e5b57;
  --sage-soft: #edf7f6;
  --sage-border: #b9ddd9;

  /* Subtle Semantic Alert (Only for Error / Warning Contrast) */
  --crimson: #b42318;
  --crimson-soft: #fef3f2;
  --crimson-border: #fecdca;

  /* Clean Borders & Soft Elevation */
  --border-light: #e6e2da;
  --border-strong: #d0cabf;
  --shadow-xs: 0 2px 8px rgba(16, 42, 76, 0.04);
  --shadow-sm: 0 10px 28px rgba(16, 42, 76, 0.06);
  --shadow-md: 0 18px 44px rgba(16, 42, 76, 0.08);

  /* Modern Academic Typography */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Geometry & Motion */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container-max: 1200px;
  --header-height: 84px;
  --ease: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--oxford);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--oxford);
  color: #ffffff;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

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

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

.accent-highlight {
  color: var(--terracotta);
}

.mono-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mono-label.is-light {
  color: var(--oxford);
}

/* ==================== BUTTONS (WCAG AA+ CONTRAST) ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease);
  white-space: nowrap;
}

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

.btn-sm {
  padding: 0.52rem 1.18rem;
  font-size: 0.87rem;
}

.btn-lg {
  padding: 0.88rem 1.65rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* Warm Terracotta Primary CTA */
.btn-accent {
  background-color: var(--terracotta);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(201, 91, 40, 0.22);
}

.btn-accent:hover {
  background-color: var(--terracotta-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(178, 76, 29, 0.28);
}

/* Secondary Outlined Oxford CTA */
.btn-ghost-light {
  background-color: var(--bg-white);
  color: var(--oxford);
  border-color: var(--oxford-border);
}

.btn-ghost-light:hover {
  background-color: var(--oxford-soft);
  border-color: var(--oxford);
}

.btn-outline-dark {
  background-color: var(--bg-white);
  color: var(--oxford);
  border-color: var(--border-strong);
  padding: 0.8rem 1.3rem;
  font-size: 0.92rem;
}

.btn-outline-dark:hover {
  background-color: var(--oxford);
  border-color: var(--oxford);
  color: #ffffff;
}

/* Refined Deep Sage WhatsApp CTA */
.btn-whatsapp {
  background-color: var(--sage);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(20, 116, 111, 0.2);
}

.btn-whatsapp:hover {
  background-color: var(--sage-hover);
  transform: translateY(-1px);
}

/* Professional Oxford LinkedIn Button */
.btn-linkedin {
  background-color: var(--oxford-soft);
  color: var(--oxford);
  border-color: var(--oxford-border);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.btn-linkedin:hover {
  background-color: var(--oxford);
  border-color: var(--oxford);
  color: #ffffff;
}

.icon-arrow {
  width: 17px;
  height: 17px;
  transition: transform var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.icon-wa,
.icon-social {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==================== HEADER & OFFICIAL LOGO ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--ease), background-color var(--ease);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-block: 4px;
}

.brand-logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform var(--ease);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a {
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding-block: 0.3rem;
  position: relative;
  transition: color var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.main-nav a:hover {
  color: var(--oxford);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

/* Refined Bilingual Switcher (ES | EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  padding: 0.22rem 0.28rem;
  border-radius: var(--radius-pill);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  min-width: 34px;
  min-height: 32px;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}

.lang-btn:hover {
  color: var(--oxford);
}

.lang-btn.is-active {
  background: var(--oxford);
  color: #ffffff;
}

.lang-divider {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--border-strong);
  user-select: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-bar {
  width: 19px;
  height: 2px;
  background-color: var(--oxford);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding-block: 0.85rem 1.35rem;
  gap: 0.2rem;
}

.mobile-nav-links a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  color: var(--ink-primary);
  border-radius: var(--radius-xs);
  transition: background-color var(--ease), color var(--ease);
}

.mobile-nav-links a:not(.btn):hover {
  background: var(--bg-ivory);
  color: var(--terracotta);
}

.mobile-nav-links .btn {
  margin-top: 0.75rem;
  min-height: 48px;
}

/* ==================== HERO SECTION (LUMINOUS & AUTHORITATIVE) ==================== */
.hero {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-white) 100%);
  padding-block: 2.75rem 4.75rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 3.5rem;
}

.hero-content,
.hero-showcase {
  min-width: 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--oxford);
  margin-bottom: 1.3rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.85vw, 3.4rem);
  font-weight: 800;
  line-height: 1.11;
  letter-spacing: -0.028em;
  color: var(--oxford);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.03rem;
  line-height: 1.74;
  color: var(--ink-secondary);
  margin-bottom: 2rem;
}

.hero-subtitle strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.proof-item {
  position: relative;
  padding-left: 0.85rem;
}

.proof-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2.5px;
  border-radius: 2px;
  background: var(--oxford);
}

.proof-item:nth-child(2)::before {
  background: var(--terracotta);
}

.proof-item:nth-child(3)::before {
  background: var(--sage);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--oxford);
  margin-bottom: 0.15rem;
}

.proof-item span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.46;
  color: var(--ink-muted);
}

/* Large Protagonist Student Photograph */
.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
}

.hero-photo-caption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.25rem;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.caption-dot-terracotta {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

/* ==================== SHARED SECTION SURFACES ==================== */
.section {
  padding-block: 5.5rem;
}

.section-ivory {
  background-color: var(--bg-ivory);
  border-bottom: 1px solid var(--border-light);
}

.section-white {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  max-width: 740px;
  margin-bottom: 3.15rem;
}

.section-header.compact {
  margin-bottom: 0;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--oxford);
  background: var(--oxford-soft);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

.section-kicker.is-terracotta {
  color: var(--terracotta-hover);
  background: var(--terracotta-soft);
}

.section-kicker.is-sage {
  color: var(--sage);
  background: var(--sage-soft);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--oxford);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  line-height: 1.74;
}

/* ==================== PHILOSOPHY SECTION ==================== */
.philosophy-top {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 3.25rem;
  margin-bottom: 3.25rem;
}

.warm-photo-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.warm-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 25%;
}

.warm-photo-caption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.2rem;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-light);
}

.caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oxford);
  flex-shrink: 0;
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contrast-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.contrast-card.is-old {
  background: var(--bg-pearl);
  border-color: var(--border-light);
}

.contrast-card.is-new {
  border-top: 3.5px solid var(--oxford);
  box-shadow: var(--shadow-sm);
}

.contrast-head {
  margin-bottom: 1.25rem;
}

.badge-muted,
.badge-fox {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.68rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.7rem;
}

.badge-muted {
  background: var(--bg-white);
  color: var(--ink-muted);
  border: 1px solid var(--border-strong);
}

.badge-fox {
  background: var(--terracotta-soft);
  color: var(--terracotta-hover);
}

.contrast-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--oxford);
}

.contrast-list {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}

.contrast-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

.contrast-card.is-old .contrast-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}

.contrast-card.is-new .contrast-list li {
  color: var(--ink-primary);
}

.contrast-card.is-new .contrast-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--sage);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pillar-card {
  padding: 1.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease), box-shadow var(--ease);
}

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

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--oxford-soft);
  color: var(--oxford);
  margin-bottom: 1.1rem;
}

.pillar-icon.is-terracotta {
  background: var(--terracotta-soft);
  color: var(--terracotta);
}

.pillar-icon.is-sage {
  background: var(--sage-soft);
  color: var(--sage);
}

.pillar-icon svg {
  width: 21px;
  height: 21px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 700;
  color: var(--oxford);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.93rem;
  color: var(--ink-secondary);
}

/* ==================== 3 FLAGSHIP PROGRAMS (PRESTIGE PROSPECTUS) ==================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.program-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3.5px solid var(--oxford);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

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

.program-card.is-saber {
  border-top-color: var(--terracotta);
  background: linear-gradient(180deg, #fdf9f6 0%, #ffffff 42%);
}

.program-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.program-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oxford-soft);
  color: var(--oxford);
}

.program-card.is-saber .program-num {
  background: var(--terracotta-soft);
  color: var(--terracotta-hover);
}

.program-pill {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  color: var(--oxford);
}

.program-card.is-saber .program-pill {
  background: var(--terracotta-soft);
  border-color: var(--terracotta-border);
  color: var(--terracotta-hover);
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--oxford);
}

.program-desc {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  margin-bottom: 1.35rem;
}

.program-topics {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  padding-top: 1.15rem;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.program-topics li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-primary);
}

.program-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: var(--oxford);
}

.program-card.is-saber .program-topics li::before {
  background: var(--terracotta);
}

.program-foot {
  margin-top: auto;
}

/* ==================== AI METHODOLOGY + PRACTICAL STUDIO ==================== */
.studio-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 2.25rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.ai-pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.ai-pillar-item {
  padding: 1.45rem 1.55rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.ai-step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.24rem 0.68rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
  background: var(--sage-soft);
  color: var(--sage);
}

.ai-pillar-item h3 {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 700;
  color: var(--oxford);
  margin-bottom: 0.45rem;
}

.ai-pillar-item p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

/* Studio Module */
.studio-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-width: 0;
}

.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1.15rem;
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--border-light);
  min-width: 0;
}

.studio-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.studio-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.studio-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  min-width: 0;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-badge {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--sage);
  background: var(--sage-soft);
  border: 1px solid var(--sage-border);
  padding: 0.2rem 0.62rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.studio-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.studio-tab {
  border: none;
  background: transparent;
  min-height: 46px;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-muted);
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.studio-tab:hover {
  color: var(--oxford);
  background: var(--bg-ivory);
}

.studio-tab.is-active {
  color: var(--oxford);
  border-bottom-color: var(--terracotta);
}

.studio-panel {
  padding: 1.45rem;
  animation: fadePanel 220ms ease;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--oxford);
  margin-top: 0.2rem;
}

.metric-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--sage-soft);
  color: var(--sage);
  white-space: nowrap;
}

.metric-pill.is-terracotta {
  background: var(--terracotta-soft);
  color: var(--terracotta-hover);
}

/* Practical Diagnostic Inspector (Zero fake progress bars) */
.diag-selector-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
}

.diag-selector-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.diag-case-pills {
  display: inline-flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.diag-case-btn {
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--oxford);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  min-height: 36px;
  padding: 0.36rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.diag-case-btn:hover {
  border-color: var(--oxford);
  background: var(--oxford-soft);
}

.diag-case-btn.is-active {
  background: var(--oxford);
  border-color: var(--oxford);
  color: #ffffff;
}

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

.diag-step {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
}

.diag-step.is-error {
  background: var(--crimson-soft);
  border-color: var(--crimson-border);
}

.diag-step.is-root {
  background: var(--terracotta-soft);
  border-color: var(--terracotta-border);
}

.diag-step.is-question {
  background: var(--oxford-soft);
  border-color: var(--oxford-border);
}

.diag-step.is-verify {
  background: var(--sage-soft);
  border-color: var(--sage-border);
}

.diag-step-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.38rem;
}

.diag-step.is-error .diag-step-label { color: var(--crimson); }
.diag-step.is-root .diag-step-label { color: var(--terracotta-hover); }
.diag-step.is-question .diag-step-label { color: var(--oxford); }
.diag-step.is-verify .diag-step-label { color: var(--sage); }

.diag-step p {
  font-size: 0.84rem;
  line-height: 1.56;
  color: var(--ink-primary);
}

/* NotebookLM Panel */
.nb-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.nb-chip {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  padding: 0.34rem 0.68rem;
  border-radius: var(--radius-xs);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
}

.nb-dialogue {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.nb-bubble {
  padding: 0.92rem 1.02rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.6;
}

.nb-bubble.is-student {
  background: var(--oxford-soft);
  border: 1px solid var(--oxford-border);
  color: var(--ink-primary);
}

.nb-bubble.is-ai {
  background: var(--sage-soft);
  border: 1px solid var(--sage-border);
  color: var(--ink-primary);
}

.bubble-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  color: var(--sage);
}

.nb-bubble.is-student .bubble-role {
  color: var(--oxford);
}

.studio-footer-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-xs);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: var(--oxford);
  color: #ffffff;
  flex-shrink: 0;
}

/* Concept Check Quiz */
.quiz-prompt {
  font-size: 0.92rem;
  color: var(--ink-primary);
  margin-bottom: 0.95rem;
  line-height: 1.62;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.quiz-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
  width: 100%;
  min-height: 44px;
  padding: 0.78rem 0.92rem;
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--ink-primary);
  line-height: 1.48;
  cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease);
}

.quiz-opt:hover {
  border-color: var(--oxford);
  background: var(--oxford-soft);
}

.quiz-opt.is-correct {
  border-color: var(--sage);
  background: var(--sage-soft);
}

.quiz-opt.is-wrong {
  border-color: var(--terracotta);
  background: var(--terracotta-soft);
}

.opt-key {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--oxford);
}

.quiz-feedback {
  font-size: 0.84rem;
  line-height: 1.56;
  padding: 0.84rem 0.95rem;
  border-radius: var(--radius-xs);
  background: var(--bg-ivory);
  color: var(--ink-secondary);
}

.quiz-feedback.is-success {
  background: var(--sage-soft);
  color: var(--sage-hover);
  border: 1px solid var(--sage-border);
}

.quiz-feedback.is-hint {
  background: var(--terracotta-soft);
  color: var(--terracotta-hover);
  border: 1px solid var(--terracotta-border);
}

/* Ethical AI Comparator */
.ethics-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
}

.ethics-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.45rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-light);
}

.ethics-header h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--oxford);
  margin-top: 0.25rem;
}

.ethics-switch {
  display: inline-flex;
  background: var(--bg-ivory);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.switch-btn {
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 600;
  min-height: 38px;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}

.switch-btn.is-active {
  background: var(--oxford);
  color: #ffffff;
}

.ethics-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
}

.ethics-prompt,
.ethics-outcome {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
}

.ethics-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.6rem;
}

.ethics-label.is-good { color: var(--sage); }
.ethics-label.is-bad { color: var(--crimson); }

.ethics-prompt p {
  font-size: 0.96rem;
  color: var(--ink-primary);
  line-height: 1.65;
}

.ethics-outcome ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ethics-outcome li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.91rem;
  color: var(--ink-secondary);
}

.ethics-outcome li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--terracotta);
}

/* ==================== PROCESS TIMELINE ==================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
}

.step-index {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  background: var(--oxford);
  color: #ffffff;
}

.step-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 700;
  color: var(--oxford);
  margin-bottom: 0.55rem;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
}

.step-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terracotta-hover);
}

/* ==================== FOUNDER & OFFICIAL CREST ==================== */
.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 3.5rem;
}

.founder-media,
.founder-content {
  min-width: 0;
}

.founder-photo-frame {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.15rem;
}

.founder-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
}

.founder-badge-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--oxford);
}

.founder-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.trust-stat {
  padding: 1rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.trust-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 800;
  color: var(--oxford);
  margin-bottom: 0.15rem;
}

.trust-stat span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--ink-muted);
}

/* Official Academy Crest Card in Founder Column */
.founder-crest-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.founder-crest-card img {
  height: 62px;
  width: auto;
  flex-shrink: 0;
}

.founder-crest-text {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.founder-crest-text span {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}

.founder-lead {
  font-size: 1.04rem;
  color: var(--ink-primary);
  line-height: 1.72;
  margin-bottom: 0.95rem;
}

.founder-body {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.founder-credentials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.credential-card {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3.5px solid var(--oxford);
}

.credential-card:nth-child(2) { border-left-color: var(--terracotta); }
.credential-card:nth-child(3) { border-left-color: var(--sage); }

.credential-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--oxford);
  margin-bottom: 0.18rem;
}

.credential-card span {
  display: block;
  font-size: 0.87rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.founder-quote {
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--terracotta);
  background: var(--bg-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.35rem;
}

.founder-quote p {
  font-size: 1.01rem;
  font-style: italic;
  line-height: 1.62;
  color: var(--ink-primary);
  margin-bottom: 0.55rem;
}

.founder-quote footer {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--terracotta-hover);
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ==================== PLANS & TUITION GUIDE (TRANSPARENT, ZERO-PRESSURE) ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.85rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease), box-shadow var(--ease);
}

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

.pricing-card.is-free {
  border-top: 3.5px solid var(--sage);
  background: linear-gradient(180deg, #f5fbfa 0%, #ffffff 36%);
}

.pricing-card.is-hourly {
  border-top: 3.5px solid var(--oxford);
}

.pricing-card.is-monthly {
  border-top: 3.5px solid var(--terracotta);
  background: linear-gradient(180deg, #fdf8f4 0%, #ffffff 36%);
  box-shadow: var(--shadow-sm);
}

.pricing-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  background: var(--oxford-soft);
  color: var(--oxford);
}

.pricing-card.is-free .pricing-badge {
  background: var(--sage-soft);
  color: var(--sage);
}

.pricing-card.is-monthly .pricing-badge {
  background: var(--terracotta-soft);
  color: var(--terracotta-hover);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--oxford);
  margin-bottom: 0.85rem;
}

.pricing-value {
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  line-height: 1.15;
}

.pricing-card.is-free .pricing-amount {
  color: var(--sage);
}

.pricing-unit {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.pricing-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.89rem;
  color: var(--ink-primary);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--sage);
}

.pricing-foot {
  margin-top: auto;
}

.pricing-disclaimer {
  padding: 1.2rem 1.45rem;
  border-radius: var(--radius-md);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  font-size: 0.89rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.pricing-disclaimer strong {
  color: var(--oxford);
}

/* ==================== FAQ SECTION ==================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 3.25rem;
  align-items: start;
}

.faq-cta-card {
  margin-top: 1.75rem;
  padding: 1.45rem;
  border-radius: var(--radius-md);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
}

.faq-cta-card p {
  font-size: 0.91rem;
  color: var(--ink-secondary);
  margin-bottom: 0.4rem;
}

.faq-cta-card p strong {
  color: var(--oxford);
}

.text-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--terracotta);
}

.text-link:hover {
  color: var(--terracotta-hover);
  text-decoration: underline;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--ease), background-color var(--ease);
}

.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  background: var(--bg-white);
  border-color: var(--oxford-border);
  box-shadow: var(--shadow-xs);
}

.faq-trigger {
  width: 100%;
  min-height: 54px;
  border: none;
  background: transparent;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--oxford);
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--terracotta);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.faq-icon::before {
  top: 7.5px;
  left: 0;
  width: 17px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7.5px;
  width: 2px;
  height: 17px;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-panel {
  padding: 0 1.35rem 1.35rem;
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ==================== CONTACT & SOCIAL ROW ==================== */
.section-contact {
  background-color: var(--bg-ivory);
  border-bottom: 1px solid var(--border-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3.5rem;
  align-items: start;
}

.contact-info,
.contact-form-wrap {
  min-width: 0;
}

.contact-steps-card {
  margin-block: 1.7rem;
  padding: 1.45rem 1.55rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.next-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  margin-top: 0.85rem;
}

.next-steps-list li {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.next-steps-list strong {
  color: var(--ink-primary);
}

.whatsapp-cta-box {
  margin-bottom: 1.2rem;
}

.whatsapp-note {
  margin-top: 0.55rem;
  font-size: 0.81rem;
  color: var(--ink-muted);
  text-align: center;
}

.direct-channels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
  margin-bottom: 1.35rem;
}

.channel-item {
  padding: 0.92rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.channel-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--oxford);
  word-break: break-word;
}

.channel-value:hover {
  color: var(--terracotta);
}

/* Social Media Button Row */
.social-block {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.social-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-ivory);
  color: var(--oxford);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.social-btn.is-active-social {
  background: var(--oxford);
  border-color: var(--oxford);
  color: #ffffff;
}

.social-btn.is-active-social:hover {
  background: var(--oxford-hover);
  transform: translateY(-1px);
}

.social-btn.is-soon {
  color: var(--ink-secondary);
}

.social-btn.is-soon:hover {
  border-color: var(--terracotta-border);
  background: var(--terracotta-soft);
  color: var(--terracotta-hover);
}

.social-btn.is-soon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  z-index: 20;
  padding: 0.25rem 0.58rem;
  border-radius: 6px;
  background: var(--oxford);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-btn.is-soon:hover::after,
.social-btn.is-soon:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-notice {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border);
  font-size: 0.81rem;
  line-height: 1.48;
  color: var(--terracotta-hover);
}

/* Admissions Form Card */
.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--oxford);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.form-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-light);
}

.form-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--oxford);
  margin-bottom: 0.25rem;
}

.form-card-header p {
  font-size: 0.89rem;
  color: var(--ink-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.form-group label .req {
  color: var(--terracotta);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0.92rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: var(--bg-ivory);
  font-size: 0.93rem;
  color: var(--ink-primary);
  transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--bg-white);
  border-color: var(--oxford);
  box-shadow: 0 0 0 3px rgba(16, 42, 76, 0.12);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--crimson);
  background: var(--crimson-soft);
}

.field-error {
  font-size: 0.77rem;
  color: var(--crimson);
  min-height: 1em;
}

.form-privacy {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.79rem;
  color: var(--ink-muted);
}

.form-status {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.58;
}

.form-status.is-success {
  background: var(--sage-soft);
  border: 1px solid var(--sage-border);
  color: var(--sage-hover);
}

/* ==================== LUMINOUS PRESTIGE FOOTER ==================== */
.site-footer {
  background-color: var(--bg-white);
  color: var(--ink-secondary);
  padding-top: 4.25rem;
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: 3.25rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-logo-img {
  height: 82px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.91rem;
  line-height: 1.68;
  max-width: 42ch;
  color: var(--ink-secondary);
}

.footer-domain {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
}

.footer-social-wrap {
  margin-top: 1.25rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.92fr) minmax(0, 1.3fr);
  gap: 1.6rem;
}

#footerWhatsappLink {
  white-space: nowrap;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oxford);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  transition: color var(--ease);
}

.footer-col a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  padding-block: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==================== SCROLL REVEAL ==================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

/* ==================== MOBILE-FIRST & MULTI-BREAKPOINT RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .hero-layout,
  .philosophy-top,
  .studio-showcase-grid,
  .founder-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .programs-grid,
  .pricing-grid,
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .brand-logo-img {
    height: 50px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .contrast-grid,
  .pillars-grid,
  .programs-grid,
  .pricing-grid,
  .ethics-body,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 600px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 1.75rem, var(--container-max));
  }

  .header-inner {
    gap: 0.6rem;
  }

  .brand-logo-img {
    height: 46px;
    max-width: 145px;
  }

  .section {
    padding-block: 3.75rem;
  }

  .hero {
    padding-block: 1.9rem 3.4rem;
  }

  .hero-pill {
    font-size: 0.74rem;
    padding: 0.36rem 0.78rem;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.6vw, 2.35rem);
    line-height: 1.15;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .hero-ctas .btn,
  .founder-actions .btn {
    width: 100%;
  }

  .hero-proof-grid,
  .diag-grid,
  .process-timeline,
  .form-row,
  .trust-metrics,
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-crest-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-url {
    display: none;
  }

  /* Prevent tab crowding or clipping on narrow 360px-430px screens */
  .studio-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .studio-tabs::-webkit-scrollbar {
    display: none;
  }

  .studio-tab {
    flex: 1 0 auto;
    padding: 0.75rem 0.85rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .studio-panel {
    padding: 1.15rem;
  }

  .panel-header,
  .studio-footer-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-wrap {
    padding: 1.4rem;
  }

  .channel-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .social-btn {
    flex: 1 1 calc(50% - 0.55rem);
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 1.5rem, var(--container-max));
  }

  .brand-logo-img {
    height: 42px;
    max-width: 126px;
  }

  .lang-switcher {
    padding: 0.16rem 0.22rem;
  }

  .lang-btn {
    min-width: 30px;
    padding: 0.22rem 0.4rem;
    font-size: 0.69rem;
  }

  .header-actions {
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
