:root {
  --blue: #0057ff;
  --blue-dark: #0043cc;
  --blue-light: #eaf2ff;
  --blue-glow: rgba(0, 87, 255, 0.25);
  --ink: #0c1116;
  --ink-soft: #4b5563;
  --bg: #ffffff;
  --bg-tint: #f4f8ff;
  --card: #ffffff;
  --shadow-blue: 0 20px 50px -12px rgba(0, 87, 255, 0.18);
  --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.text-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 87, 255, 0.5);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 36px -8px rgba(0, 87, 255, 0.6);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.15);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-cta-white {
  background: #fff;
  color: var(--blue);
  padding: 18px 40px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.25);
}
.btn-cta-white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 46px -10px rgba(0, 0, 0, 0.3);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  padding: 14px 0;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(15, 23, 42, 0.12);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  font-size: 14px;
  background: #f1f4f9;
  border-radius: 999px;
  padding: 5px;
}
.nav-links a {
  color: var(--ink-soft);
  padding: 8px 18px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.nav-mobile a.active { color: var(--blue); }

.nav-cta { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 20px 24px 28px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  font-weight: 600;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.nav-mobile a { color: var(--ink); }
.nav-mobile.open { display: flex; }
.nav-mobile .btn { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  padding: 122px 24px 68px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%);
  overflow-x: hidden;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.09;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 0 0 16px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 0 24px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-actions .btn-lg {
  padding: 13px 24px;
  font-size: 14.5px;
  width: 150px;
}
.hero-note {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0 0 4px;
}
.hero-phone {
  font-weight: 700;
  color: var(--blue);
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.3px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, rgba(0, 87, 255, 0) 70%);
  filter: blur(10px);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}
.hero-logo {
  position: relative;
  width: min(390px, 74%);
  z-index: 2;
  filter: drop-shadow(0 25px 30px rgba(0, 87, 255, 0.18));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.floating-badge {
  position: absolute;
  top: 18%;
  right: 6%;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-blue);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}
.floating-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 8px;
}
.hero-shadow-oval {
  position: absolute;
  bottom: 6%;
  width: 260px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0, 87, 255, 0.25) 0%, rgba(0, 87, 255, 0) 75%);
  border-radius: 50%;
  z-index: 1;
}
.hero-shadow-label {
  position: absolute;
  bottom: 1%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #9aa7bb;
}

/* ---------- Stats ---------- */
.stats { padding: 0 24px 68px; }
.stats-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -48px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px -12px rgba(0, 87, 255, 0.24);
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.stat-label {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
.section { padding: 90px 24px; max-width: var(--max); margin: 0 auto; }
.section-tint {
  max-width: none;
  background: var(--bg-tint);
  padding-left: 24px;
  padding-right: 24px;
}
.section-tint > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 56px; }
.label-blue {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
  position: relative;
  display: inline-block;
}
.underline {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--blue);
  border-radius: 4px;
  margin: 18px auto 0;
}

/* ---------- Before / After ---------- */
.compare-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.drag-pill {
  display: inline-block;
  background: #fff;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  z-index: 5;
  letter-spacing: 0.3px;
  margin: 0 0 20px;
}
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-blue);
  user-select: none;
  cursor: ew-resize;
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.compare-before-wrap .compare-img {
  max-width: none;
  width: var(--compare-img-w, 100%);
  height: 100%;
}
.compare-tag {
  position: absolute;
  top: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 4;
}
.compare-tag-before { left: 20px; }
.compare-tag-after { right: 20px; }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-2px);
  z-index: 5;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}
.compare-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 8px 20px -6px rgba(0, 87, 255, 0.6);
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}
.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px -6px rgba(0, 87, 255, 0.45);
}
.step-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.step-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ---------- Standards ---------- */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.standard-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.standard-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}
.icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.standard-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.standard-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ---------- Final CTA ---------- */
.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0066ff 0%, #0047d1 100%);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 40px 80px -20px rgba(0, 87, 255, 0.45);
}
.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta-circle-1 { width: 320px; height: 320px; top: -140px; left: -100px; }
.cta-circle-2 { width: 220px; height: 220px; bottom: -100px; right: -60px; }
.cta-circle-3 { width: 140px; height: 140px; bottom: 20px; left: 12%; background: rgba(255,255,255,0.06); }
.cta-title {
  position: relative;
  color: #fff;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 10px;
}
.cta-sub {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0 0 24px;
}
.cta-card .btn-cta-white {
  padding: 14px 30px;
  font-size: 15px;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 60px 24px 50px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.footer-logo { height: 46px; width: auto; margin: 0 auto 16px; }
.footer-phone { font-weight: 700; margin: 0 0 4px; }
.footer-area { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---------- Home-only section/heading proportions ----------
   Scoped via "#home ~" (a sibling combinator anchored on the hero's
   id="home") so these rules can only ever match elements on the Home
   page — About/Book have no #home element, so .section/.section-head
   there are completely unaffected. */
#home ~ .section {
  padding: 64px 24px;
  max-width: 1120px;
}
#home ~ .section-tint {
  padding-top: 64px;
  padding-bottom: 64px;
}
#home ~ .section-tint > * { max-width: 1120px; }
/* Reference screenshots show these three Home section headers
   (Before & after / Three steps, done. / We do it right.) flush against
   the LEFT edge of the content below them (the compare panel, the card
   grid) rather than centered on the page — unlike the final CTA, which
   stays centered (untouched). Constraining section-head to the same
   width as the content grid below it and left-aligning text within that
   (still page-centered) box reproduces that flush-left look. */
#home ~ .section .section-head,
#home ~ .section-tint .section-head {
  max-width: none;
  margin: 0 0 36px;
  text-align: left;
}
#home ~ .section .section-head:has(+ .compare-wrap) {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
#home ~ .section .label-blue,
#home ~ .section-tint .label-blue {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
#home ~ .section .section-title,
#home ~ .section-tint .section-title {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.18;
}
#home ~ .section .underline,
#home ~ .section-tint .underline {
  width: 48px;
  height: 4px;
  margin: 14px 0 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta.nav-cta { display: none; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; min-height: 340px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .steps-grid, .standards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 110px 18px 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 20px 14px; }
  .section { padding: 64px 18px; }
  #home ~ .section { padding: 46px 18px; }
  #home ~ .section-tint { padding-top: 46px; padding-bottom: 46px; }
  .cta-card { padding: 44px 24px; border-radius: 24px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================
   Shared: full-width buttons, icons
   ========================================================== */
.btn-block { width: 100%; }
.btn svg { margin-right: 8px; }

/* ==========================================================
   Page banner (About / Book top banner)
   ========================================================== */
.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0066ff 0%, #0047d1 100%);
  padding: 158px 24px 64px;
  text-align: center;
}
.page-banner-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.pbc-1 { width: 320px; height: 320px; top: -140px; left: -100px; }
.pbc-2 { width: 220px; height: 220px; bottom: -110px; right: -60px; }
.pbc-3 { width: 140px; height: 140px; top: 30%; left: 65%; background: rgba(255, 255, 255, 0.06); }
.page-banner-inner { position: relative; max-width: 640px; margin: 0 auto; }
.page-banner-label {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-banner-title {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.page-banner-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  margin: 0;
}

/* ==========================================================
   About: full-width photo
   ========================================================== */
.about-photo-wrap { line-height: 0; }
.about-photo { width: 100%; max-height: 420px; object-fit: cover; display: block; }

/* ==========================================================
   About: team / story cards
   ========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-blue); }
.team-card.story-card {
  height: 399px;
  display: flex;
  flex-direction: column;
}
.team-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue-light);
}
.team-visual.story-visual { background: linear-gradient(135deg, var(--blue-light), #dce8ff); }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}
.team-visual-note { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.story-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.team-body { padding: 18px 20px 20px; }
.team-name { font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.team-role {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0;
}
.story-card .team-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}
.story-card .team-name { font-size: 16px; margin: 0 0 12px; }
.story-body { display: flex; flex-direction: column; gap: 15px; overflow: hidden; }
.story-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.68; margin: 0; }

/* ==========================================================
   About: promise grid
   ========================================================== */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.promise-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.promise-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 6px; flex-shrink: 0; }
.promise-title { font-weight: 700; font-size: 14.5px; margin: 0 0 4px; }
.promise-text { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* ==========================================================
   About: pricing calculator + price list
   ========================================================== */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.calculator-card,
.price-list-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
}
.calculator-card h3,
.price-list-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 14px; }

.can-buttons { display: flex; gap: 8px; margin-bottom: 18px; }
.can-btn {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.can-btn:hover { border-color: var(--blue); }
.calculator-card .btn-primary { padding: 13px 24px; font-size: 14.5px; }
.can-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(0, 87, 255, 0.45);
}

.total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.total-bar .total-value { font-size: 18px; font-weight: 800; }

.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.addon-label { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.addon-label .price-note { color: var(--ink-soft); font-weight: 500; }

#calcPowerWash.toggle-pair .toggle-btn { padding: 10px 16px; font-size: 13.5px; }

.toggle-pair { display: flex; gap: 10px; }
.toggle-btn {
  flex: 1;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.toggle-btn:hover { border-color: var(--blue); }
.toggle-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue) inset;
  background: var(--blue-light);
}

.micro-note { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 14.5px;
}
.price-list li:last-child { border-bottom: none; }
.price-list li strong { font-weight: 700; }
.badge-best {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
}
.price-divider { height: 1px; background: rgba(15, 23, 42, 0.08); margin: 20px 0; }
.addon-title { font-weight: 700; font-size: 14.5px; color: var(--blue); margin: 0 0 6px; }
.addon-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ==========================================================
   Book: trash-day section
   ========================================================== */
.trash-day-section { max-width: 820px; margin: 0 auto; padding: 56px 24px 20px; }
.weekday-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 24px; }
.weekday-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.weekday-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--blue));
  margin-right: 8px;
  flex-shrink: 0;
}
.trash-map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-blue); }
.trash-map-img { width: 100%; display: block; }

/* ==========================================================
   Book: booking form
   ========================================================== */
.booking-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}

.estimated-total {
  background: var(--blue-light);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.estimated-total-toggle {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.estimated-total-head { display: flex; align-items: center; gap: 12px; }
.estimated-total-text { flex: 1; min-width: 0; }
.estimated-total-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.estimated-total-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.estimated-total-value { font-weight: 800; color: var(--blue); font-size: 16px; white-space: nowrap; }
.estimated-total-icon {
  font-weight: 700;
  color: var(--blue);
  font-size: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}
.estimated-total-detail {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 14px;
  opacity: 1;
}
.estimated-total-detail.collapsed { max-height: 0; opacity: 0; margin-top: 0; }
.estimated-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 4px 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 13px; color: var(--ink); }
.field label .price-note { color: var(--ink-soft); font-weight: 500; }
.field input,
.field select,
.field textarea {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa7bb; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 90px; }
#formPowerWash.toggle-pair .toggle-btn { padding: 10px 16px; font-size: 13.5px; }
#formTip.toggle-pair { flex-wrap: wrap; }
#formTip.toggle-pair .toggle-btn { flex: 1 1 auto; min-width: 64px; padding: 10px 14px; font-size: 13px; }
#requestBookingBtn { padding: 13px 24px; font-size: 14.5px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234b5563' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }

/* ==========================================================
   Responsive: new components
   ========================================================== */
@media (max-width: 980px) {
  .price-grid,
  .team-grid,
  .promise-grid { grid-template-columns: 1fr; }
  /* Stacked single-column layout: the story-card is no longer side-by-
     side with Liam's card, so the fixed height that matches them on
     desktop would just clip the (longer) story-card text at narrower
     widths. Let it size to its own content when stacked. */
  .team-card.story-card { height: auto; }
  .story-body { overflow: visible; }
}

@media (max-width: 560px) {
  .page-banner { padding: 128px 18px 48px; }
  .form-row { grid-template-columns: 1fr; }
  .booking-card { padding: 26px 20px; }
  .calculator-card, .price-list-card { padding: 24px 20px; }
}

/* ---------- About-only container/section/heading scale ----------
   Matches the now-approved Home density (1120px container, 64px
   section padding, tighter heading-group sizing). .section/.section-tint/
   .section-head/.label-blue/.section-title/.underline are shared with
   Book, so these are scoped to fire only when the page's own nav shows
   "About" as the active link — i.e. only on about.html — via a :has()
   check on the header, never matching Book's copy of these classes.

   Direct pixel measurement of the original About screenshots (team /
   promise / pricing sections) shows each label+heading sitting flush
   against the LEFT edge of the card grid below it, in the same 820px
   column as .team-grid/.promise-grid/.price-grid (which are already
   820px, centered). Constraining section-head to that same 820px
   column and left-aligning text within it reproduces that exactly.
   The old ".section-tint > *" rule forcing 1120px on every direct
   child of .section-tint is removed here — it was unintentionally
   overriding .promise-grid's own max-width:820px (a pre-existing
   specificity bug), stretching the promise cards wider than the team
   and pricing cards above/below them. Removing it lets .promise-grid
   fall back to its own correct 820px, matching the other two grids
   and the reference screenshots. No HTML changes, no card/button
   resizing — .team-grid/.promise-grid/.price-grid keep their own
   already-approved 820px width untouched. */
header.nav:has(.nav-links a.active[href="about.html"]) ~ main .section {
  padding: 64px 24px;
  max-width: 1120px;
}
header.nav:has(.nav-links a.active[href="about.html"]) ~ main .section-tint {
  padding-top: 64px;
  padding-bottom: 64px;
}
header.nav:has(.nav-links a.active[href="about.html"]) ~ main .section-head {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: left;
}
header.nav:has(.nav-links a.active[href="about.html"]) ~ main .label-blue {
  display: block;
  margin-bottom: 10px;
}
header.nav:has(.nav-links a.active[href="about.html"]) ~ main .section-title {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.18;
}
header.nav:has(.nav-links a.active[href="about.html"]) ~ main .underline {
  width: 48px;
  margin: 14px 0 0;
}

@media (max-width: 560px) {
  header.nav:has(.nav-links a.active[href="about.html"]) ~ main .section {
    padding: 46px 18px;
  }
  header.nav:has(.nav-links a.active[href="about.html"]) ~ main .section-tint {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}

/* ---------- Book-only container/heading scale ----------
   Same reasoning as the About block above: .section/.section-head/
   .label-blue/.section-title/.underline are shared with Home/About, so
   these fire only on book.html via a :has() check on the nav's active
   link. Matches the approved Home/About density (1120px container,
   64px section padding, tighter heading-group sizing) for the "Your
   info" section only — the trash-day-section heading above it is
   already scoped by its own Book-exclusive class elsewhere.

   Pixel measurement of the original Book screenshots shows "Your info"
   flush against the LEFT edge of the booking card below it (640px
   column, matching .booking-card's own max-width:640px), and
   "MANHATTAN BEACH"/"Find your trash day" flush against the LEFT edge
   of the weekday-pill row and map (820px column, matching
   .trash-day-section's own max-width:820px). The ".section > .section-
   head" child combinator below targets only "Your info" (parent has
   class "section") and deliberately excludes .trash-day-section's own
   heading (parent class is "trash-day-section", not "section"), which
   keeps its own rule right below. The weekday-pill row was previously
   center-justified (.weekday-pills), which put it out of alignment
   with the now-left-aligned heading above it; the reference screenshot
   shows the pills starting at the same left edge as the heading and
   map, so that's corrected too. No HTML changes, no card/pill/map
   resizing. */
header.nav:has(.nav-links a.active[href="book.html"]) ~ main .section {
  padding: 64px 24px;
  max-width: 1120px;
}
header.nav:has(.nav-links a.active[href="book.html"]) ~ main .section > .section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: left;
}
header.nav:has(.nav-links a.active[href="book.html"]) ~ main .label-blue {
  display: block;
  margin-bottom: 10px;
}
header.nav:has(.nav-links a.active[href="book.html"]) ~ main .section-title {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.18;
}
header.nav:has(.nav-links a.active[href="book.html"]) ~ main .underline {
  width: 48px;
  margin: 14px 0 0;
}
.trash-day-section .section-head { text-align: left; }
.trash-day-section .label-blue { display: block; margin-bottom: 10px; }
.trash-day-section .section-title {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.18;
}
.trash-day-section .underline { width: 48px; margin: 14px 0 0; }
.weekday-pills { justify-content: flex-start; }

@media (max-width: 560px) {
  header.nav:has(.nav-links a.active[href="book.html"]) ~ main .section {
    padding: 46px 18px;
  }
}
