/* =============================================
   Mountain House Tutoring — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  /* Primary: mountain teal — matches logo */
  --primary:        #00706D;
  --primary-dark:   #003F46;
  --primary-pale:   #E6F4F4;
  --primary-light:  #A8D8D7;

  /* Accent: golden yellow — matches logo CTAs */
  --accent:         #D49305;
  --accent-dark:    #C98600;
  --accent-pale:    #FEF7E0;
  --accent-light:   #F9D980;

  /* Neutrals */
  --navy:           #002028;
  --ink:            #1E2D3D;
  --muted:          #5D6E80;
  --soft:           #95A5B5;

  /* Backgrounds — warm cream tones, NOT clinical white */
  --warm-bg:        #F7F9F9;
  --bg:             #EEF5F5;
  --white:          #FFFFFF;
  --border:         #C8DADA;

  /* Green — only for check marks / success states */
  --green:          #1E6B4A;
  --green-light:    #E0F2EA;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.09);
  --shadow-lg:  0 12px 36px rgba(0,0,0,.12);

  /* Radii */
  --r:     10px;
  --r-lg:  16px;
  --r-xl:  24px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem);  font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem;  font-weight: 600; line-height: 1.35; }
h4 { font-size: 1rem;    font-weight: 600; }
p  { color: var(--muted); line-height: 1.8; }

/* ---- Lucide SVG icons ---- */
.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.75;
  flex-shrink: 0;
}

/* ---- Layout ---- */
.container    { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 780px;  margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.section-header             { text-align: center; margin-bottom: 3.5rem; }
.section-header h2          { margin-bottom: 0.65rem; }
.section-header > p         { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--r);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap; line-height: 1;
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; }
.btn-lg { padding: 0.95rem 2.1rem;  font-size: 1rem; }

.btn-primary {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark); border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,84,42,.28);
}
.btn-blue {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.btn-blue:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28,78,122,.28);
}
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--muted); border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg); color: var(--ink); }

.btn-white {
  background: var(--white); color: var(--accent-dark);
  border-color: var(--white); font-weight: 700;
}
.btn-white:hover {
  background: var(--accent-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ---- Navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; }
.nav-logo-svg {
  width: 44px; height: 44px;
  display: block; flex-shrink: 0;
  border-radius: 9px;
}
.nav-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  padding: 0.45rem 0.85rem; border-radius: 7px; transition: all 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-pale); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  font-size: 0.83rem; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; gap: 0.35rem;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.25s; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--white); z-index: 300;
  padding: 1.5rem; flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.mobile-close {
  background: var(--bg); border: none;
  width: 38px; height: 38px; border-radius: 8px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 1rem;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.mobile-menu nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
  padding: 0.85rem 1rem; border-radius: var(--r); transition: all 0.15s;
}
.mobile-menu nav a:hover { background: var(--primary-pale); color: var(--primary); }
.mobile-menu-footer { margin-top: auto; padding-top: 1.5rem; }

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  padding: 7rem 0 6rem;
  position: relative; overflow: hidden;
}
.hero-dot-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-glow {
  position: absolute; top: -100px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,112,109,.55) 0%, transparent 68%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 52px; background: var(--white);
  clip-path: ellipse(56% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 0.35rem 1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,.85);
  letter-spacing: 0.05em; margin-bottom: 1.5rem;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.hero h1          { color: var(--white); margin-bottom: 1.35rem; }
.hero h1 em       { font-style: normal; color: #7DBDE8; }
.hero-sub         { font-size: 1.1rem; color: rgba(255,255,255,.74); max-width: 560px; margin-bottom: 2.25rem; line-height: 1.8; }
.hero-actions     { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust       { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-trust-item  { display: flex; align-items: center; gap: 0.45rem; font-size: 0.83rem; color: rgba(255,255,255,.68); font-weight: 500; }
.hero-trust-item .lucide { color: #4ade80; }

/* ---- Stats bar ---- */
.stats-bar   { background: var(--accent); padding: 2rem 0; }
.stats-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-number { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label  { font-size: 0.78rem; color: rgba(255,255,255,.68); margin-top: 0.3rem; font-weight: 500; }

/* ---- Feature cards ---- */
.features      { background: var(--warm-bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card  {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.75rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon-wrap {
  width: 62px; height: 62px; margin: 0 auto 1.25rem;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.feature-icon-wrap.blue   { background: var(--primary-pale); color: var(--primary); }
.feature-icon-wrap.orange { background: var(--accent-pale);  color: var(--accent); }
.feature-icon-wrap.warm   { background: #FEF9EE; color: #B45309; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.88rem; }

/* ---- Subjects ---- */
.subjects      { background: var(--white); }
.subjects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.subject-card  {
  background: var(--warm-bg); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 1.35rem 1rem;
  text-align: center; transition: all 0.18s;
}
.subject-card:hover {
  border-color: var(--primary); background: var(--primary-pale);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.subject-icon-wrap {
  width: 44px; height: 44px; margin: 0 auto 0.65rem;
  background: var(--white); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); box-shadow: var(--shadow-sm);
}
.subject-card h4 { font-size: 0.88rem; margin-bottom: 0.2rem; }
.subject-card p  { font-size: 0.75rem; color: var(--soft); }

/* ---- How it works ---- */
.how   { background: var(--warm-bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step  { text-align: center; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.35rem;
  box-shadow: 0 0 0 8px rgba(28,78,122,.1);
}
.step h3 { margin-bottom: 0.5rem; }
.step p  { font-size: 0.9rem; }

/* ---- Why us ---- */
.why-us   { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.why-card {
  display: flex; gap: 1.1rem; padding: 1.75rem;
  background: var(--warm-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: box-shadow 0.2s;
}
.why-card:hover { box-shadow: var(--shadow); }
.why-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-pale); color: var(--primary);
}
.why-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.why-card p  { font-size: 0.875rem; }

/* ---- Testimonials ---- */
.testimonials      { background: var(--warm-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.t-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); position: relative;
}
.t-deco {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem; line-height: 1; color: var(--accent-light);
  position: absolute; top: 0.85rem; right: 1.5rem;
  pointer-events: none; user-select: none;
}
.t-stars  { color: #E8A020; font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 0.85rem; }
.t-quote  { font-size: 0.95rem; color: var(--ink); line-height: 1.8; font-style: italic; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700; color: var(--primary); flex-shrink: 0;
}
.t-name { font-size: 0.87rem; font-weight: 600; color: var(--ink); }
.t-role { font-size: 0.78rem; color: var(--soft); }
.result-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--green-light); color: var(--green);
  font-size: 0.73rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 100px; margin-bottom: 0.85rem;
}

/* ---- Team preview ---- */
.team-preview { background: var(--white); }
.team-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.tutor-card   {
  background: var(--warm-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.5rem; text-align: center; transition: all 0.2s;
}
.tutor-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tutor-avatar {
  width: 70px; height: 70px; border-radius: 50%;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.tutor-card h3   { margin-bottom: 0.2rem; }
.tutor-spec      { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }
.tutor-card p    { font-size: 0.85rem; margin-bottom: 1rem; }
.tutor-tags      { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.tag             { background: var(--primary-pale); color: var(--primary); font-size: 0.7rem; font-weight: 600; padding: 0.22rem 0.6rem; border-radius: 100px; }

/* ---- CTA Banner ---- */
.cta-banner    { background: var(--primary); padding: 5.5rem 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.85rem; }
.cta-banner p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2rem; }
.cta-actions   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: var(--navy); padding: 4rem 0 3.5rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: 0.75rem; position: relative; }
.page-hero p  { color: rgba(255,255,255,.68); font-size: 1.05rem; max-width: 560px; margin: 0 auto; position: relative; }

/* ---- FAQ ---- */
.faq      { background: var(--warm-bg); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; padding: 1.25rem 1.35rem;
  background: none; border: none; cursor: pointer; text-align: left;
  font-size: 0.92rem; font-weight: 600; color: var(--ink); font-family: inherit; line-height: 1.4;
}
.faq-q:hover { color: var(--primary); }
.faq-chevron { flex-shrink: 0; color: var(--soft); transition: transform 0.25s; margin-top: 0.15rem; display: flex; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-a { padding: 0 1.35rem 1.25rem; font-size: 0.875rem; display: none; color: var(--muted); line-height: 1.78; }
.faq-item.open .faq-a { display: block; }

/* ---- Footer ---- */
.footer      { background: var(--navy); color: rgba(255,255,255,.55); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif; color: var(--white);
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; display: block;
}
.footer-brand p   { font-size: 0.86rem; line-height: 1.75; max-width: 260px; }
.footer-socials   { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.footer-social    {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: 0.72rem; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.2s;
}
.footer-social:hover { background: rgba(255,255,255,.18); color: var(--white); }
.footer-col h4    { color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul    { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul li a { font-size: 0.86rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact   { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-ci        { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.86rem; line-height: 1.5; }
.footer-ci .ic    { flex-shrink: 0; margin-top: 0.1rem; color: rgba(255,255,255,.35); }
hr.foot-div       { border: none; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 1.75rem; }
.footer-bottom    { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8rem; }
.footer-bottom a  { transition: color 0.15s; }
.footer-bottom a:hover { color: var(--white); }

/* ---- Pricing ---- */
.pricing      { background: var(--warm-bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.p-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem 2rem;
  position: relative; transition: all 0.2s;
}
.p-card:hover { box-shadow: var(--shadow-lg); }
.p-card.popular { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.pop-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem; font-weight: 700; padding: 0.28rem 0.9rem;
  border-radius: 100px; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
}
.p-name  { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem; }
.p-price-custom {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem; font-weight: 700; color: var(--primary);
  padding: 0.6rem 0; line-height: 1;
}
.p-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.p-price sup { font-size: 1.4rem; font-weight: 700; vertical-align: super; line-height: 0; }
.p-price sub { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.p-desc  { font-size: 0.85rem; color: var(--muted); padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 1rem 0 1.5rem; }
.p-features { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.p-feature  { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.875rem; color: var(--ink); }
.p-feature .ck { color: var(--green); flex-shrink: 0; margin-top: 0.15rem; }
.p-save { font-size: 0.75rem; font-weight: 700; color: var(--green); background: var(--green-light); padding: 0.25rem 0.65rem; border-radius: 100px; display: inline-block; margin-top: 0.4rem; }

/* ---- Register / Form ---- */
.register-wrap { background: var(--warm-bg); }
.register-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.r-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow);
}
.form-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--accent); margin-bottom: 1rem;
  margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border);
}
.form-section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
label       { display: block; font-size: 0.83rem; font-weight: 600; color: var(--ink); margin-bottom: 0.38rem; }
label .req  { color: #DC2626; margin-left: 2px; }
input, select, textarea {
  width: 100%; padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: 0.9rem; font-family: inherit; color: var(--ink);
  background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
  outline: none; -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28,78,122,.1);
}
textarea { resize: vertical; min-height: 90px; }

.checkbox-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.check-pill {
  display: flex; align-items: center; gap: 0.45rem;
  background: var(--warm-bg); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 0.45rem 0.85rem;
  cursor: pointer; font-size: 0.83rem; font-weight: 500; transition: all 0.15s; user-select: none;
}
.check-pill input[type="checkbox"] { display: none; }
.check-pill:hover,
.check-pill.is-checked { border-color: var(--primary); background: var(--primary-pale); color: var(--primary); }
.form-note  { font-size: 0.78rem; color: var(--soft); margin-top: 0.35rem; }

.alert {
  padding: 0.9rem 1.1rem; border-radius: var(--r);
  font-size: 0.875rem; margin-bottom: 1.25rem; display: flex; align-items: flex-start; gap: 0.6rem;
}
.alert-error   { background: #FEF2F2; border: 1px solid #FCA5A5; color: #B91C1C; }
.alert-success { background: var(--green-light); border: 1px solid #6EE7B7; color: var(--green); }

.r-sidebar     { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; }
.sidebar-card h4 { margin-bottom: 0.65rem; }
.sidebar-steps   { display: flex; flex-direction: column; gap: 0.85rem; }
.sidebar-step    { display: flex; gap: 0.75rem; font-size: 0.87rem; }
.sidebar-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary); color: white;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem;
}
.sidebar-step p { color: var(--ink); }
.contact-item { display: flex; align-items: center; gap: 0.65rem; font-size: 0.875rem; margin-bottom: 0.65rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .lucide { color: var(--primary); flex-shrink: 0; }

/* ---- About page ---- */
.about-story { background: var(--white); }
.about-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { margin-bottom: 1rem; }
.check-list    { display: flex; flex-direction: column; gap: 0.65rem; margin: 1.25rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--muted); }
.check-list li .lucide { color: var(--green); flex-shrink: 0; margin-top: 0.15rem; }
.about-visual  {
  background: linear-gradient(145deg, var(--primary-pale) 0%, #F0E6FA 100%);
  border-radius: var(--r-xl); padding: 3rem 2.5rem;
}
.about-stat        { text-align: center; margin-bottom: 2rem; }
.about-stat:last-child { margin-bottom: 0; }
.about-big         { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.about-stat p      { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }
.service-cards     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.s-card            { background: var(--warm-bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.75rem; }
.s-icon            { margin-bottom: 0.75rem; color: var(--primary); }
.s-card h3         { font-size: 1rem; margin-bottom: 0.4rem; }
.s-card p          { font-size: 0.85rem; }
.area-tags         { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.area-tag          { background: var(--primary-pale); color: var(--primary); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 100px; }

/* ---- Tutors full page ---- */
.tutors-list        { background: var(--warm-bg); }
.tutor-full-card    {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow-sm);
  display: flex; gap: 2rem; margin-bottom: 1.5rem; transition: box-shadow 0.2s;
}
.tutor-full-card:hover  { box-shadow: var(--shadow); }
.tutor-full-avatar  {
  width: 90px; height: 90px; border-radius: 50%;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tutor-full-body    { flex: 1; }
.tutor-full-body h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.tutor-meta         { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 0.85rem; }
.t-meta-chip        { font-size: 0.78rem; color: var(--muted); background: var(--warm-bg); border: 1px solid var(--border); padding: 0.25rem 0.7rem; border-radius: 100px; }
.tutor-full-body p  { font-size: 0.9rem; margin-bottom: 1rem; }
.tutor-full-tags    { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag-green          { background: var(--green-light); color: var(--green); font-size: 0.72rem; font-weight: 600; padding: 0.22rem 0.65rem; border-radius: 100px; }
.tag-orange         { background: var(--accent-pale); color: var(--accent); font-size: 0.72rem; font-weight: 600; padding: 0.22rem 0.65rem; border-radius: 100px; }

/* ---- Thank you page ---- */
.thankyou-wrap { min-height: 70vh; display: flex; align-items: center; background: var(--warm-bg); }
.thankyou-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 3.5rem 3rem;
  text-align: center; max-width: 560px; margin: 3rem auto;
  box-shadow: var(--shadow-lg);
}
.thankyou-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.thankyou-card h1 { font-size: 2rem; margin-bottom: 0.75rem; }
.thankyou-card p  { margin-bottom: 1rem; }
.thankyou-card .next-steps { text-align: left; background: var(--warm-bg); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; }
.thankyou-card .next-steps li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.65rem; }
.thankyou-card .next-steps li:last-child { margin-bottom: 0; }
.thankyou-card .next-steps li .lucide { color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .subjects-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .register-grid { grid-template-columns: 1fr; }
  .r-sidebar     { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .nav-links, .nav-right .btn, .nav-phone { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 5rem 0 4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 0.85rem; }

  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .features-grid     { grid-template-columns: 1fr; }
  .subjects-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps             { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid          { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr; }
  .faq-grid          { grid-template-columns: 1fr; }
  .pricing-grid      { grid-template-columns: 1fr; }
  .about-grid        { grid-template-columns: 1fr; }
  .service-cards     { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .r-sidebar         { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .tutor-full-card   { flex-direction: column; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }

  .page-hero h1  { font-size: 1.9rem; }
  .thankyou-card { padding: 2.5rem 1.5rem; }
}
