/* Fonts are served from this site: no request to Google Fonts. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/dm-sans-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Franklin Property Services: one stylesheet for every page. Mobile first. */
:root {
  --navy: #1B3A6B;
  --navy-deep: #12284B;
  --navy-logo: #052A5E;   /* added: the logo's own blue, used for the header so the logo sits flush */
  --gold: #C9A84C;
  --gold-deep: #A8893A;
  --off-white: #F7F8FC;
  --white: #FFFFFF;
  --ink: #1F2937;
  --muted: #5B6676;
  --line: #E2E6EF;
  --field: #8A93A3;       /* added: input and tap-button borders, 3:1 against white */
  --tint: #EEF2F9;        /* added: selected tap-button background */
  --whatsapp: #25D366;
  --whatsapp-ink: #0B2A1A; /* added: text on WhatsApp green, for AA contrast */
  --error: #B42318;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --h1: clamp(1.9rem, 4.5vw, 3.25rem);
  --h2: clamp(1.6rem, 3vw, 2.125rem);
  --h3: 1.25rem;
  --body: 1.0625rem;
  --small: 0.9375rem;
  --leading: 1.6;

  --space: 8px;
  --section-y: clamp(56px, 8vw, 88px);
  --radius: 4px;
  --max: 1200px;
  --measure: 720px;
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--body); line-height: var(--leading); color: var(--ink); background: var(--off-white); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 700; line-height: 1.12; }
h2 { font-size: var(--h2); font-weight: 700; line-height: 1.2; }
h3 { font-size: var(--h3); font-weight: 600; line-height: 1.3; }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .section--navy :focus-visible { outline-color: var(--white); }
.section--navy .quote-wizard :focus-visible { outline-color: var(--navy); }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 100; background: var(--white); padding: 12px 16px; border-radius: var(--radius); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 840px; }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2 { color: var(--white); }
.section > .container > h2 { margin-bottom: 32px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.lead { font-size: 1.125rem; max-width: 600px; }
.measure { max-width: var(--measure); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; }
.button svg { flex: none; }
.button--primary { background: var(--gold); color: var(--navy-deep); }
.button--primary:hover { background: var(--gold-deep); color: var(--navy-deep); }
.button--secondary { background: var(--white); border-color: var(--navy); color: var(--navy); }
.button--secondary:hover { background: var(--tint); }
.button--whatsapp { background: var(--whatsapp); color: var(--whatsapp-ink); }
.button--whatsapp:hover { color: var(--whatsapp-ink); filter: brightness(0.95); }
.button[disabled] { background: var(--line); color: #4B5565; cursor: default; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-row .button { flex: 1 1 180px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-family: var(--font-head); font-weight: 600; }

/* Header */
.site-header { background: var(--navy-logo); color: var(--white); }
.site-header__bar { display: flex; align-items: center; gap: 10px; min-height: 68px; }
.site-header__logo { margin-right: auto; }
.site-header__logo { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.site-header__logo:hover { color: var(--white); }
.site-header__logo img { width: 56px; height: 56px; }
.site-header__name { display: none; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.15; }
.site-header__name span { display: block; font-weight: 600; font-size: 0.875rem; }
@media (min-width: 430px) { .site-header__name { display: block; } }
.site-header__call { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: var(--tap); min-height: var(--tap); border: 2px solid var(--white); border-radius: var(--radius); color: var(--white); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.site-header__call:hover { color: var(--white); }
.site-header__call span { display: none; }
.site-header__quote { display: none; }
.menu-toggle { display: flex; align-items: center; gap: 8px; height: var(--tap); padding: 0 14px; background: var(--white); border: 0; border-radius: var(--radius); color: var(--navy-logo); font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.site-nav { display: flex; flex-direction: column; padding-bottom: 16px; }
.js .site-nav:not(.is-open) { display: none; }
.site-nav a { display: flex; align-items: center; min-height: 52px; border-top: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); font-weight: 500; font-size: 1.125rem; text-decoration: none; }
.site-nav a:hover { color: var(--white); text-decoration: underline; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 40px 0; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 20px; }
.hero__media { position: relative; }
.hero__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.hero__photo { border-radius: var(--radius); width: 100%; }
.rating-line { display: flex; align-items: center; gap: 10px; font-size: var(--small); }
.rating-line strong { color: var(--navy); }
.hero--plain { padding: 40px 0; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.hero__note { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; color: var(--navy); }
.stars { flex: none; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }

/* Trust strip and stat block */
.trust-strip { background: var(--navy); color: var(--white); padding: 28px 0; }
.trust-strip__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.trust-strip--three .trust-strip__list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-block__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.125rem; line-height: 1; }
.stat-block__label { display: block; font-weight: 500; margin-top: 8px; }

/* Cards */
.card-grid { display: grid; gap: 24px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; gap: 16px; padding: 24px; flex: 1; }
.service-card__body h3 { font-size: 1.5rem; }
.service-card__body .text-link { margin-top: auto; }
.service-card--small { flex-direction: row; align-items: center; gap: 20px; padding: 20px 24px; }
.service-card--small img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); flex: none; }
.plain-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.section--white .plain-card { background: var(--off-white); }
.plain-card__detail { font-size: var(--small); color: var(--muted); }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 3px; color: var(--navy); }
.checklist--strong li { font-weight: 500; }

/* Before and after: a draggable slider at every width (needs app.js; a side-by-side pair without it) */
.project-grid { display: grid; gap: 40px 32px; }
.project-card { display: flex; flex-direction: column; gap: 14px; }
.before-after { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--gold); border-radius: var(--radius); overflow: hidden; --pos: 50%; }
.before-after__side { position: relative; margin: 0; }
.before-after__side img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.before-after__tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 2px; font-family: var(--font-head); font-weight: 600; font-size: 0.8125rem; line-height: 1.4; background: var(--white); color: var(--navy); }
.before-after__side--after .before-after__tag { background: var(--navy); color: var(--white); }
.before-after__range, .before-after__handle { display: none; }
@media all {
  .js .before-after { display: block; aspect-ratio: 1 / 1; background: none; touch-action: pan-y; }
  .js .before-after__side { position: absolute; inset: 0; }
  .js .before-after__side img { height: 100%; }
  .js .before-after__side--before { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
  .js .before-after__side--after .before-after__tag { left: auto; right: 12px; }
  .js .before-after__handle { display: flex; align-items: center; justify-content: center; position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--navy); border: 3px solid var(--gold); color: var(--white); pointer-events: none; }
  .js .before-after__handle::before { content: ""; position: absolute; left: 50%; top: -100vh; bottom: -100vh; width: 4px; margin-left: -2px; background: var(--gold); z-index: -1; }
  .js .before-after__range { display: block; position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
  .js .before-after:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
}

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.photo-grid a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.photo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 56px 12px 12px; border: 0; background: rgba(8, 20, 40, 0.94); color: var(--white); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lightbox::backdrop { background: rgba(8, 20, 40, 0.94); }
.lightbox__image { max-width: 100%; max-height: calc(100% - 48px); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { text-align: center; font-size: var(--small); }
.lightbox__button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: rgba(255, 255, 255, 0.14); border: 0; border-radius: var(--radius); color: var(--white); cursor: pointer; }
.lightbox__button:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox :focus-visible { outline-color: var(--white); }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 8px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 8px; top: 50%; margin-top: -24px; }

/* Steps */
.steps { display: grid; gap: 28px 24px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps li { border-top: 3px solid var(--navy); padding-top: 14px; }

/* Reviews */
.review-grid { display: grid; gap: 24px; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.section--white .review-card { background: var(--off-white); }
.review-card blockquote { margin: 0; flex: 1; }
.review-card figcaption { display: flex; flex-direction: column; }
.review-card figcaption strong { color: var(--navy); }
.review-card figcaption span { font-size: var(--small); color: var(--muted); }
.review-list { display: flex; flex-direction: column; gap: 20px; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.rating-summary__score { font-family: var(--font-head); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--navy); }

/* Areas and link lists */
.town-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.link-list { display: flex; flex-direction: column; gap: 10px; }
.town-list a, .link-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; text-decoration: none; }
.town-list a:hover, .link-list a:hover { border-color: var(--navy); }
.two-col { display: grid; gap: 40px 48px; }
/* Single-column grids must be allowed to shrink below their content's widest word */
.two-col, .card-grid, .project-grid, .hero__grid, .review-grid, .about-who, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }


/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; color: var(--navy); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; transition: transform 0.2s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 20px; }

/* Facts */
.fact-list { margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 4px 24px; }
.fact-list div { display: flex; flex-wrap: wrap; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { flex: 0 0 180px; color: var(--muted); }
.fact-list dd { flex: 1 1 240px; margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.about-who { display: grid; gap: 32px 56px; align-items: center; }
.about-who img { width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* Quote wizard */
.quote-section .container { max-width: 760px; }
.quote-section h2 { margin-bottom: 12px; }
.quote-section__intro { margin-bottom: 28px; }
.quote-wizard { display: flex; flex-direction: column; gap: 24px; padding: 20px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.quote-wizard fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.js .quote-wizard fieldset:not(.is-current) { display: none; }
.quote-wizard legend { padding: 0; margin-bottom: 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; line-height: 1.25; color: var(--navy); }
.quote-wizard__step { font-weight: 700; color: var(--navy); }
.quote-wizard__progress { display: none; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.js .quote-wizard__progress { display: grid; }
.quote-wizard__progress span { height: 6px; border-radius: 3px; background: var(--line); }
.quote-wizard__progress span.is-done { background: var(--navy); }
.quote-wizard__question { font-weight: 700; }
.quote-wizard__group { display: flex; flex-direction: column; gap: 10px; }
.quote-wizard__optional { font-weight: 400; color: var(--muted); }
.tap-options { display: grid; gap: 10px; }
.tap-options--row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.tap-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 16px; background: var(--white); border: 2px solid #9AA3B2; border-radius: var(--radius); font-weight: 500; cursor: pointer; }
.tap-option input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.tap-option::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #6B7585; background: var(--white); }
.tap-option:has(input:checked) { background: var(--tint); border-color: var(--navy); }
.tap-option:has(input:checked)::before { border-color: var(--navy); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tap-option:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.tap-option--plain { justify-content: center; }
.tap-option--plain::before { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--field); border-radius: var(--radius); font: inherit; color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; }
.field.has-error input { border-color: var(--error); }
.field__error { display: flex; align-items: center; gap: 8px; color: var(--error); font-weight: 500; font-size: 1rem; }
.photo-upload { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border: 2px dashed var(--field); border-radius: var(--radius); color: var(--navy); font-weight: 700; cursor: pointer; }
.photo-upload:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.photo-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 14px; }
.photo-thumbs li { position: relative; }
.photo-thumbs img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); }
.photo-thumbs button { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; padding: 0; background: var(--navy); border: 2px solid var(--white); border-radius: 50%; color: var(--white); cursor: pointer; }
.consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--navy); }
.quote-wizard__nav { display: flex; flex-wrap: wrap-reverse; gap: 12px; align-items: center; justify-content: space-between; }
.quote-wizard__back { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 8px; background: none; border: 0; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1rem; cursor: pointer; }
.quote-wizard__next, .quote-wizard__send { margin-left: auto; flex: 1 1 200px; max-width: 320px; }
.js .quote-wizard__send { display: none; }
.js .quote-wizard.is-last .quote-wizard__send { display: inline-flex; }
.js .quote-wizard.is-last .quote-wizard__next { display: none; }
.quote-wizard__next, .quote-wizard__back, .quote-wizard__close { display: none; }
.js .quote-wizard__next { display: inline-flex; }
.js .quote-wizard__back:not([hidden]) { display: inline-flex; }
.quote-wizard__head { display: flex; flex-direction: column; gap: 10px; }
.quote-wizard__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--white); border: 0; border-radius: var(--radius); color: var(--navy); cursor: pointer; }
.quote-dialog .quote-wizard__close { display: flex; }
.quote-wizard__thanks { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.quote-wizard__thanks .button-row { width: 100%; }
.quote-wizard__tick { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); }
.quote-wizard.is-sent > :not(.quote-wizard__thanks):not(.quote-wizard__close) { display: none; }
.quote-dialog { width: min(640px, 100%); max-width: 100%; max-height: 100%; margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: transparent; overflow: auto; }
.quote-dialog::backdrop { background: rgba(8, 20, 40, 0.7); }
.quote-dialog .quote-wizard { position: relative; border: 0; min-height: 100%; }
.quote-wizard__placeholder { min-height: 200px; }
@media (max-width: 767px) { .quote-dialog { width: 100%; height: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; } .quote-dialog .quote-wizard { border-radius: 0; } }

/* Footer */
.site-footer { background: var(--navy-logo); color: var(--white); padding: 56px 0 32px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.site-footer h2 { font-size: 1.125rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.site-footer__grid { display: grid; gap: 40px 32px; }
.site-footer__logo { width: 96px; height: 96px; margin-bottom: 16px; }
.site-footer__phone { font-weight: 700; font-size: 1.25rem; }
.site-footer__email { overflow-wrap: anywhere; }
.site-footer__towns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: var(--small); }

/* Mobile action bar */
.action-bar { position: sticky; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); padding-left: calc(8px + env(safe-area-inset-left)); padding-right: calc(8px + env(safe-area-inset-right)); background: var(--white); border-top: 1px solid var(--line);  }
.action-bar .button { min-height: 52px; padding: 0 8px; font-size: 0.9375rem; gap: 8px; }

.simple-page { padding: var(--section-y) 0; }
.simple-page .stack { gap: 20px; align-items: flex-start; }

@media (min-width: 768px) {
  .hero { padding: 72px 0; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .trust-strip__list { grid-template-columns: repeat(4, 1fr); }
  .card-grid--two { grid-template-columns: 1fr 1fr; }
  .card-grid--three { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .service-card__body { padding: 28px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .review-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .review-card { padding: 28px; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .about-who { grid-template-columns: 380px 1fr; }
  .quote-wizard { padding: 32px; }
  .tap-options--two { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .action-bar { display: none; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1.2fr 1fr 0.8fr; }
  .site-header .container { display: flex; align-items: center; gap: 24px; min-height: 88px; }
  .site-header__bar { display: contents; }
  .site-header__logo { margin-right: 0; order: 1; }
  .site-header__logo img { width: 68px; height: 68px; }
  .site-header__name { display: none; }
  .menu-toggle { display: none; }
  .site-nav, .js .site-nav:not(.is-open) { display: flex; flex-direction: row; gap: 22px; flex: 1; padding: 0; order: 2; }
  .site-nav a { min-height: var(--tap); border: 0; font-size: var(--body); }
  .site-nav__quote { display: none !important; }
  .site-header__call { order: 3; border: 0; font-size: 1.125rem; }
  .site-header__call span { display: inline; }
  .site-header__quote { display: inline-flex; order: 4; min-height: var(--tap); }
}
/* Very narrow screens: folded foldables and small phones (280 to 359px) */
@media (max-width: 359px) {
  .town-list { grid-template-columns: minmax(0, 1fr); }
  .tap-options--row { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
  .container { padding: 0 14px; }
  .button { padding: 0 14px; }
  .action-bar .button svg { display: none; }
  .action-bar { gap: 6px; padding-left: 6px; padding-right: 6px; }
  .service-card--small { flex-direction: column; align-items: flex-start; }
  .service-card__body, .review-card, .plain-card { padding: 18px; }
  .quote-wizard { padding: 14px; }
  .quote-wizard legend { font-size: 1.3125rem; }
  .stat-block__value { font-size: 1.75rem; }
  .fact-list { padding: 4px 16px; }
  .site-footer__towns { grid-template-columns: 1fr; }
}
/* Tablets and unfolded foldables in portrait (600 to 767px): two columns where one would look stretched */
@media (min-width: 600px) and (max-width: 767px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .card-grid--two, .card-grid--three, .project-grid, .two-col { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip__list { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .tap-options--two { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .action-bar { max-width: none; }
}
/* Short landscape phones: keep the pop-up usable */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 28px 0; }
  .quote-dialog { height: 100dvh; max-height: 100dvh; }
}
/* Wide desktops */
@media (min-width: 1200px) {
  .site-header__name { display: block; }
  .site-header .container { gap: 32px; }
}
@media (min-width: 1440px) {
  :root { --max: 1280px; }
}

/* Motion. Everything here is switched off by the reduced-motion rule below, and nothing is hidden without JavaScript. */
.button, .town-list a, .link-list a, .service-card, .plain-card, .review-card, .tap-option, .site-nav a { transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease; }
.button:active { transform: scale(0.98); }
@media (hover: hover) {
  .town-list a:hover svg, .link-list a:hover svg, .text-link:hover svg { transform: translateX(4px); }
  .tap-option:hover { border-color: var(--navy); }
}
.town-list a svg, .link-list a svg, .text-link svg { transition: transform 0.18s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__text > * { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js .hero__text > :nth-child(2) { animation-delay: 0.08s; }
  .js .hero__text > :nth-child(3) { animation-delay: 0.16s; }
  .js .hero__text > :nth-child(4) { animation-delay: 0.24s; }
  .js .hero__text > :nth-child(5) { animation-delay: 0.32s; }
  .js .hero__media { animation: fade 0.9s ease 0.15s both; }
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; transition-delay: var(--delay, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .quote-wizard fieldset.is-current { animation: rise 0.3s ease both; }
  .js .quote-wizard__thanks { animation: rise 0.4s ease both; }
  .quote-wizard__progress span { transition: background-color 0.3s ease; }
  .js .site-nav.is-open { animation: drop 0.22s ease both; }
  .faq-list details[open] p { animation: fade 0.3s ease both; }
  .quote-dialog[open] { animation: rise 0.28s ease both; }
  .quote-dialog[open]::backdrop { animation: fade 0.28s ease both; }
  .before-after__handle { transition: transform 0.18s ease; }
  .before-after:hover .before-after__handle { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}


/* ------------------------------------------------------------------
   Added in the WordPress build. Everything above is the design handoff, unchanged.
   ------------------------------------------------------------------ */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-wizard__fail { margin: 0; }

/* Breadcrumbs */
.crumbs { background: var(--white); padding-top: 14px; font-size: var(--small); }
.crumbs--line { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--field); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs + .hero { padding-top: 20px; }
@media (min-width: 768px) { .crumbs + .hero { padding-top: 40px; } }

/* Long-form pages: guides and the privacy policy */
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose > * { max-width: var(--measure); }
.prose h2 { margin-top: 24px; font-size: 1.5rem; }
.prose .bullets { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .table-wrap, .prose .link-list { max-width: none; }
.prose .link-list { display: grid; gap: 10px; }
@media (min-width: 600px) { .prose .link-list { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--small); }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; }
.compare-table tbody th { width: 24%; color: var(--navy); font-weight: 700; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.article .hero--plain h1 { max-width: 20ch; }

/* Footer links and cookie settings */
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; }
.site-footer__cookie { min-height: 44px; padding: 0; background: none; border: 0; color: var(--white); font: inherit; text-decoration: underline; cursor: pointer; }

/* Cookie banner */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.consent-banner__inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: 0 6px 28px rgba(8, 20, 40, 0.22); font-size: var(--small); }
.consent-banner__buttons { display: flex; gap: 10px; }
.consent-banner__buttons .button { flex: 1; min-height: 48px; padding: 0 14px; }
@media (min-width: 768px) { .consent-banner__inner { flex-direction: row; align-items: center; gap: 24px; } .consent-banner__buttons { flex: none; } .consent-banner__buttons .button { flex: none; min-width: 150px; } }

/* Preview marker */
.preview-ribbon { background: var(--gold); color: var(--navy-deep); text-align: center; font-size: 0.875rem; font-weight: 500; padding: 6px 12px; }
.preview-ribbon a { color: inherit; }

.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.quote-wizard__close { z-index: 2; }

/* Larger header logo */
.site-header__bar { min-height: 80px; }
.site-header__logo img { width: 68px; height: 68px; }
@media (min-width: 1024px) {
  .site-header .container { min-height: 112px; }
  .site-header__logo img { width: 96px; height: 96px; }
}

/* Button labels stay on one line; a row wraps to the next line instead */
.button { white-space: nowrap; }
.button-row .button { flex: 1 1 auto; }

/* New logo carries the name, so the text beside it is not repeated */
.site-header__name { display: none !important; }
.site-header__logo img { width: 72px; height: 72px; }
@media (min-width: 1024px) { .site-header__logo img { width: 100px; height: 100px; } }
