/*
Theme Name: DryHomes Solutions
Theme URI: https://www.dryhome-solutions.co.uk
Author: Welch Marketing Ltd
Author URI: https://welchmarketing.co.uk
Description: Premium, plugin-free WordPress theme for DryHomes Solutions Ltd, roofing and damp specialists in Kent and Essex. Self-building pages, menus, local SEO location pages, schema, and a full Welch Settings admin panel. Built to a consistent Welch standard.
Version: 1.2.1
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dryhomes
*/

/* ================================================================
   Self hosted fonts (no Google CDN). Drop the two woff2 files into
   assets/fonts/ to activate exact DM Sans and Inter. Until then the
   matched system fallback stack keeps the site looking premium.
   ================================================================ */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

/* ================================================================
   Design tokens: DryHomes brand (navy #0B4381, logo gold #D9A441 accent)
   ================================================================ */
:root {
  --brand: #0B4381;
  --brand-dark: #082f5c;
  --brand-deep: #061f3d;
  --accent: #D9A441;
  --accent-dark: #B88B37;
  --accent-soft: #FAF2E4;
  --ink: #0d1b2a;
  --body: #33475b;
  --muted: #61748a;
  --line: #e3e9f1;
  --surface: #f4f8fc;
  --surface-2: #eaf1f8;
  --white: #ffffff;
  --ok: #1c8a4a;

  --head: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px -20px rgba(11, 67, 129, 0.35);
  --shadow-sm: 0 8px 22px -14px rgba(11, 67, 129, 0.4);
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --ring: 0 0 0 4px rgba(217, 164, 65, 0.4);
}

/* ================================================================
   Reset and base
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--text);
  color: var(--body);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.05rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* Low specificity icon backstop: any inline icon stays 1em even if
   context rules or the stylesheet fail to apply. */
.icon { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: -0.125em; fill: currentColor; }

/* ================================================================
   Layout helpers
   ================================================================ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--tight + .section { padding-top: 0; }
.section--surface { background: var(--surface); }
.section--brand { background: var(--brand); color: #cfe1f2; }
.section--deep { background: linear-gradient(160deg, var(--brand-dark), var(--brand-deep)); color: #cfe1f2; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 14px;
}
.section--brand .eyebrow, .section--deep .eyebrow { color: #EAC46A; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 54px); }
.section-head.center { text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--brand .section-head p, .section--deep .section-head p { color: #bcd4ea; }
.lead { font-size: 1.14rem; color: var(--body); }

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--brand); box-shadow: 0 12px 26px -12px rgba(217, 164, 65, 0.55); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: rgba(11, 67, 129, 0.28); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--accent-soft); color: var(--brand); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { background: #fff; color: var(--brand); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ================================================================
   Top utility bar
   ================================================================ */
.topbar {
  background: var(--brand-deep); color: #cfe1f2;
  font-size: 0.86rem; font-family: var(--head); font-weight: 500;
}
.topbar__inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 6px var(--gutter); flex-wrap: wrap; }
.topbar a { color: #eaf3fb; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; color: #9dc2e4; }
.topbar__note svg { color: var(--accent); }
.topbar .icon { color: var(--accent); }

/* ================================================================
   Header + navigation
   ================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 104px; padding: 4px var(--gutter); }
.brand-logo { display: inline-flex; align-items: center; flex: none; }
.brand-logo svg { display: block; height: 80px; width: auto; }
.brand-logo img { height: 96px; width: auto; max-width: 360px; object-fit: contain; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a {
  font-family: var(--head); font-weight: 600; font-size: 0.96rem; color: var(--ink);
  padding: 10px 14px; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { background: var(--accent-soft); color: var(--brand); text-decoration: none; }
.primary-nav .menu-item-has-children > a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 3px; margin-top: -3px; opacity: 0.65; }
.sub-menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 0.92rem; }
.header__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { font-family: var(--head); font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; font-size: 1.02rem; }
.header__phone svg { color: var(--accent); }
.header__phone:hover { text-decoration: none; color: var(--accent-dark); }

/* Pure CSS mobile toggle */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }

/* ================================================================
   Hero
   ================================================================ */
.hero { position: relative; background: linear-gradient(155deg, var(--brand) 0%, var(--brand-deep) 100%); color: #eaf3fb; overflow: hidden; }
.hero--image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(680px 360px at 82% -6%, rgba(217,164,65,0.42), transparent 62%),
  radial-gradient(520px 420px at 6% 108%, rgba(217,164,65,0.20), transparent 60%);
  pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(30px, 5vw, 66px); align-items: center; padding: clamp(52px, 8vw, 100px) 0 clamp(56px, 8vw, 96px); }
.hero__content { max-width: 680px; }
.hero__eyebrow { color: #EAC46A; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .hl { color: #EAC46A; }
.hero__lead { font-size: 1.16rem; color: #cfe1f2; max-width: 560px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; max-width: 560px; }
.hero__trust li { list-style: none; display: flex; align-items: flex-start; gap: 10px; font-size: 0.97rem; color: #dcebf8; font-family: var(--head); font-weight: 500; }
.hero__trust .icon { color: #EAC46A; margin-top: 3px; font-size: 1.1rem; }
.hero__actions .btn--outline-light { color: #fff; }

/* Hero quote card */
.quote-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.55); color: var(--body); }
.quote-card h2 { font-size: 1.4rem; margin-bottom: 4px; }
.quote-card p.muted { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-family: var(--head); font-weight: 600; font-size: 0.86rem; color: var(--ink); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--text); font-size: 0.98rem; color: var(--ink); background: var(--surface); transition: border 0.15s, box-shadow 0.15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); box-shadow: var(--ring); background: #fff; }
.form-row textarea { min-height: 104px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.form-alert { padding: 12px 15px; border-radius: 10px; font-size: 0.94rem; margin-bottom: 16px; }
.form-alert--ok { background: #e6f6ec; color: #14663a; border: 1px solid #b9e3c9; }
.form-alert--err { background: #fdecec; color: #9a2b2b; border: 1px solid #f3c4c4; }

/* ================================================================
   Stat / promise band
   ================================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--head); font-weight: 800; font-size: 1.7rem; color: var(--brand); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat__label { font-size: 0.92rem; color: var(--muted); font-family: var(--head); font-weight: 500; }

/* ================================================================
   Intro split
   ================================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split__media { position: relative; }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-family: var(--head); font-weight: 500; color: var(--ink); }
.checks .icon { color: var(--accent); margin-top: 3px; font-size: 1.15rem; flex: none; }

/* ================================================================
   Image slots / placeholders
   ================================================================ */
.img-slot {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
  border: 1.5px dashed #b7cbe0;
  background-image: repeating-linear-gradient(45deg, rgba(217,164,65,0.06) 0, rgba(217,164,65,0.06) 12px, transparent 12px, transparent 24px);
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 260px; color: var(--muted);
}
.img-slot__inner { padding: 24px; }
.img-slot__inner .icon { font-size: 2rem; color: var(--accent); margin-bottom: 8px; }
.img-slot__label { font-family: var(--head); font-weight: 600; font-size: 0.9rem; color: var(--brand); }
.img-slot__hint { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.img-slot.is-filled { border: 0; background: none; padding: 0; }
.img-slot.is-filled img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.img-slot--tall { min-height: 420px; }
.img-slot--wide { min-height: 300px; }
.img-slot--card { min-height: 200px; border-radius: 0; }

/* ================================================================
   Service cards
   ================================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cddcec; }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; }
.svc-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { font-size: 0.97rem; color: var(--muted); margin-bottom: 16px; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tag { font-family: var(--head); font-weight: 500; font-size: 0.78rem; color: var(--brand); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; }
.svc-card__link { margin-top: auto; font-family: var(--head); font-weight: 600; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 7px; font-size: 0.95rem; }
.svc-card__link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }

/* ================================================================
   Why choose / feature grid
   ================================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.section--deep .feature { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); color: #d6e6f4; }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.section--deep .feature__icon { background: var(--accent); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.section--deep .feature h3 { color: #fff; }
.feature p { font-size: 0.97rem; color: var(--muted); margin: 0; }
.section--deep .feature p { color: #bcd4ea; }

/* ================================================================
   Reviews
   ================================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.review__stars { color: #f5a623; display: flex; gap: 2px; margin-bottom: 12px; }
.review__stars svg { width: 18px; height: 18px; }
.review__text { color: var(--body); font-size: 1rem; margin-bottom: 18px; }
.review__who { margin-top: auto; font-family: var(--head); font-weight: 700; color: var(--ink); }
.review__meta { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.reviews-embed { max-width: 1080px; margin: 0 auto; }
.reviews-empty { max-width: 640px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; }
.reviews-empty .icon { font-size: 2.2rem; color: var(--accent); margin-bottom: 10px; }

/* ================================================================
   Areas
   ================================================================ */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-chip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; color: var(--ink); transition: border-color 0.15s, transform 0.15s, background 0.15s; }
.area-chip:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.area-chip .icon { color: var(--accent); flex: none; }

/* ================================================================
   CTA band
   ================================================================ */
.cta-band { position: relative; background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #eaf3fb; border-radius: clamp(18px, 3vw, 28px); padding: clamp(38px, 6vw, 66px); overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 0%, rgba(217,164,65,0.4), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe1f2; max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ================================================================
   Page hero (inner pages)
   ================================================================ */
.page-hero { background: linear-gradient(155deg, var(--brand), var(--brand-deep)); color: #eaf3fb; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 320px at 88% -10%, rgba(217,164,65,0.4), transparent 60%); }
.page-hero__inner { position: relative; padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 68px); max-width: 780px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe1f2; font-size: 1.12rem; margin: 0; max-width: 640px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.86rem; color: #9dc2e4; margin-bottom: 16px; font-family: var(--head); font-weight: 500; }
.breadcrumbs a { color: #cfe1f2; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span.sep { opacity: 0.5; }

/* ================================================================
   Content / prose
   ================================================================ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 1.2em 0; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.prose ul li::after { content: ""; position: absolute; left: 7px; top: 11px; width: 4px; height: 8px; border: solid var(--accent-dark); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.content-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(30px, 5vw, 56px); align-items: start; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.sidebar-card h3 { font-size: 1.2rem; }
.sidebar-card .icon-line { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; font-size: 0.96rem; }
.sidebar-card .icon-line .icon { color: var(--accent); margin-top: 3px; font-size: 1.05rem; flex: none; }
.sidebar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.sidebar-list a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-family: var(--head); font-weight: 500; font-size: 0.94rem; }
.sidebar-list a:hover { background: var(--accent-soft); color: var(--brand); text-decoration: none; }
.sidebar-list .icon { color: var(--accent); flex: none; }

/* ================================================================
   FAQ
   ================================================================ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 1.05rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark); transform: rotate(45deg); transition: transform 0.2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item__body { padding: 0 24px 22px; color: var(--body); }
.faq-item__body p { margin: 0; }

/* ================================================================
   Blog
   ================================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; transition: transform 0.16s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__date { font-family: var(--head); font-weight: 600; font-size: 0.8rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--accent-dark); text-decoration: none; }
.post-card p { font-size: 0.96rem; color: var(--muted); margin-bottom: 18px; }
.post-card__more { margin-top: auto; font-family: var(--head); font-weight: 600; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 7px; }
.single-content { max-width: 760px; margin: 0 auto; }
.single-content h2 { margin-top: 1.5em; }
.single-content img { border-radius: var(--radius); margin: 1.4em 0; }

/* ================================================================
   Footer
   ================================================================ */
.site-footer { background: linear-gradient(180deg, var(--brand-deep), #04162c); color: #a8c4dd; padding-top: clamp(48px, 7vw, 80px); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand svg { height: 72px; width: auto; margin-bottom: 18px; }
.footer-brand img { height: 86px; width: auto; max-width: 360px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { color: #9dbdd8; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #cfe1f2; display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--head); font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: #a8c4dd; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; }
.footer-contact .icon { color: var(--accent); margin-top: 3px; flex: none; }
.footer-contact a { color: #cfe1f2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: #7f9cba; }
.footer-bottom a { color: #a8c4dd; }
.footer-bottom a:hover { color: #fff; }

/* ================================================================
   Utilities
   ================================================================ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 10px; }
.hide-desktop { display: none; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .quote-card { max-width: 520px; }
  .cards, .feature-grid, .reviews, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile navigation switch */
@media (max-width: 940px) {
  /* Hide the phone icon and Free quote button on mobile; logo left, menu button right. */
  .header__cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 11px; border: 1.5px solid var(--line);
    background: #fff; cursor: pointer; flex: none;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -7px; }
  .nav-toggle span::after { position: absolute; top: 7px; }
  #nav-toggle:checked ~ .nav-toggle span { background: transparent; }
  #nav-toggle:checked ~ .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

  /* backdrop-filter off so the fixed menu is not trapped in the header box */
  .site-header { backdrop-filter: none; }

  .primary-nav {
    display: none; position: fixed; inset: 0; top: 0; z-index: 120;
    background: linear-gradient(165deg, var(--brand), var(--brand-deep));
    padding: 90px 26px 40px; overflow-y: auto;
  }
  #nav-toggle:checked ~ .primary-nav { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { color: #eaf3fb; font-size: 1.1rem; padding: 14px 8px; border-radius: 10px; }
  .primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { background: rgba(255,255,255,0.1); color: #fff; }
  .primary-nav .menu-item-has-children > a::after { margin-left: auto; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: 0; padding: 2px 0 8px 14px; min-width: 0;
  }
  .sub-menu a { color: #bcd4ea; font-size: 0.98rem; padding: 10px 8px; }
  .sub-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .nav-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
  .nav-close span { background: transparent; }
  .nav-close span::before { top: 0; transform: rotate(45deg); background: #fff; }
  .nav-close span::after { top: 0; transform: rotate(-45deg); background: #fff; }
  .hide-desktop { display: block; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header__inner { min-height: 84px; }
  .brand-logo svg { height: 56px; }
  .brand-logo img { height: 64px; max-width: 220px; }
  .cards, .feature-grid, .reviews, .post-grid, .stats, .area-grid { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: center; }
  .topbar__note { display: none; }
  .hero__trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn { width: 100%; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
}

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


/* ========================================================================
   Cookie consent banner (GDPR/PECR)
   ===================================================================== */
/* -------------------------------------------------------------------------
 * Cookie consent banner
 * ---------------------------------------------------------------------- */
.dhs-cookie{position:fixed;left:0;right:0;bottom:0;z-index:900;background:var(--brand);color:#e7eef2;box-shadow:0 -8px 30px rgba(0,0,0,.22)}
.dhs-cookie[hidden]{display:none}
.dhs-cookie__inner{max-width:var(--wrap);margin:0 auto;padding:clamp(1.1rem,3vw,1.6rem) clamp(1.35rem,4vw,2rem);display:flex;align-items:center;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap}
.dhs-cookie__text{flex:1 1 340px}
.dhs-cookie__title{font-family:var(--head);font-weight:700;font-size:1.05rem;color:#fff;margin:0 0 .35rem}
.dhs-cookie__body{margin:0;font-size:.92rem;line-height:1.6;color:#c4d0d8}
.dhs-cookie__body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.dhs-cookie__actions{display:flex;gap:.75rem;flex:0 0 auto}
.dhs-cookie__btn{font-family:var(--head);font-weight:700;font-size:.95rem;line-height:1;padding:.85rem 1.6rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform 0.18s ease,background 0.18s ease,color 0.18s ease,border-color 0.18s ease}
.dhs-cookie__btn:hover{transform:translateY(-2px)}
.dhs-cookie__btn--accept{background:var(--accent);color:#20160a}
.dhs-cookie__btn--accept:hover{background:var(--accent-dark)}
.dhs-cookie__btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.34)}
.dhs-cookie__btn--ghost:hover{background:#fff;color:var(--brand);border-color:#fff}
.dhs-cookie-open{background:none;border:0;padding:0;margin:0;font:inherit;color:#a8c4dd;cursor:pointer;text-decoration:none}
.dhs-cookie-open:hover{color:#fff;text-decoration:underline}
@media (max-width:640px){
	.dhs-cookie__actions{flex:1 1 100%}
	.dhs-cookie__btn{flex:1 1 auto;text-align:center}
}
