/*
 * Pure Clean Yorkshire — Site Styles
 * Calm, airy, premium window cleaning brand.
 * Fonts: Outfit (headings) + Inter (body) via Google Fonts
 */

/* ===== Design Tokens ===== */
:root {
  --sky:        hsl(208, 74%, 49%);   /* #2589d4 — logo mid-blue */
  --sky-dark:   hsl(213, 68%, 34%);   /* #1b59a3 — deeper blue */
  --navy:       hsl(215, 52%, 24%);   /* #1e3a5f — CTA navy */
  --navy-deep:  hsl(216, 55%, 17%);   /* #152c48 — footer/dark */
  --ink:        hsl(218, 30%, 15%);   /* #1a2332 — body text */
  --muted:      hsl(210, 14%, 46%);   /* #5d6c7b — secondary text */
  --bg:         hsl(210, 30%, 97%);   /* #f7f9fc — page bg */
  --wash:       hsl(207, 72%, 94%);   /* #e2f1fb — blue section wash */
  --line:       hsl(207, 42%, 87%);   /* #c8dcec — borders */
  --white:      #ffffff;
  --gold:       #f5a623;              /* star colour */
  --shadow-xs:  0 1px 4px rgba(30,58,95,.07);
  --shadow-sm:  0 2px 10px rgba(30,58,95,.09);
  --shadow:     0 8px 30px rgba(30,58,95,.12);
  --shadow-lg:  0 20px 60px rgba(30,58,95,.18);
  --radius:     18px;
  --radius-sm:  12px;
  --radius-xs:  8px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-family: 'Outfit', ui-sans-serif, sans-serif; }
p { margin: 0; }
ul { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg {
  width: 1.1em; height: 1.1em;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute; left: 1rem; top: .5rem; z-index: 200;
  transform: translateY(-200%);
  background: var(--navy); color: var(--white);
  padding: .55rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9rem;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ===== Typography ===== */
h1 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
}
h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.018em;
  color: var(--ink);
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

/* ===== Layout helpers ===== */
/* Main is constrained — hero/reviews/cta break out via full-bleed class */
main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* Full-bleed breakout from constrained parent */
.full-bleed {
  position: relative;
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

/* Constrained inner content inside full-bleed sections */
.bleed-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* ===== Section label ===== */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: .6rem;
}

/* ===== Stars ===== */
.stars {
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .08em;
  line-height: 1;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: .9rem 1rem;
  /* header itself is full-width; pill inside is constrained */
}

.site-header-pill {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding: .45rem .45rem .45rem .55rem;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(200, 220, 237, .85);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow .25s, border-radius .25s;
}

/* Expanded mobile nav state */
.site-header.menu-open .site-header-pill {
  border-radius: var(--radius);
}
.site-header.menu-open .site-nav {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  align-items: stretch;
  padding: .4rem 0 .2rem;
  gap: .15rem;
}

.brand {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px;
  padding: .3rem .55rem;
  background: var(--navy);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background .2s;
}
.brand:hover { background: var(--sky-dark); }
.brand-logo { width: 138px; height: 100%; object-fit: contain; }

.site-nav {
  display: none;
  justify-content: center;
  gap: .05rem;
  padding: 0 .3rem;
}
.site-nav a {
  padding: .5rem .8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--bg); }
.site-nav a[aria-current="page"] { color: var(--navy); background: var(--wash); }

/* Mobile nav: each link shows as a block */
.site-header.menu-open .site-nav a {
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;
}

.header-cta {
  display: none;
  align-items: center;
  gap: .4rem;
  padding: .52rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.header-cta:hover {
  background: var(--sky-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30,58,95,.22);
}

.menu-toggle {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: none; border-radius: 999px;
  background: var(--navy); color: var(--white);
  cursor: pointer;
  transition: background .18s;
}
.menu-toggle:hover { background: var(--sky-dark); }
.menu-toggle span {
  display: block; width: 18px; height: 2px;
  background: currentColor; border-radius: 99px;
  transition: transform .2s, opacity .2s;
}

/* ===========================
   HERO — full-bleed photo
   =========================== */
.hero {
  /* Applied full-bleed via JS class or via additional class on same element */
  position: relative;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink); /* dark fallback */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/window-cleaning-hero.png');
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
}

/* Gradient — crisp white on left fading to transparent so photo shows right */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(247,249,252,.97) 0%,
    rgba(247,249,252,.90) 30%,
    rgba(247,249,252,.55) 58%,
    rgba(247,249,252,.05) 80%,
    transparent 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(6.5rem, 14vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero-copy {
  max-width: 580px;
}

.hero-copy h1 {
  margin-bottom: 1.2rem;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--sky);
}

.hero-lede {
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.25rem;
}

/* Trust badges row */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .88rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
a.trust-badge:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  border-color: rgba(37,137,212,.4);
  color: var(--navy);
}

/* ===========================
   BUTTONS
   =========================== */
.button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 1em; height: 1em; }

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(30,58,95,.26);
}
.button-primary:hover {
  background: var(--sky-dark);
  box-shadow: 0 14px 34px rgba(30,58,95,.32);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.button-secondary:hover {
  box-shadow: var(--shadow);
  border-color: rgba(37,137,212,.35);
}

/* ===========================
   SERVICES SECTION
   =========================== */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.section-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.section-header h2 { margin-top: .35rem; margin-bottom: .7rem; }
.section-header > p {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 1.2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s ease, transform .22s ease;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

/* Top accent stripe on each card */
.service-card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--sky), hsl(215, 74%, 60%));
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}

.service-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--wash);
  color: var(--sky);
}
.service-icon svg { width: 1.35em; height: 1.35em; stroke-width: 1.7; }
.service-icon svg[fill="currentColor"],
.service-icon svg path[fill] { fill: var(--sky); stroke: none; }

.service-card-body h3 { color: var(--ink); }
.service-card-body p { color: var(--muted); font-size: .95rem; line-height: 1.6; flex: 1; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--sky);
  font-weight: 700;
  font-size: .9rem;
  transition: gap .18s ease, color .15s;
  margin-top: .25rem;
}
.service-link:hover { gap: .6rem; color: var(--sky-dark); }
.service-link svg { width: .9em; height: .9em; }

/* ===========================
   WHY CHOOSE US
   =========================== */
.split-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.split-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.split-copy h2 { margin-bottom: .85rem; }
.split-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.75rem; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: box-shadow .2s, transform .2s;
}
.why-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.why-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--wash);
  color: var(--sky);
  flex-shrink: 0;
}
.why-icon svg { stroke-width: 2; }

.why-item h3 { color: var(--ink); font-size: 1rem; }
.why-item p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ===========================
   TESTIMONIALS — full-bleed wash
   =========================== */
.reviews-section {
  /* Full-bleed applied below */
  position: relative;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  background: var(--wash);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.reviews-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.review-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.review-card {
  background: var(--white);
  border: 2px solid rgba(15, 23, 42, .78);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: box-shadow .2s, transform .2s;
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.review-logo-panel {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: .75rem .5rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  transition: background .18s ease, transform .18s ease;
}

.review-logo-panel:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.review-logo-image {
  display: block;
  width: min(70%, 245px);
  height: auto;
  object-fit: contain;
}

.review-logo-panel-google .review-logo-image {
  width: min(66%, 225px);
}

.review-logo-panel-trustpilot .review-logo-image {
  width: min(70%, 245px);
}

.review-logo-panel-facebook .review-logo-image {
  width: min(74%, 260px);
}

.review-quote {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.68;
  flex: 1;
}

.review-author {
  border-top: 1px solid var(--line);
  padding-top: .85rem;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.review-author strong { font-weight: 700; color: var(--ink); font-size: .95rem; }
.review-author span { color: var(--muted); font-size: .85rem; }

.review-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}
.review-platform-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, transform .18s;
}
.review-platform-link:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* ===========================
   FINAL CTA — full-bleed navy + photo
   =========================== */
.final-cta {
  position: relative;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
  background: var(--navy-deep);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/window-cleaning-hero.png');
  background-size: cover;
  background-position: center 30%;
  opacity: .16;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.final-cta h2, .final-cta p { color: var(--white); }
.final-cta p { opacity: .8; max-width: 560px; font-size: 1.05rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
}

.final-cta .button-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.final-cta .button-primary:hover {
  background: var(--wash);
  box-shadow: 0 14px 36px rgba(0,0,0,.3);
}

.cta-phone {
  color: rgba(255,255,255,.8);
  font-weight: 700;
  font-size: .98rem;
  transition: color .15s;
}
.cta-phone:hover { color: var(--white); }

/* ===========================
   PAGE HERO — full-bleed white
   =========================== */
.page-hero {
  position: relative;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: clamp(5.5rem, 12vw, 7rem) 0 clamp(3rem, 6vw, 4rem);
}

.page-hero-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  max-width: 820px; /* additional prose cap */
}

/* but don't cap the outer wrapper — let the bleed-inner handle constraint */
.page-hero > .page-hero-inner {
  max-width: min(820px, calc(100% - 48px));
}

.page-hero .section-label { display: block; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero > .page-hero-inner > p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

/* ===========================
   CONTENT SECTIONS (inner pages)
   =========================== */
.content-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.two-column {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.prose > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.25rem;
  margin-bottom: .8rem;
}
.prose > h2:first-child { margin-top: 0; }
.prose > p { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.75; }

.legal-copy > h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  margin-top: 2rem;
  margin-bottom: .65rem;
}
.legal-copy > h2:first-child { margin-top: 0; }
.legal-copy > p { color: var(--muted); margin-bottom: 1.05rem; line-height: 1.75; }
.legal-copy a { color: var(--sky); font-weight: 600; }

.info-panel {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-panel h3 { margin-bottom: .55rem; }
.info-panel > p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

.clean-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .6rem;
  margin-top: .9rem;
}
.clean-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .94rem;
}
.clean-list svg { color: var(--sky); }

/* ===========================
   QUOTE PAGE
   =========================== */

/* ===========================
   CONTACT
   =========================== */
.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 { margin-bottom: 1.4rem; }

.contact-form { display: grid; gap: 1rem; }
.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: .3rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .78rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(37,137,212,.15);
  background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-status {
  min-height: 1.5rem;
  font-weight: 600;
  color: var(--sky);
  font-size: .9rem;
}
.form-status.is-success { color: #0f766e; }
.form-status.is-error { color: #b91c1c; }
.contact-form .button:disabled {
  cursor: wait;
  opacity: .72;
}

.contact-details { display: grid; gap: 1rem; }
.contact-details h2 { margin-bottom: .35rem; }
.contact-details a {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; color: var(--navy);
  transition: color .15s;
}
.contact-details a:hover { color: var(--sky); }
.contact-details > p { color: var(--muted); font-size: .95rem; }

.mini-panel {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: .5rem;
}
.mini-panel h3 { margin-bottom: .4rem; font-size: 1rem; }
.mini-panel > p { color: var(--muted); font-size: .92rem; margin-bottom: .85rem; }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.68);
}
.footer-wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-brand-col { display: flex; flex-direction: column; gap: .9rem; }

.footer-logo-link {
  display: inline-flex;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .55rem .9rem;
  width: fit-content;
}
.footer-logo-link img { width: 148px; height: auto; }

.footer-tagline { font-size: .93rem; max-width: 270px; line-height: 1.6; }
.footer-contact-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-contact-links a {
  display: inline-flex; align-items: center; gap: .45rem;
  color: rgba(255,255,255,.8);
  font-weight: 600; font-size: .9rem;
  transition: color .15s;
}
.footer-contact-links a:hover { color: var(--white); }

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: grid;
  width: min(420px, calc(100vw - 2rem));
  gap: .85rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  margin: 0;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.45;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.cookie-consent .button {
  min-height: 42px;
  padding: .65rem .95rem;
  font-size: .88rem;
}

.footer-col h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.footer-col a {
  display: block;
  padding: .28rem 0;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: .86rem; color: rgba(255,255,255,.42); line-height: 1.55; margin-top: .35rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.2rem 0 1.4rem;
  font-size: .83rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom p { margin: 0; }

/* ===========================
   FOCUS STYLES
   =========================== */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(37,137,212,.5);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  /* Desktop nav */
  .site-nav { display: flex !important; flex-direction: row !important; grid-column: auto !important; padding: 0 !important; gap: .05rem; align-items: center; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }

  /* Hero gradient adjusts for desktop */
  .hero-bg::after {
    background: linear-gradient(
      105deg,
      rgba(247,249,252,.98) 0%,
      rgba(247,249,252,.90) 28%,
      rgba(247,249,252,.50) 55%,
      rgba(247,249,252,.08) 78%,
      transparent 100%
    );
  }

  /* Layout grids */
  .split-inner { grid-template-columns: 1fr 1fr; }
  .two-column { grid-template-columns: 1fr minmax(260px, 300px); }
  .contact-layout { grid-template-columns: 1fr minmax(260px, 300px); }
  .final-cta-inner { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 1040px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  main { width: min(1160px, calc(100% - 28px)); }

  /* On mobile, hero gradient covers more of the photo for text legibility */
  .hero-bg::after {
    background: linear-gradient(
      170deg,
      rgba(247,249,252,.98) 0%,
      rgba(247,249,252,.94) 55%,
      rgba(247,249,252,.7) 80%,
      rgba(247,249,252,.3) 100%
    );
  }

  /* Stack why items on very small screens */
  .why-grid { grid-template-columns: 1fr; }

  .button { padding: .75rem 1.1rem; font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
