/* ==========================================================================
   Bedbug Extermination Specialists Ltd. — main stylesheet
   Colour and type tokens come from the logo: navy ring, crimson ring, white.
   ========================================================================== */

:root {
  --navy: #1b365d;
  --navy-deep: #12274a;
  --navy-ink: #0f1f3a;
  --crimson: #8f1d2c;
  --crimson-deep: #731626;
  --crimson-soft: #fbeef0;
  --paper: #f4f6f9;
  --white: #ffffff;
  --ink: #1f2a3a;
  --muted: #5b6676;
  --line: #d9dfe7;
  --line-navy: rgba(255, 255, 255, 0.16);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1180px;
  --gutter: 24px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-lift: 0 18px 40px -18px rgba(15, 31, 58, 0.45);

  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--crimson); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crimson-deep); }

ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: clamp(64px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #e9eef6; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head p { font-size: 1.2rem; color: var(--muted); }
.section--navy .section-head p { color: #c9d3e2; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--crimson { background: var(--crimson); color: var(--white); }
.btn--crimson:hover { background: var(--crimson-deep); color: var(--white); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--lg { padding: 18px 32px; font-size: 1.15rem; }
.btn--block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-deep);
  color: #d5deeb;
  font-size: 0.95rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar__right { display: flex; gap: 22px; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(15, 31, 58, 0.3); }
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}
.brand img { width: 60px; height: 60px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  white-space: nowrap;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--crimson);
  letter-spacing: 0.02em;
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav a:hover { color: var(--crimson); background: var(--paper); }
.nav__mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero::after {
  /* soft light from the top-right so the navy doesn't read flat */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px);
}
.hero h1 { color: var(--white); margin-bottom: 0.45em; }
.hero__lead {
  font-size: 1.3rem;
  line-height: 1.5;
  color: #d5deeb;
  max-width: 34em;
  margin-bottom: 1.8em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  font-size: 1.02rem;
  color: #e3e9f2;
}
.hero__proof li { display: flex; gap: 10px; align-items: flex-start; }
.hero__proof svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: #f0c3c9; }

.hero__figure {
  position: relative;
  margin: 0;
}
.hero__figure::before {
  /* crimson offset frame — echoes the ring on the logo */
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--crimson);
  border-radius: var(--radius-lg);
}
.hero__figure img {
  position: relative;
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}
.hero__card {
  position: absolute;
  left: -28px;
  bottom: -30px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 340px;
}
.hero__card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--crimson-soft);
  color: var(--crimson);
  display: grid;
  place-items: center;
  flex: none;
}
.hero__card-icon svg { width: 24px; height: 24px; }
.hero__card strong { display: block; color: var(--navy); font-size: 1.05rem; }
.hero__card span { font-size: 0.95rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Reassurance strip
   -------------------------------------------------------------------------- */
.reassure {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.reassure .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  padding-block: 32px;
}
.reassure__item { display: flex; gap: 14px; align-items: flex-start; }
.reassure__item svg { width: 30px; height: 30px; flex: none; color: var(--crimson); margin-top: 2px; }
.reassure__item strong { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.reassure__item span { font-size: 0.98rem; color: var(--muted); line-height: 1.4; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
}
.service { display: flex; flex-direction: column; }
.service img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
  border-bottom: 4px solid var(--crimson);
  margin-bottom: 20px;
}
.service h3 { margin-bottom: 0.35em; }
.service p { color: var(--muted); font-size: 1.05rem; flex: 1; }
.service__link { display: inline-block; align-self: flex-start; margin-top: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }

/* Text-only service (no photo yet) */
.service--panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--crimson);
  border-radius: var(--radius);
  padding: 28px;
}
.service--panel p { flex: 0 1 auto; }
.service__how {
  margin: 20px 0 0;
  padding: 18px 0 0 1.3em;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
  display: grid;
  gap: 8px;
  flex: 1;
  align-content: start;
}
.service__how li::marker { color: var(--crimson); font-weight: 600; }

/* Closing card: points undecided visitors at the phone */
.service--cta {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 28px;
  justify-content: center;
}
.service--cta h3 { color: var(--white); font-size: 1.6rem; }
.service--cta p { color: #d5deeb; flex: 0 1 auto; margin-bottom: 24px; }
.service--cta .btn { align-self: flex-start; }
.service--cta .btn + .btn { margin-top: 10px; }

/* --------------------------------------------------------------------------
   Heat band — the one bold element on the page
   -------------------------------------------------------------------------- */
.heat {
  background: var(--crimson);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.heat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.16), transparent 55%);
  pointer-events: none;
}
.heat .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.heat h2 { color: var(--white); }
.heat p { color: #f6dfe2; font-size: 1.15rem; max-width: 32em; }
.heat .btn--ghost { margin-top: 14px; }

.thermo {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
}
.thermo__reading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.thermo__reading small { font-size: 0.35em; font-weight: 700; letter-spacing: 0; }
.thermo__label { margin-top: 10px; font-size: 1.05rem; color: #f6dfe2; }
.thermo__track {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.2);
  margin: 36px 0 58px;
}
.thermo__fill {
  height: 100%;
  width: 0%;
  border-radius: 7px;
  background: var(--white);
  transition: width 2.2s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.thermo__mark {
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  padding-top: 12px;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
  color: #f6dfe2;
  width: 8em;
}
.thermo__mark::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 2px; height: 14px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}
.thermo__mark strong { display: block; color: var(--white); font-size: 1.05rem; }
/* The end-of-scale label sits flush right so it never pokes out of the panel */
.thermo__mark:last-of-type { transform: translateX(-100%); text-align: right; width: auto; white-space: nowrap; }
.thermo__mark:last-of-type::before { left: auto; right: 0; transform: none; }
.thermo__foot { font-size: 0.98rem; color: #f6dfe2; border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 18px; }

/* --------------------------------------------------------------------------
   Process — a real sequence, so numbering earns its place
   -------------------------------------------------------------------------- */
.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step { position: relative; padding-top: 22px; border-top: 3px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -3px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--crimson);
  color: transparent;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--muted); font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Discretion feature
   -------------------------------------------------------------------------- */
.feature .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.feature img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.feature h2 { margin-bottom: 0.5em; }
.feature p { color: var(--muted); font-size: 1.12rem; }
.feature__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.feature__list li { display: flex; gap: 12px; align-items: flex-start; }
.feature__list svg { width: 22px; height: 22px; flex: none; color: var(--crimson); margin-top: 4px; }
.feature__list strong { color: var(--navy); }
.feature .feature__img--full { aspect-ratio: 1672 / 941; }

/* --------------------------------------------------------------------------
   Numbers band — counts up when scrolled into view
   -------------------------------------------------------------------------- */
.stats { background: var(--navy-deep); color: #c9d3e2; padding-block: clamp(44px, 5vw, 64px); }
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat { position: relative; padding-left: 26px; }
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--crimson);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.stat.is-counted::before { transform: scaleY(1); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}
.stat__label { margin-top: 10px; font-size: 1.12rem; }

/* --------------------------------------------------------------------------
   Service areas
   -------------------------------------------------------------------------- */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.area {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px;
}
.area h3 { margin-bottom: 4px; }
.area > p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.area ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
  font-size: 1.02rem;
}
.area li { padding: 4px 0; break-inside: avoid; }
.areas__note { margin-top: 32px; color: var(--muted); font-size: 1.08rem; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review {
  border-left: 3px solid var(--crimson);
  padding: 4px 0 4px 26px;
  margin: 0;
}
.review p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 18px;
}
.review p::before { content: "\201C"; }
.review p::after { content: "\201D"; }
.review footer { font-size: 0.98rem; color: #c9d3e2; }
.review footer strong { color: var(--white); display: block; }
.review__stars { color: #f0c3c9; letter-spacing: 3px; margin-bottom: 10px; font-size: 1.05rem; }
.reviews__note { margin-top: 40px; font-size: 1rem; color: #c9d3e2; }
.reviews__note a { color: var(--white); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq .container {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__aside p { color: var(--muted); font-size: 1.12rem; }
.faq__phone { margin-top: 24px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--crimson);
  border-bottom: 2px solid var(--crimson);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item summary:hover { color: var(--crimson); }
.faq-item__body { padding: 0 0 24px; color: var(--muted); font-size: 1.08rem; max-width: 60ch; }

/* --------------------------------------------------------------------------
   Contact / lead form
   -------------------------------------------------------------------------- */
.contact .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact__intro p { color: var(--muted); font-size: 1.12rem; }
.contact__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--crimson);
  text-decoration: none;
  margin: 12px 0 6px;
}
.contact__phone:hover { color: var(--crimson-deep); }
.contact__details {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.contact__details li { display: flex; gap: 14px; align-items: flex-start; }
.contact__details svg { width: 22px; height: 22px; flex: none; color: var(--crimson); margin-top: 4px; }
.contact__details strong { display: block; color: var(--navy); }
.contact__details span { color: var(--muted); }

.lead-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
}
.lead-form h3 { font-size: 1.6rem; margin-bottom: 6px; }
.lead-form > p { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: 1rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 1px solid #c3cbd6;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.18);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--crimson); }
.field__error { display: none; color: var(--crimson); font-size: 0.92rem; margin-top: 6px; }
.field.is-invalid .field__error { display: block; }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; color: var(--muted); }
.field--check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.field--check label { font-weight: 400; color: var(--muted); margin: 0; }
.lead-form .btn { margin-top: 8px; }
.form-note { font-size: 0.92rem; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }

.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form-status.is-success { display: block; background: #e6f4ea; color: #1e6b3a; }
.form-status.is-error { display: block; background: var(--crimson-soft); color: var(--crimson); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-ink);
  color: #b9c4d6;
  font-size: 1rem;
  padding: 64px 0 28px;
}
.site-footer a { color: #e3e9f2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-navy);
}
.footer__brand img { width: 72px; height: 72px; margin-bottom: 16px; }
.footer__brand p { max-width: 34em; }
.site-footer h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 0.92rem;
  color: #8f9db3;
}
.footer__bottom ul { display: flex; gap: 18px; }

/* --------------------------------------------------------------------------
   Floating call popup (desktop) + sticky bar (mobile)
   -------------------------------------------------------------------------- */
.call-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(360px, calc(100vw - 48px));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -16px rgba(15, 31, 58, 0.5);
  border-top: 4px solid var(--crimson);
  padding: 22px 22px 20px;
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0s linear 0.28s;
}
.call-popup.is-visible { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.call-popup h3 { font-size: 1.3rem; margin-bottom: 4px; padding-right: 32px; }
.call-popup p { color: var(--muted); font-size: 1rem; margin-bottom: 16px; }
.call-popup__actions { display: grid; gap: 10px; }
.call-popup__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.call-popup__close:hover { background: var(--paper); color: var(--navy); }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -8px 24px -12px rgba(15, 31, 58, 0.3);
}
.mobile-bar .btn { flex: 1; justify-content: center; padding-inline: 12px; }

/* --------------------------------------------------------------------------
   Inner pages (WordPress pages / posts)
   -------------------------------------------------------------------------- */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(48px, 6vw, 80px); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0; }
.page-hero p { color: #d5deeb; font-size: 1.15rem; margin: 12px 0 0; max-width: 40em; }
.entry-content { max-width: 760px; padding-block: clamp(48px, 6vw, 80px); }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
.entry-meta { color: var(--muted); font-size: 0.95rem; }
.post-list { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px); max-width: 760px; }
.post-list article { border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.post-list h2 { font-size: 1.6rem; }
.post-list h2 a { color: var(--navy); text-decoration: none; }
.post-list h2 a:hover { color: var(--crimson); }
.alignwide { max-width: 1000px; }
.alignfull { max-width: none; width: 100%; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .brand__name { display: none; }
}

@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .reassure .container { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .topbar__left { display: none; }
  .topbar .container { justify-content: center; }
  .brand img { width: 50px; height: 50px; }
  .brand__name { font-size: 1.05rem; }
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -16px rgba(15, 31, 58, 0.35);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 12px var(--gutter) 20px; gap: 2px; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav__mobile-cta { display: block; }
  .nav a.btn {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding: 16px 20px;
    font-size: 1.05rem;
    color: var(--white);
    background: var(--crimson);
  }

  .hero .container { grid-template-columns: 1fr; gap: 56px; }
  .hero__figure { margin-inline: 0 22px; }
  .hero__card { left: 12px; bottom: -24px; }
  .hero__proof { grid-template-columns: 1fr; }

  .heat .container,
  .feature .container,
  .faq .container,
  .contact .container { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .reviews__grid { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: 1fr; }
  .feature img { order: -1; }
}

@media (max-width: 640px) {
  body { font-size: 1.05rem; padding-bottom: 76px; }
  .brand__name { display: none; }
  .services__grid, .process__steps, .reassure .container, .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__figure { margin-inline: 0; }
  .hero__figure::before { display: none; }
  .hero__figure img { border-bottom: 5px solid var(--crimson); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .hero__card { position: static; margin: 0; max-width: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: none; }
  .thermo__mark { width: 4.2em; font-size: 0.85rem; }
  .thermo__mark strong { font-size: 0.95rem; }
  .thermo__track { margin-bottom: 72px; }
  .call-popup { display: none; }
  .mobile-bar { display: flex; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
