/* ==========================================================
   Trades one-page template — edit brand colors here
   ========================================================== */
:root {
  --brand: #0b3d5c;        /* deep blue: headers, footer */
  --brand-2: #135e8a;
  --accent: #f28c18;       /* orange: call buttons */
  --accent-dark: #b85f00;  /* text-safe accent */
  --ink: #1b2430;
  --muted: #4f5b6a;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --line: #dde4ec;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 61, 92, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; padding-bottom: 64px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--brand); }
ul { padding: 0; margin: 0; list-style: none; }
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.example-banner { background: #fff4d6; color: #5c4300; text-align: center; font-size: .9rem; padding: .5rem 1rem; border-bottom: 1px solid #f0d58a; }
.example-banner a { color: #5c4300; font-weight: 700; text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; text-decoration: none; border-radius: 999px; padding: .8rem 1.4rem; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-call { background: var(--accent); color: #1b1200; }
.btn-call:hover { background: #ffa13d; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.1rem; width: 100%; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; display: none; }
.btn-full { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--brand); font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .95rem; letter-spacing: .5px; }
.brand-name { font-size: 1rem; }
.nav-links { display: none; gap: 1.5rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--brand-2); }

/* Hero */
.hero { background: #0b3d5c; color: #fff; padding: 3.5rem 0 3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 700; color: #ffd29a; margin: 0 0 .75rem; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.4rem); max-width: 18ch; }
.lead { font-size: 1.15rem; max-width: 52ch; color: #e6eef5; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; color: #e6eef5; font-size: .95rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); margin: 0 0 2rem; max-width: 60ch; }

/* Services */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.card h3 { color: var(--brand); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.card-icon { font-size: 1.8rem; display: block; margin-bottom: .5rem; }

/* Gallery */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.ba { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba-pair img, .ph { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.ph { position: relative; display: flex; align-items: flex-end; padding: .6rem; }
.ph span { background: #111; color: #fff; font-size: .8rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.ph-before { background: linear-gradient(160deg, #7d7466, #5b5448), repeating-linear-gradient(90deg, transparent 0 18px, rgba(0,0,0,.08) 18px 20px); background-blend-mode: multiply; }
.ph-after { background: linear-gradient(160deg, #dfe7ee, #b9c7d3); }
.ba figcaption { padding: .8rem 1rem; font-weight: 600; color: var(--ink); }

/* Service area */
.area-grid { display: grid; gap: 2rem; }
.towns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1rem 0; }
.towns li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .8rem; font-weight: 600; }
.muted { color: var(--muted); }
.map-ph { position: relative; min-height: 260px; border-radius: var(--radius); background:
  radial-gradient(circle at 50% 50%, rgba(242,140,24,.22) 0 30%, transparent 31%),
  linear-gradient(0deg, rgba(11,61,92,.06) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(11,61,92,.06) 1px, transparent 1px) 0 0 / 28px 28px,
  #e9f0f5; border: 1px solid var(--line); display: grid; place-items: center; }
.pin { width: 22px; height: 22px; background: var(--accent); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--accent); }
.map-label { position: absolute; bottom: 1rem; left: 1rem; background: #fff; padding: .35rem .8rem; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }

/* Reviews */
.sample-note { display: inline-block; background: #fff4d6; color: #5c4300; border: 1px dashed #d9b34a; border-radius: 8px; padding: .4rem .8rem; font-size: .9rem; margin: 0 0 1.5rem; }
.reviews { display: grid; gap: 1rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.stars { color: var(--muted, #555); margin: 0 0 .4rem; font-size: .95rem; font-weight: 600; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 .6rem; }
.reviewer { margin: 0; font-weight: 700; color: var(--muted); font-size: .95rem; }

/* Quote */
.quote { background: var(--brand); color: #fff; }
.quote h2 { color: #fff; }
.quote p { color: #e6eef5; }
.quote-grid { display: grid; gap: 2rem; }
.quote-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1rem; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .85rem; border: 1.5px solid #9aa8b6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); outline: 3px solid rgba(19,94,138,.25); }
.form-status { margin: 0; font-weight: 600; color: var(--brand) !important; min-height: 1.4em; }

/* Footer */
.site-footer { background: #072a40; color: #cfdbe6; padding: 2.5rem 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .25rem; }
.site-footer p { margin: 0 0 .5rem; }
.muted-light { color: #a9bccd; }

/* Sticky mobile call bar */
.mobile-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--accent); color: #1b1200; text-align: center; font-weight: 800; padding: 1rem; text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .btn-lg { width: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .towns { grid-template-columns: repeat(3, 1fr); }
  .quote-form { grid-template-columns: 1fr 1fr; }
  .field-full, .quote-form .btn-full, .form-status { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-call { display: none; }
  .nav-links { display: flex; }
  .btn-sm { display: inline-flex; }
  .brand-name { font-size: 1.1rem; }
  .hero { padding: 5.5rem 0 5rem; }
  .section { padding: 5rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .quote-grid { grid-template-columns: 1fr 1.3fr; align-items: center; }
}

@supports (field-sizing: content) { .field textarea { field-sizing: content; min-height: 7rem; overflow: hidden; } }
