/* ============================================================
   Calibrated AI - homepage redesign (taste-skill proof of concept)
   Self-contained. Does NOT touch styles.css or the other pages.
   Dials: VARIANCE 6 / MOTION 3 / DENSITY 4 (redesign - preserve)
   ============================================================ */

:root {
  --bg:          #ffffff;
  --bg-soft:     #edf4f0;  /* warm teal-green tinted neutral, harmonizes with the accent */
  --bg-deep:     #06201a;
  --ink:         #0e1c1b;
  --ink-2:       #34433f;
  --muted:       #586863;
  --faint:       #8aa39d;
  --line:        #e3eae8;
  --line-soft:   #eef3f1;
  --accent:      #0f7b6c;   /* brand bright (warm deep teal-green): borders, icons, marks */
  --accent-strong:#0a5b50;  /* text + button bg: passes WCAG AA on white (7.8:1) */
  --accent-press:#074840;
  --accent-tint: #e4f1ee;
  --accent-tint2:#c6e6dd;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;

  --font-display:'Gabarito', 'Geist', -apple-system, sans-serif;
  --font-sans:   'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --maxw: 1120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(6,40,32,0.06), 0 2px 10px rgba(6,40,32,0.05);
  --shadow-md: 0 6px 18px rgba(6,40,32,0.08), 0 22px 48px rgba(6,40,32,0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent-strong); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0;
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── LAYOUT ───────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 9vw, 116px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 18px;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.018em; line-height: 1.08; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem); color: var(--muted); line-height: 1.6; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  padding: 13px 24px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), box-shadow .2s var(--ease),
              border-color .2s var(--ease), transform .15s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent-press); box-shadow: 0 8px 22px rgba(10,91,80,0.32); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.99); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.18); transform: translateY(-1px); }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.32); }
.btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

.text-link {
  color: var(--accent-strong); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ── HEADER / NAV ─────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(13,20,36,0.02); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 27px; height: 27px; border-radius: 7px;
  background: var(--accent-strong); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: -0.02em;
}
.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { display: inline-block; padding: 8px 13px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); text-decoration: none; border-radius: 7px; transition: color .18s, background .18s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--accent-strong); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; cursor: pointer; position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 17px; height: 1.6px; background: var(--ink);
  transform: translate(-50%,-50%); transition: transform .22s var(--ease), opacity .18s; }
.nav-burger span::before { transform: translate(-50%,-6px); }
.nav-burger span::after  { transform: translate(-50%,6px); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px 460px at 82% -8%, var(--accent-tint) 0%, rgba(226,242,241,0) 62%),
    radial-gradient(640px 460px at 4% 108%, #eaf4f2 0%, rgba(234,244,242,0) 56%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 108px); }
.hero-pill { display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--accent-press);
  background: #fff; border: 1px solid var(--accent-tint2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #1eb47b;
  box-shadow: 0 0 0 3px rgba(30,180,123,0.18); }
.hero h1 { font-size: clamp(2.5rem, 1.7rem + 3vw, 3.7rem); line-height: 1.03; letter-spacing: -0.022em; margin-bottom: 22px; max-width: 13ch; }
.hero h1 .hl { color: var(--accent-strong); }
.hero .lead { max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-figure { position: relative; }
.hero-art {
  background: linear-gradient(168deg, #ffffff, #f3f8f7 70%, #e9f3f1);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-md);
}
.hero-art img { width: 100%; height: auto; display: block; }
.hero-cap { margin-top: 16px; padding: 0 4px; font-size: 13.5px; color: var(--muted); line-height: 1.55; max-width: 44ch; }
.hero-cap b { color: var(--ink); font-weight: 600; }

/* ── STAT STRIP ───────────────────────────────────── */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 36px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat .num { font-family: var(--font-mono); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.stat .num .accent { color: var(--accent-strong); }
.stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* ── SERVICES (asymmetric: sticky head + editorial list) ── */
.svc { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-head { position: sticky; top: 96px; }
.svc-head h2 { margin-bottom: 16px; }
.svc-head .lead { margin-bottom: 22px; }
.svc-list { display: flex; flex-direction: column; }
.svc-item { display: grid; grid-template-columns: 46px 1fr; gap: 20px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line); }
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-mark { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-tint);
  color: var(--accent-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.svc-item h3 { margin-bottom: 7px; }
.svc-item p { color: var(--muted); font-size: 15.5px; margin-bottom: 13px; max-width: 56ch; }
.svc-item .text-link { font-size: 14.5px; }

/* ── METHOD (timeline) ────────────────────────────── */
.method-steps { display: grid; gap: 0; max-width: 880px; }
.method-step { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 30px 0;
  border-bottom: 1px solid var(--line); align-items: start; }
.method-step:first-child { border-top: 1px solid var(--line); }
.method-badge { width: 50px; height: 50px; border-radius: 13px; background: var(--bg-deep); color: #fff;
  font-family: var(--font-mono); display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.method-step h3 { margin-bottom: 7px; }
.method-step p { color: var(--muted); font-size: 16px; max-width: 640px; }

/* ── BEFORE / AFTER ───────────────────────────────── */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch;
  max-width: 960px; margin: 0 auto; }
.ba-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px; }
.ba-before { background: var(--bg-soft); }
.ba-after { background: var(--accent-tint); border-color: var(--accent-tint2); }
.ba-card p { color: var(--ink-2); font-size: 16px; }
.ba-tag { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.ba-before .ba-tag { background: #e5e9f0; color: var(--muted); }
.ba-after .ba-tag { background: var(--accent-strong); color: #fff; }
.ba-arrow { align-self: center; font-size: 24px; color: var(--accent-strong); }
.ba-note { text-align: center; font-size: 13.5px; color: var(--faint); margin-top: 22px; }

/* ── WHY (split + panel) ──────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split h2 { margin-bottom: 16px; }
.split .lead { margin-bottom: 26px; }
.panel { background: linear-gradient(168deg, #f3f7fc, #e9f1fa); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 18px; color: var(--ink-2); font-size: 16px; }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; background: var(--accent-tint); color: var(--accent-strong);
  border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; }
.check-list li b { color: var(--ink); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--accent-strong); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); font-size: 16px; padding: 0 44px 24px 0; margin-top: -4px; }

/* ── CTA BAND ─────────────────────────────────────── */
.cta-wrap { padding: clamp(56px, 8vw, 96px) 0; }
.cta-band { position: relative; overflow: hidden; background: var(--bg-deep);
  border-radius: 22px; padding: clamp(40px, 6vw, 68px) clamp(28px, 5vw, 56px); text-align: center; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 280px at 50% -30%, rgba(15,123,108,0.34), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #b6c2d6; font-size: 1.1rem; max-width: 540px; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer { background: var(--bg-deep); color: #aeb9cc; padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-blurb { font-size: 14.5px; color: #8a97ac; max-width: 280px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: #7b89a0; font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #aeb9cc; text-decoration: none; font-size: 14.5px; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 26px; font-size: 13.5px; color: #7b89a0; }

/* ── REVEAL ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { max-width: 440px; margin: 0 auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(2) ~ .stat { border-top: 1px solid var(--line-soft); }
  .svc { grid-template-columns: 1fr; }
  .svc-head { position: static; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  h2 { font-size: clamp(1.7rem, 1.4rem + 2vw, 2.1rem); }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  /* mobile nav */
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu { position: fixed; inset: 68px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; display: none; }
  .nav-toggle:checked ~ .nav-menu { display: flex; }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: translate(-50%,0) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after  { transform: translate(-50%,0) rotate(-45deg); }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-menu .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-menu .nav-right { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 12px; }
  .nav-menu .btn { width: 100%; justify-content: center; }
}

@media (max-width: 460px) {
  .container { padding: 0 20px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line-soft); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   INTERIOR PAGE COMPONENTS (services, pricing, about, contact, scorecard)
   Migrated to the new design system.
   ============================================================ */

/* section variants */
.section-alt { background: var(--bg-soft); }
.section-sm { padding: clamp(56px, 8vw, 84px) 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 16px; }

/* interior page hero */
.page-head {
  background:
    radial-gradient(700px 360px at 80% -30%, var(--accent-tint) 0%, rgba(233,243,252,0) 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: clamp(58px, 8vw, 88px) 0 clamp(48px, 6vw, 64px);
  text-align: center;
}
.page-head h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 2.9rem); margin-bottom: 14px; letter-spacing: -0.028em; }
.page-head p { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); color: var(--muted); max-width: 600px; margin: 0 auto; }

/* generic card grid (services recap, about values) */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-tint2); }
.card .ico-box {
  width: 46px; height: 46px; border-radius: 11px; background: var(--accent-tint); color: var(--accent-strong);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono);
  font-size: 19px; margin-bottom: 18px;
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* pricing */
.price-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 10px 40px rgba(15,123,108,0.16); }
.price-flag { position: absolute; top: -12px; left: 32px; background: var(--accent-strong); color: #fff; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; padding: 5px 13px; border-radius: 999px; letter-spacing: 0.03em; }
.price-card h3 { font-size: 18px; }
.price-card .price { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 2px; }
.price-card .price small { font-size: 16px; font-weight: 500; color: var(--faint); font-family: var(--font-sans); }
.price-card .price-desc { color: var(--muted); font-size: 15px; margin-bottom: 22px; min-height: 48px; }
.price-card .check-list { margin-bottom: 28px; }
.price-card .check-list li { font-size: 15px; margin-bottom: 13px; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.price-tag-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-strong); background: var(--accent-tint); border-radius: 6px; padding: 7px 12px; margin-bottom: 20px; text-align: center; font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder, .field textarea::placeholder { color: #939fb1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-aside { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.contact-aside .ci { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-aside .ci:last-child { margin-bottom: 0; }
.contact-aside .ci .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent-strong); }
.contact-aside .ci b { font-size: 15px; display: block; margin-bottom: 2px; }
.contact-aside .ci p { font-size: 14px; color: var(--muted); }
.contact-aside .ci a { color: var(--accent-strong); text-decoration: none; }
.form-status { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 500; min-height: 1px; }
.form-status.ok { color: #1a7f4b; }
.form-status.err { color: #c0392b; }

/* book panel */
.book-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--bg-deep); border-radius: var(--r-lg); padding: 30px 34px; margin-bottom: 44px; color: #fff; }
.book-panel .bp-copy { max-width: 560px; }
.book-panel h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.book-panel p { color: #b6c2d6; font-size: 15px; margin: 0; }
.book-panel .btn { flex: none; }

/* scorecard */
.scorecard { max-width: 680px; margin: 0 auto; }
.sc-progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 12px; }
.sc-progress i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent-strong); transition: width .35s var(--ease); }
.sc-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); margin-bottom: 26px; font-weight: 500; }
.sc-q { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 22px; line-height: 1.2; }
.sc-options { display: grid; gap: 12px; }
.sc-option { text-align: left; font: inherit; font-family: var(--font-sans); font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 16px 18px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: border-color .16s, background .16s, transform .12s var(--ease); }
.sc-option:hover { border-color: var(--accent); background: var(--accent-tint); transform: translateY(-1px); }
.sc-option.selected { border-color: var(--accent); background: var(--accent-tint); }
.sc-option .mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: border-color .16s, background .16s; }
.sc-option:hover .mark, .sc-option.selected .mark { border-color: var(--accent-strong); }
.sc-option.selected .mark { background: var(--accent-strong); box-shadow: inset 0 0 0 3px #fff; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.sc-back { font: inherit; font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--muted); background: none; border: none; cursor: pointer; padding: 8px 4px; }
.sc-back:hover { color: var(--accent-strong); }
.sc-back[hidden] { visibility: hidden; }
.sc-hint { font-size: 13px; color: var(--faint); }
.sc-result { text-align: center; }
.sc-ring { width: 168px; height: 168px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; background: conic-gradient(var(--band-strong, var(--accent-strong)) calc(var(--p) * 1%), var(--line) 0); position: relative; }
.sc-ring::before { content: ""; position: absolute; inset: 14px; background: #fff; border-radius: 50%; }
.sc-ring .sc-num { position: relative; font-family: var(--font-display); font-size: 46px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.sc-ring .sc-num small { font-size: 18px; color: var(--faint); font-weight: 500; }
.sc-band { display: inline-block; font-family: var(--font-mono); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--band-strong, var(--accent-strong)); background: var(--band-tint, var(--accent-tint)); padding: 9px 20px; border-radius: 999px; margin-bottom: 18px; box-shadow: 0 4px 16px var(--band-glow, rgba(10,91,80,0.16)); }
/* Per-band tone: ring, pill, and checklist all shift color with the score so the
   "tailored to you" read lands. Stays on-brand (no alarming red for low scores). */
.sc-tone-high { --band-strong: #1f7a4d; --band-tint: #e6f4ec; --band-glow: rgba(31,122,77,0.18); }
.sc-tone-mid  { --band-strong: #0a5b50; --band-tint: #e4f1ee; --band-glow: rgba(10,91,80,0.18); }
.sc-tone-low  { --band-strong: #9a6b00; --band-tint: #fbf1dd; --band-glow: rgba(154,107,0,0.18); }
.sc-result h2 { color: var(--band-strong, var(--ink)); }
.sc-result .check-list li::before { background: var(--band-tint, var(--accent-tint)); color: var(--band-strong, var(--accent-strong)); }
.sc-result h2 { font-size: 30px; margin-bottom: 14px; }
.sc-result .sc-rec { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto 18px; }
.sc-result ul.check-list { text-align: left; max-width: 460px; margin: 0 auto 30px; }
.sc-result .hero-actions { justify-content: center; }
.sc-restart { display: inline-block; margin-top: 22px; font-size: 14px; color: var(--muted); background: none; border: none; cursor: pointer; }
.sc-restart:hover { color: var(--accent-strong); }

/* interior responsive */
@media (max-width: 940px) {
  .price-grid { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grid-3, .grid-2, .price-grid { grid-template-columns: 1fr; }
  .book-panel { flex-direction: column; align-items: flex-start; padding: 26px; }
  .book-panel .btn { width: 100%; justify-content: center; }
  .sc-q { font-size: 21px; }
}

/* capability row (services: Custom Agent Development) */
.agents-head { max-width: 760px; margin-bottom: 48px; }
.agents-head h2 { margin-bottom: 16px; }
.agents-head .lead { margin-bottom: 24px; }
.cap-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cap-item .cap-ico {
  display: inline-flex; width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-tint); color: var(--accent-strong);
  align-items: center; justify-content: center; font-size: 18px; margin-bottom: 15px;
}
.cap-item b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cap-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .cap-row { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 460px) { .cap-row { grid-template-columns: 1fr; } }

/* ── Booking modal: in-page Google scheduler ──────── */
.booking-modal[hidden] { display: none; }
.booking-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.booking-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 32, 26, 0.55);
  backdrop-filter: blur(2px);
  animation: bm-fade .2s var(--ease);
}
.booking-modal__dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 760px;
  height: min(86vh, 820px);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: bm-rise .24s var(--ease);
}
.booking-modal__close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.booking-modal__close:hover { background: var(--bg-soft); transform: scale(1.05); }
.booking-modal__frame { width: 100%; height: 100%; border: 0; display: block; }
body.booking-open { overflow: hidden; }
@keyframes bm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bm-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
  .booking-modal { padding: 0; }
  .booking-modal__dialog { height: 100%; max-width: none; border-radius: 0; }
}
