/* ============ Bayezo — Design System ============ */
:root {
  --navy-900: #071A2B;
  --navy-800: #0B2540;
  --navy-700: #123A5C;
  --navy-100: #E6EEF5;
  --teal-500: #0FB5A6;
  --teal-600: #0C9488;
  --teal-100: #D9F5F2;
  --gold-400: #F2B84B;
  --ink: #16232F;
  --ink-soft: #4A5B6A;
  --bg: #F7FAFC;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(7, 26, 43, 0.08);
  --shadow-lg: 0 20px 60px rgba(7, 26, 43, 0.14);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(7,26,43,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--navy-800); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500));
  display: grid; place-items: center; color: #fff; font-size: 1.05rem; font-weight: 800;
}
.logo span.dot { color: var(--teal-500); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); }
.nav-links a.active { font-weight: 700; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 0.95rem; padding: 13px 26px; border-radius: 12px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(120deg, var(--teal-600), var(--teal-500)); color: #fff; box-shadow: 0 6px 18px rgba(15,181,166,0.35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(15,181,166,0.45); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy-800); border: 1.5px solid rgba(11,37,64,0.2); }
.btn-ghost:hover { border-color: var(--navy-800); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; border-radius: 14px; }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(15,181,166,0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(18,58,92,0.5), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, #0d3050 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 96px 0 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal-500); border-radius: 2px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--teal-500); }
.hero p.lead { margin: 22px 0 34px; font-size: 1.13rem; color: rgba(255,255,255,0.78); max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  width: 300px; border-radius: 40px; padding: 14px;
  background: linear-gradient(160deg, #1b3a57, #0e2439);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.08);
}
.phone-screen { background: var(--bg); border-radius: 30px; overflow: hidden; }
.ps-header { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 22px 18px 18px; }
.ps-header .ps-hello { font-size: 0.72rem; opacity: 0.7; }
.ps-header .ps-name { font-weight: 700; font-size: 1.02rem; }
.ps-body { padding: 14px; display: grid; gap: 10px; }
.ps-card { background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: 0 3px 12px rgba(7,26,43,0.06); }
.ps-card .ps-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.ps-card .ps-amount { font-weight: 800; font-size: 1.15rem; color: var(--navy-800); }
.ps-row { display: flex; justify-content: space-between; align-items: center; }
.ps-pill { font-size: 0.62rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--teal-100); color: var(--teal-600); }
.ps-pill.gold { background: #FCF0D8; color: #B07E1E; }
.ps-progress { height: 6px; border-radius: 6px; background: var(--navy-100); margin-top: 10px; overflow: hidden; }
.ps-progress i { display: block; height: 100%; width: 65%; background: linear-gradient(90deg, var(--teal-600), var(--teal-500)); border-radius: 6px; }
.ps-btn { margin-top: 4px; background: linear-gradient(120deg, var(--teal-600), var(--teal-500)); color: #fff; text-align: center; font-weight: 700; font-size: 0.8rem; padding: 12px; border-radius: 12px; }
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; font-size: 0.78rem; font-weight: 600; color: var(--navy-800);
  display: flex; align-items: center; gap: 10px;
}
.float-chip .fc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-600); font-size: 0.9rem; }
.chip-1 { top: 8%; left: -6%; }
.chip-2 { bottom: 12%; right: -8%; }
.chip-2 .fc-ic { background: #FCF0D8; color: #B07E1E; }

/* ============ Stats bar ============ */
.stats { background: #fff; border-bottom: 1px solid rgba(7,26,43,0.06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; text-align: center; }
.stat h3 { font-size: 1.9rem; font-weight: 800; color: var(--navy-800); letter-spacing: -0.02em; }
.stat h3 span { color: var(--teal-500); }
.stat p { font-size: 0.88rem; color: var(--ink-soft); }

/* ============ Sections ============ */
.section { padding: 90px 0; }
.section-alt { background: #fff; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; color: var(--navy-800); line-height: 1.2; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow); border: 1px solid rgba(7,26,43,0.04); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.section-alt .card { background: var(--bg); box-shadow: none; border: 1px solid rgba(7,26,43,0.07); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 20px; background: var(--teal-100); color: var(--teal-600); }
.card .icon.navy { background: var(--navy-100); color: var(--navy-700); }
.card .icon.gold { background: #FCF0D8; color: #B07E1E; }
.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }

/* Audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.split-card { border-radius: var(--radius-lg); padding: 46px 42px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.split-card h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.split-card p { color: rgba(255,255,255,0.82); margin-bottom: 26px; max-width: 26rem; }
.split-card ul { list-style: none; margin-bottom: 30px; display: grid; gap: 10px; }
.split-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.split-card li::before { content: "✓"; color: var(--teal-500); font-weight: 800; flex: none; }
.split-schools { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); }
.split-parents { background: linear-gradient(150deg, var(--teal-600), #0a7f75 65%, #086b62); }
.split-parents li::before { color: var(--gold-400); }
.split-card .btn { margin-top: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 34px 30px; border: 1px solid rgba(7,26,43,0.06); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 2.4rem; font-weight: 800; color: var(--teal-100); position: absolute; top: 20px; right: 26px; line-height: 1; }
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.step p { font-size: 0.93rem; color: var(--ink-soft); }

/* Comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 18px 22px; text-align: left; font-size: 0.94rem; border-bottom: 1px solid rgba(7,26,43,0.06); }
.compare thead th { background: var(--navy-800); color: #fff; font-weight: 700; font-size: 0.88rem; }
.compare thead th:last-child { background: var(--teal-600); }
.compare td:last-child { background: var(--teal-100); font-weight: 600; color: var(--navy-800); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: var(--ink-soft); }
.compare td:first-child { font-weight: 600; color: var(--navy-800); }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-copy h3 { font-size: 1.55rem; font-weight: 800; color: var(--navy-800); letter-spacing: -0.02em; margin-bottom: 14px; }
.feature-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.feature-copy ul { list-style: none; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink); }
.feature-copy li::before { content: "✓"; color: var(--teal-600); font-weight: 800; flex: none; }
.feature-visual { border-radius: var(--radius-lg); min-height: 300px; background: linear-gradient(150deg, var(--navy-100), #fff); border: 1px solid rgba(7,26,43,0.07); display: grid; place-items: center; padding: 36px; }
.mini-dash { width: 100%; max-width: 380px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mini-dash .md-top { background: var(--navy-800); color: #fff; padding: 14px 18px; font-size: 0.8rem; font-weight: 700; display: flex; justify-content: space-between; }
.mini-dash .md-top span { color: var(--teal-500); }
.mini-dash .md-body { padding: 16px 18px; display: grid; gap: 10px; }
.md-line { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.md-line b { color: var(--navy-800); }
.md-line .ok { color: var(--teal-600); font-weight: 700; }
.md-line .warn { color: #C4841D; font-weight: 700; }

/* Logos strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.logo-chip { padding: 12px 24px; border-radius: 12px; background: #fff; border: 1px solid rgba(7,26,43,0.08); font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); }

/* Quote */
.quote-card { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); color: #fff; padding: 60px; text-align: center; }
.quote-card blockquote { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.5; max-width: 46rem; margin: 0 auto 24px; letter-spacing: -0.01em; }
.quote-card cite { font-style: normal; color: var(--teal-500); font-weight: 700; font-size: 0.95rem; }
.quote-card cite span { display: block; color: rgba(255,255,255,0.6); font-weight: 500; font-size: 0.85rem; }

/* Security */
.sec-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sec-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(7,26,43,0.08); padding: 10px 18px; border-radius: 40px; font-size: 0.85rem; font-weight: 600; color: var(--navy-800); }
.sec-badge::before { content: "🛡"; font-size: 0.9rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-600), var(--teal-500)); border-radius: var(--radius-lg); padding: 70px 60px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 30px; max-width: 34rem; margin-inline: auto; }

/* Values / about */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story { max-width: 46rem; margin: 0 auto; font-size: 1.08rem; color: var(--ink-soft); display: grid; gap: 20px; }
.story strong { color: var(--navy-800); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-800); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(7,26,43,0.12);
  font-family: var(--font); font-size: 0.95rem; color: var(--ink); background: var(--bg); transition: border .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal-500); }
.contact-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy-800); margin: 24px 0 6px; }
.contact-info p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.65); padding: 70px 0 34px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid .logo { color: #fff; margin-bottom: 16px; }
.footer-grid p { font-size: 0.9rem; max-width: 20rem; }
.footer-grid h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { font-size: 0.9rem; transition: color .2s; }
.footer-grid a:hover { color: var(--teal-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }

/* ============ Page hero (inner pages) ============ */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 70%, #0d3050); color: #fff; padding: 84px 0; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; max-width: 40rem; }
.page-hero p { margin-top: 18px; font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 36rem; }
.page-hero .hero-ctas { margin-top: 30px; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 80px; }
  .phone-wrap { margin-top: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps, .values-grid { grid-template-columns: 1fr 1fr; }
  .split, .grid-2, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid rgba(7,26,43,0.08); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .steps, .values-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .split-card, .quote-card, .cta-band, .form-card { padding: 34px 26px; }
  .float-chip { display: none; }
  .compare { display: block; overflow-x: auto; }
}
