/* =========================================================================
   elite.css — premium design layer for the HPT public website.
   Loaded AFTER style2.css so equal-specificity rules win the cascade.

   Direction (per the 2026-07 design review): "Apple meets Stanford meets
   Stripe." Lean into the navy, demote green to an accent, create real
   visual hierarchy with typography + whitespace instead of borders/boxes.

   Scope: global shell (buttons, hero, cards, nav CTA, footer) + a
   homepage-specific block namespaced under `.elite-home`. Interior pages
   inherit the shell uplift; their dense copy layouts are left intact.
   ========================================================================= */

:root {
  /* Navy scale — echoes the CRM app palette (#1c244b primary). */
  --navy-950: #0d1430;
  --navy-900: #121b3d;
  --navy-800: #1c244b; /* brand primary */
  --navy-700: #234066;
  --navy-600: #2b567a; /* teal-leaning, from --color-secondery family */

  /* Green — signature accent, used sparingly (CTA / success / highlight). */
  --green: #8fae2f;
  --green-bright: #a8c63e;
  --green-deep: #6b7c3f;

  /* Neutrals */
  --ink: #16203f;          /* headings on light */
  --body-ink: #4a5169;     /* body text on light */
  --muted-ink: #6b7185;
  --warm-gray: #f6f6f2;    /* alternating light section */
  --cool-tint: #eef3f8;
  --line: #e7eaf0;

  /* Elevation + radius */
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(15, 24, 54, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 24, 54, 0.10);
  --shadow-lg: 0 30px 70px rgba(9, 15, 40, 0.28);

  --maxw: 1180px;
}

/* -------------------------------------------------------------------------
   Typography — more contrast, more air.
   ------------------------------------------------------------------------- */
body {
  font-size: 16px;
  color: var(--body-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.elite-home p { font-size: 1.0625rem; line-height: 1.75; color: var(--body-ink); }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--green-bright); }

/* Section heads — larger, tighter, calmer subhead. */
.elite-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.elite-section-head .eyebrow { margin-bottom: 14px; }
.elite-section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.elite-section-head p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted-ink);
  margin: 18px auto 0;
}
.on-dark .elite-section-head h2, .elite-section-head.on-dark h2 { color: #fff; }
.on-dark .elite-section-head p, .elite-section-head.on-dark p { color: #b9c2d8; }

/* -------------------------------------------------------------------------
   Section rhythm — alternating backgrounds so nothing bleeds together.
   ------------------------------------------------------------------------- */
.sec-warm { background: var(--warm-gray); }
.sec-navy {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #cdd5e6;
}
.sec-pad { padding: 92px 0; }
@media (max-width: 768px) { .sec-pad { padding: 60px 0; } }

/* -------------------------------------------------------------------------
   Buttons — taller, softly rounded, subtle depth. Global uplift.
   ------------------------------------------------------------------------- */
.btn-elite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}
.btn-elite-primary {
  color: #16240a;
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%);
  box-shadow: 0 12px 26px rgba(143, 174, 47, 0.35);
}
.btn-elite-primary:hover {
  color: #16240a;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(143, 174, 47, 0.45);
}
.btn-elite-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-elite-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn-elite-dark {
  color: #fff;
  background: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.btn-elite-dark:hover { color: #fff; background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Elevate the legacy .dark-btn everywhere without touching its markup. */
.dark-btn {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 14px !important;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.dark-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* -------------------------------------------------------------------------
   HERO — deep navy, elegant headline, glass registration card.
   Applies to hero_homepage + hero_with_form (shared .hero-section).
   ------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-800) 52%, var(--navy-700) 100%);
  padding: 96px 0 104px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
/* Soft radial glow — subtle depth, very premium. */
.hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(168, 198, 62, 0.14) 0%, rgba(168, 198, 62, 0) 70%);
  pointer-events: none;
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(43, 86, 122, 0.5) 0%, rgba(43, 86, 122, 0) 70%);
  pointer-events: none;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-section .hero-content { padding-right: 40px; }
.hero-section .title,
.hero-section .hero-content .title {
  color: #fff;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero-section .hero-content .description {
  color: #c3ccdf;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 540px;
}
.text-center .hero-content .description,
.hero-content.text-center .description { margin-left: auto; margin-right: auto; }

/* Stat chips */
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 32px; }
.hero-content.text-center .hero-stats,
.text-center .hero-stats { justify-content: center; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eaf0fb;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-chip i { color: var(--green-bright); font-size: 0.85rem; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero-content.text-center .hero-cta-row,
.text-center .hero-cta-row { justify-content: center; }

/* Region selector — subtle, tucked under the CTAs on the dark hero */
.hero-section .region-selector { margin-top: 24px; max-width: 360px; }
.hero-content.text-center .region-selector,
.text-center .hero-section .region-selector { margin-left: auto; margin-right: auto; }
.hero-section .region-selector p { color: #98a3bd !important; font-size: 0.85rem !important; }
.hero-section .region-selector select.form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #eaf0fb !important;
  border-radius: 10px;
  height: 46px;
}
.hero-section .region-selector select.form-control option { color: #16203f; }

/* Legacy .dark-btn CTAs sitting on the navy hero (compact / lander heroes):
   promote to the green accent so they pop instead of navy-on-navy. The
   register-card submit button keeps its own higher-specificity style. */
.hero-section .dark-btn {
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%);
  color: #16240a;
  box-shadow: 0 12px 26px rgba(143, 174, 47, 0.3);
}
.hero-section .dark-btn:hover { color: #16240a; }

/* Breadcrumb + any stray copy stays legible on the navy hero. */
.hero-section .breadcrumb,
.hero-section .breadcrumb a,
.hero-section .breadcrumb-item,
.hero-section .breadcrumb-item a { color: #b9c2d8 !important; }
.hero-section .breadcrumb-item.active { color: #eaf0fb !important; }

/* Legacy "happy students" strip on dark hero */
.hero-section .happy-student { margin-top: 34px; align-items: center; }
.hero-section .happy-value .value,
.hero-section .rating .value { color: #fff; }
.hero-section .client-data-wrap { border-right: 1px solid rgba(255,255,255,0.18); }
.hero-section .client-data-wrap p,
.hero-section .rating p { color: #aeb8d0; }

/* Glass registration card */
.hero-section .register-form-wrap,
.register-form-wrap.glass-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-section .register-form-wrap h5 {
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  justify-content: center;
}
@media (min-width: 992px) { .hero-section .register-form-wrap h5 { justify-content: flex-start; } }
.hero-section .register-form-wrap h3 { color: var(--muted-ink); font-size: 1rem; margin-top: 6px; }
.hero-section .register-form-wrap .input-wrap label { color: var(--navy-700); font-weight: 600; }
.hero-section .register-form-control {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink) !important;
}
.hero-section input.form-control.register-form-control::placeholder { color: #9aa3b5 !important; }
.hero-section .register-form-wrap .submit-btn-wrap .dark-btn {
  width: 100%;
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%);
  color: #16240a;
  border-radius: 14px;
  padding: 16px 24px;
  box-shadow: 0 12px 26px rgba(143, 174, 47, 0.32);
}
.hero-section .register-form-wrap .submit-btn-wrap .dark-btn:hover { transform: translateY(-2px); }

/* -------------------------------------------------------------------------
   TRUST BAR — credibility strip directly under the hero.
   ------------------------------------------------------------------------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-bar .container { padding-top: 30px; padding-bottom: 30px; }
.trust-bar-title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 20px;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-item i { color: var(--green); font-size: 1.05rem; }

/* -------------------------------------------------------------------------
   FEATURE CARDS — "The HPT Difference": large icon, air, no box borders.
   ------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.feature-icon.green { background: linear-gradient(160deg, var(--green-deep), var(--green)); }
.feature-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.feature-card p { font-size: 1.02rem; line-height: 1.65; color: var(--body-ink); margin: 0; }

/* -------------------------------------------------------------------------
   SUBJECT CARDS — icon + title + one line + Learn More.
   ------------------------------------------------------------------------- */
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .subject-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .subject-grid { grid-template-columns: 1fr; } }
.subject-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d7e0cf; }
.subject-card .subject-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--color-accent-bg, #f5f8ee); color: var(--green-deep);
  font-size: 1.35rem; margin-bottom: 18px;
}
.subject-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.subject-card h3 a { color: var(--ink); }
.subject-card h3 a:hover { color: var(--green-deep); }
.subject-card p { font-size: 0.98rem; line-height: 1.6; color: var(--body-ink); margin: 0 0 16px; }
.subject-card p a { color: var(--green-deep); font-weight: 600; }
.subject-card .learn-more { display: inline-block; font-weight: 700; color: var(--green-deep); font-size: 0.95rem; }
.subject-card:hover .learn-more { color: var(--green); }

/* -------------------------------------------------------------------------
   EMOTIONAL QUOTE BAND.
   ------------------------------------------------------------------------- */
.quote-band { text-align: center; }
.quote-band .quote-mark { font-size: 3.5rem; line-height: 1; color: var(--green-bright); opacity: 0.6; font-weight: 800; }
.quote-band blockquote {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 900px;
  margin: 6px auto 20px;
}
.quote-band .quote-attr { color: #aab4cd; font-size: 1.02rem; font-weight: 500; }

/* -------------------------------------------------------------------------
   TESTIMONIALS — richer cards on navy ("Real Students. Real Results.")
   ------------------------------------------------------------------------- */
/* Navy ONLY for the dark carousel (homepage/regional). The standalone
   testimonials page uses .testimonials-wrap WITHOUT .dark-gradient and is
   intentionally light — don't force it dark. */
.testimonials-wrap.dark-gradient {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%) !important;
  padding: 92px 0;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md) !important;
  padding: 30px 28px !important;
  min-height: 220px;
}
.testimonial-card .description { font-size: 1.02rem !important; line-height: 1.7 !important; color: #e6ebf6 !important; font-weight: 500; }
.testimonial-card h5 { font-size: 1.05rem; font-weight: 700; }
.testimonial-stars { font-size: 1rem !important; }

/* -------------------------------------------------------------------------
   HISTORY / IMAGE-BESIDE-COPY — round the image, add depth.
   ------------------------------------------------------------------------- */
.elite-home .card-img-wrap img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.elite-home .card-data-wrap h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------------
   FAQ — more spacing, calmer accordion.
   ------------------------------------------------------------------------- */
.faq-accordion .accordion-item { margin-bottom: 14px; border-radius: var(--radius-sm) !important; overflow: hidden; border: 1px solid var(--line); }
.faq-accordion .accordion-button { padding: 22px 24px; font-size: 1.08rem; font-weight: 600; }
.faq-accordion .accordion-body { padding: 4px 24px 24px; font-size: 1.02rem; line-height: 1.7; }

/* -------------------------------------------------------------------------
   NAV — bright "Book Free Session" CTA beside Log in.
   ------------------------------------------------------------------------- */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #16240a !important;
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%);
  box-shadow: 0 8px 18px rgba(143, 174, 47, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(143, 174, 47, 0.42); color: #16240a !important; }
.header-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 1200px) {
  .header-actions { gap: 10px; margin-top: 8px; }
}

/* -------------------------------------------------------------------------
   FOOTER — logo lockup + mission line above the contact columns.
   ------------------------------------------------------------------------- */
.footer-brand { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand .footer-logo img { height: 46px; width: auto; }
.footer-brand .footer-logo span { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.1; }
.footer-brand .footer-mission { color: #aab4cd; font-size: 1.05rem; line-height: 1.65; max-width: 560px; margin: 0; }

/* =========================================================================
   ROUND 2 (2026-07-10 review feedback):
   - Recolor all dark surfaces to the signature blue (#215065 / #183959,
     the login-button + footer gradient) instead of the navy-purple.
   - Fuse the top nav bar into the hero as one dark branded zone.
   - One-line nav; tutoring photo under the hero overlay; tighter chips.
   ========================================================================= */

:root {
  --navy-950: #142f42;  /* deepest — header + gradient start */
  --navy-900: #183959;  /* brand navy-blue */
  --navy-800: #1d4a60;
  --navy-700: #215065;  /* signature blue = login button / --color-secondery */
  --navy-600: #2b6580;
}

/* ---- Hero: signature-blue gradient over a tutoring photo ---- */
.hero-section {
  background:
    linear-gradient(150deg, rgba(20, 47, 66, 0.955) 0%, rgba(24, 57, 89, 0.90) 46%, rgba(33, 80, 101, 0.82) 100%),
    url("../images/expert-tutors-in-salt-lake-city.bf6d5c8143ed.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* ---- Dark, integrated header (sitewide) ---- */
#header, .header { background: var(--navy-950); }
.header { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

/* Top-level nav items are <button class="nav-link nav-link-button"> */
header .nav-link-button { color: #e7edf7 !important; }
header .nav-link-button:hover,
.main-menu .nav > .nav-item:hover > .nav-link-button { color: #ffffff !important; }

/* Wordmark on dark */
.logo-wordmark-top { color: #ffffff; }
.logo-wordmark-bottom { color: var(--green-bright); }

/* Hamburger → light on the dark bar */
.toggle-menu span,
.home .toggle-menu span { background: #ffffff; }
.toggle-menu.active span { background: #ffffff; }

/* One-line nav (desktop only): stop Bootstrap .nav from wrapping, tighten
   spacing. Scoped >1024px so the mobile slide-in panel keeps stacking. */
@media (min-width: 1025px) {
  .nav-wrappers ul.nav { flex-wrap: nowrap; align-items: center; }
  .main-menu .nav-item .nav-link { padding: 24px 11px; }
}

/* Header actions: Log in becomes a compact outline; CTA stays green */
.header-actions { gap: 10px; }
.header-actions .login-btn.dark-btn {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  box-shadow: none;
  padding: 11px 18px;
}
.header-actions .login-btn.dark-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; transform: none; }
.header-actions .login-btn.dark-btn img { filter: brightness(0) invert(1); opacity: 0.9; }

/* Submenu dropdowns stay light panels with dark text (unchanged look) */
.submenu-dropdown .nav-link { color: var(--color-light-primary); }

/* ---- Hero chips: slightly more compact so 3 hold one line ---- */
.hero-chip { padding: 8px 14px; font-size: 0.86rem; }

/* ---- About section rework (round 2): scannable highlights + balanced media ---- */
.about-elite .card-data-wrap h2 { margin-bottom: 22px; }
.about-elite .about-lead { font-size: 1.15rem; line-height: 1.7; color: var(--body-ink); }
.about-elite .about-close { margin-top: 8px; }

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  margin: 28px 0 26px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) { .about-highlights { grid-template-columns: 1fr; gap: 20px; } }
.about-hl { display: flex; gap: 14px; align-items: flex-start; }
.about-hl-icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--cool-tint); color: var(--navy-700);
  font-size: 1.05rem;
}
.about-hl-icon.green { background: var(--color-accent-bg, #f5f8ee); color: var(--green-deep); }
.about-hl strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 3px; }
.about-hl p { font-size: 0.94rem !important; line-height: 1.55 !important; color: var(--body-ink); margin: 0 !important; }
.about-hl p a { color: var(--green-deep); font-weight: 600; }

/* Balanced media: taller image + floating stat badge */
.about-media { position: relative; }
.about-img-main {
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-stat-badge {
  position: absolute;
  left: -22px;
  bottom: 32px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 210px;
}
.about-stat-badge .about-stat-n { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: var(--green-bright); }
.about-stat-badge .about-stat-l { display: block; font-size: 0.86rem; line-height: 1.35; color: #d3dcec; margin-top: 2px; }
@media (max-width: 991px) {
  .about-media { margin-top: 20px; }
  .about-img-main { min-height: 360px; max-height: 460px; }
  .about-stat-badge { left: 16px; }
}

/* ---- Mobile menu (<=1024px): panel is a white slide-in, so revert the
   dark-bar link/button colors to dark-on-white (the logo + hamburger stay
   on the dark header bar and keep their light treatment). ---- */
@media (max-width: 1024px) {
  header .nav-link-button { color: var(--color-light-primary) !important; }
  header .nav-link-button:hover,
  .main-menu .nav > .nav-item:hover > .nav-link-button { color: var(--color-primary) !important; }
  .header-actions .login-btn.dark-btn {
    background: var(--color-secondery);
    border: none;
    color: #fff;
    padding: 12px 20px;
  }
  .header-actions .login-btn.dark-btn img { filter: none; opacity: 1; }
}

/* Mobile menu stacking: the redesigned hero sets z-index on its container,
   which would otherwise paint over the slide-in panel. Lift the overlay
   above it and keep the logo + hamburger clickable on top to close. */
@media (max-width: 1024px) {
  .main-menu { z-index: 90; }
  /* Only the hamburger needs to sit above the open panel (to close it) —
     not the whole logo lockup, or the white wordmark paints on the panel. */
  .toggle-menu { position: relative; z-index: 100; }
}

/* Header stacking: the redesigned hero sets z-index:1 on its .container.
   The <header> also had z-index:1, and being earlier in the DOM it lost the
   tie — so the hero painted over the desktop dropdowns AND the mobile panel.
   Lift the whole header above the hero. */
.header { position: relative; z-index: 50; }

/* =========================================================================
   ROUND 3 (2026-07-10 review): 8.7 -> 9.7 polish.
   Bigger dramatic hero, background depth, floating form, richer cards +
   interactions, cinematic quote, aspiration sections, timeline story,
   skimmable testimonials, cleaner footer, stronger weight contrast.
   ========================================================================= */

/* ---- Typography: more weight contrast (headline 800 / body 400 / label 500).
   Soften the mid-weight (~600/700) noise the review flagged. ---- */
.elite-home p strong,
.about-lead strong,
.about-hl p strong { font-weight: 600; }
.hero-chip { font-weight: 500; }
.trust-item { font-weight: 500; }

/* ---- HERO: dramatic headline + layered depth ---- */
.hero-section {
  background:
    radial-gradient(1100px 560px at 74% 12%, rgba(70, 132, 164, 0.42) 0%, rgba(70, 132, 164, 0) 60%),
    radial-gradient(900px 720px at -5% 108%, rgba(8, 26, 40, 0.65) 0%, rgba(8, 26, 40, 0) 58%),
    linear-gradient(150deg, rgba(19, 44, 62, 0.955) 0%, rgba(24, 57, 89, 0.90) 46%, rgba(33, 80, 101, 0.80) 100%),
    url("../images/expert-tutors-in-salt-lake-city.bf6d5c8143ed.jpg");
  background-size: auto, auto, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  padding: 104px 0 112px;
  box-shadow: inset 0 -90px 120px -60px rgba(6, 18, 30, 0.55);
}
.hero-section .title,
.hero-section .hero-content .title {
  font-size: clamp(2.9rem, 5.6vw, 4.5rem);   /* up to ~72px */
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero-section .hero-content .description {
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 500px;                            /* forces ~2 lines */
  color: #c8d1e2;
  font-weight: 400;
}

/* Floating "settings panel" registration card */
.hero-section .register-form-wrap,
.register-form-wrap.glass-card {
  padding: 40px 38px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 40px 90px -20px rgba(6, 16, 38, 0.55), 0 8px 20px rgba(6, 16, 38, 0.18);
}
.hero-section .register-form-control {
  height: 54px;
  border-radius: 13px;
  border: 1px solid #eef1f6;
  background: #f8fafc;
  font-size: 1rem;
}
.hero-section .input-wrap label { font-size: 0.82rem; letter-spacing: 0.01em; }
.hero-section .register-form-wrap h5 { font-size: 1.7rem; }
.hero-section .register-form-wrap .submit-btn-wrap .dark-btn { height: 56px; font-size: 1.02rem; border-radius: 16px; }

/* ---- NAV: bigger logo, green reserved for the CTA only ---- */
.logo img { max-width: 78px; }
.logo-wordmark-top { font-size: 18px; }
.logo-wordmark-bottom { color: rgba(255, 255, 255, 0.62); }  /* was green — CTA is now the only green */

/* ---- TRUST BAR icons ---- */
.trust-item i { color: var(--green); font-size: 1rem; }

/* ---- DIFFERENCE cards: larger icons, more air, stronger lift ---- */
.feature-card { padding: 46px 38px; border-radius: var(--radius-lg); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(15, 24, 54, 0.14); }
.feature-icon { width: 72px; height: 72px; font-size: 1.75rem; border-radius: 18px; margin-bottom: 26px; }
.feature-card h3 { font-size: 1.4rem; }

/* ---- SUBJECT cards: make them beg to be clicked ---- */
.subject-card { transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease; }
.subject-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15, 24, 54, 0.15); border-color: #cfe0b6; }
.subject-card .subject-icon { transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease; }
.subject-card:hover .subject-icon { background: linear-gradient(160deg, var(--green-deep), var(--green)); color: #fff; transform: scale(1.06); }
.subject-card .learn-more { transition: color 0.2s ease; }
.subject-card .learn-more .arw { display: inline-block; transition: transform 0.22s ease; }
.subject-card:hover .learn-more .arw { transform: translateX(6px); }

/* ---- QUOTE: cinematic, tall, breathing room ---- */
.quote-band { padding: 128px 0; }
.quote-band .quote-mark { font-size: 5rem; margin-bottom: -10px; }
.quote-band blockquote {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 1000px;
  margin: 10px auto 26px;
}
.quote-band .quote-attr { font-size: 1.08rem; letter-spacing: 0.02em; }

/* ---- MORE THAN BETTER GRADES ---- */
.more-than-title { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); margin-bottom: 16px; }
.more-than-lead { font-size: 1.12rem; line-height: 1.7; color: var(--body-ink); }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; }
@media (max-width: 640px) { .value-grid { grid-template-columns: 1fr; } }
.value-item { display: flex; gap: 13px; align-items: flex-start; }
.value-item > i { color: var(--green); font-size: 1.15rem; margin-top: 3px; }
.value-item strong { display: block; color: var(--ink); font-size: 1.08rem; font-weight: 700; }
.value-item span { color: var(--muted-ink); font-size: 0.96rem; }

/* ---- WHERE OUR STUDENTS GO ---- */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 860px) { .schools-grid { grid-template-columns: repeat(2, 1fr); } }
.school-name {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy-800);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.school-name:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d7e0cf; }

/* ---- STORY timeline ---- */
.story-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
  margin-top: 8px;
}
@media (max-width: 860px) { .story-timeline { grid-template-columns: 1fr; gap: 20px; } }
.story-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.story-step .story-year {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.story-step strong { display: block; font-size: 1.12rem; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.story-step p { font-size: 0.96rem !important; line-height: 1.55 !important; color: var(--body-ink); margin: 0 !important; }
.story-cta { text-align: center; margin-top: 44px; }

/* ---- TESTIMONIALS: skimmable, avatar, verified badge ---- */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-stars { color: #f5b301 !important; font-size: 1.05rem !important; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-quote {
  font-size: 1.14rem;
  line-height: 1.5;
  font-weight: 600;
  color: #fff !important;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--green-deep), var(--green));
  color: #fff; font-weight: 700; font-size: 1.05rem;
}
.testimonial-meta { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial-name { color: #fff; font-weight: 700; font-size: 0.98rem; }
.testimonial-role { color: #aab4cd; font-size: 0.85rem; }
.testimonial-badge {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.74rem; font-weight: 600;
  color: #cdd7e6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 10px; border-radius: 999px;
}
.testimonial-badge i { color: #eaf0fb; }

/* ---- FAQ: a touch more breathing room ---- */
.faq-accordion .accordion-item { margin-bottom: 18px; }
.faq-accordion .accordion-button { padding: 24px 26px; }

/* ---- FOOTER: premium ending, less noise ---- */
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 991px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.footer-brand .footer-mission { font-size: 0.98rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); transition: background 0.2s ease; }
.footer-social a:hover { background: rgba(255,255,255,0.18); }
.footer-social img { width: 16px; height: 16px; }
.footer-col h6 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { color: #aeb8d0; font-size: 0.96rem; transition: color 0.2s ease; }
.footer-col ul a:hover { color: #fff; }
.footer-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.footer-loc strong { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 5px; font-weight: 600; }
.footer-loc a { display: block; color: #aeb8d0; font-size: 0.9rem; }
.footer-loc a:hover { color: #fff; }
.footer-loc .footer-loc-link { color: var(--green-bright); font-weight: 600; margin-top: 3px; }
.footer-hours { color: #97a2ba; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; margin: 0; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: #8f9ab4; font-size: 0.88rem; }
.footer-legal .policy-links { display: flex; gap: 22px; }
.footer-legal .policy-links a { color: #aeb8d0; font-size: 0.88rem; }
.footer-legal .policy-links a:hover { color: #fff; }

/* ---- Subtle consistent grading on content photos (cohesion) ---- */
.about-img-main, .elite-home .card-img-wrap img { filter: saturate(1.06) contrast(1.03); }

/* =========================================================================
   ROUND 4 (2026-07-10 review): final 10% polish -> ~9.6.
   ========================================================================= */

/* ---- HERO: bigger focal headline, more breathing room, more depth ---- */
.hero-section .title,
.hero-section .hero-content .title {
  font-size: clamp(3.1rem, 6vw, 4.9rem);   /* ~+9% */
  margin-bottom: 22px;
}
.hero-section .hero-content .description { margin-bottom: 30px; }
.hero-section .hero-stats { margin: 4px 0 34px; gap: 12px; }
.hero-section .hero-cta-row { margin-top: 6px; }
.hero-section .region-selector { margin-top: 30px; }
/* faint decorative rings + a touch more glow = Apple-style depth */
.hero-section::before {
  width: 720px; height: 720px; top: -22%; right: -12%;
  background:
    radial-gradient(circle, rgba(168,198,62,0.16) 0%, rgba(168,198,62,0) 70%),
    radial-gradient(circle at 50% 50%, transparent 44%, rgba(255,255,255,0.04) 45%, transparent 46%),
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(255,255,255,0.03) 63%, transparent 64%);
}
.hero-section::after { width: 640px; height: 640px; background: radial-gradient(circle, rgba(43,101,128,0.55) 0%, rgba(43,101,128,0) 70%); }

/* Form: roomier inputs */
.hero-section .register-form-control { height: 56px; padding: 0 16px; }
.hero-section .register-form-wrap .input-wrap { margin-bottom: 4px; }

/* ---- NAV: identical-height buttons, a touch bigger logo ---- */
.logo img { max-width: 82px; }
.header-actions .login-btn.dark-btn,
.header-actions .nav-cta {
  height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px !important;
  font-size: 14px;
  line-height: 1;
}
.header-actions .login-btn.dark-btn { padding: 0 20px; }

/* ---- TRUST BAR: bigger anchor icons, softer heading ---- */
.trust-bar-title { text-transform: none; letter-spacing: 0.005em; font-weight: 600; font-size: 1rem; color: var(--muted-ink); }
.trust-item i { font-size: 1.25rem; }
.trust-item { gap: 11px; }

/* ---- ABOUT image: more visual authority ---- */
.about-img-main { min-height: 600px; max-height: 700px; }
@media (max-width: 991px) { .about-img-main { min-height: 400px; max-height: 500px; } }

/* ---- DIFFERENCE cards: rounder, softer translucent icon tiles ---- */
.feature-card { border-radius: 24px; }
.feature-icon { background: rgba(33, 80, 101, 0.10); color: var(--navy-700); }
.feature-icon.green { background: rgba(143, 174, 47, 0.15); color: var(--green-deep); }

/* ---- SUBJECT cards: animated green underline on the Learn More ---- */
.subject-card .learn-more { position: relative; padding-bottom: 3px; }
.subject-card .learn-more::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green); transition: width 0.28s ease;
}
.subject-card:hover .learn-more::after { width: 100%; }

/* ---- MORE THAN BETTER GRADES: a little more air ---- */
.more-than-lead { line-height: 1.85; }
.value-grid { gap: 26px 32px; }
.value-item span { line-height: 1.55; display: block; margin-top: 2px; }

/* ---- QUOTE: bigger marks, attribution hugs the quote ---- */
.quote-band .quote-mark { font-size: 6.5rem; margin-bottom: -24px; opacity: 0.5; }
.quote-band blockquote { margin: 0 auto 14px; }
.quote-band .quote-attr { margin-top: 0; }

/* ---- FAQ: a touch more space ---- */
.faq-accordion .accordion-item { margin-bottom: 20px; }

/* ---- STORY: connected timeline (line + nodes), not four islands ---- */
.story-timeline { position: relative; padding-top: 0; }
.story-timeline::before {
  content: ""; position: absolute; top: 9px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, rgba(143,174,47,0.25), rgba(143,174,47,0.6), rgba(143,174,47,0.25));
  z-index: 0;
}
.story-step { position: relative; padding-top: 46px; z-index: 1; }
.story-node {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 5px var(--warm-gray), 0 0 0 6px rgba(143,174,47,0.35);
}
@media (max-width: 860px) {
  .story-timeline::before { display: none; }
  .story-step { padding-top: 24px; }
  .story-node { position: static; transform: none; margin-bottom: 14px; }
}

/* ---- WHY PARENTS (SEO rich content) ---- */
.why-parents-copy p { font-size: 1.06rem; line-height: 1.85; color: var(--body-ink); margin-bottom: 18px; }
.why-parents-copy a { color: var(--green-deep); font-weight: 600; }

/* ---- FINAL CTA band before the footer ---- */
.final-cta {
  background: linear-gradient(150deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  text-align: center;
  padding: 96px 0;
}
.final-cta h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.final-cta p { color: #c3ccdf; font-size: 1.18rem; line-height: 1.6; max-width: 620px; margin: 16px auto 32px; }
.final-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER: brand on the left, nav columns spread across the rest ---- */
.footer-top { grid-template-columns: 1.3fr 3fr; gap: 60px; align-items: start; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1.3fr; gap: 40px; }
@media (max-width: 991px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) { .footer-nav { grid-template-columns: 1fr; gap: 28px; } }
.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; color: #aeb8d0; font-size: 0.92rem; line-height: 1.4; }
.footer-contact li i { color: var(--green-bright); margin-top: 3px; width: 15px; text-align: center; flex: 0 0 auto; }
.footer-contact a { color: #aeb8d0; }
.footer-contact a:hover { color: #fff; }

/* =========================================================================
   ROUND 5 fix: hero content left-aligned on desktop.
   The hero-content div always has `text-center` (paired with `text-lg-start`
   for the mobile layout). text-align flips responsively, but flexbox
   justify-content / margin:auto do NOT — so chips, buttons, the subhead, and
   the region selector stayed centered on desktop. Scope centering to mobile.
   ========================================================================= */
@media (min-width: 992px) {
  /* Higher specificity than `.hero-content.text-center .hero-stats` (0,3,0)
     so the desktop left-alignment actually wins the cascade. */
  .hero-section .hero-content.text-lg-start .description { margin-left: 0; margin-right: 0; }
  .hero-section .hero-content.text-lg-start .hero-stats,
  .hero-section .hero-content.text-lg-start .hero-cta-row { justify-content: flex-start; }
  .hero-section .hero-content.text-lg-start .region-selector { margin-left: 0; margin-right: 0; }
}

/* =========================================================================
   ROUND 6: dissolve the standalone trust strip — make credibility the
   hero's closing movement (same blue, subtle divider). Relocate the
   location selector out of the hero into the first white section.
   ========================================================================= */

/* Hero trust row — full width, below the hero row, divider above */
.hero-trust {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust-item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 18px;
  position: relative;
  color: #c8d1e2;
  font-size: 0.98rem;
  font-weight: 400;
  white-space: nowrap;
}
.hero-trust-item strong { color: #fff; font-weight: 700; }
.hero-trust-item i { color: var(--green-bright); font-size: 1.1rem; }
.hero-trust-item + .hero-trust-item::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 26px; background: rgba(255, 255, 255, 0.14);
}
@media (max-width: 860px) {
  .hero-trust { justify-content: center; gap: 6px 0; margin-top: 40px; padding-top: 26px; }
  .hero-trust-item { flex: 0 0 100%; justify-content: flex-start; font-size: 0.95rem; }
  .hero-trust-item + .hero-trust-item::before { display: none; }
}

/* Relocated location selector — a quiet utility line atop the first section */
.local-office-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-bottom: 40px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.local-office-label { display: inline-flex; align-items: center; gap: 9px; color: var(--muted-ink); font-size: 1rem; font-weight: 500; }
.local-office-label i { color: var(--green-deep); }
.local-office-bar .select-wrap { min-width: 220px; }
.local-office-bar select.form-control {
  height: 46px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink) !important;
  font-weight: 600;
}

/* =========================================================================
   ROUND 7: footer polish + CTA/footer separation (design review).
   ========================================================================= */

/* Final CTA: slightly LIGHTER blue than the footer so it reads as its own
   destination; more bottom room so it feels like the end of the experience. */
.final-cta {
  background: linear-gradient(150deg, #1f5480 0%, #295d91 52%, #2f6ea0 100%);
  padding: 100px 0 108px;
}
.final-cta p { color: #d3e0ef; }
.final-cta-trust { margin-top: 26px; font-size: 0.98rem; color: #cfe0f2 !important; font-weight: 500; }
.final-cta-trust i { color: var(--green-bright); }

/* Footer: darker than the CTA, and given ~25% more breathing room. */
#footer footer,
footer { background: linear-gradient(160deg, #14324a 0%, #1a4258 55%, #204d67 100%); padding-top: 84px; }
.footer-top { grid-template-columns: 1.35fr 3.1fr; gap: 72px; padding-bottom: 56px; }
.footer-nav { grid-template-columns: 0.85fr 0.85fr 1.5fr 1.2fr; gap: 40px; }
@media (max-width: 991px) {
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
@media (max-width: 560px) { .footer-nav { grid-template-columns: 1fr; } }

/* Brand anchor: larger logo, roomier mission copy */
.footer-brand .footer-logo img { height: 54px; }
.footer-brand .footer-logo span { font-size: 1.28rem; }
.footer-brand .footer-mission { font-size: 1.02rem; line-height: 1.75; max-width: 340px; }

/* Social: +20%, lift + brighten on hover */
.footer-social { gap: 14px; margin-top: 24px; }
.footer-social a { width: 46px; height: 46px; border-radius: 12px; transition: background 0.2s ease, transform 0.2s ease; }
.footer-social a:hover { background: var(--green); transform: translateY(-2px); }
.footer-social img { width: 19px; height: 19px; }

/* Location cards: clean 2x2, city + phone + Visit Office */
.footer-loc-grid { grid-template-columns: 1fr 1fr; gap: 24px 22px; }
.footer-loc strong { font-size: 0.98rem; margin-bottom: 6px; font-weight: 600; }
.footer-loc a { font-size: 0.9rem; margin-bottom: 2px; }
.footer-loc .footer-loc-link { margin-top: 5px; font-weight: 600; }

/* Contact: premium labeled groups */
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item { display: flex; flex-direction: column; gap: 3px; }
.footer-contact-item .c-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-bright); font-weight: 700; }
.footer-contact-item a, .footer-contact-item span:not(.c-label) { color: #cbd5e6; font-size: 0.94rem; line-height: 1.4; }
.footer-contact-item a:hover { color: #fff; }

/* Bottom bar: a true, breathing copyright bar */
.copyright { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; }
.copyright .copyright-container { padding-top: 30px; padding-bottom: 30px; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { color: #8fa0b8; font-size: 0.9rem; }
.footer-legal .policy-links { display: flex; gap: 26px; margin: 0; }
.footer-legal .policy-links a { color: #aeb8d0; font-size: 0.9rem; }
.footer-legal .policy-links a:hover { color: #fff; }

/* =========================================================================
   ROUND 8: footer rebuilt as THREE zones (Brand 36% / Nav 22% / Contact 42%).
   Wider container so nothing wraps; clear hierarchy; taller + more air;
   subtle divider so the CTA flows into the footer.
   ========================================================================= */

/* Wider footer + subtle divider from the (lighter) CTA above it */
#footer .footer-container { max-width: 1360px; }
#footer footer,
footer {
  background: linear-gradient(160deg, #14324a 0%, #1a4258 55%, #204d67 100%);
  padding: 88px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Three zones, intentionally unequal widths; generous gap */
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr 1.85fr;   /* ≈ 36% / 22% / 42% */
  gap: 64px;
  padding-bottom: 60px;
}
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .footer-zone-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Shared heading + link hierarchy: headings light, links muted→white */
.footer-zone h6 {
  color: #fff; font-size: 0.8rem; letter-spacing: 0.11em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 20px;
}
.footer-zone ul { display: flex; flex-direction: column; gap: 13px; }
.footer-zone ul a { color: #a6b1c9; font-size: 0.96rem; transition: color 0.2s ease; }
.footer-zone ul a:hover { color: #fff; }

/* Zone 1 — Brand */
.footer-zone-brand .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-zone-brand .footer-logo img { height: 56px; width: auto; }
.footer-zone-brand .footer-logo span { color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.1; }
.footer-zone-brand .footer-mission { color: #9aa6be; font-size: 1.02rem; line-height: 1.8; max-width: 400px; margin: 0; }
.footer-zone-brand .footer-social { display: flex; gap: 14px; margin-top: 26px; }
.footer-zone-brand .footer-social a { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); transition: background 0.2s ease, transform 0.2s ease; }
.footer-zone-brand .footer-social a:hover { background: var(--green); transform: translateY(-2px); }
.footer-zone-brand .footer-social img { width: 19px; height: 19px; }

/* Zone 2 — Navigation (Explore + Company stacked) */
.footer-zone-nav { display: flex; flex-direction: column; gap: 34px; }

/* Zone 3 — Contact stacked ABOVE Offices, each using the full zone width so
   the email address never wraps. */
.footer-zone-contact { display: flex; flex-direction: column; gap: 32px; }
.footer-contact-block .footer-phone { display: block; color: #fff; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.footer-contact-block .footer-phone:hover { color: var(--green-bright); }
.footer-contact-block .footer-email { display: block; color: #a6b1c9; font-size: 0.98rem; margin-bottom: 20px; white-space: nowrap; }
.footer-contact-block .footer-email:hover { color: #fff; }
.footer-contact-block .footer-info { display: inline-block; vertical-align: top; margin: 0 44px 0 0; color: #8f9ab4; font-size: 0.92rem; line-height: 1.5; }
.footer-contact-block .footer-info strong { display: block; color: #cbd5e6; font-weight: 600; margin-bottom: 2px; }

/* Offices — a clean two-column list of location links */
.footer-office-list { display: grid; grid-template-columns: repeat(2, max-content); gap: 15px 52px; }
.footer-office-list a {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  color: #cbd5e6; font-size: 0.98rem; font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-office-list a i { color: var(--green-bright); font-size: 0.9rem; }
.footer-office-list a::after { content: "→"; margin-left: 4px; color: var(--green-bright); opacity: 0; transform: translateX(-4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.footer-office-list a:hover { color: #fff; }
.footer-office-list a:hover::after { opacity: 1; transform: translateX(0); }

/* Bottom bar — true breathing room */
.copyright { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 8px; }
.copyright .copyright-container { padding-top: 30px; padding-bottom: 30px; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { color: #8290a8; font-size: 0.9rem; }
.footer-legal .policy-links { display: flex; gap: 26px; margin: 0; }
.footer-legal .policy-links a { color: #a6b1c9; font-size: 0.9rem; }
.footer-legal .policy-links a:hover { color: #fff; }

/* =========================================================================
   ROUND 9: region-aware footer NAP (local SEO). National = all four offices
   with full address + phone; regional = that office's NAP up front.
   ========================================================================= */

/* National: four offices as compact NAP cards (2-col). Addresses may wrap
   (fine); phone numbers do not. */
.footer-offices-nap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; }
@media (max-width: 620px) { .footer-offices-nap { grid-template-columns: 1fr; } }
.footer-office { display: flex; flex-direction: column; }
.footer-office-name { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 0.98rem; margin-bottom: 5px; transition: color 0.2s ease; }
.footer-office-name i { color: var(--green-bright); font-size: 0.82rem; }
.footer-office-name:hover { color: var(--green-bright); }
.footer-office-addr { color: #8f9ab4; font-size: 0.85rem; line-height: 1.5; margin-bottom: 4px; }
.footer-office-phone { color: #a6b1c9; font-size: 0.9rem; white-space: nowrap; }
.footer-office-phone:hover { color: #fff; }

/* Regional: the address line inside the contact block links to Maps */
.footer-contact-block .footer-info a { color: #8f9ab4; }
.footer-contact-block .footer-info a:hover { color: #fff; }

/* =========================================================================
   ROUND 10: regional home pages — same design language as national.
   ========================================================================= */

/* Difference cards: 4-up variant (regional why-choose cards) */
.feature-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .feature-grid--four { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; } }
@media (max-width: 620px) { .feature-grid--four { grid-template-columns: 1fr; max-width: 460px; } }
.feature-grid--four .feature-card { padding: 32px 26px; }
.feature-grid--four .feature-icon { width: 60px; height: 60px; font-size: 1.45rem; margin-bottom: 20px; }
.feature-grid--four .feature-card h3 { font-size: 1.2rem; }
.feature-grid--four .feature-card p { font-size: 0.96rem; }

/* Subject-card heading stays ink even when it isn't a link (regional cards) */
.subject-card h3 { color: var(--ink); }

/* City chips (regional local-area section) */
.city-chip-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 920px; margin: 0 auto 46px; }
.city-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--navy-800); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.city-chip i { color: var(--green-deep); font-size: 0.82rem; }
.city-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #cfe0b6; color: var(--green-deep); }

/* Region office NAP card */
.office-card {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 920px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px 34px; box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) { .office-card { grid-template-columns: 1fr; gap: 20px; } }
.office-card-item { display: flex; flex-direction: column; gap: 4px; }
.office-card-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); font-weight: 700; }
.office-card-item a { color: var(--ink); font-weight: 600; font-size: 0.98rem; line-height: 1.4; }
.office-card-item a:hover { color: var(--green-deep); }

/* =========================================================================
   ROUND 11: warm FAQ variant (regional contrast) + balanced hero titles.
   ========================================================================= */

/* Warm FAQ background — keeps tone consistent with the elite warm sections
   (the legacy default .faq-section is a cooler gray). */
.faq-section--warm { background: var(--warm-gray); }

/* Balance headline line breaks so long titles don't orphan words like
   "Diego, CA". Regional titles are sentence-length, so scale them a touch
   smaller than the punchy national headline. */
.hero-section .title { text-wrap: balance; }
.hero-section .title--regional { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }

/* =========================================================================
   ROUND 12: internal-page design language. One reusable left-aligned hero
   (hero_compact / .hero-internal) + global uplift of the shared body
   components every info/About page uses (.card-grid-wrappers image+text
   feature sections, .secton-header). Homepage stays centered; internal
   pages read editorial/left-aligned.
   ========================================================================= */

/* ---- Reusable internal hero: left-aligned, editorial ---- */
.hero-section.hero-compact { padding: 76px 0 64px; }
.hero-section.hero-compact.has-breadcrumb { padding-top: 40px; }
.hero-internal-inner { max-width: 780px; }
.hero-internal .title {
  text-align: left;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-internal .description {
  text-align: left;
  max-width: 660px;
  margin: 0 0 28px;
  color: #c8d1e2;
  font-size: 1.18rem;
  line-height: 1.6;
}
.hero-internal .hero-cta-row { justify-content: flex-start; }
.hero-internal-stat { margin: 22px 0 0; color: #aeb8d0; font-size: 0.98rem; }
.hero-internal-stat strong { color: #fff; }
/* Breadcrumb links already styled light on the navy hero (round-2). */

/* ---- Shared image+text feature sections (.card-grid-wrappers) ---- */
.card-grid-wrappers { padding: 84px 0; }
.card-grid-wrappers.mr-top, .card-grid-wrappers.mr-top-50 { margin-top: 0; }
.card-grid-wrappers.mr-bottom, .card-grid-wrappers.mr-bottom-50 { margin-bottom: 0; }
@media (max-width: 768px) { .card-grid-wrappers { padding: 56px 0; } }

/* Rounded, elevated imagery site-wide (info/About pages) */
.card-img-wrap img,
.card-img-wrap .img-fluid {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Editorial headings + body on internal pages */
.card-data-wrap h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--ink);
  margin-bottom: 20px;
}
.card-data-wrap h3 { color: var(--ink); font-weight: 700; }
.card-grid-wrappers p, .card-data-wrap p { font-size: 1.05rem; line-height: 1.75; color: var(--body-ink); }

/* Section headers (centered block headings used across info pages) */
.secton-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
.secton-header p { font-size: 1.12rem; line-height: 1.65; color: var(--muted-ink); }

/* Alternating tone: make the legacy cool gray match the elite warm gray so
   info-page sections stay tonally consistent with home/regional. */
.sec-gray { background: var(--warm-gray); }

/* =========================================================================
   ROUND 13: Become a Tutor — process steps + checklist cards.
   ========================================================================= */

/* Numbered application-process timeline */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  position: relative; margin-top: 8px;
}
.process-grid::before {
  content: ""; position: absolute; top: 26px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, rgba(143,174,47,0.25), rgba(143,174,47,0.6), rgba(143,174,47,0.25));
  z-index: 0;
}
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; } .process-grid::before { display: none; } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px 26px 26px; box-shadow: var(--shadow-sm); text-align: center;
}
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  margin-bottom: 18px; box-shadow: 0 0 0 6px var(--warm-gray);
}
.sec-white .process-num { box-shadow: 0 0 0 6px #fff; }
.process-step strong { display: block; color: var(--ink); font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.96rem !important; line-height: 1.55 !important; color: var(--body-ink); margin: 0 !important; }
.process-step p a { color: var(--green-deep); font-weight: 600; }
.process-cta { text-align: center; margin-top: 44px; }

/* Checklist cards (requirements / recommended experience) */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 960px; margin: 0 auto; }
@media (max-width: 760px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.checklist-card h3 { display: flex; align-items: center; gap: 11px; font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.checklist-card h3 i { color: var(--green); font-size: 1.1rem; }
.checklist-card ul { display: flex; flex-direction: column; gap: 12px; }
.checklist-card li { position: relative; padding-left: 26px; color: var(--body-ink); font-size: 1rem; line-height: 1.5; }
.checklist-card li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* =========================================================================
   ROUND 14: Founder page — portrait, pull-quote, letter.
   ========================================================================= */
.founder-portrait img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  filter: saturate(1.05) contrast(1.03);
}
.founder-quote {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700; line-height: 1.34; letter-spacing: -0.015em;
  color: var(--ink); margin: 8px 0 20px; position: relative;
}
.founder-quote::before {
  content: "\201C"; display: block; font-size: 3.5rem; line-height: 0.8;
  color: var(--green-bright); margin-bottom: 6px;
}
.founder-quote-attr { color: var(--muted-ink); font-size: 1.02rem; margin: 0; }
.founder-quote-attr strong { color: var(--ink); }

.founder-letter { max-width: 720px; margin: 0 auto; }
.founder-letter h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 20px; }
.founder-letter p { font-size: 1.1rem; line-height: 1.85; color: var(--body-ink); margin-bottom: 20px; }
.founder-signoff { color: var(--ink) !important; }
.founder-signoff strong { color: var(--ink); }

/* =========================================================================
   ROUND 15: Contact page — premium contact-method cards.
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-method {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 34px 28px; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-method:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #fff; font-size: 1.5rem;
}
.contact-method:first-child .contact-icon { background: linear-gradient(160deg, var(--green-deep), var(--green)); }
.contact-method h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.contact-value { display: block; color: var(--navy-700); font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.contact-value--sm { font-size: 0.95rem; font-weight: 600; }
a.contact-value:hover { color: var(--green-deep); }
.contact-sub { display: block; color: var(--muted-ink); font-size: 0.88rem; margin-top: 8px; }
.contact-office-links { display: flex; flex-direction: column; gap: 7px; }
.contact-office-links a { color: var(--navy-700); font-weight: 600; font-size: 0.98rem; }
.contact-office-links a:hover { color: var(--green-deep); }

/* =========================================================================
   ROUND 16: Registration CTA — trust signals + editorial heading.
   ========================================================================= */
.register-cta-copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 16px; }
.register-cta-copy > p { font-size: 1.08rem; line-height: 1.7; color: var(--body-ink); }
.register-cta-trust { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.register-cta-trust li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.register-cta-trust li i { color: var(--green); font-size: 1.05rem; }
.register-cta-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.register-cta-stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.register-cta-rating span:last-child { color: var(--muted-ink); font-size: 0.96rem; font-weight: 500; }
.text-center .register-cta-trust li { justify-content: center; }
@media (min-width: 992px) { .register-cta-copy.text-lg-start .register-cta-trust li { justify-content: flex-start; } }

/* =========================================================================
   ROUND 17: Meet Tutors — elevated search card + premium tutor cards.
   ========================================================================= */

/* Search card (Zillow-style elevated white bar) */
.tutor-search-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 22px 24px; max-width: 980px; margin: 0 auto;
}
.tutor-search-form { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr auto; gap: 18px; align-items: end; }
@media (max-width: 820px) { .tutor-search-form { grid-template-columns: 1fr 1fr; } .tutor-search-submit { grid-column: 1 / -1; } }
@media (max-width: 520px) { .tutor-search-form { grid-template-columns: 1fr; } }
.tutor-search-field label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 7px; }
.tutor-search-field .form-control { height: 50px; border-radius: 11px; border: 1px solid var(--line); background: #f8fafc; }
.tutor-search-field .btn-elite { height: 50px; }
.tutor-search-note { text-align: center; margin: 16px 0 44px; color: var(--muted-ink); font-size: 0.98rem; }
.tutor-search-note a { color: var(--green-deep); font-weight: 700; }

/* Results grid — two premium cards per row */
.tutor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .tutor-grid { grid-template-columns: 1fr; } }
.tutor-card-item { height: 100%; }
.tutor-grid > .text-center { grid-column: 1 / -1; }

/* Premium tutor card */
.tutor-card {
  display: flex; gap: 20px; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tutor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tutor-card-photo { flex: 0 0 108px; }
.tutor-card-photo img { width: 108px; height: 128px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); }
.tutor-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.tutor-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.tutor-card-name { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 0; }
.tutor-card-rating { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.tutor-card-rating i { color: #f5b301; }
.tutor-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted-ink); font-size: 0.88rem; margin-bottom: 12px; }
.tutor-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tutor-card-meta i { color: var(--green-deep); }
.tutor-card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tutor-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--cool-tint); color: var(--navy-700); }
.tutor-badge--online { background: var(--color-accent-bg, #f5f8ee); color: var(--green-deep); }
.tutor-card-subjects { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tutor-subject-chip { font-size: 0.76rem; font-weight: 600; color: var(--body-ink); background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; }
.tutor-card-bio { font-size: 0.92rem; line-height: 1.55; color: var(--body-ink); margin: 0 0 16px; }
.tutor-card-btn { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--green-deep); font-size: 0.95rem; }
.tutor-card-btn .arw { display: inline-block; transition: transform 0.2s ease; }
.tutor-card:hover .tutor-card-btn .arw { transform: translateX(5px); }
@media (max-width: 400px) { .tutor-card { flex-direction: column; } .tutor-card-photo, .tutor-card-photo img { width: 100%; } .tutor-card-photo img { height: 200px; } }

/* =========================================================================
   ROUND 18: signature registration CTA — sales panel + legible white form.
   The registration form's legacy fields were built for the dark teal box
   (light text on transparent) — invisible on the white card outside the hero.
   Fixed here for the .glass-card (light) context everywhere.
   ========================================================================= */

/* ---- Section: light-gray so the white form pops; vertically centered ---- */
.register-cta-section { background: #f5f7fa; padding: 88px 0; margin-top: 0; }
.register-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1120px; margin: 0 auto; }
@media (max-width: 900px) { .register-cta-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ---- Left sales panel ---- */
.register-cta-title { font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); margin: 0 0 18px; }
.register-cta-title::after { content: ""; display: block; width: 60px; height: 4px; border-radius: 2px; background: var(--green); margin-top: 16px; }
.register-cta-lead { font-size: 1.12rem; line-height: 1.65; color: var(--body-ink); margin: 0 0 24px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm); }
.trust-chip i { color: var(--green); font-size: 0.9rem; }
.register-cta-quote { margin: 0 0 24px; padding-left: 18px; border-left: 3px solid var(--green-bright); }
.register-cta-stars { color: #f5b301; letter-spacing: 2px; font-size: 0.95rem; }
.register-cta-quote p { font-size: 1.06rem; line-height: 1.5; color: var(--ink); font-weight: 500; font-style: italic; margin: 7px 0 8px; }
.register-cta-quote cite { color: var(--muted-ink); font-size: 0.92rem; font-style: normal; font-weight: 600; }
.register-cta-guarantee { display: flex; align-items: center; gap: 9px; color: var(--muted-ink); font-size: 0.95rem; margin: 0; }
.register-cta-guarantee i { color: var(--green-deep); }

/* ---- The form card: white + big shadow, tighter, branded header ---- */
.register-cta-formwrap .register-form-wrap.glass-card { box-shadow: 0 30px 70px rgba(9, 15, 40, 0.16); padding: 32px 30px; }
.register-form-head { text-align: center; margin-bottom: 22px; }
.register-form-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(160deg, var(--green-deep), var(--green)); color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.register-form-head h5 { display: block; text-align: center; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 6px; }
.register-form-head h3 { font-size: 0.98rem; font-weight: 400; color: var(--muted-ink); margin: 0; }
.register-form-note { text-align: center; font-size: 0.82rem; color: var(--muted-ink); margin: 12px 0 0; }
.register-form-note i { color: var(--green-deep); }

/* ---- Field legibility on the white glass card (the reported bug) ---- */
.glass-card .register-form-control { background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; color: var(--ink) !important; }
.glass-card input.form-control.register-form-control::placeholder { color: #9aa3b5 !important; }
.glass-card .input-wrap label { color: var(--navy-700); font-weight: 600; }
.glass-card .submit-btn-wrap .dark-btn { width: 100%; background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%) !important; color: #16240a !important; border-radius: 14px; padding: 15px 24px; box-shadow: 0 12px 26px rgba(143, 174, 47, 0.3); }
.glass-card .submit-btn-wrap .dark-btn:hover { transform: translateY(-2px); }
/* Tighter fields in the register-cta context (form felt too tall) */
.register-cta-section .register-form-control { height: 46px; }
.register-cta-section .form-wrap .mb-4 { margin-bottom: 0.85rem !important; }
.register-cta-section .form-wrap .mb-3 { margin-bottom: 0.85rem !important; }

/* =========================================================================
   ROUND 19: Tutor profile — snapshot hero, trust cards, subject badges.
   ========================================================================= */
.tutor-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-ink); font-weight: 600; font-size: 0.95rem; margin-bottom: 26px; }
.tutor-back:hover { color: var(--green-deep); }

.tutor-profile-grid { display: grid; grid-template-columns: 360px 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .tutor-profile-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Sticky snapshot card */
.tutor-profile-side { position: sticky; top: 24px; }
@media (max-width: 900px) { .tutor-profile-side { position: static; } }
.tutor-snapshot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); text-align: center; }
.tutor-snapshot-photo { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.tutor-snapshot-name { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 4px; }
.tutor-snapshot-tagline { color: var(--green-deep); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; margin: 0 0 12px; }
.tutor-snapshot-rating { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.tutor-snapshot-rating .stars { color: #f5b301; letter-spacing: 1px; }
.tutor-certified { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; font-weight: 700; color: var(--green-deep); background: var(--color-accent-bg, #f5f8ee); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.tutor-snapshot-facts { display: flex; flex-direction: column; gap: 11px; text-align: left; margin: 0 0 22px; }
.tutor-snapshot-facts li { display: flex; align-items: center; gap: 11px; color: var(--body-ink); font-size: 0.96rem; }
.tutor-snapshot-facts li i { color: var(--green-deep); width: 18px; text-align: center; }
.tutor-snapshot-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted-ink); font-size: 0.85rem; margin: 12px 0 0; }

/* Trust / stat cards */
.tutor-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
@media (max-width: 640px) { .tutor-stat-cards { grid-template-columns: 1fr 1fr; } }
.tutor-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm); }
.tutor-stat-num { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.tutor-stat-label { display: block; font-size: 0.82rem; color: var(--muted-ink); margin-top: 6px; font-weight: 600; }

/* Sections */
.tutor-section { margin-bottom: 40px; }
.tutor-section h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 16px; }
.tutor-section-sub { color: var(--muted-ink); margin: -8px 0 18px; }
.tutor-bio { font-size: 1.06rem; line-height: 1.8; color: var(--body-ink); }

/* Subject badges (LinkedIn-style pills) */
.tutor-subject-group { margin-bottom: 18px; }
.tutor-subject-group h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 10px; }
.tutor-subject-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.tutor-subject-badge { font-size: 0.9rem; font-weight: 600; color: var(--navy-700); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }

/* Experience achievement card */
.tutor-experience-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.tutor-experience-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(160deg, var(--green-deep), var(--green)); color: #fff; font-size: 1.4rem; }
.tutor-experience-card p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--body-ink); }

/* Availability calendar in a rounded card */
.tutor-calendar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.tutor-calendar-card .fc { --fc-border-color: #eef1f6; }
.tutor-calendar-card .fc .fc-col-header-cell-cushion { color: var(--ink); font-weight: 700; text-decoration: none; padding: 8px; }
.tutor-calendar-card .fc .fc-timegrid-slot-label-cushion { color: var(--muted-ink); font-size: 0.82rem; }

/* =========================================================================
   ROUND 20: Tutoring-section components — proof band, payment icons,
   mode cards, "A Parent's Question" callout.
   ========================================================================= */

/* Proof / statistic band (big scannable numbers) */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
.proof-stat { text-align: center; padding: 12px; }
.proof-stat-num { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.on-dark .proof-stat-num, .sec-navy .proof-stat-num { color: #fff; }
.proof-stat-num.accent { color: var(--green-deep); }
.sec-navy .proof-stat-num.accent { color: var(--green-bright); }
.proof-stat-label { display: block; font-size: 0.95rem; color: var(--muted-ink); margin-top: 8px; font-weight: 600; }
.sec-navy .proof-stat-label { color: #b9c2d8; }

/* Payment-method icons row */
.payment-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 24px; align-items: center; }
.payment-icons i { font-size: 2.6rem; color: var(--navy-700); opacity: 0.85; transition: opacity 0.2s ease, transform 0.2s ease; }
.payment-icons i:hover { opacity: 1; transform: translateY(-2px); }

/* Mode / location cards (Home, Library, Coffee Shop, Campus, Online) */
.mode-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 900px) { .mode-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .mode-grid { grid-template-columns: 1fr 1fr; } }
.mode-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mode-card i { font-size: 1.7rem; color: var(--green-deep); margin-bottom: 14px; }
.mode-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.mode-card p { font-size: 0.9rem !important; line-height: 1.5 !important; color: var(--body-ink); margin: 0 !important; }

/* "A Parent's Question" callout */
.parent-q-section { padding: 56px 0; }
.parent-q { max-width: 760px; margin: 0 auto; text-align: center; background: var(--color-accent-bg, #f5f8ee); border: 1px solid #e6eed3; border-radius: var(--radius-lg); padding: 40px 44px; }
.parent-q-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 14px; }
.parent-q-question { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 14px; line-height: 1.3; }
.parent-q-answer { font-size: 1.08rem; line-height: 1.7; color: var(--body-ink); margin: 0; }

/* Checklist as a two-column list (billing reassurance etc.) */
.reassure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 820px; margin: 0 auto; }
@media (max-width: 640px) { .reassure-grid { grid-template-columns: 1fr; } }
.reassure-item { display: flex; align-items: flex-start; gap: 12px; }
.reassure-item i { color: var(--green); font-size: 1.15rem; margin-top: 2px; }
.reassure-item strong { display: block; color: var(--ink); font-size: 1.05rem; }
.reassure-item span { color: var(--muted-ink); font-size: 0.95rem; }

/* Process timeline — 5-step variant (line spans first→last node centers) */
.process-grid--5 { grid-template-columns: repeat(5, 1fr); }
.process-grid--5::before { left: 10%; right: 10%; }
@media (max-width: 980px) { .process-grid--5 { grid-template-columns: 1fr 1fr; } .process-grid--5::before { display: none; } }
@media (max-width: 520px) { .process-grid--5 { grid-template-columns: 1fr; } }

/* Process timeline — 3-step variant */
.process-grid--3 { grid-template-columns: repeat(3, 1fr); }
.process-grid--3::before { left: 16.66%; right: 16.66%; }
@media (max-width: 760px) { .process-grid--3 { grid-template-columns: 1fr; } .process-grid--3::before { display: none; } }

/* Payments — Affirm text badge + spacing */
.payment-affirm { font-weight: 800; font-size: 1.5rem; color: var(--navy-700); letter-spacing: -0.01em; opacity: 0.85; }

/* Locations — local-spots note */
.mode-local-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--muted-ink); font-size: 0.98rem; line-height: 1.6; }
.mode-local-note a { color: var(--green-deep); font-weight: 600; }

/* =========================================================================
   ROUND 21: subject + location page bits.
   ========================================================================= */
.subject-local-note { font-size: 0.95rem; color: var(--muted-ink); }
.topic-groups { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.topic-group h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 12px; }
.topic-badges { display: flex; flex-wrap: wrap; gap: 9px; }

/* =========================================================================
   ROUND 22: test-prep pricing cards.
   ========================================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; } }
.pricing-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border-top: 4px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pricing-card--gold { border-top-color: #c9a84c; }
.pricing-card--silver { border-top-color: #9aa3af; }
.pricing-card--bronze { border-top-color: #cd7f32; }
.pricing-tier { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.pricing-card--gold .pricing-tier { color: #b28e2e; }
.pricing-card--silver .pricing-tier { color: #6b7280; }
.pricing-card--bronze .pricing-tier { color: #b5682a; }
.pricing-hours { display: block; font-size: 0.88rem; font-weight: 600; color: var(--muted-ink); margin: 4px 0 14px; }
.pricing-card p { font-size: 0.98rem !important; line-height: 1.6 !important; color: var(--body-ink); margin: 0 0 22px !important; flex: 1 1 auto; }
.pricing-card .btn-elite { width: 100%; }

/* =========================================================================
   ROUND 23: community pages — sponsor cards + workshop schedule.
   ========================================================================= */
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .sponsor-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sponsor-grid { grid-template-columns: 1fr; } }
.sponsor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sponsor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sponsor-img { height: 190px; background: #f4f6f9; }
.sponsor-img img { width: 100%; height: 100%; object-fit: cover; }
.sponsor-body { padding: 22px 24px; }
.sponsor-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.sponsor-body p { font-size: 0.95rem !important; line-height: 1.6 !important; color: var(--body-ink); margin: 0 !important; }
.sponsor-body p a { color: var(--green-deep); font-weight: 600; }

/* Workshop schedule card */
.workshop-schedule { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 32px; box-shadow: var(--shadow-sm); }
.workshop-schedule ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 620px) { .workshop-schedule ul { grid-template-columns: 1fr; } }
.workshop-schedule li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--body-ink); font-size: 1rem; }
.workshop-schedule .ws-date { flex: 0 0 62px; font-weight: 700; color: var(--green-deep); font-size: 0.9rem; }
