/* =========================================================
   Sci Mike Tutoring — shared stylesheet
   Palette derived from logo: navy / teal / lime green
   ========================================================= */

:root {
  --navy:        #0F2A4A;
  --navy-deep:   #0A1E37;
  --teal:        #1A9AAE;
  --teal-light:  #28B6C8;
  --green:       #8BC53F;
  --green-light: #A4D65E;

  --ink:    #16243a;
  --muted:  #5b6b7f;
  --paper:  #ffffff;
  --mist:   #F4F8FB;
  --line:   #e4ecf3;

  --grad: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
  --grad-deep: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 70%);

  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(15,42,74,.08);
  --shadow:    0 14px 40px rgba(15,42,74,.12);
  --shadow-lg: 0 28px 70px rgba(15,42,74,.22);

  --maxw: 1160px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(58px, 8vw, 110px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.lede { font-size: 1.12rem; max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(26,154,174,.34); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(26,154,174,.45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav .logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--navy); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-deep); color: #fff; overflow: hidden; padding: clamp(70px,10vw,130px) 0 clamp(80px,11vw,140px); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; }
.hero::before { width: 460px; height: 460px; background: radial-gradient(circle, rgba(26,154,174,.55), transparent 65%); top: -140px; right: -120px; }
.hero::after  { width: 420px; height: 420px; background: radial-gradient(circle, rgba(139,197,63,.4), transparent 65%); bottom: -160px; left: -120px; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1, .hero h2 { color: #fff; }
.hero .eyebrow { color: var(--green-light); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero p { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 560px; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); padding: 8px 16px; border-radius: 100px;
  font-size: .85rem; font-family: var(--font-head); margin-bottom: 26px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 4px rgba(164,214,94,.25); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { max-width: 340px; background: #fff; border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg); }

/* hero stats strip */
.hero-stats { display: flex; gap: 38px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat .n { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--green-light); }
.hero-stats .stat .l { font-size: .85rem; color: rgba(255,255,255,.75); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }

/* step card variant */
.step-card { position: relative; overflow: hidden; }
.step-card::after { content: ''; position: absolute; inset: auto -30px -30px auto; width: 120px; height: 120px; background: var(--mist); border-radius: 50%; z-index: 0; }
.step-card > * { position: relative; z-index: 1; }

/* ---------- Program cards ---------- */
.program {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
}
.program:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.program .badge { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); display: grid; place-items: center; }
.program .badge svg { width: 34px; height: 34px; }
.program.muted { opacity: .72; }
.program.muted .badge { background: #c3ccd6; }
.pill { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; background: rgba(139,197,63,.16); color: #5a8a14; margin-left: 10px; vertical-align: middle; }
.pill.soon { background: rgba(91,107,127,.14); color: var(--muted); }
.feat { list-style: none; margin: 16px 0 22px; display: grid; gap: 9px; }
.feat li { position: relative; padding-left: 30px; font-size: .97rem; color: var(--ink); }
.feat li::before { content: ''; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); position: relative;
}
.quote::before { content: '\201C'; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--green); opacity: .25; position: absolute; top: 8px; left: 20px; }
.quote p { color: var(--ink); font-size: 1rem; position: relative; z-index: 1; }
.quote .who { margin-top: 18px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .92rem; }
.quote .who span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.alt { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(30px,5vw,60px); }
.about-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tagbox { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.tag { font-family: var(--font-head); font-weight: 500; font-size: .85rem; padding: 8px 16px; border-radius: 100px; background: var(--mist); color: var(--navy); border: 1px solid var(--line); }

.pullquote { font-family: var(--font-head); font-size: clamp(1.2rem,2.4vw,1.7rem); color: var(--navy); font-weight: 600; line-height: 1.4; border-left: 4px solid; border-image: var(--grad) 1; padding-left: 24px; margin: 8px 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,70px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, rgba(139,197,63,.35), transparent 65%); top: -120px; right: -100px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 16px auto 30px; position: relative; }

/* ---------- Section header ---------- */
.sec-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sec-head p { margin-top: 14px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .logo img { height: 50px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.7); font-size: .95rem; display: block; margin-bottom: 10px; transition: color .2s; }
.site-footer a:hover { color: var(--green-light); }
.socials { display: flex; gap: 14px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0; }
.socials a:hover { background: var(--grad); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.foot-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.flag { color: rgba(255,255,255,.55); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 240px; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .g-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { position: fixed; inset: 78px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease; }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 560px) {
  .g-2, .g-4 { grid-template-columns: 1fr; }
  .program { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
