/* ==========================================================================
   Wrights Cleaning — Design System
   Brand: Blue #1A5DA8 / Green #76B82A (from logo)
   ========================================================================== */

:root {
  --blue: #1a5da8;
  --blue-dark: #11437d;
  --navy: #0b2545;
  --navy-deep: #071a33;
  --green: #76b82a;
  --green-dark: #5d9420;
  --green-light: #8fd13c;
  --sky: #e8f1fa;
  --sky-soft: #f4f8fc;
  --ink: #16263b;
  --slate: #4a5d74;
  --line: #dce6f0;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.07);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1.1em; }
a { color: var(--blue); text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

section { padding: clamp(64px, 9vw, 110px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.section-head.center .eyebrow::after {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out),
              color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease-spring); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(115deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(118, 184, 42, 0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, var(--blue) 0%, var(--blue-dark) 100%);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.45s var(--ease-out);
}
.btn-primary:hover::after { clip-path: inset(0 0 0 0); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(26, 93, 168, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(26, 93, 168, 0.3);
}

/* ---------- Clip-path text hover (signature micro-animation) ---------- */
.clip-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.clip-link::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  padding: inherit;
  color: var(--green-dark);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.45s var(--ease-out);
}
.clip-link:hover::before,
.clip-link:focus-visible::before,
.clip-link.active::before { clip-path: inset(0 0 0 0); }
.clip-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.clip-link:hover::after,
.clip-link:focus-visible::after,
.clip-link.active::after { transform: scaleX(1); }

/* Arrow text-link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
}
.arrow-link svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease-spring); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.topbar {
  background: var(--navy);
  color: #cfe0f2;
  font-size: 0.84rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}
.topbar a { color: #fff; font-weight: 600; transition: color 0.25s; }
.topbar a:hover { color: var(--green-light); }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; }
.topbar svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; fill: var(--green-light); }

/* compact quote button shown in the top bar on mobile (hidden on desktop) */
.topbar-quote {
  display: none;
  align-items: center;
  gap: 6px;
  background: linear-gradient(115deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(118, 184, 42, 0.35);
  transition: filter 0.25s, transform 0.25s var(--ease-spring);
}
.topbar .topbar-quote:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand img { height: 52px; width: auto; }
.brand .brand-logo { height: 53px; width: auto; display: block; }
.brand { display: flex; align-items: center; transition: transform 0.3s var(--ease-spring); }
.brand:hover { transform: scale(1.04); }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.main-nav .clip-link { font-size: 0.99rem; padding: 4px 0; }
.nav-cta { flex: none; }
.nav-cta .btn { padding: 12px 24px; font-size: 0.93rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s, color 0.25s, padding-left 0.3s var(--ease-out);
}
.drop a:hover { background: var(--sky); color: var(--blue); padding-left: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(26, 93, 168, 0.55), transparent 60%),
    radial-gradient(800px 420px at -5% 110%, rgba(118, 184, 42, 0.28), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: #fff;
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0 0;
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(95deg, var(--green-light), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: #c2d4e8; max-width: 560px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 0 rgba(143, 209, 60, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 209, 60, 0.55); }
  70% { box-shadow: 0 0 0 11px rgba(143, 209, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 209, 60, 0); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0 10px; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35)); }

/* floating glass chips over hero art */
.glass-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 11px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
}
.glass-chip svg { width: 22px; height: 22px; flex: none; }
.glass-chip.c1 { top: 8%; left: -4%; animation-delay: 0s; }
.glass-chip.c2 { bottom: 22%; right: -3%; animation-delay: 1.4s; }
.glass-chip.c3 { top: 42%; left: -4%; animation-delay: 2.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* hero stats band */
.hero-stats {
  margin-top: clamp(56px, 7vw, 84px);
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 26px 0;
}
.stat { text-align: center; padding: 10px 6px; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stat .num .suffix { color: var(--green-light); }
.stat .label { font-size: 0.86rem; color: #9fb8d4; margin-top: 4px; }

/* wave divider */
.wave { display: block; width: 100%; height: auto; margin-bottom: -1px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(26, 93, 168, 0.5), transparent 60%),
    radial-gradient(700px 380px at 0% 130%, rgba(118, 184, 42, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 75%);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c2d4e8; max-width: 640px; }
.page-hero .split { align-items: center; }
.page-hero-art {
  max-width: 430px;
  width: 100%;
  justify-self: end;
}
.page-hero-art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}
@media (max-width: 880px) {
  .page-hero-art { max-width: 340px; margin-inline: auto; justify-self: center; }
}
.crumbs {
  font-size: 0.85rem;
  color: #8fa9c8;
  margin-bottom: 18px;
}
.crumbs a { color: #c2d4e8; }
.crumbs a:hover { color: var(--green-light); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

/* ---------- Marquee (clients) ---------- */
.clients-band { padding: 34px 0; background: var(--sky-soft); border-bottom: 1px solid var(--line); }
.clients-band .tag {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: #93a7bd;
  white-space: nowrap;
  transition: color 0.3s, transform 0.3s var(--ease-spring);
  display: inline-block;
}
.marquee-track span:hover { color: var(--blue); transform: scale(1.07); }
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.4s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s var(--ease-out);
}
.card:hover::before { clip-path: inset(0 0 0 0); }
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* spot illustration banner inside cards */
.spot-art {
  margin: -34px -30px 22px;
  background:
    radial-gradient(260px 120px at 85% -20%, rgba(46, 123, 209, 0.45), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--blue-dark));
  overflow: hidden;
}
.spot-art svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.card:hover .spot-art svg { transform: scale(1.07); }

/* mini scene in process steps */
.step-art {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 88px;
  height: auto;
  transition: transform 0.45s var(--ease-spring);
}
.step:hover .step-art { transform: scale(1.12) rotate(-4deg); }

.icon-wrap {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), #fff);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease-spring), background 0.4s;
}
.icon-wrap svg { width: 30px; height: 30px; }
.card:hover .icon-wrap {
  transform: rotate(-6deg) scale(1.12);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.card:hover .icon-wrap svg path,
.card:hover .icon-wrap svg circle,
.card:hover .icon-wrap svg rect { stroke: #fff; }
.icon-wrap svg path, .icon-wrap svg circle, .icon-wrap svg rect {
  stroke: var(--blue);
  transition: stroke 0.35s;
}
.card p { color: var(--slate); font-size: 0.99rem; }

/* feature mini-cards */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(118, 184, 42, 0.45);
}
.feature .f-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(118, 184, 42, 0.13);
  transition: transform 0.4s var(--ease-spring), background 0.35s;
}
.feature:hover .f-icon { transform: scale(1.15) rotate(6deg); background: rgba(118, 184, 42, 0.25); }
.feature .f-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.06rem; margin-bottom: 4px; }
.feature p { font-size: 0.93rem; color: var(--slate); margin: 0; }

/* location cards */
.loc-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  padding: 32px 28px;
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  isolation: isolate;
}
.loc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(155deg, var(--green-dark) 0%, var(--green) 120%);
  clip-path: circle(0% at 88% 12%);
  transition: clip-path 0.65s var(--ease-out);
}
.loc-card:hover::before { clip-path: circle(150% at 88% 12%); }
.loc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.loc-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.loc-card .post { font-size: 0.86rem; opacity: 0.85; margin-bottom: 16px; display: block; }
.loc-card .arrow-link { color: #fff; font-size: 0.94rem; }
.loc-card .pin {
  position: absolute;
  top: 24px; right: 24px;
  width: 34px; height: 34px;
  opacity: 0.35;
  transition: opacity 0.4s, transform 0.45s var(--ease-spring);
}
.loc-card:hover .pin { opacity: 1; transform: scale(1.18) rotate(-8deg); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative;
  padding: 36px 28px 30px;
  border-radius: var(--radius);
  background: var(--sky-soft);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.step:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
  background: linear-gradient(120deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.step p { color: var(--slate); font-size: 0.96rem; margin: 0; }

/* ---------- Checklist / two-col ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--ink);
}
.checklist li svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }

/* ---------- Eco band ---------- */
.band {
  background:
    radial-gradient(800px 400px at 110% 0%, rgba(118, 184, 42, 0.32), transparent 55%),
    linear-gradient(140deg, var(--blue-dark), var(--navy-deep));
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(44px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.band h2 { color: #fff; }
.band p { color: #c2d4e8; }

/* ---------- Testimonials ---------- */
.quote-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.quote-card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-lg); }
.quote-card .stars { display: flex; gap: 3px; }
.quote-card .stars svg { width: 18px; height: 18px; fill: #f5b301; }
.quote-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
  font-style: italic;
}
.quote-card cite {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue);
}
.quote-card cite small { display: block; color: var(--slate); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.35s, border-color 0.35s;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(26, 93, 168, 0.35); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--blue); }
.faq-q .chev {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.faq-item.open .faq-q .chev { transform: rotate(135deg); background: var(--green); }
.faq-item.open .faq-q .chev svg path { stroke: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--slate); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(700px 360px at 0% 0%, rgba(118, 184, 42, 0.35), transparent 55%),
    radial-gradient(700px 360px at 100% 100%, rgba(26, 93, 168, 0.55), transparent 55%),
    linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: #fff;
  text-align: center;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(52px, 7vw, 88px) clamp(24px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta-banner p { color: #c2d4e8; max-width: 560px; margin-inline: auto; }
.cta-banner .btn { margin-top: 14px; }
.cta-banner .shine {
  position: absolute;
  top: -60%; left: -20%;
  width: 40%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: rotate(18deg);
  animation: sweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 100% { left: -30%; }
  50% { left: 110%; }
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--sky-soft);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 93, 168, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }

/* contact info tiles */
.info-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--sky-soft);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.info-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-tile .f-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.info-tile .f-icon svg { width: 22px; height: 22px; }
.info-tile h3 { font-size: 1.02rem; margin-bottom: 3px; }
.info-tile p, .info-tile a { font-size: 0.95rem; color: var(--slate); margin: 0; }
.info-tile a:hover { color: var(--blue); }

/* ---------- Blog ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card .thumb {
  height: 190px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--navy), var(--blue-dark));
  position: relative;
  overflow: hidden;
}
.post-card .thumb svg { width: 76px; height: 76px; opacity: 0.9; transition: transform 0.5s var(--ease-spring); }
.post-card:hover .thumb svg { transform: scale(1.18) rotate(-4deg); }
.post-card .body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card time {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.post-card h3 { font-size: 1.18rem; margin: 0; }
.post-card p { font-size: 0.94rem; color: var(--slate); margin: 0; flex: 1; }

/* article body */
.article {
  max-width: 760px;
  margin-inline: auto;
}
.article h2 { font-size: 1.7rem; margin-top: 1.6em; }
.article ul { color: var(--slate); }

/* ---------- Postcode chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  border: 1px solid transparent;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-spring), border-color 0.3s;
}
.chip:hover { background: var(--blue); color: #fff; transform: translateY(-3px) scale(1.06); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #a9bdd6;
  padding: clamp(56px, 7vw, 80px) 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #a9bdd6; transition: color 0.25s, padding-left 0.3s var(--ease-out); }
.site-footer ul a:hover { color: var(--green-light); padding-left: 6px; }
.site-footer .brand-col img { height: 42px; margin-bottom: 18px; }
.site-footer .brand-col .brand-logo { height: 44px; width: auto; display: block; margin-bottom: 18px; }
.site-footer .brand-col p { font-size: 0.92rem; line-height: 1.65; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; width: 17px; height: 17px; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: #7e95b1;
}
.footer-bottom a { color: #a9bdd6; }
.footer-bottom a:hover { color: var(--green-light); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2, .split, .form-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin-inline: auto; }

  .nav-toggle { display: block; }
  /* backdrop-filter creates a containing block that would trap the fixed drawer */
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    z-index: 90;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .clip-link { font-size: 1.15rem; padding: 10px 0; }
  .drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  /* desktop hover rule re-applies translateX(-50%) and shifts the submenu off-screen */
  .has-drop:hover .drop,
  .has-drop:focus-within .drop { transform: none; }
  .drop a:hover { padding-left: 14px; }
  /* move the quote button out of the cramped logo row into the top bar */
  .nav-cta { display: none; }
  .topbar-quote { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  .nav-toggle { position: relative; z-index: 95; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .topbar .tb-group.right { display: none; }
  .glass-chip.c1 { left: 0; }
  .glass-chip.c2 { right: 0; }
  .glass-chip.c3 { left: 0; }
}

@media (max-width: 540px) {
  .brand img { height: 42px; }
  .brand .brand-logo { height: 44px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .topbar-quote { font-size: 0.78rem; padding: 6px 14px; }
}
