/* DP Pressure Washing UK — mobile-first stylesheet */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1668e3;
  --blue-dark: #0f4fb3;
  --red: #d7263d;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #1c2733;
  --muted: #5a6b7d;
  --line: #dde6f0;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 8px 30px rgba(11, 37, 69, 0.14);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  /* room for the sticky mobile action bar */
  padding-bottom: 76px;
}
img, iframe, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style-position: inside; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.1rem); margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
p  { margin-bottom: 1em; }
section { padding: 44px 0; }
.section-intro { max-width: 720px; color: var(--muted); margin-bottom: 1.6em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-red { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn-red:hover { background: #b71e32; }
.btn-whatsapp { background: #25d366; color: #06301a; }
.btn-whatsapp:hover { background: #1eb457; color: #06301a; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy); color: #cfe0f5; font-size: .85rem;
  padding: 6px 12px; text-align: center; line-height: 1.5;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar-area, .topbar-phone { display: block; }
.topbar-sep { display: none; }
@media (min-width: 640px) {
  .topbar-area, .topbar-phone, .topbar-sep { display: inline; }
  .topbar-sep { margin: 0 8px; }
}

.site-header {
  background: #fff; position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px rgba(11,37,69,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; max-width: var(--maxw); margin: 0 auto; gap: 12px;
}
.brand { display: flex; align-items: center; text-decoration: none !important; }
.brand img {
  height: 76px; width: auto;
  margin: -6px 0 -30px;           /* overhangs the white header bar */
  position: relative; z-index: 5;
  filter: drop-shadow(0 5px 12px rgba(11, 37, 69, .3));
}
@media (min-width: 1080px) {
  .brand img { height: 96px; margin: -8px 0 -42px; }
}

.nav-toggle {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: inline-flex; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.site-nav ul { list-style: none; padding: 8px 0; }
.site-nav a {
  display: block; padding: 13px 24px; color: var(--navy); font-weight: 600;
  text-decoration: none !important;
}
.site-nav a:hover, .site-nav a.active { color: var(--blue); background: var(--bg); }
.header-cta { display: none; }

@media (min-width: 1080px) {
  body { padding-bottom: 0; }
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; box-shadow: none; border: none; }
  .site-nav ul { display: flex; gap: 2px; padding: 0; }
  .site-nav a { padding: 8px 12px; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
  .header-cta { display: inline-flex; white-space: nowrap; padding: 11px 18px; font-size: .95rem; }
  .mobile-bar { display: none !important; }
}

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--navy); padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 6px; border-radius: 10px; color: #fff; font-weight: 700;
  font-size: .9rem; text-decoration: none !important;
}
.mobile-bar .m-call { background: var(--blue); }
.mobile-bar .m-wa { background: #25d366; color: #06301a; }
.mobile-bar .m-quote { background: var(--red); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(150deg, rgba(11,37,69,.92) 0%, rgba(19,49,92,.88) 55%, rgba(15,79,179,.85) 100%),
    url('../images/hero-bg.jpg') center / cover no-repeat var(--navy);
  color: #fff; padding: 56px 0 64px;
}
.hero-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero-van img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.hero-van-caption { text-align: center; color: #b9d0ec; font-size: .85rem; margin-top: 10px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: #7db4ff; }
.hero p.lead { font-size: 1.12rem; color: #d9e6f7; max-width: 620px; margin-bottom: 1.4em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.chip .star { color: #ffc93c; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(150deg, var(--navy), var(--blue-dark)); color: #fff; padding: 40px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d9e6f7; max-width: 700px; margin: .5em 0 0; }
.crumbs { font-size: .82rem; color: #9fbde0; margin-bottom: 10px; }
.crumbs a { color: #cfe0f5; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card .icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .8em; }
.card .more { font-weight: 700; font-size: .92rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; }
.checklist li { padding: 7px 0 7px 30px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 21px; height: 21px; border-radius: 50%; background: #e3f2e8; color: #1b7a3d;
  font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 18px 52px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps li strong { display: block; color: var(--navy); }
.steps li span { color: var(--muted); font-size: .95rem; }

/* ---------- Pricing tables ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .95rem; }
.price-table th { background: var(--navy); color: #fff; text-align: left; padding: 13px 16px; font-size: .9rem; }
.price-table td { padding: 13px 16px; border-top: 1px solid var(--line); }
.price-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.table-scroll { overflow-x: auto; }

/* ---------- Gallery / before-after ---------- */
.ba-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--navy-2); touch-action: pan-y; cursor: ew-resize; }
.ba-slider img, .ba-slider .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; z-index: 3;
  -webkit-appearance: none; appearance: none;
  pointer-events: none;   /* pointer input handled on the container; range stays for keyboard */
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 2;
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}
.ba-handle::after {
  content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: #fff; color: var(--navy); font-size: .6rem; font-weight: 800;
  padding: 8px 9px; border-radius: 999px; white-space: nowrap;
}
.ba-label { position: absolute; top: 10px; z-index: 2; background: rgba(11,37,69,.78); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .05em; }
.ba-label.before { left: 10px; }
.ba-label.after { right: 10px; }
.gallery-caption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- Testimonials ---------- */
.review-card { display: flex; flex-direction: column; }
.review-stars { color: #ffb400; font-size: 1rem; letter-spacing: 2px; margin-bottom: 8px; }
.review-card blockquote { font-size: .96rem; color: var(--text); flex: 1; }
.review-meta { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.review-meta strong { color: var(--navy); display: block; font-size: .92rem; }
.google-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); }

.video-slot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #9fbde0; gap: 8px; text-align: center; padding: 20px; }
.video-slot .play { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }

/* ---------- Areas / map ---------- */
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 0; }
@media (min-width: 768px) { .map-embed { height: 420px; } }
.postcode-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pc-chip { background: #fff; border: 1.5px solid var(--line); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 6px 13px; border-radius: 8px; }
.area-links { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.area-links a {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; font-weight: 600; color: var(--navy); text-decoration: none !important;
  box-shadow: var(--shadow);
}
.area-links a:hover { border-color: var(--blue); color: var(--blue); }
.area-links a::after { content: "→"; color: var(--blue); }

/* ---------- FAQ ---------- */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0; margin-bottom: 10px; box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 15px 18px; list-style: none; position: relative; padding-right: 40px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.3rem; color: var(--blue); }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 18px 15px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; border-radius: var(--radius); padding: 34px 26px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e6f7; max-width: 560px; margin: 0 auto 1.2em; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--bg);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 2px solid var(--blue); border-color: var(--blue); background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cde4; margin-top: 40px; padding: 44px 0 20px; font-size: .92rem; }
.site-footer h3 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #b9cde4; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; color: #7f97b3; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.cred { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.cred .icon { font-size: 1.7rem; }
.cred p { margin: 0; color: var(--muted); font-size: .93rem; }
.cred strong { color: var(--navy); display: block; margin-bottom: 3px; }

/* ---------- Accreditation badges ---------- */
.accred-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; }
@media (min-width: 760px) { .accred-strip { grid-template-columns: repeat(4, 1fr); } }
.accred {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; text-align: center;
}
.accred img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 10px; }
.accred strong { display: block; color: var(--navy); font-size: .9rem; line-height: 1.3; }
.accred span { color: var(--muted); font-size: .8rem; }

/* ---------- Portrait video ---------- */
.video-portrait {
  width: 100%; max-width: 340px; margin: 0 auto;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--navy);
  aspect-ratio: 9 / 16;
}

/* ---------- Hero refinements ---------- */
/* On mobile the sticky bottom bar already carries Call/WhatsApp/Quote — don't duplicate */
@media (max-width: 1079px) {
  .hero .hero-ctas { display: none; }
  .chip { font-size: .78rem; padding: 6px 12px; }
}
.hero-accreds { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-accreds img {
  width: 62px; height: 62px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}
@media (min-width: 1080px) { .hero-accreds img { width: 72px; height: 72px; } }
.hero-accreds-label { color: #b9d0ec; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Phone mockup ---------- */
.phone-mock {
  width: min(290px, 78vw); margin: 0 auto;
  background: #14161c; border-radius: 38px; padding: 14px 12px 18px;
  box-shadow: 0 18px 44px rgba(11, 37, 69, .35), inset 0 0 0 2px #2a2e38;
  position: relative;
}
.phone-mock::before {          /* speaker/notch */
  content: ""; display: block; width: 84px; height: 6px; border-radius: 4px;
  background: #2a2e38; margin: 0 auto 10px;
}
.phone-mock::after {           /* home indicator */
  content: ""; display: block; width: 96px; height: 4px; border-radius: 3px;
  background: #2a2e38; margin: 12px auto 0;
}
.phone-mock video { width: 100%; border-radius: 24px; aspect-ratio: 9 / 16; background: #000; display: block; }

/* ---------- Suds trail (tap/drag gimmick) ---------- */
.sud {
  position: fixed; pointer-events: none; z-index: 9999;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    rgba(255, 255, 255, .85) 0%,
    rgba(255, 255, 255, .25) 14%,
    rgba(225, 240, 252, .10) 40%,
    rgba(190, 218, 245, .08) 70%,
    rgba(150, 195, 240, .30) 92%,
    rgba(130, 180, 235, .45) 100%);
  border: 1px solid rgba(200, 225, 250, .55);
  box-shadow: inset -3px -3px 6px rgba(120, 170, 230, .18),
              inset 3px 4px 6px rgba(255, 255, 255, .55);
  animation: sud-float var(--life, 1.3s) ease-out forwards;
  will-change: transform, opacity;
}
@keyframes sud-float {
  0%   { transform: translate(0, 0) scale(.35); opacity: .95; }
  70%  { opacity: .75; }
  100% { transform: translate(var(--dx, 0px), var(--dy, -80px)) scale(1.1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sud { display: none; } }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: #fff; border-top: 3px solid var(--blue);
  box-shadow: 0 -6px 24px rgba(11, 37, 69, .16);
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
}
.cookie-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap;
}
.cookie-inner p { margin: 0; flex: 1 1 340px; font-size: .92rem; color: var(--navy); line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 20px; font-size: .95rem; }
/* On mobile the sticky call/WhatsApp bar sits at the very bottom — lift the
   banner above it so both are usable. */
@media (max-width: 1079px) {
  .cookie-banner { bottom: 64px; }
}
@media (max-width: 520px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; text-align: center; }
}

/* ---------- Contact form error notice ---------- */
.form-error {
  background: #fdeaea; color: #a02020; border: 1px solid #f4caca;
  border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-size: .92rem;
}
.form-error a { color: #a02020; font-weight: 700; text-decoration: underline; }
