/* ============================================================
   London Pressure Washing — wash.cesspool.uk
============================================================ */

/* ----- Design tokens ----- */
:root {
  --blue: #0d6efd;
  --blue-dark: #0a4fb8;
  --blue-light: #e7f0ff;
  --navy: #0b2545;
  --navy-light: #123a6b;
  --ink: #1b2733;
  --grey: #5b6b7b;
  --grey-light: #94a3b8;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --wa: #25d366;
  --wa-dark: #1da851;
  --star: #f59e0b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.12);
  --maxw: 1120px;
  --header-h: 68px;
  --transition: 0.2s ease;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--grey-light); }
p { color: var(--grey); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: 1rem;
  padding: .7em 1.3em; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 16px rgba(13,110,253,.35); }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 4px 16px rgba(37,211,102,.35); }
.btn-nav-cta { box-shadow: 0 2px 8px rgba(13,110,253,.25); }
.wa-icon { width: 1.25em; height: 1.25em; fill: currentColor; flex-shrink: 0; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.brand {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 800; color: var(--navy); font-size: 1.05rem; z-index: 102;
}
.brand:hover { text-decoration: none; }
.brand-icon {
  width: 24px; height: 24px; fill: var(--blue); flex-shrink: 0;
}
.brand-text { 
  /* hide on small screens, show on medium+ */
}
.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-links > a:not(.btn) {
  color: var(--ink); font-weight: 500; font-size: .96rem;
  transition: color var(--transition);
}
.nav-links > a:not(.btn):hover,
.nav-links > a:not(.btn).active { color: var(--blue); text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 6px;
  background: none; border: 0; cursor: pointer; z-index: 102;
}
.hamburger span {
  display: block; width: 100%; height: 2.5px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  z-index: 99; padding: 2rem 24px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-links {
  display: flex; flex-direction: column; gap: .8rem;
}
.mobile-nav-links a:not(.btn) {
  font-size: 1.2rem; font-weight: 600; color: var(--navy);
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.mobile-nav-links a:not(.btn):hover { color: var(--blue); text-decoration: none; }
.mobile-nav-links .btn { margin-top: .8rem; }

/* ----- Hero ----- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,37,69,.75) 0%, rgba(11,37,69,.88) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 680px;
}
.hero-copy h1 { color: #fff; margin-bottom: .4em; }
.hero-copy .lead { color: rgba(255,255,255,.85); font-size: 1.18rem; margin-bottom: 1.4em; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  background: rgba(255,255,255,.15); color: #fff;
  padding: .35em .8em; border-radius: 999px; margin-bottom: 1rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-points {
  list-style: none; padding: 0; display: grid; gap: .4rem;
  font-weight: 500; font-size: .98rem;
  color: rgba(255,255,255,.9);
}

/* ----- Sections ----- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 60ch; margin: 0 auto 2.8rem; text-align: center; }
.section-head p { font-size: 1.08rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ----- Service cards ----- */
.service-card {
  padding: 0; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Service card images — real Unsplash photos */
.card-img {
  position: relative; aspect-ratio: 3/2; overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.service-card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.4rem; }
.card-body h3 { margin-bottom: .3em; }
.card-body p { color: var(--grey); margin: 0; font-size: .96rem; }
.services-foot { text-align: center; max-width: 60ch; margin: 2rem auto 0; font-size: .98rem; }

/* ----- In action photo strip ----- */
.action-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.action-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 3/2;
}
.action-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.action-card:hover img { transform: scale(1.04); }

/* ----- Features ----- */
.feature {
  text-align: center; padding: 1rem .5rem;
}
.feature-icon {
  width: 52px; height: 52px; margin: 0 auto 1rem;
  background: var(--blue-light); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg {
  width: 26px; height: 26px; fill: var(--blue);
}
.feature h3 { font-size: 1.1rem; margin-bottom: .4em; color: var(--blue-dark); }
.feature p { margin: 0; font-size: .96rem; }

/* ----- Pricing ----- */
/* How it works steps */
.how-it-works {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.how-step {
  text-align: center; padding: 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.how-num {
  width: 40px; height: 40px; margin: 0 auto .8rem;
  background: var(--blue); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800;
}
.how-step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .35em; }
.how-step p { font-size: .93rem; margin: 0; }

.price-banner {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff; border-radius: var(--radius); padding: 2rem 2.2rem;
  box-shadow: var(--shadow-lg); margin-bottom: 2.5rem;
}
.price-figure { display: flex; align-items: baseline; gap: .25rem; flex-shrink: 0; }
.price-from { font-size: .9rem; opacity: .8; }
.price-big { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; line-height: 1; }
.price-unit { font-size: 1.1rem; opacity: .85; }
.price-text { flex: 1; min-width: 240px; }
.price-text p { margin: 0 0 .25rem; color: rgba(255,255,255,.9); }
.price-text .muted { color: rgba(255,255,255,.65); font-size: .95rem; }

.size-card { text-align: center; padding: 1.6rem; }
.size-eg { color: var(--blue-dark); font-weight: 600; margin-bottom: .2rem; }
.size-desc { font-size: .94rem; margin-bottom: .6rem; }
.size-price { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.pricing-note { text-align: center; font-size: .96rem; margin-top: 1.8rem; }

/* ----- Area ----- */
.area-inner { text-align: center; }
.area-lead { max-width: 50ch; margin: .6rem auto 1.6rem; font-size: 1.08rem; }

/* ----- Quote / Contact ----- */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.quote-copy h2 { margin-bottom: .3em; }
.quote-copy > p { font-size: 1.08rem; max-width: 36ch; margin-bottom: 1.5rem; }

.contact-cards { display: grid; gap: .8rem; }
.contact-card {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.2rem; border: 2px solid var(--line);
  border-radius: var(--radius-sm); transition: border-color var(--transition), background var(--transition);
  text-decoration: none; color: var(--ink);
}
.contact-card:hover { border-color: var(--blue); background: var(--blue-light); text-decoration: none; }
.contact-card-wa:hover { border-color: var(--wa); background: #e8faf0; }
.contact-card-icon { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.contact-card strong { display: block; font-size: .95rem; }
.contact-card span { display: block; font-size: .85rem; color: var(--grey); }
.contact-card-wa .contact-card-icon { color: var(--wa); }

.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-lg);
}
.quote-form h3 { margin-bottom: .2em; }
.form-subtitle { font-size: .92rem; color: var(--grey); margin-bottom: 1.2rem; }
.form-fields { display: grid; gap: .9rem; }
.quote-form label { display: block; }
.quote-form label span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink); }
.quote-form label em { color: var(--grey); font-weight: 400; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: .7em .8em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .96rem; color: var(--ink); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.quote-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%235b6b7b'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; padding-right: 2.2em;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}
.quote-form textarea { resize: vertical; min-height: 60px; }
.quote-form .btn { margin-top: .8rem; }

/* ----- Footer ----- */
.site-footer { background: var(--navy); color: #cdd9ea; padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.5rem;
}
.footer-brand strong { display: block; color: #fff; font-size: 1.05rem; margin: .4rem 0 .3rem; }
.footer-brand p { color: #91a4bd; font-size: .92rem; max-width: 28ch; margin: 0; }
.footer-links, .footer-contact-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-links h4, .footer-contact-col h4 { margin-bottom: .3rem; }
.footer-links a { color: #8fc0ff; font-size: .94rem; }
.footer-links a:hover { color: #fff; }
.footer-contact-col a { color: #8fc0ff; font-size: .94rem; display: inline-flex; align-items: center; gap: .4rem; }
.footer-contact-col a:hover { color: #fff; }
.footer-wa-link .wa-icon { width: 1.1em; height: 1.1em; }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: .88rem; color: #6a7f99; margin: 0; }
.footer-bottom a { color: #8fc0ff; }

/* ----- Back to top ----- */
.back-to-top {
  position: fixed; bottom: 100px; right: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(13,110,253,.35);
  opacity: 0; transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ----- Mobile sticky CTA ----- */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 16px;
  gap: .6rem; justify-content: center;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.mobile-cta .btn { flex: 1; font-size: .95rem; padding: .75em 1em; }

/* ----- Scroll animations ----- */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablet */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .price-banner { flex-direction: column; text-align: center; }
  .how-it-works { grid-template-columns: 1fr; }
  .action-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .brand::after { content: 'LPW'; font-size: .85rem; font-weight: 800; color: var(--navy); }

  /* Show hamburger, hide desktop nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Mobile CTA visible */
  .mobile-cta { display: flex; }

  /* Back to top higher to clear mobile CTA */
  .back-to-top { bottom: 90px; }
}

/* Phone */
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .quote-form { padding: 1.4rem; }
}
