/* Tier 1 Plumbing Ltd | plumberssouthend.co.uk */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #29529c;          /* sampled from the Tier 1 wordmark */
  --blue-d: #1f407d;
  --navy: #0e1f3d;
  --navy-2: #16294c;
  --ink: #132033;
  --text: #2b3445;
  --muted: #586275;
  --line: #e0e5ee;
  --soft: #f3f6fb;
  --soft-2: #e8eef8;
  --amber: #f5b400;
  --amber-d: #df9f00;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(14, 31, 61, .09);
  --shadow-sm: 0 4px 14px rgba(14, 31, 61, .07);
  --wrap: 1180px;
  --gutter: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
blockquote, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.05rem, 5vw, 3.3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; }
strong { color: var(--ink); font-weight: 700; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 44px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--amber); }
.lead { font-size: 1.15rem; color: var(--muted); }

.ico { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: middle; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 800; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--call, a.btn--call { background: var(--amber); color: var(--navy); }
.btn--call:hover, a.btn--call:hover { background: var(--amber-d); color: var(--navy); }
.btn--primary, a.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover, a.btn--primary:hover { background: var(--blue-d); color: #fff; }
.btn--ghost, a.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--ghost:hover, a.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--outline, a.btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--outline:hover, a.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link .ico { width: 1em; height: 1em; transition: transform .18s; }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy); color: #cbd5e6; font-size: .86rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .ico { color: var(--amber); width: 1.05em; height: 1.05em; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--amber); }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(14, 31, 61, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 13px; border-radius: 8px;
  color: var(--ink); font-weight: 700; font-size: .98rem; text-decoration: none;
}
.main-nav a:hover { background: var(--soft); color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 8px 8px 0 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  color: var(--ink); text-decoration: none; line-height: 1.2;
}
.header-phone__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--soft-2); color: var(--blue); display: grid; place-items: center; }
.header-phone__icon .ico { width: 20px; height: 20px; }
.header-phone small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.header-phone strong { font-size: 1.05rem; }
.header-phone:hover strong { color: var(--blue); }
.header-cta { flex: none; }
.burger {
  display: none; flex: none; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger .ico { width: 24px; height: 24px; }

/* drawer sits outside the header so it can cover it, and carries its own close button */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.nav-open .drawer { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8, 17, 34, .55); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px);
  background: #fff; padding: 18px 20px 28px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
  animation: drawer-in .22s ease-out;
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top img { width: 128px; }
.drawer__close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.drawer__close .ico { width: 22px; height: 22px; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 700; font-size: 1.1rem; text-decoration: none;
}
.drawer nav a[aria-current="page"] { color: var(--blue); }
.drawer nav a .ico { width: 18px; height: 18px; color: var(--muted); }
.drawer__actions { display: grid; gap: 10px; }
.drawer__actions .btn { width: 100%; }
.drawer__note { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dbe4f3;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(41, 82, 156, .55), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #13284f 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero .eyebrow { color: #9fb8e6; }
.hero__lead { font-size: 1.14rem; max-width: 36em; margin-bottom: 26px; }
.hero__ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.hero__ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .98rem; color: #fff; }
.hero__ticks .ico { color: var(--amber); margin-top: 2px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); aspect-ratio: 16 / 10; object-fit: cover; }
.hero__badge {
  position: absolute; left: -18px; bottom: -22px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  text-decoration: none; max-width: 290px;
}
.hero__badge:hover { color: var(--ink); }
.hero__badge .score { font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.hero__badge .score small { font-size: .9rem; color: var(--muted); }
.hero__badge span { font-size: .86rem; line-height: 1.35; color: var(--muted); }
.hero__badge span strong { display: block; font-size: .95rem; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, #15305c 100%); color: #d6e0f1; padding: 30px 0 52px; }
.page-hero h1 { color: #fff; font-size: clamp(1.95rem, 4.4vw, 2.9rem); max-width: 22em; }
.page-hero p { max-width: 44em; font-size: 1.1rem; }
.page-hero .btn-row { margin-top: 22px; }
.crumbs { font-size: .88rem; margin-bottom: 26px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: #aebfdc; }
.crumbs li + li::before { content: "/"; color: #6f84ab; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--amber); }

/* ---------- trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; font-size: .98rem; }
.trust li span { display: block; font-weight: 500; font-size: .86rem; color: var(--muted); }
.trust__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--soft-2); color: var(--blue); display: grid; place-items: center; flex: none; }
.trust__icon .ico { width: 22px; height: 22px; }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__icon {
  position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(14, 31, 61, .25);
}
.card__icon .ico { width: 24px; height: 24px; }
.card__body { padding: 32px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .4em; }
.card__body h3 a { color: var(--ink); text-decoration: none; }
.card__body h3 a:hover { color: var(--blue); }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__body .text-link { margin-top: auto; }

/* ---------- emergency band ---------- */
.band { background: var(--navy); color: #d3dcee; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #9fb8e6; }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: start; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .ico { color: var(--amber); margin-top: 3px; }
.tick-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.tick-list--blue .ico { color: var(--blue); }
.wait-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.wait-card h3 { color: var(--ink); }
.wait-card ol { list-style: none; counter-reset: s; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.wait-card ol li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.wait-card ol li::before {
  content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--soft-2); color: var(--blue); font-weight: 800; font-size: .88rem; display: grid; place-items: center; margin-top: 1px;
}
.gas-note { display: flex; gap: 12px; align-items: flex-start; background: #fff7df; border: 1px solid #f1d98a; color: #5a4300; border-radius: 10px; padding: 12px 14px; font-size: .92rem; margin: 0; }
.gas-note .ico { color: #b07b00; margin-top: 2px; }
.gas-note strong { color: #3f2f00; }
.band .gas-note { margin-top: 6px; }

/* ---------- before / after ---------- */
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pair { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.pair__imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pair__imgs figure { position: relative; }
.pair__imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; }
.pair__imgs figcaption {
  position: absolute; left: 8px; top: 8px; background: rgba(14, 31, 61, .85); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.pair__imgs figure:last-child figcaption { background: var(--amber); color: var(--navy); }
.pair h3 { font-size: 1.05rem; margin: 14px 6px 4px; }
.pair p { font-size: .94rem; color: var(--muted); margin: 0 6px 6px; }
.source-note { font-size: .9rem; color: var(--muted); margin-top: 20px; }

/* ---------- why / features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.feature__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--soft-2); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.feature__icon .ico { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split--top { align-items: start; }
.split__media img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); }
.price-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.price-box h3 { display: flex; align-items: center; gap: 10px; }
.price-box h3 .ico { color: var(--blue); }

/* ---------- reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.reviews-head .section-head { margin: 0; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
}
.rating-badge:hover { color: var(--ink); border-color: var(--blue); }
.rating-badge__score { font-size: 1.9rem; font-weight: 800; color: var(--blue); line-height: 1; }
.rating-badge__score small { font-size: .95rem; color: var(--muted); font-weight: 700; }
.rating-badge__text { font-size: .88rem; line-height: 1.35; color: var(--muted); }
.rating-badge__text strong { display: block; font-size: .98rem; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; }
.quote__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--soft-2); color: var(--blue); display: grid; place-items: center; flex: none; }
.quote__icon .ico { width: 20px; height: 20px; }
.quote p { margin: 0 0 10px; color: var(--text); }
.quote footer { font-size: .88rem; color: var(--muted); font-weight: 700; }

/* ---------- areas ---------- */
.chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.section--soft .chips li { background: #fff; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft-2); height: 380px; }
.map iframe { position: relative; z-index: 1; display: block; width: 100%; height: 380px; border: 0; }
.map__fallback { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--muted); }
.map__fallback .ico { width: 34px; height: 34px; color: var(--blue); }
.map__fallback strong { font-size: 1.1rem; }

.area-groups { display: grid; gap: 26px; }
.area-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.area-group h2 { font-size: 1.4rem; }
.area-group > p { color: var(--muted); }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; }
.area-list li { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 10px; padding: 10px 10px 10px 12px; font-weight: 700; color: var(--ink); }
.area-list li .ico { color: var(--blue); width: 18px; height: 18px; }
.area-name { white-space: nowrap; }
.area-pc { margin-left: auto; white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 7px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.06rem; line-height: 1.4; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { padding-bottom: 8px; }
.faq__a { padding: 0 20px 18px; color: var(--text); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-d) 100%); color: #e1e9f7; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.08rem; }

/* ---------- services page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.jump a:hover { border-color: var(--blue); color: var(--blue); }
.svc { padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc:nth-of-type(even) { background: var(--soft); }
.svc .split { gap: 44px; }
.svc:nth-of-type(even) .split__media { order: 2; }
.svc__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.svc__icon .ico { width: 26px; height: 26px; }
.svc h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.svc h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 1.4em; }
.svc .split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 981px) {
  .svc .split { align-items: start; }
  .svc .split__media { position: sticky; top: calc(var(--header-h) + 28px); }
}
.job-note { border-left: 4px solid var(--amber); background: #fff; border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: .96rem; box-shadow: var(--shadow-sm); }
.job-note strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 2px; }

/* ---------- about ---------- */
.steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: st; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.steps li::before { content: counter(st); width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.steps h3 { font-size: 1.02rem; margin-bottom: .35em; }
.steps p { font-size: .94rem; color: var(--muted); margin: 0; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .97rem; }
.facts li:last-child { border-bottom: 0; }
.facts li > span:first-child { color: var(--muted); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery figure { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption { padding: 10px 12px; font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #cdd5e2; border-radius: 10px; padding: 12px 14px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41, 82, 156, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.field-error { color: #b71c1c; font-size: .88rem; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; }
.form-foot p { margin: 0; font-size: .88rem; color: var(--muted); flex: 1 1 220px; }
.form-alert { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1c13; border-radius: 10px; padding: 12px 14px; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.info-card { background: var(--navy); color: #d3dcee; border-radius: 18px; padding: 28px 26px; }
.info-card h2 { color: #fff; font-size: 1.35rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { color: var(--amber); width: 22px; height: 22px; margin-top: 3px; }
.info-list small { display: block; color: #9fb0cf; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.info-list a { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.08rem; word-break: break-word; }
.info-list a:hover { color: var(--amber); }
.info-list span { color: #fff; font-weight: 600; }
.next-steps { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; gap: 12px; }
.next-steps li { counter-increment: n; display: flex; gap: 12px; font-size: .97rem; }
.next-steps li::before { content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft-2); color: var(--blue); font-weight: 800; font-size: .88rem; display: grid; place-items: center; }
.info-card + .side-card { margin-top: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.side-card h2 { font-size: 1.2rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.center { text-align: center; }
.nw, a[href^="tel:"] { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: 36px; }

/* ---------- footer ---------- */
.site-footer { background: #0a1730; color: #a9b6cc; font-size: .95rem; }
.site-footer .wrap { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e3eaf6; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-brand img { width: 160px; margin-bottom: 16px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--amber); width: 18px; height: 18px; margin-top: 4px; }
.footer-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; }
.footer-rating strong { color: #fff; font-size: 1.2rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding: 20px 0 26px; font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-legal p { margin: 0; }

/* ---------- mobile call bar ---------- */
.mobile-bar { display: none; }

/* ---------- 404 / thank you ---------- */
.plain-hero { padding: 72px 0; text-align: center; }
.plain-hero .btn-row { justify-content: center; }
.plain-hero .lead { max-width: 36em; margin-left: auto; margin-right: auto; }
.thanks-steps { max-width: 720px; margin: 0 auto; text-align: left; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1140px) {
  .header-phone__text { display: none; }
  .main-nav a { padding: 10px 10px; }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .topbar { display: none; }
  .main-nav, .header-phone { display: none; }
  .burger { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 44px; padding-bottom: 58px; }
  .hero__media { max-width: 640px; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .pairs, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band__grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .svc:nth-of-type(even) .split__media { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }

  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(14, 31, 61, .1);
  }
  .mobile-bar .btn { min-height: 48px; padding: 8px 10px; font-size: .95rem; }
  .nav-open .mobile-bar { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .svc { padding: 44px 0; }
  .brand img { width: 118px; }
  .site-header .wrap { gap: 10px; }
  .header-cta.btn { min-height: 40px; padding: 7px 13px; font-size: .84rem; }
  .burger { width: 42px; height: 42px; }
  .hero__ticks { grid-template-columns: minmax(0, 1fr); }
  .hero__badge { left: 10px; bottom: -18px; padding: 10px 14px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .trust ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cards, .pairs, .features { grid-template-columns: minmax(0, 1fr); }
  .tick-list--cols { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 24px 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .map, .map iframe { height: 320px; }
  .cta-band .btn-row, .cta-band .btn-row .btn { width: 100%; }
  .quote { flex-direction: column; gap: 12px; }
  .area-group { padding: 20px 16px; }
  .area-list li { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .site-header .wrap { gap: 8px; }
  .brand img { width: 90px; }
  .header-cta.btn { min-height: 38px; padding: 6px 9px; font-size: .74rem; }
  .burger { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
