:root {
  --green-dark: #3a7060;
  --green: #4f9f7b;
  --green-light: #e8f3ee;
  --ink: #1f2a27;
  --muted: #5c6b66;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  color: var(--white);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; font-size: 1.2rem; color: var(--white); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 800;
}
.site-nav { display: flex; gap: 1.25rem; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 500; color: var(--white); opacity: 0.95; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.site-nav .nav-cta {
  background: var(--white);
  color: var(--green-dark);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  opacity: 1;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--green-dark), #2f5f52);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.75rem; line-height: 1.15; }
.hero-sub { max-width: 640px; margin: 0 auto 2rem; font-size: 1.1rem; opacity: 0.92; }
.email-form {
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
}
.email-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0.75rem 1.1rem;
  font-size: 1rem;
  border-radius: 999px;
  min-width: 0;
}
.email-form button {
  border: 0;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  text-decoration: underline;
  font-weight: 600;
}
.play-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Sections */
.section { padding: 4.5rem 0; }
.section.alt { background: #f6f9f7; }
.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}
.eyebrow.light, .light { color: var(--white); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 1.5rem; line-height: 1.25; }
.lead { color: var(--muted); font-size: 1.05rem; margin-top: -0.5rem; margin-bottom: 2rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--white);
  border: 1px solid #e3ebe7;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.card p { margin: 0.4rem 0; color: var(--muted); }
.card.featured { border: 2px solid var(--green); }
.meta { font-size: 0.9rem; color: var(--green-dark) !important; font-weight: 600; }
.card-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.price { font-weight: 700; font-size: 1.1rem; color: var(--ink) !important; }
.btn {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn:hover { background: var(--green); }
.btn-block { width: 100%; padding: 0.9rem; font-size: 1rem; }
.link { color: var(--green-dark); font-weight: 600; text-decoration: none; margin-top: auto; }

/* Stats */
.stats { background: linear-gradient(160deg, var(--green-dark), #2f5f52); color: var(--white); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.stat { background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.stat-num { display: block; font-size: 2.5rem; font-weight: 800; }
.stat-label { font-size: 0.95rem; opacity: 0.9; }

/* Tutors */
.tutor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.tutor { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); background: var(--green-light); }
.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 1.4rem;
}
.tutor h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.tutor p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Testimonials */
.quote {
  margin: 0;
  background: var(--white);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.quote p { margin: 0 0 0.6rem; font-style: italic; }
.quote cite { font-style: normal; font-weight: 700; color: var(--green-dark); }

/* Blog */
.post .meta { margin-top: 0; }
.post h3 { font-size: 1.05rem; line-height: 1.4; }

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid #e3ebe7;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 0.6rem 0 0; }

/* Contact form */
.contact-form { display: grid; gap: 1rem; background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.contact-form input,
.contact-form select {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cfdcd6;
  border-radius: 8px;
  background: #fbfdfc;
}
.contact-form input:focus,
.contact-form select:focus { outline: 2px solid var(--green); border-color: transparent; }

/* Footer */
.site-footer { background: #1f2d29; color: #d7e3de; padding: 3.5rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3, .site-footer h4 { color: var(--white); margin: 0 0 0.75rem; }
.site-footer h3 { font-size: 1.3rem; }
.site-footer h4 { font-size: 1rem; }
.site-footer p { margin: 0; opacity: 0.85; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; opacity: 0.9; word-break: break-word; }
.site-footer a:hover { text-decoration: underline; opacity: 1; }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9rem; text-align: center; }

/* Responsive */
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 4% 1rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.6rem 0; width: 100%; }
  .site-nav .nav-cta { display: inline-block; width: auto; margin-top: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .email-form { flex-direction: column; border-radius: var(--radius); padding: 0.5rem; }
  .email-form input { border-radius: 10px; }
  .email-form button { border-radius: 10px; padding: 0.9rem; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Images from the original site */
.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero-bg { position: absolute; pointer-events: none; opacity: 0.35; z-index: 0; }
.hero-bg-1 { top: -40px; left: -60px; width: 320px; }
.hero-bg-2 { bottom: -60px; right: -80px; width: 380px; }
.hero-image { display: block; width: min(560px, 100%); margin: 2.5rem auto 0; }
.hero-arrow { width: 28px; margin: 1.5rem auto 0; opacity: 0.8; }
.trusted { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; font-weight: 600; }
.trusted-avatars { display: flex; }
.trusted-avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); margin-left: -10px; object-fit: cover; }
.trusted-avatars img:first-child { margin-left: 0; }
.course-img, .post-img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom: 0.9rem; }
.meta-sched { font-size: 0.9rem; color: var(--muted); }
.stat-icon { width: 56px; height: 56px; margin: 0 auto 0.6rem; object-fit: contain; }
.avatar { object-fit: cover; width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 0.9rem; display: block; }
.t-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 0.4rem; }
.contact-section { position: relative; overflow: hidden; }
.consult-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.08; pointer-events: none; }
.contact-section .container { position: relative; }
.get-started { background: var(--green-light); }
.get-started-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; position: relative; }
.get-started-img { width: 100%; max-width: 480px; justify-self: center; }
.book-img { position: absolute; right: 0; bottom: -20px; width: 120px; opacity: 0.6; pointer-events: none; }
.footer-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 0.75rem; }
.site-footer { position: relative; overflow: hidden; }
.footer-art { position: absolute; right: -20px; top: -10px; width: 180px; opacity: 0.12; pointer-events: none; }
@media (max-width: 760px) { .get-started-inner { grid-template-columns: 1fr; } .book-img { display: none; } }

/* Kit sign-up button (hero) */
.email-form-btn { display: inline-block; background: var(--white); color: var(--green-dark); font-weight: 700; text-decoration: none; padding: 0.9rem 1.8rem; border-radius: 999px; box-shadow: var(--shadow); }
.email-form-btn:hover { background: var(--green-light); }

/* Consultation form feedback */
.form-status { margin: 0; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.error { background: #fdecec; color: #8a1c1c; }
.form-status.success { background: #e9f7ef; color: #1d5e36; }
.form-fallback { margin: 0; text-align: center; font-size: 0.9rem; }
.form-fallback a { font-weight: 600; }
