/* ==========================================================================
   Johnny Gonzalez Plumbing Inc — one-page site
   Brand: black + copper (from the company's actual logo), executed with a
   modern surface system: charcoal elevation steps, soft shadows, restrained
   accent use, real photography.
   Type: Anton (hero only) / Libre Franklin (everything else).
   ========================================================================== */

:root {
  --bg: #141414;
  --surface-1: #1d1d1d;
  --surface-2: #262626;
  --white: #f5f4f1;
  --white-soft: rgba(245, 244, 241, 0.72);
  --white-faint: rgba(245, 244, 241, 0.45);
  --copper: #c87f45;
  --copper-bright: #e0a368;
  --copper-deep: #8a4f24;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --ink: #1b1b1b;
  --ink-soft: #56524b;
  --hairline: rgba(245, 244, 241, 0.09);
  --hairline-dark: rgba(27, 27, 27, 0.12);

  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;

  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-light: 0 2px 10px rgba(27, 27, 27, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

/* The [hidden] attribute must always win over component display rules
   (e.g. .mobile-nav and .booking-form are display:flex). Without this, a
   `hidden` element with its own display value stays visible. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--copper); color: var(--bg); }

/* dark-aware scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--copper-deep); }

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h2, h3 {
  font-family: var(--font-body);
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--copper-bright); }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
.svg-defs { position: absolute; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

/* skip-to-content link — off-screen until focused, then slides into view */
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--copper);
  color: #161007;
  font-weight: 700;
  padding: 0.7em 1.1em;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: none; }

/* JG monogram pipe material — layered strokes build cylindrical copper shading */
.jg-pl { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.jg-p1 { stroke: #3b1f0a; stroke-width: 34; }
.jg-p2 { stroke: #6f3d1b; stroke-width: 29; }
.jg-p3 { stroke: #b3672f; stroke-width: 23; }
.jg-p4 { stroke: #d99352; stroke-width: 13; }
.jg-p5 { stroke: #f7cf96; stroke-width: 5.5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 0.75em 1.5em;
  cursor: pointer;
  transition: background-color 0.15s ease, filter 0.15s ease, color 0.15s ease;
}
.btn svg { width: 1.05em; height: 1.05em; }

.btn-copper { background: var(--copper); color: #161007; }
.btn-copper:hover { filter: brightness(1.12); }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(245, 244, 241, 0.55); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--copper-bright); color: var(--copper-bright); }
.btn-dark { background: var(--bg); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { color: var(--copper-bright); }
.btn-lg { font-size: 1.02rem; padding: 0.9em 1.8em; }
.btn-block { width: 100%; }

/* ---------- utility bar ---------- */
.utility-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--copper);
  color: #161007;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
}
.utility-bar p { margin: 0; }
.utility-phone { color: #161007; font-weight: 800; text-decoration: none; }
.utility-phone:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); }
.brand-mark { width: 50px; height: 37px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand-text em { font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-bright); }

.site-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-nav a { position: relative; color: var(--white-soft); text-decoration: none; font-weight: 600; font-size: 0.93rem; transition: color 0.15s ease; }
.site-nav a:hover { color: var(--white); }
/* scroll-spy: the section currently in view */
.site-nav a.is-active { color: var(--white); }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
}

.header-actions { display: flex; gap: 0.6rem; align-items: center; }
.header-phone { font-variant-numeric: tabular-nums; }

/* hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: sticky;
  top: 61px;
  z-index: 49;
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border-bottom: 1px solid var(--hairline);
  padding: 0.5rem 1rem 1rem;
}
.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav-cta { color: var(--copper-bright); }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #181818, var(--bg) 70%); overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  top: -25%;
  right: -12%;
  width: 55%;
  height: 85%;
  background: radial-gradient(closest-side, rgba(200, 127, 69, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-bottom: 1.1rem;
}

.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  color: var(--white);
  max-width: 52ch;
  margin-bottom: 1.8rem;
}

.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.8rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-soft);
  align-items: center;
}
.trust-link { color: var(--white-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; }
.trust-link:hover { color: var(--white); }
.g-logo { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* hero photo card */
.hero-side { display: flex; flex-direction: column; gap: 1rem; }
.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-1);
  box-shadow: var(--shadow-2);
}
.hero-photo img { width: 100%; height: clamp(300px, 38vw, 420px); object-fit: cover; object-position: 50% 45%; }
.hero-photo figcaption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white-faint);
  padding: 0.65rem 1rem;
  background: var(--surface-1);
}
.emergency-card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-1);
}
.emergency-card p { margin-bottom: 0.8rem; color: var(--white-soft); }
.emergency-card strong { color: var(--white); }

/* ---------- generic section ---------- */
.section { padding: clamp(3.5rem, 6.5vw, 5.5rem) clamp(1rem, 4vw, 2.5rem); }
/* Skip rendering (layout + paint) of off-screen sections until scrolled near,
   cutting initial render cost. contain-intrinsic-size reserves space so the
   scrollbar stays stable; `auto` remembers each section's real size once shown.
   Excludes the above-fold hero and the booking section (reveal panel + form). */
.services, .why-us, .reviews, .service-area, .faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.section-head { max-width: var(--max-w); margin: 0 auto 2.4rem; text-align: center; }
.section-head-left { text-align: left; }
.section-sub { color: var(--ink-soft); font-size: 1.02rem; max-width: 58ch; margin-bottom: 0; }
.section-head-left .section-sub { margin-left: 0; }
.section-head:not(.section-head-left) .section-sub { margin-left: auto; margin-right: auto; }

/* light band */
.band-light { background: var(--paper); color: var(--ink); }
.band-light h2, .band-light h3 { color: var(--ink); }

/* ---------- services (bento grid, dark cards on light) ---------- */
.services .section-head-left { max-width: var(--max-w); }
.card-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.service-card {
  background: var(--surface-1);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-light);
}
.card-featured { grid-column: span 2; background: var(--surface-2); }
.card-featured h3 { font-size: 1.35rem; }
.card-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.card-cta h3 { margin-top: 0; }
.card-cta p { margin-bottom: 1rem; }
.card-cta .btn { margin-top: auto; }
.service-card h3 { color: var(--white); margin: 0.9rem 0 0.35rem; }
.service-card p { margin: 0; color: var(--white-soft); font-size: 0.93rem; }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(200, 127, 69, 0.16);
  color: var(--copper-bright);
  display: grid;
  place-items: center;
}
.service-icon svg { width: 24px; height: 24px; }

/* ---------- why us (dark, with photo) ---------- */
.why-us { background: var(--bg); }
.why-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.why-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--surface-1);
}
.why-photo img { width: 100%; height: clamp(320px, 42vw, 480px); object-fit: cover; object-position: 50% 25%; }
.why-photo figcaption { font-size: 0.8rem; font-weight: 600; color: var(--white-faint); padding: 0.65rem 1rem; background: var(--surface-1); }

.why-copy h2 { color: var(--white); }
.why-copy > p { color: var(--white-soft); max-width: 58ch; }
.why-list { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 0.8rem; }
.why-list li { color: var(--white-soft); padding-left: 1.6rem; position: relative; }
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--copper);
}
.why-list strong { color: var(--white); font-weight: 700; }

/* ---------- reviews (light) ---------- */
.reviews-head-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.55em;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  vertical-align: middle;
  margin-left: 0.8em;
  padding: 0.35em 0.8em;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-light);
  letter-spacing: 0;
}
.reviews-head-link:hover { color: var(--ink); }

.review-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
}
.review-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
}
.review-stars { margin-bottom: 0.8rem; }
.review-stars svg { width: 102px; height: 19px; }
.review-card blockquote { margin: 0 0 1.1rem; font-size: 0.99rem; line-height: 1.55; color: var(--ink); flex: 1; }
.review-card figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.review-card figcaption strong { font-size: 0.93rem; color: var(--ink); }
.review-card figcaption span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- service area (dark, with map) ---------- */
.service-area { background: var(--bg); border-top: 1px solid var(--hairline); }
.area-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.area-copy h2 { color: var(--white); }
.area-copy p { color: var(--white-soft); max-width: 52ch; }
.area-note { font-weight: 600; }
.area-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--surface-1);
  line-height: 0;
}
.area-map iframe { width: 100%; height: clamp(300px, 34vw, 400px); border: 0; filter: grayscale(0.65) contrast(1.04); }
/* click-to-load map facade — no 3rd-party request until tapped */
.map-facade {
  width: 100%;
  height: clamp(300px, 34vw, 400px);
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  color: var(--white);
  background-color: var(--surface-1);
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 34px 34px;
  transition: background-color 0.15s ease;
}
.map-facade:hover { background-color: var(--surface-2); }
.map-facade-pin { width: 46px; height: 46px; color: var(--copper); }
.map-facade-title { font-weight: 700; font-size: 1.08rem; }
.map-facade-sub { font-size: 0.85rem; color: var(--white-soft); }

/* ---------- FAQ (light, native details accordion) ---------- */
.faq .section-head-left { max-width: var(--max-w); }
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-light); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--copper);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--copper-deep); font-weight: 600; }

/* ---------- booking (dark) ---------- */
.booking { background: var(--bg); border-top: 1px solid var(--hairline); }
.booking-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.booking-copy h2 { color: var(--white); }
.booking-copy > p { color: var(--white-soft); max-width: 46ch; }
.booking-alt { margin-top: 2rem; background: var(--surface-1); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.booking-alt p { margin-bottom: 0.8rem; color: var(--white-soft); }
.booking-alt strong { color: var(--white); }
.booking-alt-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.booking-panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink);
}

.booking-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label, .urgency-field legend { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  /* Booking panel is a light card — keep native control UI (date picker,
     select popup, autofill) light to match, not the page's dark scheme. */
  color-scheme: light;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--hairline-dark);
  border-radius: var(--radius-sm);
  padding: 0.7em 0.85em;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(27, 27, 27, 0.35); }
.form-field textarea { resize: vertical; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(200, 127, 69, 0.25);
}
.chip input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 1px; }
.form-field input.field-error,
.form-field select.field-error { border-color: #b3261e; background: #fdf3f2; }
.urgency-options.field-error .chip span { border-color: #b3261e; background: #fdf3f2; }
/* per-field error message (WCAG 3.3.3 error suggestion) — hidden until populated */
.field-error-msg { display: block; color: #b3261e; font-size: 0.82rem; font-weight: 600; margin-top: 0.2rem; }
.field-error-msg:empty { display: none; }

.urgency-field { border: 0; padding: 0; margin: 0; }
.urgency-options { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.45rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  border: 1.5px solid var(--hairline-dark);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  font-weight: 600;
  font-size: 0.92rem;
  background: #fff;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip-icon { width: 1em; height: 1em; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip:first-child input:checked + span { background: var(--copper); border-color: var(--copper); color: #161007; }

.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin: -0.3rem 0 0; }
.form-status { font-size: 0.88rem; font-weight: 700; text-align: center; margin: 0; min-height: 1.2em; }
.form-status.error { color: #b3261e; }

#booking-submit[disabled] { opacity: 0.65; cursor: wait; }

/* success card */
.booking-success { text-align: center; padding: 1.5rem 0.5rem; }
.booking-success h3 { color: var(--ink); font-size: 1.5rem; }
.booking-success h3:focus { outline: none; }
.success-badge {
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #2c7a4b;
  color: #fff;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
}
.success-emergency { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1.2rem; }
.success-emergency a { font-weight: 800; color: var(--copper-deep); }

/* GHL calendar slot (filled by script.js when configured) */
#ghl-calendar-slot iframe { width: 100%; min-height: 640px; border: none; border-radius: var(--radius-sm); }

/* ---------- footer ---------- */
.site-footer {
  background: #101010;
  color: var(--white-soft);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) 5.5rem;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-logo { width: 130px; height: auto; border-radius: 10px; margin-bottom: 1rem; }
.footer-license a { color: var(--copper-bright); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.footer-license a:hover { text-decoration: underline; }
.footer-head { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-bright); margin-bottom: 0.6rem; }
.site-footer a { color: var(--white); }
.footer-col nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col nav a { text-decoration: none; color: var(--white-soft); }
.footer-col nav a:hover { color: var(--white); }
.site-footer p { margin: 0 0 0.35rem; font-size: 0.95rem; }
.footer-fine {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.8rem;
  color: var(--white-faint);
}

/* ---------- sticky mobile call bar ---------- */
.mobile-callbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.mobile-callbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-align: center;
  padding: 0.95rem 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}
.mobile-callbar svg { width: 1.05em; height: 1.05em; }
.callbar-call { background: var(--copper); color: #161007; }
.callbar-book { background: var(--surface-2); color: var(--white); }

/* ---------- reveal (hero + booking panel only) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-observer .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .chip span, .site-nav a, .nav-toggle span { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo img { height: clamp(260px, 48vw, 380px); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-featured { grid-column: span 2; }
  .why-inner, .area-inner, .booking-inner { grid-template-columns: 1fr; }
  .why-photo img { height: clamp(260px, 50vw, 400px); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 961px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 640px) {
  .header-actions .header-phone { display: none; }
  .site-header { gap: 0.75rem; padding-left: 0.9rem; padding-right: 0.9rem; }
  .brand-mark { width: 42px; height: 31px; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-text em { font-size: 0.6rem; }
  .header-actions .btn { font-size: 0.85rem; padding: 0.6em 1em; }
  .mobile-nav { top: 57px; }
  .form-row { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .card-featured { grid-column: span 1; }
  .mobile-callbar { display: grid; }
  .utility-bar { font-size: 0.78rem; gap: 0.6rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- print: an ink-friendly, useful contact/quote sheet ---------- */
@media print {
  /* Paper is white — drop dark fills, shadows, and force legible black text */
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body { background: #fff !important; font-size: 12pt; line-height: 1.45; }

  /* Scroll-reveal elements must print even if never scrolled into view
     (otherwise they'd stay at opacity:0 and print blank) */
  .reveal { opacity: 1 !important; transform: none !important; }

  /* Make sure render-skipped sections are fully printed, not blank */
  .services, .why-us, .reviews, .service-area, .faq {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
  }

  /* Hide screen-only / interactive chrome that wastes paper */
  .utility-bar, .site-header, .mobile-nav, .nav-toggle, .mobile-callbar,
  .skip-link, .hero-side, .hero-ctas, .area-map, .why-photo,
  .reviews-head-link, #book { display: none !important; }

  /* Spell out real link destinations so a printout is actionable;
     keep tel:/mailto:/in-page anchors clean */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.82em; word-break: break-all; }
  a[href^="tel"]::after, a[href^="mailto"]::after, a[href^="#"]::after { content: ""; }

  /* Don't split cards/sections across page breaks */
  .service-card, .review-card, .faq-item, .section { break-inside: avoid; page-break-inside: avoid; }

  /* Tighten section padding for paper */
  .section { padding: 1.2rem 0 !important; }
}
