/* ════════════════════════════════════════════════════════
   A-Line Roof Restorations, Component Styles
   Requires css/tokens.css (loaded first).
   Light, clean, "home / roof protection" theme.
   ════════════════════════════════════════════════════════ */

/* ── Reset / base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--clr-body);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--clr-heading);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}

a { color: var(--clr-brand); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--clr-brand-dk); }

ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* Accessibility: visible focus + skip link */
:focus-visible {
  outline: 3px solid var(--clr-brand);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--clr-ink);
  color: #fff;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; color: #fff; }

/* ── Layout helpers ────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--sp-7); }
.section--bg     { background: var(--clr-bg); }
.section--light  { background: var(--clr-surface); }
.section--tint   { background: var(--clr-brand-tint); }
.section--ink    { background: var(--clr-ink); color: var(--clr-on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

/* ── Section header ────────────────────────── */
.section-header { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: var(--sp-6); }
.section-header--start { text-align: left; margin-inline: 0; }
.section-cta { text-align: center; margin-top: var(--sp-5); }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-brand);
  background: var(--clr-brand-tint);
  border: 1px solid var(--clr-brand-soft);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}
.section--ink .section-tag { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #f4b1ab; }
.section-title { font-size: var(--fs-2xl); font-weight: var(--fw-black); margin-bottom: var(--sp-3); }
.section-sub { font-size: var(--fs-md); color: var(--clr-muted); line-height: var(--lh-body); }
.section--ink .section-sub { color: var(--clr-on-dark-mut); }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  line-height: 1;
  padding: 15px var(--sp-4);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--clr-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--clr-brand-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--clr-ink); border-color: var(--clr-line); }
.btn--ghost:hover { border-color: var(--clr-ink); color: var(--clr-ink); }
.section--ink .btn--ghost, .cta-band .btn--ghost, .hero .btn--ghost {
  color: #fff; border-color: rgba(255,255,255,0.4);
}
.section--ink .btn--ghost:hover, .cta-band .btn--ghost:hover, .hero .btn--ghost:hover {
  border-color: #fff; background: rgba(255,255,255,0.08);
}
/* Hero sits on a photo: scrim behind the ghost CTA so it reads on any sky */
.hero .btn--ghost {
  background: rgba(18,22,26,0.35); border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero .btn--ghost:hover { background: rgba(18,22,26,0.55); border-color: #fff; }
.btn--full { width: 100%; }
.btn--lg { font-size: var(--fs-md); padding: 18px var(--sp-5); }

/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-line);
  transition: box-shadow var(--t-base) var(--ease);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%; }

/* Logo (real brand mark) */
.navbar__logo { display: inline-flex; align-items: center; }
.navbar__logo-img { height: 84px; width: auto; }

/* Desktop nav */
.navbar__nav { display: none; align-items: center; gap: var(--sp-4); }
.navbar__nav > a, .nav-dropdown__btn {
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm);
  color: var(--clr-ink); background: none; border: none; padding: var(--sp-2) 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.navbar__nav > a:hover, .nav-dropdown__btn:hover { color: var(--clr-brand); }
.nav-phone { font-weight: var(--fw-bold) !important; }
.nav-chevron { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 248px; background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: var(--sp-2);
  opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.nav-dropdown.open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown__menu a {
  display: block; padding: 10px var(--sp-3); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: var(--fw-medium); font-size: var(--fs-sm); color: var(--clr-body);
}
.nav-dropdown__menu a:hover { background: var(--clr-brand-tint); color: var(--clr-brand-dk); }

.navbar__cta { display: none; }

/* Scrolled state, subtle lift (nav is solid white by default) */
.navbar--solid { box-shadow: var(--shadow-sm); }

/* Hamburger */
.navbar__hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: none;
}
.hamburger-line { display: block; height: 2.5px; width: 100%; background: var(--clr-ink); border-radius: 2px; transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Mobile nav overlay ────────────────────── */
.navbar__mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--clr-surface);
  padding: var(--sp-4) var(--sp-3) calc(var(--sp-7) + 64px);
  display: flex; flex-direction: column; gap: var(--sp-1);
  transform: translateX(100%); transition: transform var(--t-slow) var(--ease);
  overflow-y: auto;
}
.navbar__mobile.open { transform: translateX(0); }
.mobile-nav__item {
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-md);
  color: var(--clr-ink); padding: var(--sp-3); border-bottom: 1px solid var(--clr-line);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left;
}
.mobile-services-btn .nav-chevron { transition: transform var(--t-base) var(--ease); }
.mobile-services-btn.open .nav-chevron { transform: rotate(180deg); }
.mobile-services-menu { display: none; flex-direction: column; padding: var(--sp-1) 0 var(--sp-2) var(--sp-3); }
.mobile-services-menu.open { display: flex; }
.mobile-services-menu a { padding: 12px var(--sp-2); color: var(--clr-body); font-weight: var(--fw-medium); }
.mobile-nav__call { color: var(--clr-brand) !important; }
.mobile-nav__quote { margin-top: var(--sp-3); justify-content: center; }

/* ── Mobile bottom bar ─────────────────────── */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 98;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--clr-surface); border-top: 1px solid var(--clr-line);
  box-shadow: 0 -4px 20px rgba(31,41,51,0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar__item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; font-family: var(--font-head); font-weight: var(--fw-semi);
  font-size: var(--fs-xs); color: var(--clr-ink); background: none; border: none;
}
.mobile-bar__item svg { width: 20px; height: 20px; }
.mobile-bar__item--quote { color: var(--clr-brand); }
.mobile-bar__item + .mobile-bar__item { border-left: 1px solid var(--clr-line); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--sp-6));
  padding-bottom: var(--sp-7);
  background-image: url("/images/hero-roof.webp");
  background-size: cover;
  background-position: center;
  background-color: var(--clr-ink);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(24,34,43,0.86) 0%, rgba(24,34,43,0.6) 48%, rgba(24,34,43,0.32) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 680px; color: #fff; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-xs);
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; padding: var(--sp-1) var(--sp-3); border-radius: var(--radius-pill);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  margin-bottom: var(--sp-4);
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clr-brand); box-shadow: 0 0 0 4px rgba(192,86,43,0.3); }
.hero__heading {
  color: #fff; font-size: var(--fs-3xl); font-weight: var(--fw-black);
  line-height: 1.07; margin-bottom: var(--sp-3);
}
.hero__heading em { color: #f59a8f; font-style: normal; }
.hero__sub { font-size: var(--fs-md); color: var(--clr-on-dark); max-width: 560px; margin-bottom: var(--sp-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }

.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); }
.trust-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-xs);
  color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 8px var(--sp-3); border-radius: var(--radius-pill);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.trust-badge svg { width: 16px; height: 16px; color: var(--clr-star); flex: none; }

/* Hero quote card (Shine-style) */
.hero__inner { display: grid; gap: var(--sp-5); align-items: center; }
.hero__form-wrap { width: 100%; }
.quote-card {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--sp-5);
}
.quote-card__title { font-size: var(--fs-xl); color: var(--clr-ink); margin-bottom: 4px; }
.quote-card__sub { font-size: var(--fs-sm); color: var(--clr-muted); margin-bottom: var(--sp-4); }
.quote-card .quote-form { gap: var(--sp-3); }

/* ════════════════════════════════════════════
   TICKER BANNER
   ════════════════════════════════════════════ */
.ticker-banner { background: var(--clr-brand); color: #fff; overflow: hidden; padding-block: 14px; }
.ticker-track { display: flex; align-items: center; gap: var(--sp-4); width: max-content; }
.ticker-item {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm);
  white-space: nowrap; color: #fff;
}
.ticker-item svg { width: 18px; height: 18px; color: #ffd9c4; }
.ticker-sep { color: rgba(255,255,255,0.5); font-weight: var(--fw-bold); }

/* ════════════════════════════════════════════
   SERVICES GRID
   ════════════════════════════════════════════ */
.services-grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
}
.service-card {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  display: flex; flex-direction: column; gap: var(--sp-3); height: 100%;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--clr-brand-soft); }
.service-card__icon {
  width: 56px; height: 56px; flex: none; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--clr-brand-tint); color: var(--clr-brand); border: 1px solid var(--clr-brand-soft);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: var(--fs-lg); }
.service-card p { color: var(--clr-muted); font-size: var(--fs-sm); flex: 1; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--clr-brand);
}
.service-card__link svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ════════════════════════════════════════════
   STAGES, pinned stacking cards (Why restore)
   ════════════════════════════════════════════ */
.stages { background: var(--clr-ink); color: var(--clr-on-dark); }
.stages__sticky { padding-block: var(--sp-7); }
.stages__inner { display: block; }
.stages__left { margin-bottom: var(--sp-5); }
.stages__left .section-tag { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #f4b1ab; }
.stages__heading { color: #fff; font-size: var(--fs-2xl); font-weight: var(--fw-black); margin-bottom: var(--sp-3); }
.stages__sub { color: var(--clr-on-dark-mut); font-size: var(--fs-md); margin-bottom: var(--sp-4); }

.stages__cards { position: relative; }
.stage-card {
  background: var(--clr-surface); color: var(--clr-body);
  border: 1px solid var(--clr-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column;
  margin-bottom: var(--sp-4);
}
.stage-card__media { width: 100%; height: 190px; flex: none; }
.stage-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.stage-card__icon {
  width: 52px; height: 52px; flex: none; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--clr-brand-tint); color: var(--clr-brand); border: 1px solid var(--clr-brand-soft);
  margin-bottom: var(--sp-1);
}
.stage-card__icon svg { width: 26px; height: 26px; }
.stage-card__label {
  font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-xs);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-brand); margin-bottom: 4px;
}
.stage-card__title { font-size: var(--fs-lg); color: var(--clr-ink); margin-bottom: var(--sp-2); }
.stage-card__desc { color: var(--clr-muted); font-size: var(--fs-sm); }

/* ════════════════════════════════════════════
   REASONS GRID (Why choose us)
   ════════════════════════════════════════════ */
.reasons-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.reason { display: flex; gap: var(--sp-3); align-items: flex-start; }
.reason__icon {
  width: 46px; height: 46px; flex: none; border-radius: var(--radius-md);
  display: grid; place-items: center; background: var(--clr-brand); color: #fff;
  box-shadow: var(--shadow-brand);
}
.reason__icon svg { width: 22px; height: 22px; }
.reason__content h4 { font-size: var(--fs-md); margin-bottom: 4px; color: var(--clr-ink); }
.reason__content p { color: var(--clr-muted); font-size: var(--fs-sm); }

/* ════════════════════════════════════════════
   CALCULATOR
   ════════════════════════════════════════════ */
.calc-wrap { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.calc {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--sp-5);
}
.calc__title { font-size: var(--fs-lg); margin-bottom: var(--sp-4); }
.calc__inputs { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.calc__field { display: flex; flex-direction: column; gap: 6px; }
.calc__field label {
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm); color: var(--clr-ink);
}
.calc__result {
  margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius-md);
  background: var(--clr-brand-tint); border: 1px solid var(--clr-brand-soft);
}
.calc__line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); padding-block: 6px; font-size: var(--fs-sm); color: var(--clr-body); }
.calc__line span:last-child { font-family: var(--font-head); font-weight: var(--fw-semi); color: var(--clr-ink); }
.calc__line--total { border-top: 1px dashed var(--clr-brand-soft); margin-top: var(--sp-2); padding-top: var(--sp-3); }
.calc__line--total span { font-size: var(--fs-lg); font-weight: var(--fw-black); color: var(--clr-brand-dk); }
.calc__note { font-size: var(--fs-xs); color: var(--clr-muted); margin-block: var(--sp-3) var(--sp-4); }

/* ════════════════════════════════════════════
   REVIEWS CAROUSEL
   ════════════════════════════════════════════ */
.reviews-stage { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.reviews-row { display: contents; }
.review-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: var(--sp-4);
}
.review-card__stars { display: flex; align-items: center; gap: 3px; margin-bottom: var(--sp-2); }
.review-card__stars svg { width: 16px; height: 16px; }
.review-card__stars span {
  margin-left: var(--sp-2); font-family: var(--font-head); font-weight: var(--fw-bold);
  font-size: var(--fs-xs); color: var(--clr-ink);
}
.review-card p { font-size: var(--fs-sm); color: var(--clr-body); }
.reviews-note { text-align: center; font-size: var(--fs-xs); color: var(--clr-muted); margin-top: var(--sp-4); }

/* ════════════════════════════════════════════
   WORK GALLERY (auto-scroll photo reel)
   ════════════════════════════════════════════ */
.photo-reel { overflow: hidden; margin-top: var(--sp-5); }
.photo-reel__track { display: flex; gap: var(--sp-3); width: max-content; }
.photo-reel__item {
  width: 340px; height: 240px; flex: none; border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--clr-line); box-shadow: var(--shadow-sm);
  background: var(--clr-surface);
}
.photo-reel__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════ */
.faqs { display: flex; flex-direction: column; gap: var(--sp-2); }
.faq { background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-md); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4); font-family: var(--font-head); font-weight: var(--fw-semi);
  font-size: var(--fs-md); color: var(--clr-ink);
}
.faq__icon { width: 20px; height: 20px; flex: none; color: var(--clr-brand); transition: transform var(--t-base) var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.faq__a.open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 var(--sp-4) var(--sp-4); color: var(--clr-muted); font-size: var(--fs-sm); }

/* ════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════ */
.cta-band { position: relative; background: var(--clr-brand); color: #fff; padding-block: var(--sp-7); overflow: hidden; }
.cta-band__inner { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; position: relative; z-index: 2; }
.cta-band__text h2 { color: #fff; font-size: var(--fs-2xl); font-weight: var(--fw-black); margin-bottom: var(--sp-2); }
.cta-band__text p { color: rgba(255,255,255,0.9); font-size: var(--fs-md); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cta-band .btn--primary { background: #fff; color: var(--clr-brand-dk); box-shadow: var(--shadow-lg); }
.cta-band .btn--primary:hover { background: var(--clr-ink); color: #fff; }
.cta-band__watermark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); opacity: 0.12; z-index: 1; }
.cta-band__watermark svg { width: 320px; height: 320px; color: #fff; }

/* ════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════ */
.form-card {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--sp-5);
}
.form-card__title { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.form-card__sub { color: var(--clr-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.quote-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.form-row { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label, .form-label--block {
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm); color: var(--clr-ink);
}
input, select, textarea {
  font-family: var(--font-body); font-size: var(--fs-base); color: var(--clr-ink);
  background: var(--clr-bg); border: 1.5px solid var(--clr-line); border-radius: var(--radius-sm);
  padding: 12px var(--sp-3); width: 100%;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
input::placeholder, textarea::placeholder { color: #9aa4ad; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--clr-brand); box-shadow: 0 0 0 3px var(--clr-brand-tint); background: var(--clr-surface);
}
textarea { resize: vertical; min-height: 110px; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.form-checks { display: grid; gap: var(--sp-2); grid-template-columns: 1fr; }
.form-check {
  display: flex; align-items: center; gap: var(--sp-2); min-height: 44px;
  font-family: var(--font-body); font-weight: var(--fw-medium); font-size: var(--fs-sm); color: var(--clr-body);
  background: var(--clr-bg); border: 1.5px solid var(--clr-line); border-radius: var(--radius-sm);
  padding: 10px var(--sp-3); cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.form-check:hover { border-color: var(--clr-brand-soft); }
.form-check input { width: auto; accent-color: var(--clr-brand); }
.form-check:has(input:checked) {
  border-color: var(--clr-brand); background: var(--clr-brand-tint);
  color: var(--clr-brand-dk); font-weight: var(--fw-semi);
}
.form-check:focus-within { border-color: var(--clr-brand); box-shadow: 0 0 0 3px var(--clr-brand-tint); }
.form-disclaimer { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--clr-muted); }
.form-disclaimer svg { width: 16px; height: 16px; flex: none; }
.form-success { text-align: center; padding: var(--sp-4) 0; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.form-success svg { width: 48px; height: 48px; color: var(--clr-success); }
.form-success h3 { color: var(--clr-ink); }
.form-success p { color: var(--clr-muted); font-size: var(--fs-sm); }
.form-error {
  background: #fbecea; border: 1px solid #f0c4bf; color: var(--clr-error);
  border-radius: var(--radius-sm); padding: 12px var(--sp-3); font-size: var(--fs-sm); font-weight: var(--fw-medium);
}

/* ════════════════════════════════════════════
   PAGE HERO (inner pages)
   ════════════════════════════════════════════ */
.page-main { padding-top: var(--nav-h); }
.page-hero { background: var(--clr-ink); color: #fff; padding-block: var(--sp-7); text-align: center; }
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); font-weight: var(--fw-black); margin-bottom: var(--sp-3); }
.page-hero p { color: var(--clr-on-dark-mut); font-size: var(--fs-md); max-width: 640px; margin-inline: auto; }
.breadcrumb { font-size: var(--fs-xs); color: var(--clr-on-dark-mut); margin-bottom: var(--sp-3); }
.breadcrumb a { color: #f4b1ab; }

/* Anchored sections clear the fixed navbar */
[id] { scroll-margin-top: calc(var(--nav-h) + var(--sp-3)); }

/* Prose blocks (about / services copy) */
.prose { max-width: var(--maxw-narrow); margin-inline: auto; }
.prose p { margin-bottom: var(--sp-3); }
.prose h2 { font-size: var(--fs-xl); margin-block: var(--sp-5) var(--sp-3); }

/* Tick lists */
.ticks { display: flex; flex-direction: column; gap: var(--sp-2); margin-block: var(--sp-3); }
.ticks li { display: flex; align-items: flex-start; gap: var(--sp-2); color: var(--clr-body); font-size: var(--fs-sm); }
.ticks svg { width: 20px; height: 20px; color: var(--clr-brand); flex: none; margin-top: 2px; }

/* Service detail blocks (/services/) */
.service-detail { padding-block: var(--sp-6); border-bottom: 1px solid var(--clr-line); display: grid; gap: var(--sp-4); }
.service-detail:last-child { border-bottom: none; }
.service-detail__icon { width: 60px; height: 60px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--clr-brand-tint); color: var(--clr-brand); border: 1px solid var(--clr-brand-soft); }
.service-detail__icon svg { width: 30px; height: 30px; }
.service-detail h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.service-detail p { color: var(--clr-body); }
@media (min-width: 768px) { .service-detail { grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: start; } }

/* Value cards (about) */
.values-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.value-card { background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-lg); padding: var(--sp-5); box-shadow: var(--shadow-sm); }
.value-card__icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--clr-brand-tint); color: var(--clr-brand); border: 1px solid var(--clr-brand-soft); margin-bottom: var(--sp-3); }
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.value-card p { color: var(--clr-muted); font-size: var(--fs-sm); }

/* Contact split */
.contact-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-3); }
.contact-line { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-line__icon { width: 44px; height: 44px; flex: none; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--clr-brand); color: #fff; }
.contact-line__icon svg { width: 20px; height: 20px; }
.contact-line h4 { font-size: var(--fs-sm); color: var(--clr-ink); margin-bottom: 2px; }
.contact-line > div:last-child { min-width: 0; }
.contact-line a, .contact-line p {
  color: var(--clr-body); font-size: var(--fs-md); font-weight: var(--fw-medium);
  overflow-wrap: anywhere;
}
.contact-line a:hover { color: var(--clr-brand); }

/* "What happens next" steps (contact page) */
.contact-steps {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: var(--sp-4); margin-top: var(--sp-2);
}
.contact-steps h3 { font-size: var(--fs-md); color: var(--clr-ink); margin-bottom: var(--sp-3); }
.contact-steps ol { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.contact-steps li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-steps li span {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-xs);
  background: var(--clr-brand-tint); color: var(--clr-brand); border: 1px solid var(--clr-brand-soft);
}
.contact-steps li p { color: var(--clr-body); font-size: var(--fs-sm); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer { background: var(--clr-surface); color: var(--clr-body); padding-top: var(--sp-7); border-top: 1px solid var(--clr-line); }
.footer__cols { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.footer__col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__col h5 {
  font-family: var(--font-head); font-size: var(--fs-sm); color: var(--clr-ink);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-3);
}
/* Link pills (Shine-style), clean red on white */
.footer__col a {
  display: block; width: fit-content; margin-bottom: var(--sp-2);
  color: var(--clr-brand); background: var(--clr-brand-tint);
  border: 1px solid var(--clr-brand-soft); border-radius: var(--radius-pill);
  padding: 9px 18px; font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.footer__col a:hover { background: var(--clr-brand); color: #fff; border-color: var(--clr-brand); }
.footer__divider { border: none; border-top: 1px solid var(--clr-line); margin: var(--sp-6) 0 var(--sp-5); }
.footer__location { font-size: var(--fs-sm); color: var(--clr-muted); text-align: center; }
.footer__social-row { display: flex; justify-content: center; gap: var(--sp-2); margin: var(--sp-4) 0; }
.footer__social-row a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--clr-brand); color: #fff; transition: background var(--t-base) var(--ease);
}
.footer__social-row a:hover { background: var(--clr-brand-dk); }
.footer__social-row svg { width: 20px; height: 20px; }
.footer__bottom-inner {
  display: flex; flex-direction: column; gap: var(--sp-3); align-items: center; text-align: center;
  border-top: 1px solid var(--clr-line); margin-top: var(--sp-4); padding: var(--sp-5) 0;
}
.footer__bottom-inner p { font-size: var(--fs-xs); color: var(--clr-muted); }
.footer__logo { display: inline-block; }
.footer__logo img { height: 64px; width: auto; display: block; }

/* Footer "Areas We Serve" band */
.footer__areas { text-align: center; margin-top: var(--sp-6); }
.footer__areas h5 {
  font-family: var(--font-head); font-size: var(--fs-sm); color: var(--clr-ink);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-3);
}
.footer__areas-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-3); max-width: 760px; margin-inline: auto; }
.footer__areas-links a { color: var(--clr-muted); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.footer__areas-links a:hover { color: var(--clr-brand); }
.footer__areas-all { color: var(--clr-brand); font-family: var(--font-head); font-weight: var(--fw-semi); }

/* ════════════════════════════════════════════
   AREAS / LOCAL SUBURB PAGES
   ════════════════════════════════════════════ */
/* Local intro: prose + roof-profile aside */
.local-intro { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: start; }
.local-intro .prose { max-width: none; margin-inline: 0; }

/* Signature, local roof-profile card */
.local-profile {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--sp-5);
}
.local-profile__head { margin-bottom: var(--sp-4); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--clr-line); }
.local-profile__head .section-tag { margin-bottom: var(--sp-2); }
.local-profile__head h2 { font-size: var(--fs-lg); color: var(--clr-ink); }
.local-profile__list { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.local-profile__row { display: flex; gap: var(--sp-3); align-items: flex-start; }
.local-profile__ico {
  width: 42px; height: 42px; flex: none; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--clr-brand-tint); color: var(--clr-brand); border: 1px solid var(--clr-brand-soft);
}
.local-profile__ico svg { width: 21px; height: 21px; }
.local-profile__label { display: block; font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: 3px; }
.local-profile__val { color: var(--clr-ink); font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: var(--lh-snug); }

/* Nearby-suburb chips */
.area-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); justify-content: center; }
.area-chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm); color: var(--clr-ink);
  background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-pill);
  padding: 10px 18px; box-shadow: var(--shadow-sm);
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.area-chip svg { width: 15px; height: 15px; color: var(--clr-brand); flex: none; }
.area-chip:hover { border-color: var(--clr-brand-soft); color: var(--clr-brand-dk); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Areas grid, homepage section + /areas/ hub */
.areas-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.area-card {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: var(--sp-5);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.area-card:hover { box-shadow: var(--shadow-md); border-color: var(--clr-brand-soft); }
.area-card__name { display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-md); color: var(--clr-ink); }
.area-card__name svg { width: 18px; height: 18px; color: var(--clr-brand); flex: none; }
.area-card__note { color: var(--clr-muted); font-size: var(--fs-sm); flex: 1; }
.area-card__cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--clr-brand); margin-top: var(--sp-1); }
.area-card__cta svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease); }
.area-card:hover .area-card__cta svg { transform: translateX(4px); }

@media (min-width: 960px) {
  .local-intro { grid-template-columns: 1.5fr 1fr; gap: var(--sp-6); }
  .local-profile { position: sticky; top: calc(var(--nav-h) + var(--sp-4)); }
}

/* ════════════════════════════════════════════
   SCROLL REVEAL (CSS + IntersectionObserver)
   ════════════════════════════════════════════ */
.anim-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.anim-reveal--scale { transform: translateY(20px) scale(0.97); }
.anim-reveal--scale-sm { transform: translateY(14px) scale(0.98); }
.anim-reveal.is-visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-checks { grid-template-columns: 1fr 1fr; }
  .form-card { padding: var(--sp-6); }
  .calc__inputs { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .reviews-stage { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .section { padding-block: var(--sp-8); }
  .hero__heading { font-size: var(--fs-4xl); }
  .section-title, .stages__heading, .cta-band__text h2 { font-size: var(--fs-3xl); }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-4); }
  .footer__bottom-inner > p:first-child { text-align: left; }
  .footer__bottom-inner > p:last-child { text-align: right; }

  /* Two-column layout */
  .stages__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: start; }
  .stages__left { position: sticky; top: calc(var(--nav-h) + var(--sp-4)); margin-bottom: 0; }

  /* Pinned stacking, only when JS sets it up (.js-pin), so cards never
     get stuck hidden if GSAP fails to load. */
  /* Image-led cards: photo left, content right */
  .stage-card { flex-direction: row; }
  .stage-card__media { width: 44%; height: auto; }
  .stage-card__body { flex: 1; justify-content: center; }

  .js-pin .stages__sticky { min-height: 100vh; display: flex; align-items: center; }
  .js-pin .stages__cards { min-height: 460px; }
  .js-pin .stage-card { position: absolute; inset: 0; margin-bottom: 0; visibility: hidden; }
  .js-pin .stage-card[data-stage="1"] { visibility: visible; }
}

@media (min-width: 960px) {
  .navbar__nav { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__hamburger { display: none; }
  .navbar__mobile { display: none; }
  .mobile-bar { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-stage { grid-template-columns: repeat(3, 1fr); }
  body { padding-bottom: 0 !important; }

  /* Hero: content + quote card side by side */
  .hero__inner { grid-template-columns: 1.05fr minmax(390px, 0.95fr); gap: var(--sp-6); }
  .hero__content { max-width: 620px; }
}

@media (max-width: 959px) {
  /* leave room for the fixed mobile bottom bar */
  body { padding-bottom: 64px; }
}

@media (min-width: 1024px) {
  .calc-wrap { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .anim-reveal { opacity: 1 !important; transform: none !important; }
  .stage-card { position: relative !important; inset: auto !important; visibility: visible !important; margin-bottom: var(--sp-4) !important; transform: none !important; }
  .stages__cards { min-height: 0 !important; }
  .stages__sticky { min-height: 0 !important; display: block !important; }
}
