:root {
  --white: #ffffff;
  --paper: #fbfaff;
  --ink: #1a1a2e;
  --ink-soft: #5b5a72;
  --violet: #7c3aed;
  --violet-deep: #5b21b6;
  --pink: #ff3d8a;
  --pink-deep: #db2777;
  --orange: #ff9f1c;
  --orange-deep: #ea7c00;
  --cyan: #06d6d6;
  --cyan-deep: #0891a8;
  --yellow: #ffe066;
  --card: #ffffff;
  --line: #eae8f7;
  --radius: 20px;
  --shadow: 0 14px 34px -14px rgba(124, 58, 237, 0.28);
  --grad-brand: linear-gradient(135deg, var(--violet) 0%, var(--pink) 55%, var(--orange) 100%);
  --grad-cool: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: var(--violet-deep); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  position: relative;
  z-index: 5;
  background: #0d0d16;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .mark {
  width: 38px;
  height: 38px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.35));
}
.nav-links {
  display: flex;
  gap: 22px;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.75); }
.nav-links a:hover { color: #fff; }

/* HERO — vibrant photo background, brand-gradient scrim */
.hero {
  position: relative;
  padding: clamp(60px, 11vw, 130px) 0 clamp(50px, 8vw, 90px);
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
  border-radius: 0 0 40px 40px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(155deg, rgba(124,58,237,0.88) 0%, rgba(255,61,138,0.82) 50%, rgba(255,159,28,0.85) 100%);
}
.hero-tutor { background-image: url("assets/photos/tutoring-hero.jpg"); }
.hero-family { background-image: url("assets/photos/classroom-hero.jpg"); }

.hero > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero h1 .accent {
  color: var(--yellow);
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.94);
  font-size: 1.15rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.cta-row {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cta-card {
  display: block;
  width: 300px;
  max-width: 100%;
  background: var(--card);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cta-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px -16px rgba(124, 58, 237, 0.4);
}
.cta-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.cta-tutor { border-color: rgba(6, 214, 214, 0.35); }
.cta-tutor .icon { background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.cta-parent { border-color: rgba(255, 61, 138, 0.35); }
.cta-parent .icon { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.cta-card h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--ink); }
.cta-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; }
.cta-card .go {
  font-weight: 800;
  font-size: 0.9rem;
}
.cta-tutor .go { color: var(--cyan-deep); }
.cta-parent .go { color: var(--pink-deep); }

/* SECTIONS */
.section {
  padding: clamp(50px, 8vw, 80px) 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.kicker {
  display: inline-block;
  background: var(--grad-cool);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-note { color: var(--ink-soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid transparent;
  border-image: var(--grad-brand) 1;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* MISSION */
.mission {
  background: linear-gradient(155deg, #f3ecff 0%, #ffeef5 55%, #fff6e8 100%);
  border-radius: 28px;
  padding: clamp(30px, 6vw, 56px);
  border: 1px solid var(--line);
}
.mission h2 { font-size: 1.7rem; }
.mission p { color: var(--ink); }
.mission .note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid rgba(124, 58, 237, 0.15);
}
.mission .note h3 {
  font-size: 1.1rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* FOOTER */
.footer {
  padding: 40px clamp(20px, 5vw, 48px) 50px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer a { color: var(--violet-deep); text-decoration: none; font-weight: 700; }
.footer .links { display: flex; gap: 18px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }

/* INLINE FORMS (notify capture, contact) */
.mini-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mini-form input[type="email"],
.mini-form input[type="text"],
.mini-form textarea,
.mini-form select {
  flex: 1;
  min-width: 160px;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.mini-form textarea { min-height: 110px; resize: vertical; width: 100%; }
.mini-form input:focus,
.mini-form textarea:focus,
.mini-form select:focus {
  outline: 2px solid var(--violet);
  outline-offset: 1px;
}
.btn-grad {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  padding: 11px 22px;
  border-radius: 12px;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px -8px rgba(255, 61, 138, 0.5);
  transition: transform 0.15s ease;
}
.btn-grad:hover { transform: translateY(-2px); }
.btn-grad:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }
.form-status { font-size: 0.9rem; font-weight: 700; margin-top: 10px; min-height: 1.2em; }
.form-status.ok { color: var(--cyan-deep); }
.form-status.err { color: var(--pink-deep); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}
.contact-card .field { margin-bottom: 16px; }
.contact-card label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.contact-card textarea { min-height: 140px; resize: vertical; }

/* COOKIE / PRIVACY NOTICE */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: #0d0d16;
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5);
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.88); flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--yellow); font-weight: 700; }
.cookie-banner button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  color: #0d0d16;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--yellow);
}
.cookie-banner[hidden] { display: none; }

@media (max-width: 560px) {
  .nav-links { display: none; }
}
