/* Essex Home Tech Specialists. One shared stylesheet. */
:root {
  --night: #12263a;
  --night-2: #1d3a56;
  --tide: #3f5b73;
  --tide-soft: #7d95a6;
  --mist: #e7eef1;
  --mist-2: #d3e0e6;
  --paper: #ffffff;
  --body: #1d2f40;
  --muted: #3b5063;
  --marigold: #f3b63f;
  --marigold-d: #dc9c1d;
  --samphire: #2f7d6b;
  --focus: #0b57d0;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 10px;
  --max: 1180px;
  --font-head: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Verdana, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[data-text="large"] { font-size: 131%; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--font-body); line-height: 1.7; }
img, svg { max-width: 100%; }
a { color: var(--night); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--tide); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible, .section-night :focus-visible, .topbar :focus-visible { outline-color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--marigold); color: var(--night); padding: 0.8rem 1.2rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 820px; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

h1, h2, h3 { font-family: var(--font-head); color: var(--night); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1.1em; max-width: 66ch; }
.lead { font-size: 1.3rem; line-height: 1.55; color: var(--muted); max-width: 40ch; }

/* ------------------------------------------------ top bar and header */
.topbar { background: var(--night); color: #fff; font-size: 0.9rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--marigold); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.9rem; }
.topbar-call, .topbar-wa { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.topbar-call .icon, .topbar-wa .icon { width: 1.05rem; height: 1.05rem; color: var(--marigold); }
.topbar-tools { display: flex; align-items: center; gap: 1.4rem; }
.size-tool { display: inline-flex; align-items: center; gap: 0.5rem; }
.size-btn { font: 700 0.95rem var(--font-head); width: 2.2rem; height: 2.2rem; border-radius: 8px; border: 2px solid rgba(255,255,255,0.45); background: transparent; color: #fff; cursor: pointer; }
.size-btn-lg { font-size: 1.25rem; }
.size-btn[aria-pressed="true"] { background: var(--marigold); border-color: var(--marigold); color: var(--night); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--mist-2); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--night); }
.brand-mark { width: 2.9rem; height: 2.2rem; color: var(--tide); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 800 1.35rem var(--font-head); letter-spacing: -0.02em; white-space: nowrap; }
.brand-sub { font: 600 0.85rem var(--font-head); letter-spacing: 0.16em; color: var(--tide); margin-top: 0.15rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 0.7rem 0.95rem; text-decoration: none; font-weight: 700; border-radius: 999px; color: var(--night); }
.site-nav li a:hover { background: var(--mist); }
.site-nav li a[aria-current="page"] { background: var(--mist); box-shadow: inset 0 -3px 0 var(--marigold); border-radius: 12px 12px 0 0; }
.nav-toggle { display: none; align-items: center; gap: 0.6rem; font: 700 1rem var(--font-body); background: var(--night); color: #fff; border: 0; border-radius: 999px; padding: 0.7rem 1.1rem; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.2rem; height: 2px; background: #fff; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }

/* ------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; font: 700 1.05rem var(--font-body); min-height: 3.4rem; padding: 0.8rem 1.7rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn .icon { width: 1.2rem; height: 1.2rem; }
.btn-primary { background: var(--marigold); color: var(--night); }
.btn-primary:hover { background: #ffc85a; color: var(--night); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-2); color: #fff; }
.btn-outline { border-color: var(--night); color: var(--night); background: transparent; }
.btn-outline:hover { background: var(--night); color: #fff; }
.btn-outline-dark { border-color: var(--night); color: var(--night); background: transparent; }
.btn-outline-dark:hover { background: var(--night); color: #fff; }
.btn-block { width: 100%; }
.textlink { font-weight: 700; }

/* ------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background: var(--mist); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-mark { position: absolute; right: -4%; bottom: -14%; width: min(62vw, 780px); height: auto; color: var(--tide); opacity: 0.09; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.2rem; }
.hero-actions .btn { padding-inline: 1.4rem; }
.hero-note { color: var(--tide); font-weight: 700; margin: 0; }

.convo { display: flex; flex-direction: column; gap: 0.85rem; }
.convo-cap { font: 700 0.95rem var(--font-head); color: var(--tide); margin: 0 0 0.2rem; }
.bubble { margin: 0; padding: 1rem 1.3rem; font-size: 1.15rem; line-height: 1.45; max-width: 88%; border-radius: var(--r-lg); }
.bubble-ask { align-self: flex-start; background: var(--paper); color: var(--night); border: 2px solid var(--mist-2); border-bottom-left-radius: 6px; font-weight: 700; }
.bubble-ans { align-self: flex-end; background: var(--night); color: #fff; border-bottom-right-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .bubble { animation: pop 0.55s cubic-bezier(0.2, 0.8, 0.25, 1) both; }
  .b1 { animation-delay: 0.35s; } .b2 { animation-delay: 1.5s; } .b3 { animation-delay: 2.7s; } .b4 { animation-delay: 3.7s; }
  @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
}

.trust { background: var(--paper); border-bottom: 1px solid var(--mist-2); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { display: flex; align-items: center; gap: 0.8rem; padding: 1.4rem 1.2rem; font-weight: 700; color: var(--night); line-height: 1.3; }
.trust-list li + li { border-left: 1px solid var(--mist-2); }
.trust-list .icon { width: 2rem; height: 2rem; color: var(--tide); }

/* ------------------------------------------------ sections */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section-mist { background: var(--mist); }
.section-night { background: var(--night); color: #e8eff4; }
.section-night h2, .section-night h3 { color: #fff; }
.on-dark { color: #c7d6e1; font-size: 1.2rem; }
.section-head { margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.section-head h2 { margin-bottom: 0.4em; }

.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose p { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; }

/* service index rows */
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
.row { display: grid; grid-template-columns: 4rem 1fr 2rem; gap: 1.2rem; align-items: center; padding: 1.5rem 0.6rem; border-top: 2px solid var(--mist-2); text-decoration: none; color: var(--night); transition: background-color 0.15s; }
.rows li:nth-last-child(-n+2) .row { border-bottom: 2px solid var(--mist-2); }
.row:hover { background: var(--mist); color: var(--night); }
.row-icon { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--marigold); transition: background-color 0.15s, color 0.15s; }
.row-icon .icon { width: 1.9rem; height: 1.9rem; }
.row:hover .row-icon { background: var(--marigold); color: var(--night); }
.row-text { display: block; }
.row-title { display: block; font: 700 1.35rem/1.2 var(--font-head); letter-spacing: -0.01em; }
.row-text p { margin: 0.35rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.row-go { color: var(--tide); display: grid; place-items: center; }
.row:hover .row-go { color: var(--night); transform: translateX(3px); }
.section-mist .row:hover { background: var(--paper); }
.section-mist .rows li:nth-last-child(-n+2) .row { border-bottom-color: var(--mist-2); }

/* promise and DBS */
.promise { margin: 0 0 1.6rem; padding: 0.2rem 0 0.2rem 1.6rem; border-left: 7px solid var(--marigold); }
.promise p { font: 700 clamp(1.5rem, 2.8vw, 2.1rem)/1.2 var(--font-head); color: var(--night); margin: 0; letter-spacing: -0.015em; }
.dbs { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--paper); border: 2px solid var(--night); border-radius: var(--r-md); padding: 1.4rem; }
.dbs > .icon { width: 3rem; height: 3rem; padding: 0.7rem; border-radius: 50%; background: var(--night); color: var(--marigold); }
.dbs h2, .dbs h3 { font-size: 1.25rem; margin: 0 0 0.3rem; }
.dbs p { margin: 0; color: var(--muted); font-size: 1rem; }
.dbs-large { margin-bottom: 1.5rem; }
.panel { background: var(--mist); border-radius: var(--r-md); padding: 1.6rem; }
.panel h2 { font-size: 1.4rem; }
.section-mist .panel { background: var(--paper); }

/* checklists */
.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checks li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.55rem 0; line-height: 1.45; }
.checks .icon { width: 1.35rem; height: 1.35rem; margin-top: 0.12rem; color: var(--samphire); }
.checks-dark li { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.16); padding: 0.85rem 0; }
.checks-dark .icon { color: var(--marigold); }
.checks-tight li { padding: 0.6rem 0; }
.checks-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }

/* steps (a true sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { position: relative; padding-top: 4.6rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.6rem; left: 4rem; right: -1.2rem; border-top: 3px dotted var(--tide-soft); }
.step-n { position: absolute; top: 0; left: 0; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--marigold); color: var(--night); display: grid; place-items: center; font: 800 1.5rem var(--font-head); }
.steps p { color: var(--muted); margin: 0; }
.steps-compact { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 1rem; }
.steps-compact li { padding: 0 0 0 4.8rem; min-height: 3.4rem; }
.steps-compact li::after { display: none; }

/* areas */
.areas h2 { margin-bottom: 0.5em; }
.areas-lead { font: 500 clamp(1.25rem, 2.4vw, 1.7rem)/1.5 var(--font-head); color: var(--night); max-width: 40ch; letter-spacing: -0.01em; }
.areas-lead strong { font-weight: 800; }

/* FAQ */
.faq { border-bottom: 2px solid var(--mist-2); }
.faq:first-of-type { border-top: 2px solid var(--mist-2); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 3.2rem 1.35rem 0; font: 700 1.25rem/1.3 var(--font-head); color: var(--night); position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 0.5rem; top: 50%; width: 1.3rem; height: 3px; background: var(--tide); border-radius: 2px; transition: transform 0.2s; }
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--tide); }
.faq-a { padding: 0 0 1.5rem; }
.faq-a p { margin: 0; font-size: 1.08rem; }
.more { margin-top: 1.6rem; }

/* CTA band */
.band { background: var(--marigold); padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.band h2 { margin: 0 0 0.3em; }
.band p { margin: 0; color: var(--night); font-size: 1.15rem; }
.band-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ------------------------------------------------ inner pages */
.page-hero { background: var(--mist); padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(2.4rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; max-width: 44ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.95rem; margin-bottom: 1.4rem; color: var(--tide); }
.crumbs a { color: var(--tide); font-weight: 700; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.page-hero-service .hero-actions { margin-bottom: 0; }
.hero-icon { width: 11rem; height: 11rem; border-radius: 50%; background: var(--marigold); color: var(--night); display: grid; place-items: center; }
.hero-icon .icon { width: 5rem; height: 5rem; }

.service-grid { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.service-main h2 { margin-top: 1.8em; }
.service-main .prose + h2 { margin-top: 1.4em; }
.service-side { position: sticky; top: 6.5rem; display: grid; gap: 1.4rem; }
.side-dark { background: var(--night); color: #fff; border-radius: var(--r-md); padding: 1.7rem; }
.side-dark h2 { color: #fff; font-size: 1.4rem; }
.side-dark .checks { margin-bottom: 0; }
.side-call { background: var(--marigold); border-radius: var(--r-md); padding: 1.7rem; }
.side-call h2 { font-size: 1.4rem; }
.side-call p { font-size: 1rem; }
.side-tel { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font: 800 1.3rem var(--font-head); color: var(--night); text-decoration: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-list { list-style: none; margin: 1.6rem 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; align-items: center; padding: 0.9rem 0; border-bottom: 2px solid var(--mist-2); }
.contact-list .icon { width: 2.7rem; height: 2.7rem; padding: 0.65rem; border-radius: 50%; background: var(--night); color: var(--marigold); }
.contact-list a, .contact-list span { font: 700 1.2rem var(--font-head); color: var(--night); }
.contact-list .cl-label { display: block; font: 400 0.9rem var(--font-body); color: var(--tide); }
.form-wrap { background: var(--mist); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); }
.form-wrap h2 { font-size: 1.7rem; }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.4rem; color: var(--night); }
.req, .opt { font-weight: 400; color: var(--tide); font-size: 0.9rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1.05rem var(--font-body); color: var(--night); background: var(--paper); border: 2px solid var(--tide-soft); border-radius: var(--r-sm); padding: 0.8rem 1rem; min-height: 3.4rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--night); }
.honeypot { display: none; }
.form-note { font-size: 0.95rem; color: var(--muted); }
.form-status { margin: 1rem 0 0; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: var(--samphire); }
.form-status.err { color: #a3281f; }

/* ------------------------------------------------ footer */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: #cfdce6; padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-mark { position: absolute; right: -3%; top: -6%; width: min(44vw, 520px); height: auto; color: #fff; opacity: 0.05; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 0.9fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,0.4); }
.site-footer a:hover { color: var(--marigold); }
.footer-brand { font: 800 1.5rem var(--font-head); color: #fff; margin-bottom: 0.5rem; }
.footer-h { font: 700 1.1rem var(--font-head); color: #fff; margin-bottom: 0.8rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.28rem 0; line-height: 1.4; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: center; }
.footer-contact .icon { width: 1.15rem; height: 1.15rem; color: var(--marigold); }
.footer-dbs { display: flex; gap: 0.6rem; align-items: center; color: #fff; font-weight: 700; margin-top: 1rem; }
.footer-dbs .icon { color: var(--marigold); }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.15); padding-block: 1.3rem; font-size: 0.92rem; }
.footer-base p { margin: 0; max-width: none; }

.mobile-bar { display: none; }

/* ------------------------------------------------ responsive */
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--marigold); padding: 1rem 1.25rem 1.5rem; flex-direction: column; align-items: stretch; gap: 1rem; box-shadow: 0 18px 30px rgba(18,38,58,0.14); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { padding: 0.95rem 1rem; font-size: 1.15rem; }
  .site-nav li a[aria-current="page"] { border-radius: 12px; }
  .nav-cta { width: 100%; }
}
@media (max-width: 960px) {
  .hero-in, .split, .contact-grid, .service-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .rows { grid-template-columns: 1fr; }
  .rows li:nth-last-child(-n+2) .row { border-bottom: 0; }
  .rows li:last-child .row { border-bottom: 2px solid var(--mist-2); }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--mist-2); }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps li { padding: 0 0 0 4.8rem; min-height: 3.4rem; }
  .steps li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-side { position: static; }
  .hero-icon { display: none; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .checks-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html { font-size: 106.25%; }
  .hide-sm { display: none; }
  .topbar-tools { gap: 0.9rem; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: 0.75rem; }
  .brand-mark { width: 2.2rem; }
  .brand { gap: 0.5rem; }
  .nav-toggle { padding: 0.65rem 0.95rem; }
  .topbar-wa { display: none; }
  .header-in { min-height: 4.4rem; }
  .hero-actions .btn, .band-actions .btn { width: 100%; }
  .bubble { max-width: 94%; font-size: 1.08rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-list li { padding: 1rem 0.6rem; font-size: 0.95rem; }
  .row { grid-template-columns: 3.2rem 1fr 1.4rem; gap: 0.9rem; padding-inline: 0.2rem; }
  .row-icon { width: 3.2rem; height: 3.2rem; }
  .row-icon .icon { width: 1.5rem; height: 1.5rem; }
  body { padding-bottom: 4.6rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); border-top: 3px solid var(--marigold); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 4rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,0.25); }
  .mobile-bar .icon { color: var(--marigold); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* large-text safety on small screens */
.hero-in > *, .split > *, .service-grid > *, .contact-grid > *, .page-hero-grid > * { min-width: 0; }
.contact-list a, .contact-list span { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  html[data-text="large"] { font-size: 122%; }
  html[data-text="large"] .nav-toggle-label { display: none; }
  html[data-text="large"] .brand-sub { display: none; }
}
@media (max-width: 480px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li + li, .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+2) { border-top: 1px solid var(--mist-2); }
}

/* ---------------------------------------------------------------- booking */
.book-wrap { max-width: 860px; }
.notice { background: var(--mist); border-left: 6px solid var(--marigold); padding: 1rem 1.25rem; border-radius: var(--r-sm); margin: 0 0 1.5rem; }
.notice p { margin: 0; }
.notice-err { border-left-color: #a3281f; }
.book-callout { display: flex; gap: 1rem; align-items: flex-start; background: var(--mist); border-radius: var(--r-md); padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; }
.book-callout h2 { font-size: 1.35rem; margin-bottom: 0.3em; }
.book-callout p { margin: 0 0 0.8rem; }
.book-callout .icon { color: var(--samphire); margin-top: 0.2rem; }
.stepper { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem 0.4rem 0.4rem; border-radius: 999px; background: var(--mist); color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.stepper li span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--paper); color: var(--night); }
.stepper li.on { background: var(--night); color: #fff; }
.stepper li.on span { background: var(--marigold); }
.book-panel { background: var(--paper); border: 2px solid var(--mist-2); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.book-panel h2 { font-size: 1.5rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.cal-head h3 { margin: 0; font-size: 1.3rem; text-align: center; flex: 1; }
.cal-nav { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 2px solid var(--night); background: var(--paper); color: var(--night); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.cal-nav:hover:not(:disabled) { background: var(--night); color: #fff; }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3rem; }
.cal-dow { text-align: center; font-weight: 700; color: var(--muted); font-size: 0.85rem; padding: 0.3rem 0; }
.cal-day { min-height: 3.2rem; border-radius: var(--r-sm); border: 2px solid transparent; background: transparent; color: var(--tide-soft); font: 400 1.05rem var(--font-body); }
.cal-day.free { background: var(--mist); color: var(--night); font-weight: 700; border-color: var(--mist-2); cursor: pointer; }
.cal-day.free:hover { border-color: var(--night); }
.cal-day.sel { background: var(--night); color: #fff; border-color: var(--night); }
.cal-day.today { text-decoration: underline; }
.cal-key { color: var(--muted); font-size: 0.9rem; margin: 0.75rem 0 0; }
.key-dot { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; background: var(--mist); border: 2px solid var(--mist-2); vertical-align: middle; }
.times { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 2px solid var(--mist); }
.times h3 { font-size: 1.2rem; }
.times-empty { color: var(--muted); margin: 0; }
.time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.6rem; }
.time-btn { min-height: 3.2rem; border-radius: 999px; border: 2px solid var(--night); background: var(--paper); color: var(--night); font: 700 1.05rem var(--font-body); cursor: pointer; }
.time-btn:hover { background: var(--night); color: #fff; }
.chosen { background: var(--mist); border-left: 6px solid var(--marigold); padding: 0.8rem 1.1rem; border-radius: var(--r-sm); font-weight: 700; margin-bottom: 1.25rem; }
.err { color: #a3281f; font-weight: 700; margin: 0.35rem 0 0; min-height: 0; }
.err:empty { display: none; }
.check-label { display: flex !important; gap: 0.8rem; align-items: flex-start; font-weight: 400 !important; }
.check-label input { width: 1.6rem !important; height: 1.6rem; min-height: 0 !important; margin-top: 0.15rem; flex: none; accent-color: var(--night); }
.check-label small { display: block; color: var(--muted); }
.form-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.book-done { border-color: var(--samphire); }
.done-when { font: 700 1.4rem var(--font-head); color: var(--night); background: var(--mist); border-left: 6px solid var(--marigold); padding: 0.8rem 1.1rem; border-radius: var(--r-sm); }
.btn-danger { border: 2px solid #a3281f; color: #a3281f; background: transparent; cursor: pointer; }
.btn-danger:hover { background: #a3281f; color: #fff; }
@media (max-width: 480px) {
  .book-panel { padding: 1rem; border-radius: var(--r-md); }
  .cal-day { min-height: 2.8rem; }
  .form-actions .btn { width: 100%; }
}
[hidden] { display: none !important; }
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.4rem 1.2rem; }
.area-cta { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
