/* ============================================================
   callbarker.com — site styles.
   Components translated 1:1 from the design system's
   ui_kits/website JSX (Claude Design project 6d33c2ba).
   Tokens come from /css/ds/styles.css — no raw values here
   unless the UI kit hardcoded them.
   ============================================================ */

/* a11y: DS --text-link (sky-700) is 4.28:1 on paper — just under AA's 4.5.
   One step darker passes everywhere. */
:root { --text-link: var(--sky-800); }

/* a11y: links inside running text must be distinguishable by more than color */
p a, .faq a, .prose a, li a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
.footer-cols a, .footer-cities__row a, .footer-legal a { text-decoration: none; }

/* --- Layout ------------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Buttons (components/forms/Button.jsx) ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-h-md);
  padding: 0 22px;
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-pill);
  border: var(--border-width-strong) solid transparent;
  text-decoration: none;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(var(--hover-lift)); }
.btn:active { transform: scale(var(--press-scale)); }

.btn--sm { height: var(--control-h-sm); padding: 0 16px; font-size: 14px; gap: 6px; }
.btn--lg { height: var(--control-h-lg); padding: 0 30px; font-size: 17px; gap: 10px; }

/* A11y (WCAG AA): orange-600/sky-700 & ink-on-sky pairings — brand hues
   at their accessible steps. Axe-verified; do not lighten for looks. */
.btn--primary { background: var(--orange-600); color: #fff; }
.btn--primary:hover { background: var(--orange-700); box-shadow: var(--shadow-orange); }
.btn--secondary { background: var(--barker-sky); color: var(--ink-900); }
.btn--secondary:hover { background: var(--sky-400); box-shadow: var(--shadow-sky); }
.btn--ink { background: var(--ink-800); color: var(--sand-50); }
.btn--ink:hover { background: var(--ink-900); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--ink-800); border-color: var(--ink-800); }
.btn--outline:hover { background: var(--sand-50); box-shadow: var(--shadow-sm); }
.btn--full { width: 100%; }

/* --- Badge (components/feedback/Badge.jsx usage) ------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 12px;
  padding: 4px 12px;
}
.badge--neutral { background: var(--sand-50); color: var(--ink-700); border: var(--border-width) solid var(--border-default); }
.badge--solid { background: var(--barker-sky); color: var(--ink-900); }

/* Accessible text pairing on light surfaces (a11y) */
.barker-eyebrow { color: var(--orange-600); }

/* --- Rating stars ------------------------------------------- */
.stars { display: inline-flex; align-items: center; gap: 6px; }
.stars svg { display: block; }
.stars__label { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 13px; color: var(--ink-700); }

/* --- StatBlock (components/surfaces/StatBlock.jsx usage) ---- */
.stat { line-height: 1.1; }
.stat__value {
  font-family: var(--font-slab);
  font-weight: var(--fw-bold);
  font-size: var(--text-2xl);
  color: var(--ink-800);
}
.stat--sky .stat__value { color: var(--sky-700); } /* a11y: sky-600 fails AA on paper */
.stat--orange .stat__value { color: var(--barker-orange); }
.stat__label {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Card ---------------------------------------------------- */
.card {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.card--interactive { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.card--interactive:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--shadow-md); }
a.card, a.card:hover { text-decoration: none; color: inherit; }

/* --- PlanCard (components/surfaces/PlanCard.jsx) ------------- */
.plan-card {
  position: relative;
  width: 300px;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.plan-card--recommended {
  border: var(--border-width-strong) solid var(--barker-sky);
  box-shadow: var(--shadow-lg);
}
.plan-card__flag { position: absolute; top: -13px; left: 26px; }
.plan-card__name { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 22px; color: var(--ink-800); }
.plan-card__tagline { font-family: var(--font-body); font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
.plan-card__price-row { display: flex; align-items: baseline; gap: 4px; margin: 16px 0 4px; }
.plan-card__price { font-family: var(--font-slab); font-weight: var(--fw-bold); font-size: 46px; color: var(--barker-orange); line-height: 1; }
.plan-card__period { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 15px; color: var(--text-muted); }
.plan-card__rule { height: 1px; background: var(--border-subtle); margin: 18px 0; }
.plan-card__features { list-style: none; margin: 0 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan-card__features li { display: flex; gap: 10px; font-family: var(--font-body); font-size: 14px; color: var(--ink-700); line-height: 1.4; }
.plan-card__features li svg { flex: none; margin-top: 1px; }
.plan-card .btn { margin-top: 22px; }

/* --- Header (ui_kits/website/SiteHeader.jsx) ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--border-width) solid var(--border-subtle);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.site-header__logo img { height: 40px; display: block; }
.site-header__nav { display: flex; gap: 26px; margin-left: 16px; }
.site-header__nav a {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 14.5px;
  color: var(--ink-700);
}
.site-header__nav a:hover { color: var(--sky-700); text-decoration: none; }
.site-header__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.site-header__phone {
  font-family: var(--font-slab);
  font-weight: var(--fw-bold);
  font-size: 16px;
  color: var(--ink-800);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.site-header__phone svg { color: var(--barker-orange); }
.site-header__phone:hover { text-decoration: none; color: var(--sky-700); }

/* --- Hero (ui_kits/website/Hero.jsx) -------------------------- */
.hero { position: relative; overflow: hidden; background: var(--surface-page); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 56px;
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  background: var(--white);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 8px;
  box-shadow: var(--shadow-xs);
}
.hero h1 {
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.hero h1 .accent { color: var(--sky-700); } /* a11y: brand sky fails contrast even at hero size */
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0 0 28px;
  max-width: 480px;
}
.hero__ctas { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; }
.hero__media { position: relative; }
.hero__blob--sky {
  position: absolute; top: -18px; right: -10px; width: 150px; height: 150px;
  background: var(--sky-100);
  border-radius: 44% 56% 58% 42% / 52% 44% 56% 48%;
}
.hero__blob--orange {
  position: absolute; bottom: -16px; left: -14px; width: 120px; height: 120px;
  background: var(--orange-100);
  border-radius: 56% 44% 42% 58% / 48% 56% 44% 52%;
}
.hero__photo {
  position: relative; z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  aspect-ratio: 4 / 3;
  background: var(--sand-100);
  display: flex; align-items: center; justify-content: center;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__floating {
  position: absolute; z-index: 2; bottom: -22px; left: 22px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 12px;
  box-shadow: var(--shadow-md);
}
.hero__floating-mark {
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: var(--sky-50);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__floating-mark img { width: 30px; }
.hero__floating-title { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 16px; color: var(--ink-800); line-height: 1.1; }
.hero__floating-sub { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 12px; color: var(--text-muted); line-height: 1.1; }

/* --- Section scaffolding -------------------------------------- */
.section { padding: 72px 0; }
.section--card { background: var(--surface-card); border-top: var(--border-width) solid var(--border-subtle); }
.section--ink { background: var(--ink-800); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section__head .barker-eyebrow { display: block; margin-bottom: 12px; }
.section__head h2 { font-size: 40px; letter-spacing: -0.02em; margin: 0 0 12px; }
.section__head p { font-size: 16.5px; color: var(--ink-700); margin: 0; }
.section--ink .section__head h2 { color: #fff; }
.section--ink .section__head p { color: var(--sand-100); }

/* --- Services grid (ui_kits/website/Services.jsx) ------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; gap: 14px; }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 19px; font-weight: var(--fw-extrabold); margin: 8px 0 6px; }
.service-card p { font-size: 14px; line-height: 1.55; color: var(--ink-700); margin: 0; }
.service-card a { color: inherit; }
.service-card a:hover { text-decoration: none; color: var(--sky-700); }

/* --- Membership (ui_kits/website/Membership.jsx) -------------- */
.membership__plans { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; align-items: stretch; }
.membership__fine {
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--sand-300);
  margin-top: 28px;
}

/* --- Reviews band (ui_kits/website/Reviews.jsx) ---------------- */
.reviews__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 36px; flex-wrap: wrap;
}
.reviews__head h2 { font-size: 38px; letter-spacing: -0.02em; margin: 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.review-card { display: flex; flex-direction: column; gap: 14px; }
.review-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-700); margin: 0; flex: 1; }
.review-card__who { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 14px; color: var(--ink-800); }
.review-card__who span { font-weight: var(--fw-semibold); color: var(--text-muted); }
.promises-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.promise svg { color: var(--barker-orange); flex: none; }
.promise span { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 13.5px; color: var(--ink-800); }

/* --- Footer (ui_kits/website/Footer.jsx) ----------------------- */
.site-footer { background: var(--ink-900); color: var(--sand-100); }
.site-footer__inner { padding: 56px 0 36px; }
.footer-cta {
  background: var(--sky-500);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-cta h3 { font-size: 28px; color: var(--ink-900); margin: 0 0 6px; letter-spacing: -0.02em; }
.footer-cta p { font-size: 15.5px; color: var(--ink-800); margin: 0; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand img { height: 84px; margin-bottom: 12px; }
.footer-brand p { font-family: var(--font-slab); font-weight: var(--fw-semibold); font-size: 14px; color: var(--barker-sky); margin: 0; }
.footer-map {
  width: 100%;
  height: 170px;
  border: 0;
  border-radius: var(--radius-md);
  margin-top: 16px;
  display: block;
}
.footer-map__directions {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 13px;
  color: var(--sky-300);
}
.footer-map__directions:hover { color: #fff; text-decoration: none; }
.footer-col__head { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-family: var(--font-body); font-size: 13.5px; color: var(--sand-200); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-cities {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-cities__row { font-family: var(--font-body); font-size: 12.5px; color: var(--sand-300); line-height: 1.8; }
.footer-cities__label {
  font-family: var(--font-slab);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: 11px;
  color: var(--sand-400);
  margin-right: 10px;
}
.footer-cities__row a { color: var(--sand-200); }
.footer-cities__row a:hover { color: #fff; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono); font-size: 12px; color: var(--sand-300);
}
.footer-legal a { color: var(--sand-300); }

/* --- Page hero (inner pages) ----------------------------------- */
.page-hero { padding: 56px 0 48px; background: var(--surface-page); }
.page-hero .barker-eyebrow { display: block; margin-bottom: 12px; }
.page-hero h1 { font-size: 46px; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 720px; }
.page-hero__lead { font-size: 18px; line-height: 1.6; color: var(--ink-700); margin: 0 0 26px; max-width: 640px; }
.page-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Prose (long-form service copy) ----------------------------- */
.prose { max-width: var(--container-narrow); }
.prose h2 { font-size: 32px; letter-spacing: -0.02em; margin: 1.6em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--ink-700); }
.prose ul { color: var(--ink-700); line-height: 1.7; padding-left: 1.2em; }

/* --- Sign/feature cards ------------------------------------------ */
.signs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.sign-card h3 { font-size: 16px; font-weight: var(--fw-extrabold); margin: 0 0 6px; }
.sign-card p { font-size: 13.5px; line-height: 1.55; color: var(--ink-700); margin: 0; }

/* --- Steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  font-family: var(--font-slab);
  font-weight: var(--fw-bold);
  font-size: var(--text-2xl);
  color: var(--barker-sky);
  line-height: 1;
  margin-bottom: 8px;
}
.step h3 { font-size: 17px; margin: 0 0 6px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--ink-700); margin: 0; }

/* --- FAQ ----------------------------------------------------------- */
.faq { max-width: var(--container-narrow); margin: 0 auto; }
.faq details {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: 16px;
  color: var(--ink-800);
  cursor: pointer;
}
.faq details p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-700); }

/* --- Responsive ------------------------------------------------ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .signs-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 36px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .promises-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .site-header__nav { display: none; } /* TODO: mobile menu */
}
@media (max-width: 560px) {
  .hero h1 { font-size: 36px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .signs-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
  .promises-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .section__head h2, .reviews__head h2 { font-size: 30px; }
  .site-header__phone span { display: none; }
}
