/* ==========================================================================
   Damp Fix Yorkshire Ltd — dampproofingspecialistsbarnsley.co.uk
   Mobile-first stylesheet
   ========================================================================== */

/* --- Font ----------------------------------------------------------------
   Jost: geometric sans with circular bowls and a single-storey 'a' — the
   same Century Gothic / Futura family the logo wordmark is drawn in.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost.woff2') format('woff2-variations'),
       url('../fonts/jost.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------
   The logo is a single teal on neutral black. The palette follows it: greys
   carry no blue tint, so the teal is the only colour on the page.
   -------------------------------------------------------------------------- */
:root {
  --ink:        #0B0B0B;   /* logo background is #010101 — neutral, not slate */
  --ink-2:      #171717;
  --ink-3:      #262626;

  --teal:       #3FD7D8;   /* brand — sampled from the logo */
  --teal-400:   #2FC2C4;
  --teal-deep:  #1A7F7F;   /* same hue, darkened to pass AA on white (4.8:1) */
  --teal-dark:  #116060;
  --teal-wash:  #E8FAFA;

  --paper:      #FFFFFF;
  --mist:       #F7F7F7;
  --mist-2:     #EFEFEF;
  --line:       #E4E4E4;
  --line-dark:  #262626;

  --body:       #4A4A4A;
  --muted:      #737373;

  --amber:      #E8A33D;
  --amber-wash: #FDF4E5;
  --rose:       #C4543F;
  --rose-wash:  #FBEEEB;

  --radius:     14px;
  --radius-sm:  10px;
  --radius-lg:  22px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.05), 0 2px 6px rgba(0,0,0,.04);
  --shadow:     0 2px 6px rgba(0,0,0,.05), 0 12px 28px -10px rgba(0,0,0,.14);
  --shadow-lg:  0 4px 12px rgba(0,0,0,.07), 0 28px 60px -20px rgba(0,0,0,.24);

  --wrap:       1180px;
  --gut:        20px;
  --header-h:   77px;   /* sticky header height at desktop, incl. border */

  --ease:       cubic-bezier(.22,.71,.35,1);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: 'Jost', ui-sans-serif, system-ui, -apple-system, 'Century Gothic', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Jost has a Futura-ish small x-height, so it needs a touch more size and
     leading than a grotesque at the same nominal value. */
  font-size: 1.09rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* `overflow-x: hidden` turns body into a scroll container, which silently
   breaks `position: sticky` on descendants. `clip` prevents the overflow
   without that side effect. */
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
/* The wordmark is light and openly tracked — headings stay well clear of the
   heavy, tightly-set look a grotesque would want. */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 7.4vw, 3.6rem); letter-spacing: -.012em; }
h2 { font-size: clamp(1.72rem, 5.2vw, 2.55rem); }
h3 { font-size: clamp(1.18rem, 3.1vw, 1.42rem); font-weight: 600; letter-spacing: 0; }
h4 { font-size: 1.09rem; font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1.15em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { color: var(--ink-3); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 500;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }

section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5.5vw, 3.5rem); }
.section--mist { background: var(--mist); }
.section--wash { background: var(--teal-wash); }
.section--ink { background: var(--ink); color: #C9C9C9; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 4.5vw, 3rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: 1.09rem; margin-bottom: 0; }
.sec-head .eyebrow { margin-bottom: .85rem; }

.eyebrow {
  display: inline-block;
  font-size: .77rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: .6rem;
}
.section--ink .eyebrow { color: var(--teal); }

.lede { font-size: clamp(1.08rem, 2.4vw, 1.24rem); line-height: 1.6; color: var(--ink-3); }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 620px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  padding: .95rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  min-height: 52px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--teal); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(63,215,216,.7); }
.btn--primary:hover { background: #55E3E4; color: var(--ink); box-shadow: 0 10px 26px -8px rgba(63,215,216,.85); }

.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--dark:hover { background: var(--ink-3); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }

.btn--wide { width: 100%; }
@media (min-width: 520px) { .btn--wide { width: auto; } }

.btn-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 520px) { .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.btn-row--center { justify-content: center; }

/* --- Utility bar ---------------------------------------------------------
   Sits above the sticky header and scrolls away with the page. Carries the
   trust signals that don't belong in the nav: coverage, hours, rating.
   -------------------------------------------------------------------------- */
.utility-bar {
  display: none;
  background: #060606;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .845rem;
  color: #9A9A9A;
}
@media (min-width: 900px) { .utility-bar { display: block; } }
.utility-bar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 42px;
}
.utility-bar__left, .utility-bar__right {
  display: flex; align-items: center; gap: 1.5rem; margin: 0;
}
.utility-bar__item { display: inline-flex; align-items: center; gap: .45rem; }
.utility-bar__item > svg { width: 15px; height: 15px; color: var(--teal); flex: none; }
.utility-bar a { color: #9A9A9A; text-decoration: none; }
.utility-bar a:hover { color: var(--teal); }
.utility-bar__rating b { color: #fff; font-weight: 600; }
.utility-bar__rating .stars { display: inline-flex; gap: 1px; color: #F5B932; }
.utility-bar__rating .stars svg { width: 12px; height: 12px; }
.utility-bar__socials {
  display: inline-flex; align-items: center; gap: .35rem;
  padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.13);
}
.utility-bar__socials a {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.utility-bar__socials a:hover { background: rgba(63,215,216,.12); }
.utility-bar__socials svg { width: 14px; height: 14px; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11,11,11,.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
/* Hairline of brand colour so the header edge isn't a flat grey line. */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63,215,216,.55) 22%, rgba(63,215,216,.55) 78%, transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(11,11,11,.97); box-shadow: 0 10px 30px -14px rgba(0,0,0,.9); }
.site-header.is-scrolled::after { opacity: 1; }

.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 80px;
  flex-wrap: wrap;
  transition: min-height .25s var(--ease);
}
/* Below the desktop breakpoint the drawer must break onto its own full-width
   row, otherwise it stays a narrow flex item wedged beside the logo. */
@media (max-width: 899px) {
  .brand      { order: 1; }
  .nav-toggle { order: 2; }
  .site-nav   { order: 3; flex: 0 0 100%; width: 100%; }
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
/* The lockup is stacked (droplets over wordmark) so it's tall for its width.
   Size it by HEIGHT — sizing by width made it taller than the header bar,
   which is why it was jammed against the top and bottom edges. */
.brand img { height: 48px; width: auto; transition: height .25s var(--ease); }
@media (min-width: 900px) { .brand img { height: 58px; } }
.site-header.is-scrolled .brand img { height: 42px; }
@media (min-width: 900px) { .site-header.is-scrolled .brand img { height: 46px; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; border: 1.5px solid rgba(255,255,255,.24);
  color: #fff; font: inherit; font-weight: 500; font-size: .92rem;
  padding: .55rem .85rem; border-radius: 999px; cursor: pointer;
  min-height: 44px;
}
.nav-toggle:hover { border-color: var(--teal); color: var(--teal); }
.nav-toggle .bars { display: block; width: 17px; height: 12px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 5px; }
.nav-toggle .bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  padding: .35rem 0 1.25rem;
  border-top: 1px solid var(--line-dark);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
/* Scoped to the list so it can't override .btn on the drawer CTAs. */
.site-nav ul a {
  display: block; padding: .8rem .25rem;
  color: #DCDCDC; text-decoration: none; font-weight: 500; font-size: 1.02rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-nav ul a:hover { color: var(--teal); }
.site-nav ul a[aria-current="page"] { color: var(--teal); }
.nav-cta { margin-top: 1rem; display: grid; gap: .6rem; }

@media (min-width: 900px) {
  .site-nav { display: block !important; }
  .site-nav ul { display: flex; align-items: center; gap: 1.9rem; }
  .site-nav ul a {
    position: relative;
    padding: .45rem 0; border-bottom: 0; border-radius: 0;
    font-size: .98rem; font-weight: 500; color: #D2D2D2;
  }
  /* A brand-coloured rule that wipes in beats a grey pill for feeling considered. */
  .site-nav ul a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--teal); border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform .24s var(--ease);
  }
  .site-nav ul a:hover { color: #fff; }
  .site-nav ul a:hover::after,
  .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav ul a[aria-current="page"] { color: #fff; }
  .nav-cta { display: none; }
  .header-bar { min-height: 100px; }
  .site-header.is-scrolled .header-bar { min-height: 78px; }
  .header-actions { display: flex; align-items: center; gap: 1.1rem; }
}
.site-header.is-scrolled .header-bar { min-height: 68px; }
.header-actions { display: none; }
@media (min-width: 900px) { .header-actions { display: flex; } }

.header-phone {
  display: inline-flex; align-items: center; gap: .7rem;
  color: #fff; text-decoration: none; padding: .25rem 0;
}
.header-phone__icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: rgba(63,215,216,.11); border: 1px solid rgba(63,215,216,.28);
  display: grid; place-items: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.header-phone__icon svg { width: 17px; height: 17px; color: var(--teal); }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone__label {
  font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
  color: #8A8A8A; font-weight: 600;
}
.header-phone__num { font-size: 1.1rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.header-phone:hover { color: #fff; }
.header-phone:hover .header-phone__icon { background: rgba(63,215,216,.2); border-color: var(--teal); }
.header-phone:hover .header-phone__num { color: var(--teal); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(105% 80% at 14% -5%, rgba(63,215,216,.10) 0%, transparent 62%),
    var(--ink);
  color: #C9C9C9;
  padding-block: clamp(2.25rem, 5vw, 3.25rem) clamp(2.5rem, 5.5vw, 3.75rem);
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 84% 24%, rgba(63,215,216,.18), transparent 48%),
    radial-gradient(circle at 10% 86%, rgba(63,215,216,.08), transparent 46%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: .55rem; }
.hero h1 .accent { color: var(--teal); }
.hero-sub { font-size: clamp(1.05rem, 2.6vw, 1.22rem); color: #B8B8B8; max-width: 40ch; margin-bottom: 1.6rem; }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; align-items: center; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(63,215,216,.12); border: 1px solid rgba(63,215,216,.3);
  color: var(--teal); font-weight: 500; font-size: .84rem; letter-spacing: .02em;
  padding: .4rem .9rem .4rem .65rem; border-radius: 999px; margin-bottom: 1.15rem;
}
.hero-badge svg { width: 16px; height: 16px; flex: none; }

/* --- Google rating badge -------------------------------------------------- */
.g-rating {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: .5rem 1rem .5rem .8rem;
  text-decoration: none; color: #B8B8B8; font-size: .9rem; font-weight: 600;
  line-height: 1.3;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.g-rating:hover { border-color: var(--teal); color: #fff; }
.g-rating .g-mark { width: 17px; height: 17px; flex: none; }
.g-rating .stars { display: inline-flex; gap: 1px; color: #F5B932; }
.g-rating .stars svg { width: 15px; height: 15px; }
.g-rating b { color: #fff; font-weight: 600; }

.g-rating--light {
  background: var(--paper); border-color: var(--line); color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.g-rating--light b { color: var(--ink); }
.g-rating--light:hover { border-color: var(--teal-deep); color: var(--body); }

.g-rating--block {
  display: flex; border-radius: var(--radius); padding: 1.1rem 1.25rem;
  font-size: .95rem; gap: .75rem;
}

/* --- Hero diagnostic tool ------------------------------------------------
   Three single-choice questions instead of a wall of tickboxes, so it fits
   the hero and reads as a tool rather than a form.
   -------------------------------------------------------------------------- */
.tool {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 34px 80px -34px rgba(0,0,0,.95);
}
@media (min-width: 560px) { .tool { padding: 1.65rem; } }

.tool__head { margin-bottom: 1.2rem; }
.tool__badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(63,215,216,.12); border: 1px solid rgba(63,215,216,.32);
  color: var(--teal); font-size: .77rem; font-weight: 600; letter-spacing: .035em;
  padding: .32rem .85rem .32rem .62rem; border-radius: 999px; margin-bottom: .9rem;
}
.tool__badge svg { width: 14px; height: 14px; flex: none; }
.tool__head h2 { font-size: clamp(1.38rem, 3.2vw, 1.7rem); color: #fff; margin-bottom: .4rem; }
.tool__head p { font-size: .95rem; color: #ABABAB; margin: 0; line-height: 1.55; }

.tool__form { display: grid; gap: .95rem; }
.tool__q { border: 0; padding: 0; margin: 0; min-width: 0; }
.tool__q legend {
  display: flex; align-items: center; gap: .55rem;
  padding: 0; margin-bottom: .65rem;
  font-size: .93rem; font-weight: 600; color: #E4E4E4;
}
.tool__n {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(63,215,216,.16); color: var(--teal);
  display: grid; place-items: center; font-size: .74rem; font-weight: 600;
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { margin: 0; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block; cursor: pointer;
  padding: .5rem .85rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.17);
  font-size: .875rem; line-height: 1.35; color: #C9C9C9;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.chip span:hover { border-color: rgba(63,215,216,.6); color: #fff; }
.chip input:checked + span {
  background: var(--teal); border-color: var(--teal);
  color: var(--ink); font-weight: 600;
}
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.tool__result { margin-top: 1.15rem; }
.tool__result-inner {
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.tool__result.is-live .tool__result-inner {
  background: rgba(63,215,216,.09);
  border-color: rgba(63,215,216,.38);
}
.tool__result h3 { font-size: 1.1rem; color: #fff; margin-bottom: .45rem; }
.tool__result p { font-size: .93rem; color: #B8B8B8; margin: 0; line-height: 1.6; }
.tool__cta { margin-top: 1.1rem; display: grid; gap: .5rem; }
.tool__cta[hidden] { display: none; }
.tool__cta .btn { font-size: .95rem; }
.tool__reset {
  background: none; border: 0; color: #8A8A8A; font: inherit; font-size: .85rem;
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer; padding: .4rem; justify-self: center;
}
.tool__reset:hover { color: var(--teal); }
.tool__note { font-size: .78rem; color: #7A7A7A; margin: .85rem 0 0; line-height: 1.5; }

/* --- Trust strip --------------------------------------------------------- */
.trust {
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
  padding-block: 1.15rem;
}
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1rem;
}
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.trust li {
  display: flex; align-items: center; gap: .55rem; margin: 0;
  color: #ABABAB; font-size: .88rem; font-weight: 600; line-height: 1.35;
}
.trust svg { width: 20px; height: 20px; flex: none; color: var(--teal); }

/* --- Cards --------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CFCFCF; }
.section--mist .card { box-shadow: var(--shadow-sm); }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-wash); color: var(--teal-deep);
  margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; }

.card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--teal-deep);
  margin-top: .9rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.card-link:hover svg { transform: translateX(3px); }

/* --- Service cards (big) ------------------------------------------------- */
.service-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.service-card__figure { background: var(--ink); padding: 0; }
.service-card__figure svg { width: 100%; height: auto; display: block; }
.service-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 560px) { .service-card__body { padding: 1.85rem; } }
.service-card__body h3 { font-size: 1.3rem; }
.service-card__body > .btn { margin-top: auto; align-self: flex-start; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.35rem; }
.tick-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; margin-bottom: .55rem; }
.tick-list svg { width: 18px; height: 18px; flex: none; color: var(--teal-deep); margin-top: 3px; }

/* --- Damp-type diagram cards --------------------------------------------- */
.dtype {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.dtype__fig { background: #111111; }
.dtype__fig svg { width: 100%; height: auto; }
.dtype__body { padding: 1.5rem; flex: 1; }
@media (min-width: 560px) { .dtype__body { padding: 1.75rem; } }
.dtype__body h3 { margin-bottom: .3rem; }
.dtype__tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; padding: .28rem .6rem; border-radius: 6px; margin-bottom: .85rem;
}
.dtype__tag--rising { background: var(--rose-wash); color: #9E3B27; }
.dtype__tag--pen    { background: var(--amber-wash); color: #8A5C11; }
.dtype__tag--cond   { background: var(--teal-wash); color: var(--teal-dark); }
.dtype dl { margin: 1.15rem 0 0; font-size: .95rem; }
.dtype dt {
  font-weight: 600; color: var(--ink); font-size: .74rem;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: .3rem;
}
.dtype dd { margin: 0 0 .95rem; }
.dtype dd:last-child { margin-bottom: 0; }

/* --- Signs / symptom grid ------------------------------------------------ */
.signs { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
@media (min-width: 620px) { .signs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .signs { grid-template-columns: repeat(3, 1fr); } }
.signs li {
  display: flex; gap: .85rem; align-items: flex-start; margin: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1rem 1.15rem;
  font-size: .98rem; line-height: 1.5;
}
.signs svg { width: 22px; height: 22px; flex: none; color: var(--rose); margin-top: 1px; }

/* --- Process steps ------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.15rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; margin: 0; position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.35rem 1.35rem;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--ink); color: var(--teal);
  font-weight: 600; font-size: 1.02rem;
  margin-bottom: .9rem;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.steps p { font-size: .95rem; margin-bottom: 0; }

/* --- Accordion / FAQ ----------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.25rem .25rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.4;
  letter-spacing: -.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-deep); }
.faq summary .chev {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--mist-2); color: var(--ink-3);
  display: grid; place-items: center; margin-top: 1px;
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.faq summary .chev svg { width: 14px; height: 14px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--teal); }
.faq__answer { padding: 0 .25rem 1.4rem; max-width: 68ch; }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }
.faq__answer ul { padding-left: 1.1rem; }

/* --- Coverage areas ------------------------------------------------------ */
.areas { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
@media (min-width: 560px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.areas li {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .95rem 1.1rem;
  display: flex; gap: .7rem; align-items: flex-start;
}
.areas svg { width: 18px; height: 18px; flex: none; color: var(--teal-deep); margin-top: 4px; }
.areas b { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.areas span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.45; margin-top: .12rem; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { margin: 0; }
.pill-list span, .pill-list a {
  display: inline-block; padding: .45rem .9rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--ink-3); text-decoration: none;
}
.pill-list a:hover { border-color: var(--teal); color: var(--teal-dark); }

/* --- Map ----------------------------------------------------------------- */
.map-frame {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist-2);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
@media (min-width: 760px) { .map-frame { aspect-ratio: 16 / 9; } }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-content: center; text-align: center; gap: .6rem;
  padding: 1.75rem; color: var(--muted); font-size: .95rem;
}
.map-fallback svg { width: 34px; height: 34px; margin-inline: auto; color: var(--teal-deep); }
.map-fallback a { font-weight: 500; }

/* --- Media / figures ----------------------------------------------------- */
.figure {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--mist);
  box-shadow: var(--shadow);
}
/* No aspect-ratio here: an author value would override the UA's
   attr(width)/attr(height) rule and lose the pre-load space reservation,
   which collapses the figure to zero height and breaks sticky. */
.figure img { width: 100%; height: auto; }
/* Photos crop to a consistent ratio; diagrams keep their own. */
.figure--photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.figure--diagram { background: #111111; }
.figure--diagram img { object-fit: contain; }
.figure figcaption {
  padding: .9rem 1.15rem; font-size: .89rem; color: var(--muted);
  background: var(--paper); border-top: 1px solid var(--line);
}

/* --- Split (text + media) ------------------------------------------------ */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.25rem; } }
@media (min-width: 900px) { .split--reverse > *:first-child { order: 2; } }
/* Long-copy sections: keep the media column level with the heading rather than
   floating in the middle of a tall text column. */
.split--top { align-items: start; }

/* Service sections run long, so the diagram tracks the reader instead of
   scrolling away and leaving a dead column. Needs align-self:start so the
   grid item is content-height rather than stretched — sticky can't move a
   box that already fills its track. */
@media (min-width: 900px) {
  .split__media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    align-self: start;
  }
}

/* --- Stat / fact tiles --------------------------------------------------- */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 620px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem;
}
.facts b { display: block; font-size: 1.7rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; }
.facts span { display: block; font-size: .92rem; color: var(--muted); margin-top: .3rem; }

/* --- Callout ------------------------------------------------------------- */
.callout {
  border-left: 4px solid var(--teal);
  background: var(--teal-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem;
  margin: 1.75rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--teal-dark); }
.callout--warn { border-left-color: var(--amber); background: var(--amber-wash); }
.callout--warn strong { color: #8A5C11; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  background:
    radial-gradient(110% 120% at 84% 8%, rgba(63,215,216,.15) 0%, transparent 58%),
    var(--ink);
  color: #B8B8B8;
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 5vw, 3.25rem);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { max-width: 54ch; margin-inline: auto; margin-bottom: 1.6rem; font-size: 1.04rem; }
.cta-band .btn-row { justify-content: center; }

/* --- Contact tiles ------------------------------------------------------- */
.contact-tiles { display: grid; gap: 1.15rem; }
@media (min-width: 700px) { .contact-tiles { grid-template-columns: repeat(2, 1fr); } }
.contact-tile {
  display: block; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); color: inherit; }
.contact-tile .card-icon { margin-bottom: .9rem; }
.contact-tile h3 { margin-bottom: .25rem; }
.contact-tile .val { font-size: 1.26rem; font-weight: 600; color: var(--teal-deep); letter-spacing: -.005em; word-break: break-word; }
.contact-tile .note { font-size: .9rem; color: var(--muted); margin-top: .35rem; }

/* --- Enquiry form -------------------------------------------------------- */
.form { display: grid; gap: 1.05rem; margin-top: 1.6rem; }
.form__row { display: grid; gap: 1.05rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: .4rem; min-width: 0; }
.form__field label {
  font-size: .88rem; font-weight: 600; color: var(--ink-3); letter-spacing: .01em;
}
.form__field .req { color: var(--rose); }
.form__field input,
.form__field select,
.form__field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .95rem; width: 100%; min-height: 52px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form__field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4A4A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
  padding-right: 2.75rem; cursor: pointer;
}
.form__field input:hover,
.form__field select:hover,
.form__field textarea:hover { border-color: #C4C4C4; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 0; border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(63,215,216,.25);
}
.form__small { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.55; }
.form button[type="submit"] { justify-self: start; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.form__hp {
  position: absolute !important; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form-note {
  border-left: 4px solid var(--rose);
  background: var(--rose-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem; margin-top: 1.5rem;
  font-size: .95rem; line-height: 1.6;
}
.form-note strong { color: #9E3B27; }
.form-note[hidden] { display: none; }

/* --- Thank you ----------------------------------------------------------- */
.thanks { text-align: center; padding-block: clamp(3rem, 9vw, 5.5rem); }
.thanks__mark {
  width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 1.6rem;
  background: var(--teal-wash); border: 2px solid var(--teal);
  display: grid; place-items: center;
}
.thanks__mark svg { width: 38px; height: 38px; color: var(--teal-deep); }
.thanks .btn-row { justify-content: center; margin-top: 2rem; }
.thanks__next {
  text-align: left; max-width: 560px; margin: 2.5rem auto 0;
  background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
}
.thanks__next h2 { font-size: 1.2rem; margin-bottom: .9rem; }
.thanks__next ol { margin: 0; padding-left: 1.2rem; }
.thanks__next li { margin-bottom: .6rem; font-size: .97rem; }
.thanks__next li:last-child { margin-bottom: 0; }

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs { padding-block: .9rem; border-bottom: 1px solid var(--line); background: var(--mist); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .855rem; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .3rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--teal-deep); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink-3); font-weight: 500; }
.crumbs .sep { color: #B8B8B8; }

/* --- Page head ----------------------------------------------------------- */
.page-head {
  background:
    radial-gradient(100% 130% at 10% -10%, rgba(63,215,216,.11) 0%, transparent 60%),
    var(--ink);
  color: #B8B8B8;
  padding-block: clamp(2.5rem, 7vw, 4rem);
}
.page-head h1 { color: #fff; margin-bottom: .55rem; }
.page-head p { font-size: clamp(1.03rem, 2.4vw, 1.18rem); max-width: 62ch; margin-bottom: 0; color: #B8B8B8; }
.page-head .btn-row { margin-top: 1.75rem; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #969696; padding-block: clamp(2.75rem, 6vw, 4rem) 0; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #969696; text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.footer-brand img { width: 158px; margin-bottom: 1.15rem; }
.footer-brand p { font-size: .93rem; line-height: 1.6; max-width: 34ch; }
.footer-contact a { font-weight: 500; color: #fff; }
.footer-contact a:hover { color: var(--teal); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; color: var(--teal); margin-top: 4px; }

.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; color: #969696;
}
.socials a:hover { border-color: var(--teal); color: var(--teal); background: rgba(63,215,216,.08); }
.socials svg { width: 19px; height: 19px; }

.footer-bottom {
  margin-top: 2.75rem; padding-block: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .84rem; color: #7A7A7A;
}
@media (min-width: 760px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom p { margin: 0; }

/* --- Sticky mobile call bar ---------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10,16,20,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .8rem .5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; min-height: 48px;
}
.callbar svg { width: 18px; height: 18px; flex: none; }
.callbar .cb-call { background: var(--teal); color: var(--ink); }
.callbar .cb-mail { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } }

/* --- 404 ----------------------------------------------------------------- */
.err { text-align: center; padding-block: clamp(3.5rem, 12vw, 7rem); }
.err__code { font-size: clamp(4.5rem, 20vw, 9rem); font-weight: 500; line-height: .9; color: var(--teal-wash); letter-spacing: -.02em; margin: 0; }
.err h1 { margin-top: -.3em; }
.err .btn-row { justify-content: center; margin-top: 1.75rem; }
.err ul { display: inline-block; text-align: left; margin-top: 2rem; }
