/* Wimbledon Gutter Cleaning
   Design system: design-system/wimbledon-gutter-cleaning/MASTER.md (ui-ux-pro-max)
   Flat "trust + conversion": navy/blue, one orange CTA colour, borders not shadows. */

:root {
  --navy: #1E3A8A;
  --navy-deep: #172554;
  --blue: #1E40AF;
  --blue-soft: #3B82F6;
  --cta: #C2410C;          /* orange-700: 5.2:1 with white text */
  --cta-hover: #9A3412;
  --cta-bright: #F97316;   /* decorative only, never behind text */
  --bg: #FFFFFF;
  --tint: #EFF6FF;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #475569;
  --border: #BFDBFE;
  --line: #E2E8F0;
  --error: #B91C1C;
  --ok: #15803D;
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--cta-bright); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--head); font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius-sm); font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease); touch-action: manipulation; }
.btn:active { transform: scale(.98); }
.btn .ic { transition: transform .15s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-hover); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: 14px 26px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font: 700 1.05rem/1.1 var(--head); display: flex; flex-direction: column; }
.brand-name span { font-weight: 600; font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.brand-light { color: #fff; }
.brand-light .brand-name span { color: #CBD5E1; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 600; font-size: .97rem; text-decoration: none; }
.nav a:hover { background: var(--tint); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--cta-bright); border-radius: 0; }
.hdr-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 960px) {
  :root { --hdr-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .hdr-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--cta-bright); padding-left: 16px; }
  .hdr-phone span { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; padding: 56px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 10%, rgba(59,130,246,.35), transparent 45%),
  linear-gradient(180deg, transparent 60%, rgba(23,37,84,.5)); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lede { font-size: 1.15rem; color: #DBEAFE; max-width: 36em; }
.hero-ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hero-ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.hero-ticks .ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.14); color: #FDBA74; }
.hero-roof { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .09em; color: var(--cta); margin: 0 0 12px; }
.eyebrow-light { color: #FDBA74; }

/* ---------- Quote form ---------- */
.quote-card { background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.hero .quote-card { border: 0; box-shadow: 0 20px 40px -20px rgba(15,23,42,.45); }
.quote-h { font-size: 1.35rem; margin-bottom: .2em; }
.quote-sub { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 16px; }
.f-full { grid-column: 1 / -1; }
.f-row { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f-row label, legend { font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.req { color: var(--cta); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid #94A3B8; border-radius: var(--radius-sm); transition: border-color .15s var(--ease); }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 36px; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(59,130,246,.35); outline-offset: 0; border-color: var(--blue); }
[aria-invalid="true"] { border-color: var(--error); }
.f-err { color: var(--error); font-size: .88rem; font-weight: 600; margin: 2px 0 0; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { margin-bottom: 6px; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: .95rem; }
.check:hover { border-color: var(--blue-soft); }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--blue); flex: none; }
.check:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; background: #FEF2F2; color: var(--error); border: 1px solid #FECACA; }
.f-status.ok { background: #F0FDF4; color: var(--ok); border-color: #BBF7D0; }
.f-consent { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.f-consent .ic { margin-top: 3px; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
button[aria-busy="true"] .ic { display: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0 72px; }
.section-tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head p:last-child { color: var(--muted); font-size: 1.07rem; margin: 0; }
.grid-3, .grid-4 { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-link { text-decoration: none; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.card-link:hover { border-color: var(--blue-soft); color: var(--ink); transform: translateY(-2px); }
.card-ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 10px; background: var(--tint); color: var(--blue); margin-bottom: 16px; }
.section-tint .card-ic { background: #DBEAFE; }
.card-ic .ic { width: 26px; height: 26px; }
.card-h { font-size: 1.15rem; margin-bottom: .4em; }
.card .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.card .pc { font-weight: 600; color: var(--cta); font-size: .9rem; margin-bottom: 6px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.split-quote { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.aside { position: sticky; top: calc(var(--hdr-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.side-card .h3 { display: flex; align-items: center; gap: 8px; }
.side-card .h3 .ic { color: var(--blue-soft); }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
.prose > :first-child, .prose > section:first-child h2 { margin-top: 0; }
.prose .lede { font-size: 1.15rem; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E40AF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.link-list { padding-left: 1.2em; display: grid; gap: 8px; }
.callout { display: flex; gap: 14px; align-items: flex-start; background: #FFF7ED; border: 1px solid #FED7AA; border-radius: var(--radius); padding: 18px 20px; margin: 1.5em 0; }
.callout .ic { width: 24px; height: 24px; color: var(--cta); margin-top: 2px; }
.callout p { margin: 0; }

/* ---------- Page hero / crumbs ---------- */
.page-hero { background: var(--tint); border-bottom: 1px solid var(--border); padding: 32px 0 44px; }
.page-hero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; margin: 0; }
.page-hero .narrow.center .lede { margin: 0 auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #94A3B8; }
.crumbs a { color: var(--muted); }
.big-tick { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; align-items: center; justify-content: center; margin-bottom: 16px; }
.big-tick .ic { width: 34px; height: 34px; }

/* ---------- Prices ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; margin-bottom: 1.5em; }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { background: var(--navy); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.prices tbody tr:last-child > * { border-bottom: 0; }
.prices tbody th { font-weight: 600; }
.prices tbody th span { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
.prices td { font-weight: 700; color: var(--navy); white-space: nowrap; text-align: right; }
.prices thead th:last-child { text-align: right; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: #fff; font: 700 1.1rem var(--head); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
.side-card .steps { grid-template-columns: 1fr; gap: 0; }
.side-card .steps li { border: 0; padding: 0 0 18px 56px; background: none; }
.side-card .step-n { position: absolute; left: 0; top: 0; }

/* ---------- Areas chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; font-weight: 600; color: var(--navy); text-decoration: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.chip .ic { color: var(--cta); }
.chip:hover { border-color: var(--navy); color: var(--navy); background: #DBEAFE; }

/* ---------- FAQ ---------- */
.faq-wrap { margin: 2em 0; }
.faq-wrap:first-child { margin-top: 0; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; min-height: 56px; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E40AF' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--tint); }
.faq-a { padding: 0 20px 6px; color: var(--ink-2); }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #DBEAFE; margin: 0; max-width: 40em; }
.cta-band .btn { flex: none; }
.site-footer { background: var(--navy-deep); color: #CBD5E1; padding: 56px 0 0; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 16px 0 20px; max-width: 30em; }
.foot-h { font: 700 .85rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; color: #CBD5E1; text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; padding-bottom: 28px; }
.foot-base p { margin: 0; font-size: .88rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; right: 24px; bottom: 24px; z-index: 80; max-width: 420px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--cta-bright);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 24px 50px -18px rgba(15,23,42,.45); opacity: 0; transform: translateY(16px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.cookie-banner.in { opacity: 1; transform: none; }
.cookie-banner p { font-size: .95rem; line-height: 1.55; color: var(--muted); margin: 0; }
.cookie-banner p strong { display: block; color: var(--navy); font: 700 1.05rem/1.3 var(--head); margin-bottom: 4px; }
.cookie-banner a { font-weight: 600; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.cookie-banner:focus { outline: none; }
.cookie-banner:focus-visible { outline: 3px solid var(--cta-bright); outline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.prose .link-btn { color: var(--blue); font-weight: 600; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.foot-base .link-btn:hover { color: #fff; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { padding: 36px 0 80px; }
  .hero-grid, .split, .split-even, .split-quote { grid-template-columns: 1fr; gap: 32px; }
  .aside { position: static; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line); transform: translateY(0); transition: transform .2s var(--ease); }
  .sticky-cta.hide { transform: translateY(110%); }
  body:has(.sticky-cta) .site-footer { padding-bottom: 76px; }
  .cookie-banner { left: 12px; right: 12px; max-width: none; bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .f-grid, .checks, .grid-4 { grid-template-columns: 1fr; }
  .quote-card { padding: 20px 16px; }
  .foot { grid-template-columns: 1fr; }
  .prices th, .prices td { padding: 12px 14px; }
  .brand-name { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
