/* Zicco Plumbers: modern, premium theme. */
:root {
  --ink: #0f1d26;
  --brand: #1d5c73;
  --brand-dark: #0e3442;
  --brand-deep: #08222c;
  --teal: #2a8fb0;
  --tint: #edf4f6;
  --tint-2: #f6f9fa;
  --accent: #f2a93b;
  --accent-dark: #d98e1f;
  --wa: #1f9d5a;
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #5d6b75;
  --line: #e3eaee;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15,29,38,.06), 0 2px 8px rgba(15,29,38,.05);
  --shadow: 0 2px 4px rgba(15,29,38,.04), 0 12px 32px rgba(15,29,38,.08);
  --shadow-lg: 0 24px 60px rgba(8,34,44,.22);
  --bar-h: 72px;
  --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg); padding-bottom: var(--bar-h); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .55em; color: var(--ink); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.13rem; margin: 0; }

/* Header */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand small { display: block; font-family: var(--body); font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.brand-mark { flex: none; }
.nav { display: none; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 10px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--tint); color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--tint); }
.header-actions { display: none; gap: 10px; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(88vw, 320px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.menu-panel a:hover { background: var(--tint); }
.menu-panel .btn { margin-top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-call { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(29,92,115,.25); }
.btn-call:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 10px 24px rgba(29,92,115,.32); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(31,157,90,.25); }
.btn-wa:hover { background: #188a4e; color: #fff; }
.btn-quote { background: var(--accent); color: #241703; box-shadow: 0 6px 18px rgba(242,169,59,.35); }
.btn-quote:hover { background: var(--accent-dark); color: #241703; box-shadow: 0 10px 26px rgba(242,169,59,.45); }
.btn-ghost { background: transparent; color: var(--brand); border-color: rgba(29,92,115,.35); }
.btn-ghost:hover { background: var(--tint); color: var(--brand); }
.btn-small { padding: 9px 16px; font-size: .92rem; }
.btn-big { padding: 15px 26px; font-size: 1.04rem; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }

/* Hero */
.hero { background: var(--brand-deep); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,34,44,.96) 0%, rgba(8,34,44,.86) 42%, rgba(14,52,66,.55) 100%); }
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(42,143,176,.35), transparent 65%); z-index: -1; }
.hero-inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .hl { color: var(--accent); }
.hero .eyebrow { color: #cfe6ee; }
.hero .lead { font-size: 1.18rem; max-width: 36em; color: rgba(255,255,255,.86); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.chips { list-style: none; margin: 1.6em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 500; color: rgba(255,255,255,.88); }
.chips svg { color: var(--accent); }
.hero-card { background: rgba(255,255,255,.98); color: var(--ink); border-radius: 20px; padding: 30px 28px 28px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--teal)); }
.hero-card h2 { font-size: 1.35rem; margin-bottom: .25em; }
.hero-card ol { margin: 18px 0 22px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.hero-card li { counter-increment: s; display: flex; gap: 14px; line-height: 1.5; font-size: .97rem; }
.hero-card li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--tint); color: var(--brand); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
.hero-card .btn { width: 100%; }
.hero-card .btn + .btn { margin-top: 10px; }
.page-hero { padding: 48px 0 54px; }
.page-hero::before { background: linear-gradient(120deg, rgba(8,34,44,.98), rgba(14,52,66,.92)); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero .lead { font-size: 1.14rem; max-width: 42em; color: rgba(255,255,255,.85); }

/* Breadcrumbs */
.crumbs { font-size: .88rem; margin-bottom: 16px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .45; }
.crumbs a { color: inherit; opacity: .8; text-decoration: none; }
.crumbs a:hover { opacity: 1; color: inherit; }
.hero .crumbs { color: rgba(255,255,255,.85); }

/* Trust bar */
.trustbar { position: relative; z-index: 2; margin-top: -34px; }
.trustbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.trustbar li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .96rem; line-height: 1.3; padding: 20px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar li span { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
.trustbar svg { flex: none; color: var(--brand); width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--tint); }

/* Sections */
.section { padding: 64px 0; position: relative; }
.section-alt { background: var(--tint-2); }
.section-dark { background: var(--brand-dark); color: #fff; background-image: radial-gradient(ellipse at 85% 0%, rgba(42,143,176,.28), transparent 55%); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #cfe6ee; }
.section-dark .section-head p, .section-dark p { color: rgba(255,255,255,.8); }
.grid { display: grid; gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; padding: 0; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card h3 { margin: 6px 0 0; }
.service-card p { font-size: .97rem; }
.service-card .more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .95rem; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more { color: var(--teal); }
.icon-blob { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: var(--tint); transition: background .25s, color .25s; }
.icon-blob svg { width: 26px; height: 26px; }
.service-card:hover .icon-blob { background: var(--brand); color: #fff; }
.audience h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.audience h3 .icon-blob { width: 44px; height: 44px; flex: none; border-radius: 12px; }
.audience h3 .icon-blob svg { width: 22px; height: 22px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 20px; }
.steps li { counter-increment: st; position: relative; padding: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.steps li::before { content: "0" counter(st); display: block; font-family: var(--head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--accent); margin-bottom: 14px; letter-spacing: -.03em; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.area-list a, .area-list li > span { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 20px; font-weight: 600; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: all .2s; }
.area-list a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.area-list a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.two-col { display: grid; gap: 40px; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; align-self: start; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.trust-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--accent), var(--teal)); }
.trust-list { list-style: none; margin: 0 0 1em; padding: 0; }
.trust-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.trust-list li:last-child { border-bottom: 0; }
.trust-list strong { display: block; font-family: var(--head); font-size: 1.05rem; }
.small { font-size: .9rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding: 6px 0 6px 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231d5c73' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Gallery */
.gallery { columns: 2; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--tint); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: auto; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: .9rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(8,34,44,.85)); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 22px; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Content pages */
.prose h2 { margin-top: 1.6em; font-size: 1.65rem; }
.prose h3 { margin-top: 1.3em; }
.content-grid { display: grid; gap: 40px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.aside-card:first-child { background: linear-gradient(160deg, var(--brand-dark), var(--brand)); color: #fff; border: 0; }
.aside-card:first-child h2 { color: #fff; }
.aside-card:first-child .muted { color: rgba(255,255,255,.8); }
.aside-card h2 { font-size: 1.25rem; margin-bottom: .4em; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.figure-wide { margin: 0 0 1.6em; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.figure-wide img { width: 100%; max-height: 460px; object-fit: cover; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 24px; padding: 40px 30px; display: grid; gap: 20px; align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(242,169,59,.3), transparent 65%); z-index: -1; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.cta-band .cta-row { margin: 0; }
.cta-band .btn-call { background: #fff; color: var(--brand-dark); box-shadow: none; }
.cta-band .btn-call:hover { background: var(--tint); color: var(--brand-dark); }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.6rem; margin-bottom: .2em; }
.form-grid { display: grid; gap: 16px; margin-top: 18px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .84rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--tint-2);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(29,92,115,.12); }
.field input[type="file"] { padding: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
fieldset .consent { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink); font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
fieldset .consent:hover { border-color: rgba(29,92,115,.4); }
fieldset .consent:has(input:checked) { border-color: var(--brand); background: var(--tint); }
fieldset { min-width: 0; }
.req { color: #c2410c; }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; }
.form-alt { text-align: center; font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.two-col > *, .content-grid > *, .hero-inner > *, .form-grid > * { min-width: 0; }

/* Contact */
.details { margin: 1.6em 0 0; }
.details dt { font-weight: 700; margin-top: 1em; }
.details dd { margin: 0; color: var(--muted); }
.map-frame { border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }
.map-link { display: block; padding: 12px 16px; font-weight: 600; }

/* Footer: one slim strip */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.7); padding: 26px 0 18px; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.footer-brand { font-family: var(--head); font-size: 1.15rem; font-weight: 800; color: #fff !important; }
.footer-id p { margin: 2px 0 0; font-size: .84rem; color: rgba(255,255,255,.62); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 500; }
.legal { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 6px 18px; color: rgba(255,255,255,.55); }
.legal a { color: rgba(255,255,255,.7); }
@media (min-width: 980px) { .footer-main { padding-right: 200px; } } /* keep clear of the floating Call/WhatsApp buttons */
.legal { justify-content: center; }
.legal .axe-credit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 1px solid rgba(242,169,59,.45); border-radius: 999px; color: rgba(255,255,255,.85); font-size: .9rem; background: rgba(242,169,59,.08); transition: background .2s, border-color .2s; }
.legal .axe-credit strong { color: var(--accent); font-weight: 700; }
.legal .axe-credit:hover { background: rgba(242,169,59,.18); border-color: var(--accent); color: #fff; }

/* Sticky contact buttons */
.sticky-contact {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.sticky-contact .btn { flex: 1; padding: 13px 6px; font-size: .96rem; box-shadow: none; }

/* Tracking, thank-you and quote/invoice pages */
.ticket-no { display: inline-block; font-family: var(--head); font-size: 2.3rem; font-weight: 800; letter-spacing: .04em; color: var(--brand-dark); background: var(--tint); border-radius: 14px; padding: 6px 24px; margin: 0 0 .6em; }
.track-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 20px 0; box-shadow: var(--shadow-sm); }
.track-card h2 { font-size: 1.2rem; margin-bottom: .6em; }
.track-card.visit { border-left: 5px solid var(--wa); }
.track-card .big { font-family: var(--head); font-size: 1.4rem; font-weight: 800; margin-bottom: .3em; }
.progress { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; counter-reset: p; }
.progress li { counter-increment: p; text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); position: relative; padding-top: 44px; line-height: 1.25; }
.progress li::before { content: counter(p); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--muted); display: grid; place-items: center; font-weight: 700; font-size: .85rem; z-index: 1; }
.progress li:not(:last-child)::after { content: ""; position: absolute; top: 16px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.progress li.done::after { background: var(--brand); }
.progress li.done::before { content: "✓"; background: var(--brand); color: #fff; }
.progress li.current { color: var(--ink); }
.progress li.current::before { background: var(--accent); color: #241703; box-shadow: 0 0 0 5px rgba(242,169,59,.25); }
.progress.is-cancelled { opacity: .45; }
.notice { background: #fff7e8; border: 1px solid #f6d79e; border-radius: 12px; padding: 13px 16px; font-weight: 600; }
.notice.ok { background: #e8f7ef; border-color: #b5e3c8; color: #145c37; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 700; text-transform: capitalize; background: var(--tint); color: var(--brand-dark); }
.pill.ok, .pill.paid, .pill.accepted { background: #e2f5ea; color: #145c37; }
.pill.declined, .pill.cancelled { background: #fde8e7; color: #9b1c13; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.timeline { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.timeline li { background: var(--tint); border-radius: 16px 16px 16px 4px; padding: 11px 15px; max-width: 88%; }
.timeline li.mine { background: #e2f5ea; justify-self: end; border-radius: 16px 16px 4px 16px; }
.timeline .meta { font-size: .76rem; color: var(--muted); font-weight: 600; }
.timeline .body { white-space: pre-wrap; }
.reply { display: grid; gap: 8px; }
.reply label { font-weight: 700; }
.reply textarea { font: inherit; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 100px; background: var(--tint-2); }
.reply .btn { justify-self: start; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.accept-box { background: #f3fbf6; border: 1px solid #b5e3c8; border-radius: 18px; padding: 22px; margin-bottom: 22px; display: grid; gap: 12px; }
.accept-box h2 { font-size: 1.25rem; margin: 0 0 .2em; }
.accept-box p { margin: 0; color: var(--muted); }
.accept-form { display: flex; flex-wrap: wrap; gap: 10px; }
.accept-form input { flex: 1 1 220px; font: inherit; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.paper { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.paper-head { background: var(--brand-dark); color: #fff; padding: 28px 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 5px solid var(--brand); }
.paper-brand { font-family: var(--head); font-size: 1.5rem; font-weight: 800; }
.paper-sub { font-size: .8rem; opacity: .8; }
.paper-title { text-align: right; font-family: var(--head); font-size: 1.5rem; font-weight: 800; }
.paper-title small { display: block; font-size: .9rem; font-weight: 500; opacity: .8; }
.paper-parties { display: grid; gap: 20px; padding: 26px 30px; }
.paper-parties p { margin: 2px 0; color: var(--muted); font-size: .93rem; }
.lbl { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 4px; }
.paper-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; background: var(--tint); margin: 0 30px; padding: 14px 16px; border-radius: 10px; }
.paper-meta span { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.paper-items { width: calc(100% - 60px); margin: 22px 30px 0; border-collapse: collapse; font-size: .93rem; }
.paper-items th { background: var(--brand); color: #fff; text-align: left; padding: 10px; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.paper-items td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.paper-items th:not(:first-child), .paper-items td:not(:first-child) { text-align: right; white-space: nowrap; }
.paper-totals { margin: 14px 30px 0 auto; width: min(320px, calc(100% - 60px)); padding-right: 30px; box-sizing: content-box; }
.paper-totals div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.paper-totals .grand { background: var(--brand-dark); color: #fff; font-weight: 800; font-size: 1.1rem; padding: 11px 13px; border-radius: 8px; margin-top: 6px; }
.paper-note { padding: 18px 30px 0; font-size: .92rem; color: var(--muted); }
.paper-note:last-child { padding-bottom: 30px; }

/* Entrance animation for hero content */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: rise .7s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: .15s; }

@media (min-width: 640px) {
  .trustbar ul { grid-template-columns: repeat(4, 1fr); }
  .trustbar li { border-bottom: 0; }
  .trustbar li:last-child { border-right: 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .paper-parties { grid-template-columns: 1fr 1fr; }
  .paper-meta { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 639px) { .trustbar li:nth-child(2n) { border-right: 0; } .trustbar li:nth-child(n+3) { border-bottom: 0; } }
@media (min-width: 760px) {
  .gallery { columns: 3; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1fr auto; padding: 48px 52px; }
}
@media (min-width: 980px) {
  :root { --bar-h: 0px; }
  .nav { display: flex; }
  .header-actions { display: flex; }
  .menu { display: none; }
  .hero { padding: 104px 0 128px; }
  .hero-inner { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .page-hero { padding: 64px 0 72px; }
  .section { padding: 96px 0; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .content-grid { grid-template-columns: minmax(0, 1fr) 350px; gap: 60px; }
  .aside-sticky { position: sticky; top: 100px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .sticky-contact { left: auto; right: 22px; bottom: 22px; flex-direction: column; gap: 10px; background: transparent; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sticky-contact .btn { flex: none; box-shadow: var(--shadow-lg); padding: 12px 20px; }
  .sticky-contact .btn-quote { display: none; }
}
@media (max-width: 560px) {
  .progress li { font-size: .64rem; }
  .progress li::before { width: 30px; height: 30px; }
  .progress li:not(:last-child)::after { top: 14px; }
  .paper-items { font-size: .82rem; }
  .paper-items td, .paper-items th { padding: 8px 5px; }
}
@media print {
  .sticky-contact, .site-header, .menu, .site-footer, .doc-actions, .accept-box, .notice, .crumbs, .pages-preview { display: none !important; }
  body { padding: 0; }
  .doc-section { padding: 0; }
  .paper { box-shadow: none; border: 0; }
  .paper-head, .paper-items th, .paper-totals .grand, .paper-meta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Flow: content fades up as it scrolls into view (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .service-card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
@media (max-width: 420px) { .brand small { display: none; } }

/* Services dropdown in the header */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); background: none; border: 0; padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn, .nav-dd-btn[aria-current="page"] { background: var(--tint); color: var(--brand); }
.nav-dd-btn .chev { transition: transform .25s; }
.nav-dd.open .nav-dd-btn .chev { transform: rotate(180deg); }
.nav-dd-panel { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 6px); width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd.open .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .93rem; line-height: 1.3; }
.nav-dd-panel a svg { flex: none; color: var(--brand); padding: 6px; width: 30px; height: 30px; border-radius: 8px; background: var(--tint); transition: background .2s, color .2s; }
.nav-dd-panel a:hover, .nav-dd-panel a[aria-current="page"] { background: var(--tint-2); color: var(--brand); }
.nav-dd-panel a:hover svg { background: var(--brand); color: #fff; }
@media (hover: hover) and (min-width: 980px) { .nav-dd:hover .nav-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }

/* Services list inside the phone menu */
.menu-sub > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.menu-sub > summary::-webkit-details-marker { display: none; }
.menu-sub > summary:hover { background: var(--tint); }
.menu-sub[open] > summary .chev { transform: rotate(180deg); }
.menu-sub > div { display: grid; padding: 0 0 6px 12px; border-left: 2px solid var(--tint); margin-left: 14px; }
.menu-sub > div a { padding: 9px 12px; font-weight: 500; font-size: .95rem; }
.menu-panel { max-height: calc(100vh - 100px); overflow-y: auto; }

/* Quote form locked to one service */
.field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.fixed-service { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--tint); border: 1.5px solid var(--brand); font-weight: 700; color: var(--brand-dark); }
.fixed-service svg { color: var(--brand); flex: none; }

/* Link to the plumber's profile wherever his name appears */
.person-link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.person-link:hover { color: var(--accent); }

/* "Meet your licensed plumber" card */
.plumber-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; align-self: start; }
.plumber-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--teal)); }
.plumber-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.pc-top { display: flex; align-items: center; gap: 16px; }
.pc-avatar, .lc-avatar { flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(140deg, var(--teal), var(--brand-dark)); color: #fff; font-family: var(--head); font-weight: 800; letter-spacing: .02em; }
.pc-avatar { width: 62px; height: 62px; font-size: 1.3rem; }
.pc-badge, .lc-verified { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: #145c37; background: #e2f5ea; border-radius: 999px; padding: 3px 10px; }
.pc-name { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 800; margin: 6px 0 2px; }
.pc-role { display: block; font-size: .88rem; color: var(--muted); }
.pc-label { margin: 18px 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.pc-chips, .lc-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--tint); color: var(--brand-dark); border-radius: 999px; padding: 5px 12px; font-size: .84rem; font-weight: 600; }
.pc-chips li.spec { background: #fff3df; color: #7a4a06; }
.pc-chips svg { color: var(--brand); }
.pc-chips li.spec svg { color: var(--accent-dark); }
.pc-cta { display: inline-flex; margin-top: 18px; font-weight: 700; color: var(--brand); }
.plumber-card:hover .pc-cta { color: var(--teal); }

/* Profile page: digital licence card */
.licence { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.licence::after { content: "LICENSED PLUMBER"; position: absolute; right: 0; top: 0; bottom: 0; width: 44px; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); background: linear-gradient(var(--accent), var(--accent-dark)); color: #241703; font-family: var(--head); font-weight: 800; letter-spacing: .2em; font-size: .78rem; }
.lc-head { display: flex; align-items: center; gap: 18px; padding: 28px 72px 24px 28px; background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; }
.lc-avatar { width: 78px; height: 78px; font-size: 1.6rem; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.35); }
.lc-kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cfe6ee; }
.lc-head h2 { color: #fff; margin: 4px 0 8px; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.lc-facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 8px 72px 8px 28px; }
.lc-facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.lc-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lc-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.licence h3 { margin: 22px 72px 12px 28px; font-size: 1rem; }
.lc-cats { padding: 0 72px 0 28px; }
.lc-cats a { display: inline-flex; align-items: center; gap: 8px; background: var(--tint); color: var(--brand-dark); border-radius: 12px; padding: 9px 14px; font-weight: 600; font-size: .93rem; text-decoration: none; transition: background .2s, color .2s; }
.lc-cats a:hover { background: var(--brand); color: #fff; }
.lc-cats a svg { color: var(--brand); }
.lc-cats a:hover svg { color: #fff; }
.lc-spec { display: flex; align-items: center; gap: 12px; margin: 18px 72px 28px 28px; padding: 14px 16px; border-radius: 14px; background: #fff7e8; border: 1px solid #f6d79e; color: #7a4a06; }
.lc-spec span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lc-spec strong { font-size: 1.05rem; color: var(--ink); }
@media (min-width: 640px) { .lc-facts { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
@media (max-width: 520px) { .licence::after { width: 30px; font-size: .62rem; } .lc-head, .lc-facts, .lc-cats { padding-right: 46px; } .licence h3, .lc-spec { margin-right: 46px; } .lc-head { flex-direction: column; align-items: flex-start; } }

