:root {
  --green: #00674B;
  --green-dark: #004f39;
  --green-light: #e6f2ee;
  --green-mid: #ccddd8;
  --black: #000000;
  --white: #ffffff;
  --off: #f7faf9;
  --muted: #4a5a54;
  --border: #ccddd8;
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--black); background: var(--white); line-height: 1.6; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 120px;
}
.logo { cursor: pointer; display: flex; align-items: center; }
.logo img { height: 110px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: .875rem; color: var(--muted); text-decoration: none; cursor: pointer; transition: color .2s; }
.nav-links a:hover { color: var(--black); }
.nav-cta { background: var(--green) !important; color: var(--white) !important; padding: 8px 20px; border-radius: 6px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--green-dark) !important; }

/* PAGE SYSTEM */
.page { display: none; }
.page.active { display: block; }

/* HERO */
.hero { background: var(--green); padding: 80px 2rem 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.04); }
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-logo { height: 80px; width: auto; margin: 0 auto 2rem; display: block; filter: brightness(0) invert(1); }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.5rem; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; color: var(--white); line-height: 1.2; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,.75); }
.hero-sub { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn-w { background: var(--white); color: var(--green); padding: 12px 28px; border-radius: 6px; font-weight: 500; font-size: .9rem; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: background .2s; }
.btn-w:hover { background: var(--off); }
.btn-ol { background: transparent; color: var(--white); padding: 12px 28px; border-radius: 6px; font-weight: 400; font-size: .9rem; cursor: pointer; border: 1px solid rgba(255,255,255,.4); font-family: 'DM Sans', sans-serif; transition: all .2s; }
.btn-ol:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.btn-g { background: var(--green); color: var(--white); padding: 12px 28px; border-radius: 6px; font-weight: 500; font-size: .9rem; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: background .2s; }
.btn-g:hover { background: var(--green-dark); }

/* TRUST BAR */
.trust { background: var(--off); border-bottom: 1px solid var(--border); padding: 1.25rem 0; text-align: center; }
.trust p { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.trust-marquee {
  position: relative; overflow: hidden; width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.trust-track {
  display: inline-flex; gap: 0; animation: marquee 40s linear infinite;
  white-space: nowrap; min-width: 200%;
}
.trust-track span {
  font-size: .85rem; font-weight: 500; color: var(--black); opacity: .45;
  flex-shrink: 0; padding: 0 1.5rem; white-space: nowrap;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: 80px 2rem; max-width: 1100px; margin: 0 auto; }
.slabel { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: .75rem; }
.stitle { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 500; color: var(--black); margin-bottom: 1rem; }
.ssub { font-size: 1rem; font-weight: 300; color: var(--muted); max-width: 500px; margin-bottom: 3rem; }

/* UNIT CARDS */
.units-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.ucard { border: 1px solid var(--border); border-radius: var(--r); padding: 2.5rem; position: relative; overflow: hidden; cursor: pointer; transition: box-shadow .25s, transform .25s; background: var(--white); }
.ucard:hover { box-shadow: 0 8px 32px rgba(0,103,75,.1); transform: translateY(-2px); }
.ucard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); }
.uicon { width: 44px; height: 44px; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.5rem; }
.ucard h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 500; margin-bottom: .75rem; color: var(--black); }
.ucard p { font-size: .9rem; font-weight: 300; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.uf { list-style: none; margin-bottom: 2rem; }
.uf li { font-size: .85rem; color: var(--black); padding: .4rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .6rem; }
.uf li:last-child { border-bottom: none; }
.uf li::before { content: ''; width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.ucard-price {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600;
  color: var(--green); margin-bottom: 1rem; padding-top: .25rem;
}
.ucard-price span { font-size: .8rem; font-weight: 400; color: var(--muted); font-family: 'DM Sans', sans-serif; }
.ulink { font-size: .85rem; font-weight: 500; color: var(--green); cursor: pointer; }
.ulink:hover { color: var(--green-dark); }
.ucard-soon { opacity: .6; cursor: default; pointer-events: none; }
.ucard-soon::before { background: var(--muted); }
.ulink-soon { color: var(--muted); font-style: italic; }

/* STATS */
.stats { background: var(--black); padding: 64px 2rem; }
.stats-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 3rem; text-align: center; }
.snum { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 600; color: var(--white); line-height: 1; margin-bottom: .5rem; }
.slbl { font-size: .82rem; font-weight: 300; color: rgba(255,255,255,.5); letter-spacing: .02em; }

/* TESTIMONIALS */
.testi { padding: 80px 2rem; background: var(--green-light); }
.testi-inner { max-width: 900px; margin: 0 auto; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.tcard { background: var(--white); border: 1px solid var(--green-mid); border-radius: var(--r); padding: 1.75rem; }
.tquote { font-family: 'Playfair Display', serif; font-size: .975rem; font-style: italic; color: var(--black); line-height: 1.75; margin-bottom: 1.25rem; }
.tauthor { font-size: .78rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tservice { font-size: .75rem; color: var(--green); margin-top: 4px; font-weight: 500; }

/* CTA / FORM */
.ctasec { padding: 80px 2rem; text-align: center; max-width: 640px; margin: 0 auto; }
.ctasec h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 500; color: var(--black); margin-bottom: 1rem; }
.ctasec p { font-size: 1rem; font-weight: 300; color: var(--muted); margin-bottom: 2rem; }
.cform { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 2.5rem; max-width: 540px; margin: 2.5rem auto 0; text-align: left; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.fg { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.fg label { font-size: .72rem; font-weight: 500; color: var(--black); text-transform: uppercase; letter-spacing: .07em; }
.fg input, .fg select, .fg textarea { font-family: 'DM Sans', sans-serif; font-size: .9rem; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; color: var(--black); background: var(--off); outline: none; transition: border-color .2s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--green); background: var(--white); }
.fg textarea { resize: vertical; min-height: 100px; }

/* HOME TRACK RECORD (compressed) */
.home-record { background: var(--off); padding: 80px 2rem; border-top: 1px solid var(--border); }
.home-record-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.home-record .slabel, .home-record .stitle, .home-record .ssub { text-align: center; margin-left: auto; margin-right: auto; }
.home-record-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2.5rem 0 2rem; }
.home-school {
  display: flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: .6rem 1rem;
  transition: box-shadow .2s, transform .2s;
}
.home-school:hover { box-shadow: 0 4px 16px rgba(0,103,75,.08); transform: translateY(-1px); }
.home-school img { height: 24px; width: 24px; object-fit: contain; flex-shrink: 0; }
.home-school-count {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600;
  color: var(--green); line-height: 1; min-width: 22px;
}
.home-school-name { font-size: .82rem; font-weight: 400; color: var(--muted); }
.home-record-link {
  display: inline-block; font-size: .9rem; font-weight: 500; color: var(--green);
  text-decoration: none; margin-top: .5rem; transition: color .2s;
}
.home-record-link:hover { color: var(--green-dark); }

/* FOOTER */
footer { background: var(--black); color: rgba(255,255,255,.4); padding: 2.5rem 2rem; text-align: center; font-size: .8rem; font-weight: 300; line-height: 1.8; }
footer strong { color: rgba(255,255,255,.85); font-weight: 500; }
.footer-email { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-email:hover { color: var(--white); }

/* INNER PAGE HERO */
.ihero { background: var(--green); padding: 64px 2rem 80px; text-align: center; position: relative; overflow: hidden; }
.ihero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.04); }
.ihero .eyebrow { color: rgba(255,255,255,.6); }
.ihero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 500; color: var(--white); margin-bottom: 1rem; line-height: 1.2; position: relative; }
.ihero p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto 2rem; position: relative; }

/* INNER PAGE SECTIONS */
.psec { padding: 72px 2rem; max-width: 1000px; margin: 0 auto; }
.ogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.ocard { border: 1px solid var(--border); border-radius: var(--r); padding: 2rem; background: var(--white); }
.ocard h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 500; color: var(--black); margin-bottom: .6rem; }
.ocard p { font-size: .875rem; font-weight: 300; color: var(--muted); line-height: 1.7; }
.bglight { background: var(--green-light); padding: 72px 2rem; }
.bglight-inner { max-width: 1000px; margin: 0 auto; }
.steps { margin-top: 3rem; display: grid; gap: 1rem; }
.step { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--r); background: var(--white); }
.sn { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 600; color: var(--green); line-height: 1; min-width: 36px; }
.sc h4 { font-weight: 500; font-size: .95rem; color: var(--black); margin-bottom: .4rem; }
.sc p { font-size: .875rem; font-weight: 300; color: var(--muted); line-height: 1.6; }
.pagecta { padding: 72px 2rem; text-align: center; }

/* HAMBURGER BUTTON — hidden on desktop */
.nav-burger { display: none; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  /* Nav */
  nav { height: 72px; padding: 0 1rem; }
  .logo img { height: 60px; }

  /* Hamburger */
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; z-index: 200;
  }
  .nav-burger span {
    display: block; width: 24px; height: 2px; background: var(--black);
    transition: transform .3s, opacity .3s;
  }
  .nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-burger.active span:nth-child(2) { opacity: 0; }
  .nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Mobile nav menu */
  .nav-links {
    display: none !important; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 1.5rem 2rem;
    gap: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.nav-open { display: flex !important; }
  .nav-links a { font-size: 1rem; }
  .nav-cta { text-align: center; display: block; }

  /* Hero */
  .hero { padding: 48px 1.5rem 64px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: .9rem; }
  .hero-actions { flex-direction: column; gap: .75rem; }
  .hero-actions .btn-w, .hero-actions .btn-ol { width: 100%; text-align: center; }

  /* Inner hero */
  .ihero { padding: 48px 1.5rem 60px; }
  .ihero h1 { font-size: 1.6rem; }

  /* Trust marquee */
  .trust { padding: 1rem 0; }
  .trust p { font-size: .65rem; margin-bottom: .5rem; }
  .trust-track span { font-size: .75rem; padding: 0 1rem; }

  /* Sections */
  .section { padding: 48px 1.5rem; }
  .stitle { font-size: 1.4rem; }

  /* Unit cards */
  .units-grid { grid-template-columns: 1fr; }
  .ucard { padding: 1.75rem; }

  /* Stats */
  .stats { padding: 40px 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .snum { font-size: 2rem; }

  /* Testimonials */
  .tgrid { grid-template-columns: 1fr; }

  /* CTA / Form */
  .ctasec { padding: 48px 1.5rem; }
  .cform { padding: 1.5rem; }
  .frow { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 2rem 1.5rem; font-size: .75rem; }
}
