/*
Theme Name: LEDREAM
Theme URI: https://ledream.co.uk
Author: Have.Digital
Author URI: https://have.digital
Description: Complete site theme for LEDREAM LTD — estate agency, property management and equipment hire from Staines-upon-Thames. Photo-led, built to the LEDREAM brand document.
Version: 5.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ledream
*/

/* =====================================================================
   Tokens
   ===================================================================== */
:root {
  /* Fresh and friendly palette */
  --navy: #102A43;        /* ink: text */
  --navy-deep: #0B1F33;   /* footer */
  --teal: #0F766E;        /* bands, links, secondary buttons */
  --teal-deep: #0B5F58;
  --mint: #E8F5F2;        /* soft section background */
  --mint-line: #D3E9E4;
  --amber: #F2A93B;       /* primary buttons */
  --amber-deep: #8A5A08;  /* amber as text on white */
  --amber-tint: #FDF1DC;

  --bg: #FFFFFF;
  --bg-alt: var(--mint);
  --surface: #FFFFFF;
  --text: var(--navy);
  --text-2: #52606D;
  --line: #E1E8EC;

  --font-head: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
}

/* =====================================================================
   Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 700; color: var(--text);
  margin: 0; text-wrap: balance;
}
/* Perfect-fourth scale from a 17px body */
h1 { font-size: clamp(2.75rem, 5.4vw, 4.45rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.032em; }
h2 { font-size: clamp(2.1rem, 3.7vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.026em; }
h3 { font-size: 1.42rem; line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: 1.1rem; line-height: 1.3; }
p { text-wrap: pretty; }
.h3 { font-size: 1.88rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--text-2); max-width: 34em; }
.small { font-size: 0.95rem; color: var(--text-2); }
.cover { width: 100%; height: 100%; object-fit: cover; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* =====================================================================
   Buttons and small labels
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font-body); letter-spacing: 0.005em; padding: 15px 24px; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { padding: 18px 28px; font-size: 1.05rem; }
.btn--dark, .btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--dark:hover, .btn--primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn--amber { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.btn--amber:hover { background: #F6B957; border-color: #F6B957; }
.btn--ghost { background: transparent; color: var(--navy); border-color: #C6D3D8; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; color: var(--text-2); margin: 0 0 20px; }
.kicker__code, .sic {
  display: inline-block; font: 700 0.8rem/1 var(--font-body); letter-spacing: 0.02em;
  color: var(--teal-deep); background: var(--mint); border-radius: 999px; padding: 7px 12px;
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { line-height: 1; }
.brand__name { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: 0.01em; color: var(--navy); }
.brand__tag { display: block; margin-top: 5px; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal); }
.brand--reverse { color: #fff; }
.brand--reverse .brand__name { color: #fff; }
.brand--reverse .brand__tag { color: var(--amber); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a { text-decoration: none; font-weight: 600; color: var(--text-2); padding: 6px 0; }
.nav ul a:hover { color: var(--navy); }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .btn { padding: 13px 22px; font-size: 0.97rem; background: var(--amber); color: var(--navy); border-color: var(--amber); }
.nav .btn:hover { background: #F6B957; border-color: #F6B957; }

.nav-toggle { display: none; background: transparent; color: var(--navy); border: 1.5px solid #C6D3D8; border-radius: 999px; padding: 10px 18px; font: 700 0.95rem var(--font-body); cursor: pointer; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: 78px; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); }
  .nav .current-menu-item > a, .nav .current_page_item > a { text-decoration: none; color: var(--teal); }
  .nav .btn { margin-top: 28px; padding: 18px; font-size: 1.05rem; }
}

/* =====================================================================
   Sections and headings
   ===================================================================== */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 9vw, 120px); }
.section--flush { padding-top: 0; }
.section--alt, .section--stone { background: var(--bg-alt); }
.section--dark { background: var(--teal); color: #fff; --text: #fff; --text-2: #CFEAE5; --line: rgba(255,255,255,.14); --surface: rgba(255,255,255,.06); }

.head, .section-head { max-width: 50rem; margin-bottom: clamp(40px, 5vw, 64px); }
.head p, .section-head p { margin: 20px 0 0; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 36em; }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.head--split p { margin: 0; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

/* =====================================================================
   Home hero — full-bleed photograph
   ===================================================================== */
.hero { padding: 0 clamp(8px, 1.4vw, 20px); }
.hero__frame { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: clamp(560px, 82vh, 820px); display: flex; align-items: flex-end; background: var(--navy); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,44,.82) 0%, rgba(10,28,44,.55) 38%, rgba(10,28,44,.08) 72%), linear-gradient(0deg, rgba(10,28,44,.55) 0%, rgba(10,28,44,0) 45%); }
.hero__inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__copy { max-width: 40rem; color: #fff; }
.hero__kicker { font-weight: 700; color: var(--amber); margin: 0 0 18px; }
.hero h1 { color: #fff; }
.hero__lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,.9); margin: 24px 0 36px; max-width: 30em; }
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .hero__copy { animation: lift .9s .15s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
  @keyframes lift { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 700px) {
  .hero__shade { background: linear-gradient(0deg, rgba(10,28,44,.9) 0%, rgba(10,28,44,.68) 60%, rgba(10,28,44,.45) 100%); }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero__frame { min-height: 640px; }
}

/* Registered activities strip */
.facts { padding: clamp(28px, 4vw, 44px) 0 0; }
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.facts__list li + li { border-left: 1px solid var(--line); }
.facts__list a { display: block; padding: 8px 28px 30px; text-decoration: none; height: 100%; }
.facts__list li:first-child a { padding-left: 0; }
.facts__code { display: block; font-weight: 700; font-size: 0.85rem; color: var(--teal); margin-bottom: 8px; }
.facts__label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
.facts__desc { display: block; color: var(--text-2); margin-top: 4px; }
.facts__list a:hover .facts__label { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 5px; }
@media (max-width: 760px) {
  .facts__list { grid-template-columns: 1fr; }
  .facts__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .facts__list a, .facts__list li:first-child a { padding: 20px 0; }
}

/* =====================================================================
   Service cards
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); }
.card__media img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 4px 0; }
.card__body h3 { font-size: clamp(1.6rem, 2vw, 1.88rem); margin: 14px 0 10px; }
.card__body p { color: var(--text-2); }
.card__more { font-weight: 700; color: var(--teal); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.card:hover .card__more { color: var(--teal-deep); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; gap: 44px; } }

/* =====================================================================
   How we work
   ===================================================================== */
.how { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.how__intro h2 { margin-bottom: 20px; }
.how__media { margin-top: 36px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.steps-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.steps-list li:first-child { border-top: 0; padding-top: 4px; }
.steps-list__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 1.3rem var(--font-head); }
.steps-list h3 { font-size: clamp(1.5rem, 2vw, 1.88rem); margin: 8px 0 8px; }
.steps-list p { color: var(--text-2); font-size: 1.1rem; margin: 0; max-width: 32em; }
@media (min-width: 901px) { .how__intro { position: sticky; top: 110px; } }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } .steps-list li { grid-template-columns: 52px 1fr; } }

/* =====================================================================
   Feature split (photo + copy)
   ===================================================================== */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature__media { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-alt); }
.feature__copy h2 { margin: 16px 0 18px; }
.feature__copy > p { font-size: 1.12rem; line-height: 1.65; color: var(--text-2); max-width: 32em; }
.feature__copy .actions, .feature__copy > .btn { margin-top: 28px; }
@media (max-width: 900px) {
  .feature, .feature--wide { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 4 / 3; }
}

.kit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.kit-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kit-grid__icon, .tile__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--mint); color: var(--teal); }
.kit-grid__icon svg, .tile__icon svg { width: 22px; height: 22px; }
.kit-grid strong { display: block; font-weight: 700; }
.kit-grid small { display: block; color: var(--text-2); font-size: 0.92rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 560px) { .kit-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Coverage
   ===================================================================== */
.coverage { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.coverage h2 { margin-bottom: 18px; }
.places { display: flex; flex-wrap: wrap; gap: 10px; }
.places li { padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.places li.is-home { background: var(--teal); color: #fff; border-color: var(--teal); }
.places li.is-home::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 10px; vertical-align: middle; }
@media (max-width: 860px) { .coverage { grid-template-columns: 1fr; } }

/* =====================================================================
   Closing CTA panel
   ===================================================================== */
.cta { padding: clamp(80px, 10vw, 130px) 0; }
.section--alt + .cta, .section--stone + .cta { padding-top: clamp(80px, 10vw, 130px); }
.cta__panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); background: var(--teal); color: #fff; border-radius: var(--r-xl); overflow: hidden; }
.cta__copy { padding: clamp(40px, 6vw, 88px); align-self: center; }
.cta__copy h2 { color: #fff; font-size: clamp(2.1rem, 3.7vw, 3.3rem); }
.cta__copy p { color: #D6EFEA; font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin: 20px 0 32px; max-width: 30em; }
.cta__media { position: relative; min-height: 320px; }
.cta__media img { position: absolute; inset: 0; }
@media (max-width: 900px) { .cta__panel { grid-template-columns: 1fr; } .cta__media { order: -1; aspect-ratio: 16 / 9; min-height: 0; } }

/* =====================================================================
   Inner page hero
   ===================================================================== */
.phero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.phero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.phero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.phero--image .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.phero__text { max-width: 44rem; }
.phero__lede { font-size: clamp(1.1rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--text-2); margin: 22px 0 0; max-width: 32em; }
.phero .actions { margin-top: 32px; }
.phero__media { aspect-ratio: 5 / 4; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-alt); }
@media (max-width: 900px) { .phero--image .phero__grid { grid-template-columns: 1fr; } .phero__media { order: -1; aspect-ratio: 16 / 10; } }

/* =====================================================================
   Inner page components
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
.split--wide-right { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); }
.split--wide-right h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
@media (max-width: 860px) { .split, .split--wide-right { grid-template-columns: 1fr; } }

.panel { background: var(--bg-alt); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.section--alt .panel, .section--stone .panel { background: #fff; }
.section--alt { --line: var(--mint-line); }
.panel h2, .panel h3 { margin-bottom: 12px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.panel > p { color: var(--text-2); font-size: 1.08rem; }
.panel .ticks { margin: 20px 0 8px; }
.panel .btn { margin-top: 20px; }
.after-split { margin-top: 24px; }

.ticks li, .checklist li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--line); }
.ticks li:first-child, .checklist li:first-child { border-top: 0; }
.ticks li::before, .checklist li::before, .inline-ticks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.list-title { font-size: 1.5rem; margin-bottom: 14px; }
.checklist { margin-bottom: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.item { background: var(--bg-alt); border-radius: var(--r-lg); padding: 30px 28px; }
.section--alt .item, .section--stone .item { background: #fff; }
.item h3 { font-size: 1.35rem; margin-bottom: 10px; }
.item p { color: var(--text-2); margin: 0; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stages--3 { grid-template-columns: repeat(3, 1fr); }
.stage { background: #fff; border-radius: var(--r-lg); padding: 28px 26px; }
.section--dark .stage { background: var(--surface); }
.stage__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 1.05rem var(--font-head); margin-bottom: 32px; }
.section--dark .stage__num { background: var(--amber); color: var(--navy); }
.stage h3 { font-size: 1.35rem; margin-bottom: 10px; }
.stage p { color: var(--text-2); margin: 0; }
@media (max-width: 960px) { .stages, .stages--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stages, .stages--3 { grid-template-columns: 1fr; } }

.kit { border-top: 1px solid var(--line); }
.kit li { display: grid; grid-template-columns: minmax(150px, 0.45fr) 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kit span { color: var(--text-2); }
@media (max-width: 600px) { .kit li { grid-template-columns: 1fr; gap: 4px; } }

.range { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.range__item { display: flex; flex-direction: column; background: var(--bg-alt); border-radius: var(--r-lg); padding: 28px; }
.range__item .tile__icon { background: #fff; color: var(--teal); margin-bottom: 22px; }
.range__item h3 { font-size: 1.35rem; margin-bottom: 12px; }
.range__item ul { margin-bottom: 24px; }
.range__item li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.range__item li:last-child { border-bottom: 0; }
.card__link { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.card__link:hover { color: var(--teal); }
@media (max-width: 960px) { .range { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .range { grid-template-columns: 1fr; } }

.inline-ticks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.inline-ticks li { position: relative; background: #fff; border-radius: 999px; padding: 11px 18px 11px 44px; font-weight: 700; }
.inline-ticks li::before { left: 12px; top: 50%; margin-top: -11px; }

.prose p { font-size: 1.15rem; line-height: 1.7; }
.sic-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.sic-table th, .sic-table td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sic-table th { font-size: 0.88rem; color: var(--text-2); font-weight: 700; }
.sic-table tbody tr:last-child td { border-bottom: 0; }
.sic-table td:first-child { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--teal); white-space: nowrap; }
.sic-table a { font-weight: 700; color: var(--text); text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .sic-table thead { display: none; }
  .sic-table tr { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .sic-table td { display: block; padding: 3px 0; border: 0; }
}

.details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 0; }
.details--4 { grid-template-columns: repeat(4, 1fr); }
.details dt { font-size: 0.9rem; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.details dd { margin: 0; font-size: 1.08rem; }
.details a { font-weight: 700; color: var(--text); text-decoration: none; }
.details a:hover { color: var(--teal); }
.details__full { grid-column: 1 / -1; }
.details dd.big a { font-family: var(--font-head); font-weight: 800; font-size: 1.85rem; letter-spacing: -0.02em; }
@media (max-width: 860px) { .details--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .details, .details--4 { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:first-child { color: var(--text-2); }
.hours td:last-child { text-align: right; font-weight: 700; }

/* Contact and form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-aside { background: var(--bg-alt); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px); }
.contact-aside .details { grid-template-columns: 1fr; gap: 24px; }
.small-link { display: inline-block; margin-top: 8px; font-size: 0.95rem; }
.form-title { margin-bottom: 24px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.97rem; }
.field .opt { font-weight: 400; color: var(--text-2); font-size: 0.88rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--text); background: #fff; border: 1.5px solid #C6D3D8; border-radius: 14px; padding: 14px 16px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,118,110,.18); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--teal); }
.field--check label { font-weight: 400; color: var(--text-2); }
.field--check a { color: var(--text); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .field .btn { align-self: flex-start; padding: 17px 32px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 24px; }
.notice--ok { background: #E2F1E6; color: #173D22; }
.notice--error { background: #FBECEA; color: #5C1410; }
.notice a { color: inherit; font-weight: 700; }

/* Legal and client-added pages */
.prose--page { max-width: 46em; }
.prose--page > *:first-child { margin-top: 0; }
.prose--page h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 1.8em 0 0.5em; }
.prose--page h3 { font-size: 1.3rem; margin: 1.6em 0 0.5em; }
.prose--page p, .prose--page li { font-size: 1.08rem; line-height: 1.7; }
.prose--page ul, .prose--page ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose--page ul { list-style: disc; }
.prose--page ol { list-style: decimal; }
.prose--page li { margin: 0.4em 0; }
.prose--page li::marker { color: var(--teal); }
.prose--page a { color: var(--teal); text-underline-offset: 3px; }
.prose--page figure { margin: 0 0 1.5em; }
.prose--page table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.prose--page th, .prose--page td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose--page tr:last-child td { border-bottom: 0; }
.prose--page th { background: var(--bg-alt); font-size: 0.92rem; }
.post-entry + .post-entry { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }

.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-decoration: none; }
.link-list a:hover { color: var(--teal); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy-deep); color: #C3CBD8; padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid p { color: #98A4B7; max-width: 26em; margin-top: 22px; }
.footer-grid h4 { font: 700 0.95rem var(--font-body); letter-spacing: 0; color: #fff; margin-bottom: 16px; }
.footer-grid li { padding: 5px 0; }
.footer-grid a { text-decoration: none; color: #C3CBD8; }
.footer-grid a:hover { color: #5EEAD4; }
.footer-protection { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 22px 0 0; font-size: 0.9rem; color: #98A4B7; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 0.9rem; color: #8592A6; }
.legal__links { display: flex; gap: 22px; }
.legal__links a { color: #A9B4C6; text-decoration: none; }
.legal__links a:hover { color: #fff; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
