/* Hallmark · genre: trades · macrostructure: Banded · theme: brand-locked (teal #0f5b78 / orange #f97316) · enrichment: real-photos · display-font: Poppins · nav: N1 · footer: Ft1 */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V4 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');
@import url('/assets/css/tokens.css');

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  color: inherit;
  overflow-wrap: anywhere;
  min-width: 0;
}
h1 { font-weight: 800; }
h2, h3, h4 { font-weight: 700; }
p { margin: 0 0 var(--space-md); }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
ul, ol { margin: 0 0 var(--space-md); padding-left: 1.15em; }
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-ink); color: #fff; padding: var(--space-sm) var(--space-md);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout: bands + container ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-lg); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-3xl); }
.section--tight { padding-block: var(--space-2xl); }

.band--paper  { background: var(--band-paper);  color: var(--band-paper-ink); }
.band--tint   { background: var(--band-tint);   color: var(--band-tint-ink); }
.band--tint2  { background: var(--band-tint2);  color: var(--band-tint2-ink); }
.band--brand  { background: var(--band-brand);  color: var(--band-brand-ink); }
.band--accent { background: var(--band-accent); color: var(--band-accent-ink); }
.band--dark   { background: var(--band-dark);   color: var(--band-dark-ink); }
.band--brand a, .band--dark a { color: #fff; }
/* Inline prose links on the orange accent band need dark ink (white/teal on orange fails WCAG). */
.band--accent a:not(.btn) { color: var(--color-accent-ink); text-decoration: underline; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-base);
  line-height: 1.1; text-align: center; text-decoration: none; white-space: nowrap;
  padding: 0.85em 1.5em; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--secondary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-border-strong); }
.btn--outline:hover { border-color: var(--color-primary); background: var(--color-surface); }
.btn--on-photo { background: #fff; color: var(--color-ink); }
.btn--on-photo:hover { background: var(--color-surface); transform: translateY(-2px); }
.btn--lg { font-size: var(--text-lg); padding: 0.95em 1.8em; }
.btn--block { width: 100%; }

/* ---------- Eyebrow + section head ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-text); margin-bottom: var(--space-sm);
}
.band--brand .eyebrow, .band--dark .eyebrow { color: var(--color-secondary-soft); }
.section-head { max-width: 40rem; margin-bottom: var(--space-2xl); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--text-3xl); }
.section-head p { font-size: var(--text-lg); color: var(--color-muted); margin-bottom: 0; }
.band--brand .section-head p, .band--dark .section-head p { color: var(--color-on-dark-soft); }

/* ---------- Header / nav (N1 + phone CTA) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--color-border); }
.nav { display: flex; align-items: center; gap: var(--space-lg); min-height: 88px; }
.nav__brand { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--color-ink); text-decoration: none; letter-spacing: -0.02em; line-height: 1.05; }
.nav__brand svg { flex: none; }
.nav__brand span { max-width: 12ch; }
.nav__logo { height: 68px; width: auto; display: block; }
@media (max-width: 480px) { .nav__logo { height: 54px; } }
.nav__spacer { flex: 1; }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__links a { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); text-decoration: none; padding: 0.4em 0; }
.nav__links a:hover { color: var(--color-primary); }
.nav__has-menu > button { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.4em 0; }
.nav__has-menu > button:hover { color: var(--color-primary); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 270px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: var(--space-xs); list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
}
.nav__has-menu:hover .nav__menu, .nav__has-menu:focus-within .nav__menu, .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 0.65em 0.85em; border-radius: var(--radius-sm); font-weight: 600; }
.nav__menu a:hover { background: var(--color-surface); color: var(--color-primary); }
.nav__phone { display: inline-flex; align-items: center; gap: 0.5em; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); text-decoration: none; padding: 0.7em 1.15em; border-radius: var(--radius-pill); white-space: nowrap; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.nav__phone:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.nav__toggle { display: none; }
/* Mobile menu is hidden by default at every width; only the <=860px toggle can open it. */
.nav__mobile { display: none; }
.nav__mobile.is-open { display: block; }

/* ---------- Hero (H10 overlay-scrim) ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,36,48,0.62) 0%, rgba(7,36,48,0.72) 55%, rgba(7,36,48,0.86) 100%);
}
.hero__inner { padding-block: var(--space-2xl); max-width: 46rem; }
.hero__trustline { display: inline-flex; align-items: center; gap: 0.6em; flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); padding: 0.45em 1em; border-radius: var(--radius-pill); margin-bottom: var(--space-md); }
.hero h1 { font-size: clamp(2rem, 4.4vw, 2.75rem); margin-bottom: var(--space-sm); text-shadow: 0 2px 20px rgba(7,36,48,0.35); }
.hero__sub { font-size: var(--text-lg); color: #eaf3f6; max-width: 34rem; margin-bottom: var(--space-lg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.hero__proof { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-2xl); }
.hero__proof div { display: flex; flex-direction: column; }
.hero__proof b { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); line-height: 1; }
.hero__proof span { font-size: var(--text-sm); color: var(--color-secondary-soft); }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); text-align: center; }
.stats__item b { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); color: var(--color-primary); line-height: 1; }
.band--brand .stats__item b, .band--dark .stats__item b { color: #fff; }
.stats__item span { font-size: var(--text-sm); color: var(--color-muted); }
.band--brand .stats__item span, .band--dark .stats__item span { color: var(--color-on-dark-soft); }

/* ---------- Service card grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-xl); text-decoration: none; color: var(--color-ink);
  box-shadow: var(--shadow-sm); transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-border-strong); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--color-surface-alt); color: var(--color-primary); margin-bottom: var(--space-md); }
.card h3 { font-size: var(--text-xl); margin-bottom: var(--space-xs); }
.card p { color: var(--color-muted); font-size: var(--text-sm); margin-bottom: var(--space-md); }
.card__more { margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--color-primary); display: inline-flex; align-items: center; gap: 0.35em; }
.card:hover .card__more { gap: 0.6em; }
/* Feature card spans a wider tile so the grid is not 3 identical tiles (gate 3) */
.card--feature { grid-column: span 2; }
@media (max-width: 900px) { .card--feature { grid-column: auto; } }
/* Photo-top service card */
.card--photo { padding: 0; overflow: hidden; }
.card--photo .card__media { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-surface-alt); }
.card--photo .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-mid) var(--ease-out); }
.card--photo:hover .card__media img { transform: scale(1.04); }
.card--photo .card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-lg) var(--space-xl) var(--space-xl); }
.card--photo h3 { margin-bottom: var(--space-xs); }

/* GoHighLevel form embed */
.ghl-embed { width: 100%; max-width: 700px; margin-inline: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.ghl-embed iframe { width: 100%; min-height: 660px; border: 0; display: block; }

/* ---------- Split (owner / why-us / image-text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-2xl); align-items: center; }
.split--flip .split__media { order: -1; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split__body h2 { font-size: var(--text-3xl); }
.owner-quote { border-left: 4px solid var(--color-accent); padding-left: var(--space-lg); margin: var(--space-lg) 0; font-size: var(--text-lg); font-style: italic; color: var(--color-ink); }
.owner-sign { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); }
.checklist { list-style: none; padding: 0; margin: var(--space-lg) 0; display: grid; gap: var(--space-sm); }
.checklist li { position: relative; padding-left: 2em; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4em; height: 1.4em; display: inline-flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-accent-ink); border-radius: 50%; font-size: 0.8em; font-weight: 800; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.review { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-xl); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review__stars { color: var(--color-star); font-size: var(--text-lg); letter-spacing: 1px; margin-bottom: var(--space-sm); }
.review__quote { font-size: var(--text-base); margin: 0 0 var(--space-md); }
.review__by { margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); }
.review__by span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--color-muted); }

/* ---------- Service-area list ---------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm) var(--space-lg); list-style: none; padding: 0; margin: 0; }
.areas a { display: flex; align-items: center; gap: 0.5em; padding: 0.7em 0.9em; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-sm); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.areas a:hover { background: rgba(255,255,255,0.2); }
/* Light-band variant: ink text on a surface chip (for paper/tint bands) */
.areas--light a { background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-ink); }
.areas--light a:hover { background: var(--color-surface-alt); border-color: var(--color-border-strong); }

/* ---------- Final CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-4xl); margin-bottom: var(--space-sm); }
.cta-band p { font-size: var(--text-lg); max-width: 38rem; margin-inline: auto; margin-bottom: var(--space-xl); }
.cta-band .btn--secondary { background: var(--color-ink); color: #fff; }
.cta-band .btn--secondary:hover { background: #041a22; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: var(--text-sm); color: var(--color-muted); padding-block: var(--space-md) 0; }
.crumbs a { color: var(--color-muted); }
.crumbs a:hover { color: var(--color-primary); }

/* ---------- Prose (service page body) ---------- */
.prose { max-width: var(--container-narrow); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); }
.prose h3 { font-size: var(--text-xl); margin-top: var(--space-xl); }
.prose ul { display: grid; gap: var(--space-xs); }

/* ---------- Steps (genuine process only) ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: var(--space-lg) 0 0; display: grid; gap: var(--space-lg); }
.steps li { counter-increment: step; position: relative; padding-left: 3.6em; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4em; height: 2.4em; display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; border-radius: 50%; font-family: var(--font-display); font-weight: 800; }
.steps h3 { margin: 0 0 0.2em; font-size: var(--text-lg); }
.steps p { margin: 0; color: var(--color-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: var(--container-narrow); display: grid; gap: var(--space-sm); }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md) var(--space-lg); box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--color-accent); font-size: 1.4em; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { margin-bottom: var(--space-sm); }

/* ---------- Contact form ---------- */
.form { display: grid; gap: var(--space-md); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-2xl); box-shadow: var(--shadow-md); }
.form label { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); display: grid; gap: 0.35em; }
.form input, .form textarea, .form select { font-family: var(--font-body); font-size: var(--text-base); padding: 0.75em 0.9em; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); background: var(--color-surface); }
.form input:focus, .form textarea:focus, .form select:focus { background: #fff; }

/* ---------- Footer (Ft1 mast) ---------- */
.site-footer { background: var(--band-dark); color: var(--color-on-dark); }
.site-footer a:not(.btn) { color: var(--color-on-dark-soft); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--space-2xl); padding-block: var(--space-3xl) var(--space-2xl); }
.footer__brand-name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: #fff; margin-bottom: var(--space-sm); }
.footer__col h4 { font-family: var(--font-display); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); margin-bottom: var(--space-md); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55em; }
.footer__contact p { margin-bottom: 0.4em; color: var(--color-on-dark-soft); }
.footer__contact strong { color: #fff; }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.14); padding-block: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); justify-content: space-between; font-size: var(--text-sm); color: var(--color-on-dark-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split--flip .split__media { order: 0; }
}
@media (max-width: 860px) {
  .nav__links, .nav__phone.nav__phone--desktop { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; color: var(--color-ink); }
  .mobile-menu { position: fixed; inset: 88px 0 0; background: #fff; z-index: 90; padding: var(--space-lg); overflow-y: auto; border-top: 1px solid var(--color-border); }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25em; }
  .mobile-menu a { display: block; padding: 0.85em 0.5em; font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid var(--color-border); color: var(--color-ink); text-decoration: none; }
  .mobile-menu .btn { margin-top: var(--space-lg); }
  .mobile-menu__heading { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); margin: var(--space-lg) 0 var(--space-xs); }
}
@media (max-width: 640px) {
  :root { --text-display: 2.7rem; --text-4xl: 2.2rem; --text-3xl: 1.9rem; --text-2xl: 1.55rem; }
  .section { padding-block: var(--space-2xl); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
  .cards, .reviews, .areas { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding-block: var(--space-3xl); }
  .hero__cta .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .container { padding-inline: var(--space-md); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .card:hover, .btn:hover { transform: none; }
}
