:root {
  --navy: #111827;
  --blue: #6fa8ff;
  --blue-dark: #2f6fce;
  --yellow: #d8aa45;
  --green: #6fb39a;
  --ink: #f3eadc;
  --muted: #b7c2d2;
  --line: rgba(216, 170, 69, 0.18);
  --surface: #172033;
  --surface-strong: #1d2a3f;
  --soft: #101827;
  --soft-blue: #223553;
  --cream: #f6ead8;
  --glass: rgba(29, 42, 63, 0.58);
  --glass-strong: rgba(31, 45, 68, 0.74);
  --glass-line: rgba(246, 234, 216, 0.2);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 14px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #0d1422 0%, #111827 42%, #0e1726 100%);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(111, 168, 255, 0.08), transparent 34%),
    linear-gradient(290deg, rgba(216, 170, 69, 0.08), transparent 32%);
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 40px));
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 38, 0.6);
  border-bottom: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  backdrop-filter: blur(28px) saturate(1.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #101827;
  background: linear-gradient(135deg, #e8c971, var(--yellow));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 28px rgba(248, 198, 79, 0.26);
}

.brand-mark i {
  display: none;
}

.brand-mark::before {
  content: "A";
  font-weight: 800;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text strong {
  color: #8bb8ff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(246, 234, 216, 0.07);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
}

.site-nav a {
  padding: 9px 13px;
  color: #c9d3e2;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cream);
  background: rgba(216, 170, 69, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  color: #111827;
  background: linear-gradient(135deg, #e5bf62, var(--yellow));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 16px 34px rgba(216, 170, 69, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: linear-gradient(135deg, #f0cf7f, #d8aa45);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(216, 170, 69, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 0.92rem;
}

.button-secondary {
  color: var(--cream);
  background: rgba(246, 234, 216, 0.08);
  border-color: var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  backdrop-filter: blur(20px) saturate(1.25);
}

.button-secondary:hover {
  color: var(--cream);
  background: rgba(246, 234, 216, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 32px rgba(0, 0, 0, 0.14);
}

.button-light {
  color: #111827;
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.button-light:hover {
  color: #111827;
  background: #fff4df;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: rgba(246, 234, 216, 0.08);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
  border-radius: 99px;
}

.hero,
.page-hero {
  padding: 92px 0 72px;
}

.hero-home {
  min-height: min(760px, calc(100vh - var(--header-height) - 76px));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(13, 20, 34, 0.98) 0%, rgba(17, 24, 39, 0.93) 48%, rgba(26, 38, 57, 0.68) 100%),
    url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=1800&q=82") center right / cover;
}

.hero-grid,
.page-hero-grid,
.split,
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 52px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 20px;
  color: var(--cream);
  font-size: clamp(3.25rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  line-height: 1;
}

.hero-lede,
.page-hero p,
.large-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-lede {
  max-width: 620px;
  font-size: clamp(1.12rem, 1.9vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions.centered {
  justify-content: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row span {
  display: inline-flex;
  gap: 6px;
  padding: 10px 12px;
  color: #d2d9e4;
  background: rgba(246, 234, 216, 0.08);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.trust-row strong {
  color: var(--cream);
}

.hero-media {
  min-height: 470px;
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.05) 30%, rgba(10, 15, 25, 0.42) 100%),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1200&q=82") center / cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.4);
  padding: 10px;
}

.section {
  padding: 86px 0;
}

.soft,
.intro-band {
  background: rgba(14, 23, 38, 0.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.intro-band {
  padding: 58px 0;
  border-top: 1px solid rgba(216, 170, 69, 0.16);
  border-bottom: 1px solid rgba(216, 170, 69, 0.16);
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 1.22rem;
  line-height: 1.25;
}

.section-heading p,
.split p,
.test-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card,
.subject-card,
.contact-card,
.page-hero-panel,
.info-stack article,
.steps article,
.calendly-card,
.test-proof,
.score-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 18px 46px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
}

.program-card,
.subject-card,
.contact-card,
.info-stack article {
  padding: 28px;
}

.program-card i,
.subject-card i,
.contact-card i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  color: #f1d17f;
  background: rgba(216, 170, 69, 0.15);
  border: 1px solid rgba(216, 170, 69, 0.2);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.program-card p,
.subject-card p,
.contact-card p,
.info-stack p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.program-card a,
.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #9fc2ff;
  font-weight: 800;
  text-decoration: none;
}

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

.steps article {
  padding: 24px;
}

.steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.school-list span {
  padding: 15px 16px;
  color: var(--cream);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 10px 24px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  backdrop-filter: blur(20px) saturate(1.25);
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(111, 168, 255, 0.16), rgba(216, 170, 69, 0.12)),
    var(--glass-strong);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    var(--shadow);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
}

.cta-card h2,
.cta-card p {
  color: #ffffff;
}

.cta-card p {
  margin: 0;
  opacity: 0.84;
}

.site-footer {
  padding: 64px 0 26px;
  color: #bfc9d6;
  background: rgba(9, 15, 26, 0.92);
  border-top: 1px solid rgba(246, 234, 216, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 44px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 390px;
  margin: 0;
  color: #bfc9d6;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #bfc9d6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  font-size: 0.92rem;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(14, 23, 38, 0.98), rgba(26, 39, 59, 0.92)),
    url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=1800&q=82") center / cover;
  border-bottom: 1px solid rgba(216, 170, 69, 0.16);
}

.subject-hero,
.test-hero,
.booking-hero,
.payment-hero {
  padding-top: 96px;
}

.page-hero-panel {
  padding: 30px;
}

.page-hero-panel h2 {
  font-size: 1.5rem;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  color: var(--muted);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

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

.info-stack {
  display: grid;
  gap: 16px;
}

.score-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(13, 20, 34, 0.9), rgba(36, 67, 49, 0.88)),
    url("https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1000&q=82") center / cover;
}

.score-panel div {
  padding: 18px;
  color: #ffffff;
  background: rgba(246, 234, 216, 0.1);
  border: 1px solid rgba(246, 234, 216, 0.18);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
}

.score-panel span,
.score-panel strong {
  display: block;
}

.score-panel span {
  opacity: 0.76;
  font-weight: 700;
}

.score-panel strong {
  margin-top: 4px;
  font-size: 1.35rem;
}

.test-proof {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 38px;
  text-align: center;
}

.booking-grid {
  align-items: start;
  grid-template-columns: minmax(280px, 0.75fr) minmax(340px, 1.25fr);
}

.booking-copy {
  position: sticky;
  top: 104px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--cream);
  background: rgba(246, 234, 216, 0.08);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.calendly-card {
  overflow: hidden;
  padding: 10px;
}

.calendly-widget {
  width: 100%;
  min-width: 0;
  height: 680px;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.payment-hero {
  min-height: calc(100vh - 320px);
  display: grid;
  place-items: center;
}

@media (max-width: 1020px) {
  .card-grid.four,
  .subject-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    gap: 2px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-shell {
    min-height: 70px;
    flex-wrap: wrap;
  }

  .nav-shell > .button-small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: static;
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 14px;
    padding: 10px;
    background: rgba(17, 24, 39, 0.82);
    border-color: var(--glass-line);
    box-shadow:
      inset 0 1px 0 var(--glass-highlight),
      var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .page-hero {
    padding: 58px 0;
  }

  .hero-home {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(13, 20, 34, 0.98) 0%, rgba(17, 24, 39, 0.92) 100%),
      url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=1200&q=82") center / cover;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-media {
    min-height: 310px;
  }

  .section {
    padding: 62px 0;
  }

  .card-grid.three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .booking-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.75rem;
  }

  .hero-actions,
  .hero-actions.centered {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-row {
    flex-direction: column;
  }

  .card-grid.four,
  .subject-grid,
  .steps,
  .school-list {
    grid-template-columns: 1fr;
  }

  .program-card,
  .subject-card,
  .contact-card,
  .page-hero-panel,
  .info-stack article,
  .steps article,
  .test-proof {
    padding: 22px;
  }

  .calendly-card {
    margin-right: -6px;
    margin-left: -6px;
  }
}
