@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&display=swap');

/* ============================================================
   Tutors Adelaide — shared design system
   Display: Cinzel (classical engraved serif) · Body: Mulish
   Palette: deep navy, soft blue washes, watercolour motifs,
   gold CTA, teal labels.
   ============================================================ */

:root {
  /* brand */
  --navy:        #16385e;
  --navy-deep:   #0e2742;
  --navy-soft:   #28507e;
  --blue:        #3d6fb0;
  --blue-300:    #7ea6d8;
  --blue-100:    #c7dbf2;
  --wash:        #eaf2fb;
  --wash-2:      #dde9f8;
  --teal:        #2bab9c;
  --teal-deep:   #1d8678;

  /* accent (tweakable) */
  --accent:      #e7af46;
  --accent-deep: #cf9528;
  --accent-ink:  #3a2a06;

  /* neutrals */
  --ink:         #1b2a39;
  --ink-soft:    #36465a;
  --muted:       #5f7081;
  --line:        #e3eaf2;
  --line-soft:   #eef3f9;
  --paper:       #ffffff;
  --paper-tint:  #f8fbff;

  /* type */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Mulish', system-ui, -apple-system, sans-serif;

  /* shape */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* shadow */
  --shadow-xs: 0 1px 3px rgba(16,40,72,.06);
  --shadow-sm: 0 4px 14px rgba(16,40,72,.07);
  --shadow:    0 16px 40px rgba(16,40,72,.10);
  --shadow-lg: 0 30px 70px rgba(16,40,72,.16);

  /* decorative wave intensity (tweakable) */
  --wave-opacity: 1;

  --container: 1200px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--wash { background: linear-gradient(180deg, #EFF6FF 0%, #F8FBFF 100%); }
.section--navy { background: var(--navy); color: #eaf2fb; }
.bg-tint { background: var(--paper-tint); }

/* ---------- type ---------- */
h1,h2,h3,h4 { margin: 0; line-height: 1.12; color: var(--navy); font-weight: 700; }
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--navy);
}
.section--navy h1,.section--navy h2,.section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--accent); }

.h-xl { font-family: var(--font-display); font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: .005em; }
.h-lg { font-family: var(--font-display); font-size: clamp(2rem, 3.8vw, 3rem); }
.h-md { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 660px; }

.section-head { margin-bottom: 52px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: .01em;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn { will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
}
.btn:active { transform: scale(0.97); box-shadow: var(--shadow-xs); transition-duration: 80ms; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16.5px; }

.btn-gold  { --bg: var(--accent); --fg: var(--accent-ink); box-shadow: 0 10px 26px rgba(207,149,40,.32); }
.btn-gold:hover { box-shadow: 0 16px 34px rgba(207,149,40,.42); }
.btn-navy  { --bg: var(--navy); --fg: #fff; }
.btn-teal  { --bg: var(--teal); --fg: #fff; }
.btn-ghost {
  --bg: transparent; --fg: var(--navy);
  border-color: var(--blue-100);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--blue-300); background: var(--wash); }
.btn-white { --bg: #fff; --fg: var(--navy); }
.btn-outline-light {
  --bg: transparent; --fg: #fff;
  border-color: rgba(255,255,255,.4); box-shadow: none;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-stuck {
  box-shadow: 0 6px 24px rgba(16,40,72,.08);
  border-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-word b {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--navy);
  white-space: nowrap;
}
.foot-brand .brand-logo {
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 3px;
}
.foot-brand .brand-word b { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a:not(.btn) {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: 10px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links > a:not(.btn):hover { color: var(--navy); background: var(--wash); }
.nav-links > a.active { color: var(--navy); }
.nav-links > a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.nav-links .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card-pad { padding: 30px; }
@media (hover: hover) and (pointer: fine) {
  .card.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
}

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* icon chip */
.icon-chip {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--wash);
  color: var(--navy);
  margin-bottom: 20px;
}
.icon-chip svg { width: 28px; height: 28px; stroke-width: 1.7; }
.icon-chip.gold { background: #fbf0d6; color: var(--accent-deep); }
.icon-chip.teal { background: #d6f1ec; color: var(--teal-deep); }
.icon-chip.blue { background: var(--wash-2); color: var(--blue); }

.card h3 { font-size: 1.22rem; margin-bottom: 9px; font-weight: 800; font-family: var(--font-body); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px;
  font-weight: 800; font-size: 14px; color: var(--teal-deep);
}
.tlink svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* pills / chips */
.chip {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--wash);
  color: var(--navy-soft);
  font-weight: 700; font-size: 13.5px;
  border: 1px solid var(--line);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* badge */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(43,171,156,.12);
  color: var(--teal-deep);
  font-weight: 800; font-size: 13px; letter-spacing: .04em;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: dot-pulse 2.4s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .55; }
}

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(150deg, #3B82F6 0%, #06B6D4 55%, #0D9488 100%);
  color: #e0f2fe;
  padding: 118px 0 96px;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(30,64,175,.25); }
.page-hero p { color: #e0f2fe; }
.page-hero .crumbs { font-size: 13.5px; color: #bae6fd; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .wave-deco { filter: none; }
.page-hero .badge { background: rgba(231,175,70,.25); color: #fde68a; border: 1px solid rgba(231,175,70,.3); }
.page-hero .badge .dot { background: var(--accent); }
.page-hero .tag-line { color: #bae6fd; }
.page-hero .tag-line svg { color: #34D399; }

/* ---------- watercolour wave decorations ---------- */
.wave-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: var(--wave-opacity); }
.wave-deco svg { position: absolute; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(46px);
  opacity: .55;
  pointer-events: none;
}

/* ---------- stats ---------- */
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--navy);
  line-height: 1;
}
.section--navy .stat b { color: #fff; }
.stat span { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.section--navy .stat span { color: #a9c5e4; }

/* ---------- timeline / how it works ---------- */
.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(4,1fr); }
.step { position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: #fff; background: var(--navy);
  box-shadow: 0 10px 24px rgba(16,40,72,.22);
  margin-bottom: 22px; position: relative; z-index: 2;
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--teal); }
.step:nth-child(4) .step-num { background: var(--accent); color: var(--accent-ink); }
.step h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 56px; right: -26px;
  height: 2px; background: linear-gradient(90deg, var(--blue-100), transparent);
  z-index: 1;
}

/* ---------- testimonials ---------- */
.quote { position: relative; padding: 34px 30px 30px; }
.quote .mark {
  font-family: var(--font-display); font-size: 64px; line-height: .4;
  color: var(--blue-100); position: absolute; top: 28px; left: 26px;
}
.quote p { font-size: 1.04rem; color: var(--ink-soft); position: relative; z-index: 1; margin: 22px 0 22px; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }

/* ---------- avatar monogram ---------- */
.avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  color: #fff; flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.av-navy { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); }
.av-blue { background: linear-gradient(135deg, var(--blue), var(--blue-300)); }
.av-teal { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); }
.av-gold { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: var(--accent-ink); }
.who b { display: block; font-size: 15px; color: var(--navy); font-weight: 800; }
.who span { font-size: 13px; color: var(--muted); }

/* ---------- photos ---------- */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--wash); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame { padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.media-frame img { border-radius: calc(var(--radius-lg) - 8px); }

/* photo inside interior page hero (right, faded into navy) */
.hero-img {
  position: absolute; top: 0; right: 0; height: 100%; width: 50%;
  object-fit: cover; object-position: center; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 58%);
}
.hero-img-tint {
  position: absolute; top: 0; right: 0; height: 100%; width: 50%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent 40%, rgba(22,56,94,.32) 100%),
              linear-gradient(180deg, rgba(22,56,94,.15), transparent 30%);
}

/* full-width welcoming band */
.media-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; }
.media-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-band .ov {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,39,66,.82) 0%, rgba(14,39,66,.5) 45%, rgba(14,39,66,.12) 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 0 9%;
}
.media-band .ov h2 { color: #fff; max-width: 560px; }
.media-band .ov p { color: #cfe0f3; max-width: 460px; margin-top: 14px; }
.media-band .ov .badge { margin-bottom: 18px; background: rgba(231,175,70,.18); color: #f3d49a; }
@media (max-width: 920px) {
  .hero-img, .hero-img-tint { display: none; }
  .media-band .ov { background: linear-gradient(90deg, rgba(14,39,66,.86), rgba(14,39,66,.6)); }
}

/* ---------- image placeholder ---------- */
.ph {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--wash) 0 14px, var(--wash-2) 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--blue);
  min-height: 280px;
}
.ph .ph-label {
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.85);
  padding: 8px 16px; border-radius: var(--radius-pill);
  color: var(--navy-soft);
  box-shadow: var(--shadow-xs);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.faq-q {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: none; border: 0;
  font-family: var(--font-body); font-weight: 800; font-size: 1.04rem; color: var(--navy);
}
.faq-q .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; transition: .3s; }
.faq-item.open .faq-q .ic { background: var(--accent); transform: rotate(45deg); }
.faq-q .ic::before { content: "+"; font-size: 18px; line-height: 1; color: var(--navy); font-weight: 700; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a > div { padding: 0 24px 22px; color: var(--muted); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 800; font-size: 13.5px; color: var(--ink-soft); letter-spacing: .01em; }
.field label .req { color: var(--accent-deep); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-tint);
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61,111,176,.14); background: #fff;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.12); }
.field .err { color: #c9302c; font-size: 12.5px; font-weight: 700; display: none; }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }

/* checkbox group */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper-tint); cursor: pointer;
  font-size: 14.5px; font-weight: 700; color: var(--ink-soft);
  transition: border-color .18s, background .18s, box-shadow .18s, color .18s;
}
.check:hover { border-color: var(--blue-300); }
.check input { width: 18px; height: 18px; accent-color: var(--accent-deep); cursor: pointer; flex-shrink: 0; margin: 0; }
.check:has(input:checked) { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(61,111,176,.12); color: var(--navy); }
.check-wide { grid-column: 1 / -1; }
.field.invalid .check-grid .check { border-color: #e3b3b1; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  text-align: center; padding: 44px 30px;
}
.form-success.show { display: block; animation: pop .5s var(--ease); }
.form-success .tick {
  width: 76px; height: 76px; border-radius: 50%;
  background: #d6f1ec; color: var(--teal-deep);
  display: grid; place-items: center; margin: 0 auto 22px;
}
.form-success .tick svg { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- tutor profile ---------- */
.tutor {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.tutor-aside {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #cfe0f3; padding: 38px 32px; position: relative; overflow: hidden;
}
.tutor-aside::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(43,171,156,.4), transparent 70%);
}
.tutor-aside .avatar { width: 88px; height: 88px; font-size: 32px; margin-bottom: 20px; }
.tutor-aside h3 { color: #fff; font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 8px; }
.tutor-aside .subj-tag {
  display: inline-flex; padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(231,175,70,.18); color: var(--accent); font-weight: 800; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px;
}
.tutor-aside h4 { color: #9fc0e2; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; position: relative; z-index: 1; }
.tutor-aside .creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; position: relative; z-index: 1; }
.tutor-aside .creds li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: #d3e3f5; }
.tutor-aside .creds li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.tutor-main { padding: 42px 44px; }
.tutor-main .blk { margin-bottom: 28px; }
.tutor-main .blk:last-child { margin-bottom: 0; }
.tutor-main .blk h4 {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 800; font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px;
}
.tutor-main .blk h4::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.tutor-main .blk p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
@media (max-width: 860px) {
  .tutor { grid-template-columns: 1fr; }
}

/* ---------- pricing ---------- */
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
}
.price-card.featured { border: 0; background: linear-gradient(170deg, var(--navy), var(--navy-soft)); color: #d4e4f6; box-shadow: var(--shadow-lg); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card .ribbon {
  position: absolute; top: 22px; right: 22px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--radius-pill);
}
.price-card .pc-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--wash); color: var(--navy); margin-bottom: 20px; }
.price-card.featured .pc-icon { background: rgba(255,255,255,.12); color: #fff; }
.price-card .pc-icon svg { width: 26px; height: 26px; }
.price-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.3rem; margin-bottom: 8px; }
.price-card .blurb { color: var(--muted); font-size: .96rem; min-height: 48px; }
.price-card.featured .blurb { color: #a9c5e4; }
.price-card .price { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); font-weight: 700; margin: 18px 0 4px; }
.price-card .price small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.price-card.featured .price small { color: #9fc0e2; }
.price-card .feats { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 13px; }
.price-card .feats li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-soft); }
.price-card.featured .feats li { color: #cfe0f3; }
.price-card .feats li svg { width: 19px; height: 19px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.price-card.featured .feats li svg { color: var(--accent); }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- subject sub-nav + blocks ---------- */
.subnav {
  position: sticky; top: 78px; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  white-space: nowrap; font-weight: 700; font-size: 14px; color: var(--ink-soft);
  padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: #fff; transition: .2s; flex-shrink: 0;
}
.subnav a:hover { border-color: var(--blue-300); color: var(--navy); background: var(--wash); }

.subject-block { scroll-margin-top: 150px; }
.subject-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.subject-head .icon-chip { margin: 0; width: 64px; height: 64px; }
.subject-head .num {
  font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .2em;
  color: var(--blue-300); display: block; margin-bottom: 4px;
}
.who-box {
  background: var(--wash); border-radius: var(--radius); padding: 22px 24px; margin-top: 22px;
  border-left: 3px solid var(--teal);
}
.who-box b { color: var(--navy); display: block; margin-bottom: 6px; font-size: 14.5px; }
.who-box span { color: var(--ink-soft); font-size: 15px; }

/* ---------- timetable ---------- */
.tt-day {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.tt-day h3 {
  background: var(--blue); color: #fff; font-family: var(--font-body);
  font-weight: 800; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 20px; margin: 0; text-align: center;
}
.tt-day.sat h3 { background: var(--navy); }
.tt-row { display: grid; grid-template-columns: 64px 1fr; gap: 0; border-top: 1px solid var(--line-soft); }
.tt-row:first-of-type { border-top: 0; }
.tt-yr {
  display: grid; place-items: center; text-align: center;
  background: var(--wash); font-family: var(--font-display); font-weight: 700;
  color: var(--navy); font-size: 15px; padding: 14px 6px;
}
.tt-info { padding: 13px 18px; }
.tt-info .subj { font-weight: 800; color: var(--navy); font-size: 15px; }
.tt-info .meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; }
.tt-info .meta .loc { color: var(--teal-deep); font-weight: 700; }
.tt-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: start; }
.tt-sat { display: grid; grid-template-columns: 1fr 1fr; }
.tt-sat .tt-row:nth-child(2) { border-top: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 40px; }
.legend span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.legend .sw { width: 14px; height: 14px; border-radius: 4px; }
@media (max-width: 1080px) { .tt-week { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .tt-week { grid-template-columns: 1fr; } .tt-sat { grid-template-columns: 1fr; } .tt-sat .tt-row:nth-child(2) { border-top: 1px solid var(--line-soft); } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9cee6; position: relative; overflow: hidden; }
.footer-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative; overflow: hidden;
}
.footer-cta .eyebrow { color: var(--accent); }
.footer-cta h2 { color: #fff; }
.footer-cta p { color: #c4d8ef; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px;
  padding: 76px 0 54px; position: relative; z-index: 2;
}
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-weight: 800;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px;
}
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-links a { color: #9fb8d4; font-size: 15px; transition: color .2s, transform .2s var(--ease); display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .foot-links a:hover { color: #fff; transform: translateX(4px); }
}
.foot-contact { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.foot-contact .row { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.foot-brand p { color: #93acca; font-size: 14.5px; max-width: 320px; }
.newsletter { display: flex; gap: 10px; margin-top: 8px; }
.newsletter input {
  flex: 1; padding: 13px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  color: #fff; font-family: var(--font-body); font-size: 14.5px;
}
.newsletter input::placeholder { color: #7d97b6; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter .msg { font-size: 13px; color: var(--teal); font-weight: 700; margin-top: 10px; min-height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-size: 13.5px; color: #7d97b6; position: relative; z-index: 2;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; will-change: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- hero floating card entrance ---------- */
@keyframes card-float-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.page-hero .card[style*="position:absolute"] {
  animation: card-float-in .65s cubic-bezier(.16,.84,.44,1) .55s both;
}

/* ---------- step number subtle scale-in ---------- */
.step.in .step-num {
  animation: step-pop .5s cubic-bezier(.16,.84,.44,1) both;
}
.step[data-d="1"].in .step-num { animation-delay: .07s; }
.step[data-d="2"].in .step-num { animation-delay: .14s; }
.step[data-d="3"].in .step-num { animation-delay: .21s; }
@keyframes step-pop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ---------- utilities ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-l { grid-template-columns: 1.15fr .85fr; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.tag-line { display:flex; align-items:center; gap:10px; color: var(--muted); font-weight:700; font-size:14px; }
.tag-line svg { width:18px; height:18px; color: var(--teal); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 15.5px; }
.list-check li svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .steps .step::after { display: none; }
  .split, .split.wide-l { grid-template-columns: 1fr; gap: 36px; }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 18px 22px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .4s var(--ease);
    max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a:not(.btn) { padding: 14px 12px; border-radius: 10px; font-size: 16px; }
  .nav-links > a.active::after { display: none; }
  .nav-links > a.active { background: var(--wash); }
  .nav-links .btn { margin: 8px 0 0; width: 100%; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .container { padding: 0 20px; }
  .grid-4, .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brand-word span { display: none; }
  body { font-size: 16px; }
  .page-hero .card[style*="position:absolute"] { left: 0 !important; bottom: -24px !important; }
}

/* ---------- testimonial carousel ---------- */
.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.tc-grid .card.quote {
  cursor: pointer;
  opacity: 0.52;
  transform: scale(0.97);
  transition: transform .45s var(--ease), opacity .45s, box-shadow .45s, border-color .3s;
}
.tc-grid .card.quote.tc-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow), 0 0 0 2px var(--accent);
  border-color: var(--accent);
}
.tc-grid .card.quote:hover {
  opacity: 1;
  transform: scale(1.025);
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--accent);
  border-color: var(--accent);
}
.tc-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.tc-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--blue-100);
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}
.tc-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}
@media (max-width: 920px) {
  .tc-grid { grid-template-columns: 1fr; }
  .tc-grid .card.quote { opacity: 1; transform: none; }
  .tc-grid .card.quote.tc-active { box-shadow: var(--shadow-sm); border-color: var(--accent); }
  .tc-grid .card.quote:hover { transform: none; }
  .tc-dots { display: none; }
}

/* ---------- skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 22px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
