/* =========================================================================
   SWY Fencing — Mockup #4
   Simple · Professional · Review-forward
   Palette pulled from SWY's real logo (orange sun + charcoal) with warm,
   wood-leaning neutrals. Charcoal-led type, orange as the confident accent.
   ========================================================================= */

:root {
  /* Ink + neutrals */
  --ink:        #181a1d;
  --ink-2:      #34373c;
  --muted:      #6c6a64;
  --line:       #e9e2d8;
  --line-2:     #f0ebe2;
  --paper:      #ffffff;
  --cream:      #faf6f0;
  --cream-2:    #f4ede2;

  /* Brand */
  --brand:      #e9740c;   /* SWY orange — accents, icons, hovers */
  --brand-2:    #f2890f;   /* lighter orange — CTA fill (dark text passes AA 7:1) */
  --brand-ink:  #ad5208;   /* AA-safe orange for text/links on white */
  --brand-tint: #fdf0e2;   /* soft orange wash */
  --brand-tint2:#fbe6d2;
  --star:       #f4a521;   /* amber stars */
  --footer:     #15171a;

  /* Shape + depth */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(24,26,29,.05), 0 2px 8px rgba(24,26,29,.04);
  --sh-2: 0 6px 18px rgba(24,26,29,.07), 0 2px 6px rgba(24,26,29,.05);
  --sh-3: 0 18px 50px rgba(24,26,29,.13), 0 6px 16px rgba(24,26,29,.08);
  --sh-brand: 0 10px 30px rgba(233,116,12,.22);

  --wrap: 1160px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* Visible focus everywhere */
:where(a, button, input, select, textarea, summary, details):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Programmatic focus on the main landmark (skip-link target) shouldn't draw a ring */
#main:focus { outline: none; }

/* Visually hidden, still announced by assistive tech */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--star); line-height: 0; }
.stars .star { width: 20px; height: 20px; fill: currentColor; }
.stars--sm .star { width: 16px; height: 16px; }
.stars--lg .star { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg);
  border: 1.5px solid var(--b-bd);
  cursor: pointer; white-space: nowrap;
  transition: transform .12s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .ic { width: 17px; height: 17px; }
.btn-lg { font-size: 16px; padding: 15px 26px; }
.btn-block { width: 100%; }

.btn-primary {
  --b-bg: var(--brand-2); --b-fg: #20140a;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { --b-bg: var(--brand); box-shadow: 0 14px 36px rgba(233,116,12,.3); }

.btn-ghost {
  --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line);
}
.btn-ghost:hover { --b-bd: var(--ink); background: var(--ink); --b-fg: #fff; }

/* ---------- Header ---------- */
.site-header {
  --header-h: 72px;
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-1); background: rgba(255,255,255,.92); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 32px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.brand-name span { color: var(--brand); }

.primary-nav { display: flex; gap: 28px; margin-left: 8px; }
.primary-nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.primary-nav a:hover { color: var(--brand-ink); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-rating { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); }
.header-rating strong { font-weight: 700; }
.btn-phone { font-size: 14px; padding: 10px 16px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; background: none; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer; padding: 0;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); margin: 0 auto; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--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); }

/* ---------- Shared section bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); margin: 0 0 14px;
}
.eyebrow.center { justify-content: center; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .areas h2, .faq h2, .quote h2, .why h2, .reviews h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-sub { color: var(--muted); font-size: 1.06rem; margin: 14px 0 0; }
.muted-note { color: var(--brand-ink); font-weight: 500; }

section { padding: clamp(56px, 8vw, 104px) 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 0; background:
  radial-gradient(1100px 520px at 88% -8%, var(--brand-tint) 0, rgba(253,240,226,0) 60%),
  linear-gradient(180deg, var(--paper) 0, var(--cream) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 600; margin-bottom: 18px; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em;
  background: var(--brand-tint2); border-radius: 4px; z-index: -1;
}
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 30ch; margin: 0 0 26px; }

.hero-rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
  padding: 12px 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--sh-1); width: fit-content; }
.hero-rating-text { font-size: 14.5px; color: var(--ink-2); }
.hero-rating-text strong { color: var(--ink); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0; }
.hero-note .ic { width: 16px; height: 16px; color: var(--brand); }

.hero-media { position: relative; }
.hero-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3);
  border: 1px solid rgba(255,255,255,.6); aspect-ratio: 11/10; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.float-review {
  position: absolute; left: -22px; bottom: -26px; width: min(300px, 80%);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: 16px 18px;
}
.float-review p { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 8px 0 6px; }
.float-review cite { font-style: normal; font-weight: 600; font-size: 13px; color: var(--ink); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); color: #fff; padding: 0; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-block: 20px; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: #f3efe9; }
.trust-item .ic { width: 19px; height: 19px; color: var(--brand-2); flex: none; }

/* ---------- Reviews (centerpiece) ---------- */
.reviews { background: var(--cream); }

.rating-board {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); padding: 26px 30px; margin-bottom: 40px;
}
.rating-hero { text-align: center; padding-right: 30px; border-right: 1px solid var(--line); }
.rating-big { font-family: var(--font-head); font-size: 3.6rem; font-weight: 600; line-height: 1; color: var(--ink); }
.rating-hero p { font-size: 13px; color: var(--muted); margin: 8px 0 0; max-width: 16ch; margin-inline: auto; }
.rating-hero .stars { margin-top: 8px; }

.rating-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plat {
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
  padding: 16px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream);
  color: var(--ink); transition: border-color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease);
}
a.plat:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--sh-1); }
.plat-logo { width: 26px; height: 26px; }
.plat-logo--fill { fill: var(--ink); }
.plat-name { font-weight: 600; font-size: 14px; }
.plat-stars { color: var(--brand-ink); letter-spacing: 1px; font-size: 13px; }
.plat-count { font-size: 12px; color: var(--muted); }
.plat-count[data-confirm] { color: var(--brand-ink); border-bottom: 1px dashed var(--brand); padding-bottom: 1px; }
.plat-count--ok { color: #1f8a4c; font-weight: 600; }
.plat--static { background: var(--brand-tint); border-color: var(--brand-tint2); }
.bbb-badge { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--brand-ink); line-height: 1; }

.review-grid { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 24px 20px; box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .14s var(--ease), box-shadow .2s var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.review-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; flex: 1; }
.review-card footer { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.rev-meta { display: flex; flex-direction: column; line-height: 1.3; }
.rev-meta cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: 15px; }
.rev-meta .src { font-size: 12.5px; color: var(--muted); }

.reviews-cta { text-align: center; margin-top: 34px; }

/* ---------- Services ---------- */
.service-grid { list-style: none; margin: 0 0 30px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; transition: transform .14s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-tint2); }
.svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand-ink); margin-bottom: 18px; }
.svc-ic svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }

.service-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-cats span {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 9px 18px; border-radius: var(--r-pill); background: var(--cream-2); border: 1px solid var(--line);
}

/* ---------- Pull-quote band ---------- */
.quote-band { position: relative; padding: clamp(72px, 11vw, 132px) 0; overflow: hidden; isolation: isolate; }
.quote-band .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,16,12,.74), rgba(20,16,12,.6)); }
.quote-band-inner { text-align: center; color: #fff; max-width: 820px; }
.quote-band blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.28; margin: 18px 0 14px; color: #fff; }
.quote-band cite { font-style: normal; font-size: 15px; color: rgba(255,255,255,.82); }
.quote-band .stars { color: var(--star); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.g-item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); background: var(--cream-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.g-item:hover img { transform: scale(1.045); }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px;
  color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, rgba(20,16,12,0), rgba(20,16,12,.72));
}

/* ---------- Why ---------- */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.why-copy h2 { margin-bottom: 0; }
.why-copy .btn { margin-top: 26px; }
.why-copy em { color: var(--brand-ink); font-style: italic; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillars li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; box-shadow: var(--sh-1); }
.pillar-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--brand-2); margin-bottom: 14px; }
.pillar-ic svg { width: 22px; height: 22px; }
.pillars h3 { font-size: 1.05rem; margin-bottom: 5px; }
.pillars p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Areas ---------- */
.area-chips { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 880px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-chips li { font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 11px 20px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.area-chips li.lead { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 600; }
.area-chips li.lead .ic { width: 17px; height: 17px; color: var(--brand-2); }
.areas-foot { text-align: center; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.faq-head { position: sticky; top: 96px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; color: var(--ink); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 18px; height: 18px; color: var(--brand); flex: none; transform: rotate(90deg); transition: transform .2s var(--ease); }
.faq details[open] summary .chev { transform: rotate(-90deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Quote / Contact ---------- */
.quote { background:
  radial-gradient(900px 460px at 12% 110%, var(--brand-tint) 0, rgba(253,240,226,0) 55%),
  var(--paper); }
.quote-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: start; }
.quote-info h2 { margin-bottom: 0; }

.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.contact-row .ic { width: 22px; height: 22px; color: var(--brand); flex: none; }
.contact-row span { display: flex; flex-direction: column; line-height: 1.3; }
.cr-label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.contact-row strong { color: var(--ink); font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-row--cta strong { color: var(--brand-ink); font-size: 1.2rem; }
a.contact-row:hover { text-decoration: none; }
a.contact-row:hover strong { color: var(--brand); }

.info-rating { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 18px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); font-size: 14.5px; color: var(--ink-2); }
.info-rating strong { color: var(--ink); }

.quote-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 30px; }
.quote-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--cream);
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--paper); box-shadow: 0 0 0 4px var(--brand-tint);
}
.field textarea { resize: vertical; min-height: 96px; }
/* Error styling is JS-driven (applied on submit), so fields aren't flagged before interaction. */
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d6453a; background: #fdf2f1; }
.field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #c0392b; }
.field-error::before { content: "⚠"; margin-right: 5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-micro { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.form-micro .ic { width: 15px; height: 15px; color: var(--brand); }
.form-status { margin: 0; font-size: 14.5px; font-weight: 500; padding: 0; }
.form-status.ok { color: #1f8a4c; }
.form-status.err { color: #d6453a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #c9c6c0; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 40px; }
.foot-brand img { width: 150px; height: auto; margin-bottom: 14px; filter: brightness(1.05); }
.foot-tag { font-family: var(--font-head); font-style: italic; color: #fff; font-size: 1.02rem; margin: 0 0 16px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s var(--ease), transform .12s var(--ease); }
.foot-social a:hover { background: var(--brand); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-col h2 { color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { color: #c9c6c0; font-size: 15px; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--brand-2); text-decoration: none; }
.foot-areas p { font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.foot-licensed { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 500; font-size: 13.5px !important; }
.foot-licensed .ic { width: 17px; height: 17px; color: var(--brand-2); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; font-size: 13.5px; }
.pay { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay span { font-size: 11.5px; font-weight: 600; color: #d7d4ce; background: rgba(255,255,255,.08);
  padding: 4px 9px; border-radius: 6px; letter-spacing: .02em; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--brand-2); color: #20140a; font-weight: 700; font-size: 16px;
  padding: 15px; border-radius: var(--r-pill); box-shadow: var(--sh-brand);
}
.mobile-callbar:hover { text-decoration: none; }
.mobile-callbar .ic { width: 19px; height: 19px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 600px; }
  .lede { max-width: 46ch; }
  .why-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
  .rating-platforms { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-areas { grid-column: span 2; }
  .header-rating, .btn-phone { display: none; }
  .trust-inner { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .header-rating, .btn-phone { display: none; }
  .nav-toggle { display: flex; }

  /* mobile dropdown nav */
  .primary-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2);
    padding: 8px 24px 16px;
  }
  .primary-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }

  .review-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .rating-board { grid-template-columns: 1fr; gap: 20px; }
  .rating-hero { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .gallery-grid { grid-auto-rows: 200px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  /* Sticky bottom call bar is the mobile CTA, so the header button is redundant here */
  .header-cta .btn-primary { display: none; }
  .brand-name { white-space: nowrap; }
  section { padding: 56px 0; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .float-review { position: static; width: auto; margin-top: 16px; box-shadow: var(--sh-2); }
  .hero-photo { aspect-ratio: 4/3; }
  .trust-inner { justify-content: flex-start; }
  .pillars { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .rating-platforms { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g-item.g-wide { grid-column: span 1; }
  .g-item.g-tall { grid-row: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .quote-form-wrap { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-areas { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-callbar { display: flex; }
  .site-footer { padding-bottom: 90px; }
}

@media (max-width: 380px) {
  .rating-platforms { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .g-item:hover img, .btn:hover, .review-card:hover, .service-card:hover, .plat:hover { transform: none !important; }
}
