/* ==========================================================================
   RoofRite Roofing — theme design system (shared by WP theme + preview)
   Brand tokens taken verbatim from the live site's header/footer snippets.
   ========================================================================== */

:root {
  /* Brand */
  --rh-blue: #4a6fa5;
  --rh-blue-dk: #3a5a8c;
  --rh-blue-soft: #e8eef6;
  --rh-green: #2db84b;
  --rh-green-dk: #25a040;
  --rh-red: #c0392b;
  --rh-red-dk: #a93226;
  --wa-green: #25d366;
  --wa-green-dk: #1ebe57;

  /* Neutrals */
  --rh-ink: #1a1a1a;
  --rh-night: #1a1a1a;
  --rh-night-mid: #242424;
  --rh-slate: #4a5568;
  --rh-muted: #5b6675;
  --rh-line: #dee4ed;
  --rh-white: #ffffff;
  --rh-bg: #f4f6f9;
  --rh-bg-2: #f8fafc;

  /* Type */
  --font-head: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(26, 35, 50, 0.06);
  --shadow: 0 10px 30px rgba(26, 35, 50, 0.09);
  --shadow-lg: 0 22px 60px rgba(26, 35, 50, 0.16);
  --sec-pad: clamp(48px, 7vw, 96px);
  --accent-grad: linear-gradient(90deg, var(--rh-blue), var(--rh-green));
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--rh-ink);
  background: var(--rh-white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--rh-blue); text-decoration: none; }
a:hover { color: var(--rh-blue-dk); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; color: var(--rh-ink); font-weight: 800; }

/* Helpers ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: var(--sec-pad); }
.section--tint { background: var(--rh-bg); }
.section--soft { background: linear-gradient(180deg, #fff 0%, var(--rh-bg) 100%); }
.section--ink { background: var(--rh-night); color: #e8ecf2; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rh-green-dk); margin-bottom: 14px;
}
.section--ink .eyebrow { color: #6fe08c; }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.sec-head p { color: var(--rh-muted); font-size: 18px; }
.section--ink .sec-head p { color: #b9c2d0; }
.sec-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0;
  background: var(--accent-grad); border-radius: 3px;
}
.text-grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  letter-spacing: .01em; line-height: 1; text-align: center;
  padding: 15px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--rh-green); color: #fff; box-shadow: 0 8px 22px rgba(45, 184, 75, .32); }
.btn--primary:hover { background: var(--rh-green-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(45, 184, 75, .4); }
.btn--blue { background: var(--rh-blue); color: #fff; }
.btn--blue:hover { background: var(--rh-blue-dk); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--rh-ink); border-color: var(--rh-line); }
.btn--ghost:hover { border-color: var(--rh-blue); color: var(--rh-blue); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--rh-blue-dk); }
.btn--light:hover { background: #eef3fb; color: var(--rh-blue-dk); transform: translateY(-2px); }

.btn--whatsapp { background: var(--wa-green); color: #fff; }
.btn--whatsapp:hover { background: var(--wa-green-dk); color: #fff; transform: translateY(-2px); }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  z-index: 70;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { background: var(--wa-green-dk); transform: scale(1.06); color: #fff; }
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* Top utility bar -------------------------------------------------------- */
.topbar { background: var(--rh-night); color: #cdd6e2; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 15px; height: 15px; color: var(--rh-green); flex: none; }
.topbar a { color: #cdd6e2; }
.topbar a:hover { color: #fff; }
.topbar .stars { color: #ffc445; letter-spacing: 1px; }
@media (max-width: 860px) { .topbar { display: none; } }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rh-line); }
.header__inner { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo, .custom-logo { height: 52px; width: auto; max-width: 210px; flex: none; }
@media (max-width: 600px) { .brand__logo, .custom-logo { height: 42px; max-width: 170px; } }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { font-family: var(--font-head); line-height: 1; }
.brand__name { display: block; font-weight: 900; font-size: 21px; letter-spacing: -.01em; color: var(--rh-ink); }
.brand__name span { color: var(--rh-blue); }
.brand__tag { display: block; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--rh-green-dk); margin-top: 3px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--rh-ink); }
.nav__list > li > a:hover { background: var(--rh-blue-soft); color: var(--rh-blue-dk); }
.nav__item--has > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; margin-top: -3px; opacity: .6; }
.nav__item { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 248px; background: #fff;
  border: 1px solid var(--rh-line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.nav__item--has:hover .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--rh-slate); }
.nav__sub a:hover { background: var(--rh-bg); color: var(--rh-blue-dk); }

.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; flex-direction: column; line-height: 1.1; font-family: var(--font-head); }
.header__phone small { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rh-muted); }
.header__phone a { font-size: 19px; font-weight: 900; color: var(--rh-ink); }
.header__phone a:hover { color: var(--rh-green-dk); }

.burger { display: none; flex-direction: column; gap: 5px; width: 46px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--rh-line); border-radius: 10px; background: #fff; cursor: pointer; }
.burger span { width: 22px; height: 2.5px; background: var(--rh-ink); border-radius: 2px; transition: .2s; }

@media (max-width: 1040px) {
  .header__phone { display: none; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta { margin-left: auto; gap: 10px; }
}
@media (max-width: 460px) {
  .header__cta .btn--free { padding: 12px 15px; font-size: 13.5px; }
  .header__inner { gap: 10px; }
}
@media (max-width: 360px) {
  .header__cta .btn--free { display: none; }
}

/* Mobile nav drawer */
.mnav { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.mnav.open { visibility: visible; }
.mnav__scrim { position: absolute; inset: 0; background: rgba(16,22,33,.5); opacity: 0; transition: .2s; }
.mnav.open .mnav__scrim { opacity: 1; }
.mnav__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: .25s ease; padding: 20px; overflow-y: auto; }
.mnav.open .mnav__panel { transform: translateX(0); }
.mnav__close { margin-left: auto; display: block; width: 42px; height: 42px; border: 1px solid var(--rh-line); border-radius: 10px; background: #fff; font-size: 22px; cursor: pointer; color: var(--rh-ink); }
.mnav__list { margin-top: 16px; }
.mnav__list a { display: block; padding: 13px 8px; border-bottom: 1px solid var(--rh-line); font-family: var(--font-head); font-weight: 700; color: var(--rh-ink); }
.mnav__list .sub a { padding-left: 22px; font-size: 14.5px; font-weight: 600; color: var(--rh-slate); }
.mnav__phones { margin-top: 18px; display: grid; gap: 10px; }
.mnav__phones a { display: flex; justify-content: space-between; padding: 12px 14px; background: var(--rh-bg); border-radius: 10px; font-weight: 800; font-family: var(--font-head); color: var(--rh-ink); }
.mnav .btn { margin-top: 18px; }

/* Hero ------------------------------------------------------------------- */
.hero {
  --hero-img: url("../img/work/roof-11.jpeg");
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12,18,28,.62) 0%, rgba(12,18,28,.7) 55%, rgba(12,18,28,.82) 100%),
    linear-gradient(90deg, rgba(12,18,28,.55) 0%, rgba(12,18,28,.15) 60%, rgba(12,18,28,.1) 100%),
    #10182a var(--hero-img) center 38% / cover no-repeat;
}
.hero__inner { position: relative; max-width: 860px; margin-inline: auto; text-align: center; padding-block: clamp(68px, 11vw, 140px); }
.hero__inner .hero__lead { margin-inline: auto; }
.hero .hero__actions { justify-content: center; }
.hero .hero__usps { justify-content: center; }
.hero__rating { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); padding: 8px 15px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700; margin-bottom: 24px; backdrop-filter: blur(4px); }
.hero__rating .stars { color: #ffc445; letter-spacing: 1px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 62px); font-weight: 900; letter-spacing: -.015em; line-height: 1.04; text-shadow: 0 2px 22px rgba(0,0,0,.5); }
.hero h1 span { color: #8fdca3; }
.hero__lead { margin-top: 20px; font-size: clamp(17px, 2vw, 21px); color: #eaeff6; max-width: 52ch; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__usps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero__usps li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: #d7deea; }
.hero__usps svg { width: 19px; height: 19px; color: var(--rh-green); flex: none; }

/* Quote band (sits directly under hero) --------------------------------- */
.quoteband { background: linear-gradient(135deg, var(--rh-blue-dk) 0%, var(--rh-blue) 100%); color: #fff; }
.quoteband__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: center; padding-block: clamp(26px, 4vw, 40px); }
.quoteband__copy h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
.quoteband__copy p { color: #d8e4f5; margin-top: 8px; font-size: 16px; }
.quoteband__points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.quoteband__points li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #eaf1fb; }
.quoteband__points svg { width: 17px; height: 17px; color: #8fdca3; flex: none; }
.quoteband__form { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quoteband__form .btn { grid-column: 1 / -1; }
.field { display: block; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--rh-line); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--rh-ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rh-blue); box-shadow: 0 0 0 3px rgba(74,111,165,.15); }

@media (max-width: 820px) {
  .quoteband__inner { grid-template-columns: 1fr; gap: 22px; }
  .quoteband__form { grid-template-columns: 1fr 1fr; }
}

/* Trust bar -------------------------------------------------------------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--rh-line); }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; padding-block: 20px; }
.trustbar__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--rh-ink); }
.trustbar__item svg { width: 26px; height: 26px; color: var(--rh-blue); flex: none; }

/* Services grid ---------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.scard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rh-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd8e8; }
.scard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rh-blue-soft); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--rh-blue); color: #fff; box-shadow: var(--shadow-sm); }
.scard__media .scard__icon { display: none; }
.scard__icon svg { width: 28px; height: 28px; }
.scard__body { display: flex; flex-direction: column; flex: 1; padding: 24px 22px 22px; }
.scard h3 { font-size: 18.5px; margin-bottom: 9px; }
.scard p { color: var(--rh-muted); font-size: 15px; line-height: 1.6; flex: 1; }
.scard__link { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--rh-blue); }
.scard__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.scard:hover .scard__link svg { transform: translateX(4px); }
/* Special CTA card (no media) */
.scard--cta { background: linear-gradient(150deg, var(--rh-blue), var(--rh-blue-dk)); border: none; color: #fff; }
.scard--cta .scard__body { padding-top: 28px; justify-content: center; }
.scard--cta .scard__icon { background: rgba(255,255,255,.18); color: #fff; margin-bottom: 16px; }
.scard--cta h3 { color: #fff; }
.scard--cta p { color: #d6e0f0; }
.scard--cta .scard__link { color: #fff; }

/* Why-us features -------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { display: flex; gap: 18px; }
.feat__ic { width: 54px; height: 54px; border-radius: 14px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--rh-blue), var(--rh-green)); color: #fff; }
.feat__ic svg { width: 28px; height: 28px; }
.feat h3 { font-size: 18px; margin-bottom: 7px; }
.feat p { color: var(--rh-muted); font-size: 15px; }

/* Process ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--rh-line); border-radius: var(--radius); padding: 28px 22px 24px; box-shadow: var(--shadow-sm); }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--rh-green); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 18px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--rh-muted); font-size: 14.5px; }

/* Areas ------------------------------------------------------------------ */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } }
.area { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.area__top { padding: 22px 24px; background: linear-gradient(135deg, var(--rh-blue), var(--rh-blue-dk)); color: #fff; }
.area__top h3 { color: #fff; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.area__top svg { width: 22px; height: 22px; }
.area__top p { color: #d6e0f0; font-size: 14px; margin-top: 6px; }
.area__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.area__phone { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--rh-ink); }
.area__phone:hover { color: var(--rh-green-dk); }
.area__towns { margin: 14px 0 20px; color: var(--rh-muted); font-size: 14px; line-height: 1.7; }
.area .btn { margin-top: auto; }

/* Gallery ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: #fff; background: linear-gradient(transparent, rgba(16,22,33,.85)); }

/* Testimonials ----------------------------------------------------------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .tcards { grid-template-columns: 1fr; } }
.tcard { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.tcard .stars { color: #ffc445; letter-spacing: 2px; font-size: 17px; }
.tcard p { margin: 14px 0 18px; color: #2b3340; font-size: 15.5px; line-height: 1.65; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__av { width: 44px; height: 44px; border-radius: 50%; background: var(--rh-blue-soft); color: var(--rh-blue-dk); display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; }
.tcard__who b { font-family: var(--font-head); font-size: 15px; }
.tcard__who small { display: block; color: var(--rh-muted); font-size: 13px; }

/* CTA band --------------------------------------------------------------- */
.ctaband { background: radial-gradient(120% 140% at 15% 0%, var(--rh-blue) 0%, var(--rh-blue-dk) 60%, #2c477a 100%); color: #fff; }
.ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 64px); }
.ctaband h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); max-width: 18ch; }
.ctaband p { color: #d6e0f0; margin-top: 10px; font-size: 17px; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-head); font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--rh-blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--rh-muted); font-size: 15.5px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--rh-night); color: #aeb8c6; font-size: 14.5px; }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-block: clamp(44px, 5vw, 68px); }
@media (max-width: 900px) { .footer__main { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 540px) { .footer__main { grid-template-columns: 1fr; } }
.footer__logo { height: 56px; width: auto; margin-bottom: 4px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: #7fb98f; }
.footer__about { margin: 16px 0; max-width: 34ch; line-height: 1.7; }
.footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; font-family: var(--font-head); color: #cdd6e2; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 6px 11px; border-radius: var(--radius-pill); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .2s ease, transform .2s ease; }
.footer__social a:hover { background: var(--rh-green); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-size: 15px; letter-spacing: .02em; margin-bottom: 16px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: #aeb8c6; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--rh-green); flex: none; margin-top: 2px; }
.footer__contact a { color: #fff; font-weight: 700; font-family: var(--font-head); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.footer__bottom a { color: #aeb8c6; }
.footer__bottom a:hover { color: #fff; }

/* 404 -------------------------------------------------------------------- */
.e404 { text-align: center; padding-block: clamp(60px, 9vw, 120px); }
.e404 .code { font-family: var(--font-head); font-weight: 900; font-size: clamp(80px, 16vw, 160px); line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e404 h1 { font-size: clamp(26px, 4vw, 38px); margin: 6px 0 12px; }
.e404 p { color: var(--rh-muted); max-width: 48ch; margin: 0 auto 26px; font-size: 17px; }
.e404__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Reveal animation ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ===========================================================================
   Inner pages (service / location / about / contact)
   =========================================================================== */
.hero--page .hero__inner { max-width: var(--container); margin-inline: auto; text-align: left; padding-block: clamp(46px, 6vw, 86px); }
.hero--page .hero__lead { margin-inline: 0; }
.hero--page .hero__actions { justify-content: flex-start; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: #cdd7e6; margin-bottom: 18px; }
.breadcrumb a { color: #cdd7e6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .55; }

/* Overview */
.svc-overview__grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,360px); gap: 40px; align-items: start; }
@media (max-width: 960px) { .svc-overview__grid { grid-template-columns: 1fr; } }
.prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: #37414f; }
.prose > h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.prose > h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent-grad); border-radius: 3px; margin-top: 12px; }
.prose strong { color: var(--rh-ink); font-weight: 700; }
.svc-includes { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--rh-line); }
.svc-includes h3 { font-size: 18px; margin-bottom: 16px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #37414f; line-height: 1.5; }
.checklist svg { width: 20px; height: 20px; color: var(--rh-green); flex: none; margin-top: 2px; }

/* Aside panels */
.svc-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.panel { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.panel h3 { font-size: 17px; display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.panel h3 svg { width: 20px; height: 20px; flex: none; color: var(--rh-blue); }
.panel--warn { background: #fff8f0; border-color: #f0e0d0; }
.panel--warn h3 svg { color: var(--rh-red); }
.panel--warn ul { margin: 0; }
.panel--warn li { display: flex; gap: 10px; font-size: 14.5px; color: #5c554c; margin-bottom: 10px; line-height: 1.45; align-items: flex-start; }
.panel--warn li::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--rh-red); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; font-family: var(--font-head); }
.panel--call { text-align: center; }
.panel--call h3 { justify-content: center; }
.panel--call > p { font-size: 14px; color: var(--rh-muted); margin-bottom: 14px; }
.phones { display: grid; gap: 8px; margin: 0 0 16px; text-align: left; }
.phones a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; background: var(--rh-bg); border-radius: 10px; font-family: var(--font-head); font-weight: 800; color: var(--rh-ink); }
.phones a small { font-size: 11px; font-weight: 700; color: var(--rh-muted); text-transform: uppercase; letter-spacing: .03em; }
.phones a:hover { background: var(--rh-blue-soft); color: var(--rh-blue-dk); }

/* Keyword / SEO line */
.seo-line { font-size: 16.5px; line-height: 1.75; color: #56616f; max-width: 900px; margin: 0 auto; text-align: center; }
.seo-line strong { color: var(--rh-ink); font-weight: 700; }

/* Areas covered */
.area-groups { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px) { .area-groups { grid-template-columns: 1fr; } }
.area-group { background: #fff; border: 1px solid var(--rh-line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.area-group__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; align-items: center; margin-bottom: 14px; }
.area-group__h h3 { font-size: 17px; }
.area-group__h .tag { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--rh-blue); background: var(--rh-blue-soft); border-radius: 999px; padding: 5px 12px; }
.town-list { display: flex; flex-wrap: wrap; gap: 7px; }
.town-list a { font-size: 13px; font-weight: 600; color: #28456b; background: #f4f8fc; border: 1px solid #dbe7f2; border-radius: 8px; padding: 5px 10px; }
.town-list a:hover { background: #eaf3fb; border-color: #bfd6ea; color: #0f3a60; }

/* Related services */
.related { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 860px) { .related { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .related { grid-template-columns: 1fr; } }
.related a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--rh-line); border-radius: 12px; box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--rh-ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease; }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rh-blue); color: var(--rh-blue-dk); }
.related a svg { width: 24px; height: 24px; color: var(--rh-blue); flex: none; }

/* ===========================================================================
   Search form (custom + Gutenberg search block + default WP search)
   =========================================================================== */
.rr-search { display: flex; gap: 10px; align-items: stretch; }
.rr-search__input { flex: 1 1 auto; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--rh-line); border-radius: 10px; font: inherit; font-size: 16px; color: var(--rh-ink); background: #fff; }
.rr-search__input:focus { outline: none; border-color: var(--rh-blue); box-shadow: 0 0 0 3px rgba(74,111,165,.15); }
.rr-search__btn { flex: none; }
.search-form, .wp-block-search__inside-wrapper { display: flex; gap: 10px; }
.search-form input[type="search"], .wp-block-search__input { flex: 1; padding: 14px 16px; border: 1.5px solid var(--rh-line); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; }
.search-form input[type="search"]:focus, .wp-block-search__input:focus { outline: none; border-color: var(--rh-blue); box-shadow: 0 0 0 3px rgba(74,111,165,.15); }
.search-form input[type="submit"], .wp-block-search__button {
  flex: none; background: var(--rh-green); color: #fff; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 800; font-size: 15px; padding: 0 24px;
  border-radius: var(--radius-pill); transition: background-color .15s ease;
}
.search-form input[type="submit"]:hover, .wp-block-search__button:hover { background: var(--rh-green-dk); }

/* ===========================================================================
   Ninja Forms — brand styling (plugin runs in "Structure Only" CSS mode)
   =========================================================================== */
.nf-form-cont { font-family: var(--font-body); color: var(--rh-ink); max-width: 640px; }
.nf-form-title h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 6px; }
.nf-field-container { margin-bottom: 18px; }
.nf-field-label label, .nf-field-label .nf-label-span { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--rh-ink); margin-bottom: 7px; display: inline-block; }
.nf-form-content { max-width: 100%; }
.nf-form-content input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.nf-form-content textarea,
.nf-form-content select {
  width: 100%; box-sizing: border-box; padding: 13px 15px;
  border: 1.5px solid var(--rh-line); border-radius: 10px;
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--rh-ink);
  background: #fff; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nf-form-content input:focus, .nf-form-content textarea:focus, .nf-form-content select:focus {
  outline: none; border-color: var(--rh-blue); box-shadow: 0 0 0 3px rgba(74,111,165,.15);
}
.nf-form-content textarea { min-height: 140px; resize: vertical; }
.nf-form-content .label-above .nf-field-label { margin-bottom: 2px; }
.nf-form-content input[type="button"],
.nf-form-content input[type="submit"],
.nf-form-content button[type="submit"],
.nf-form-content .submit-wrap input {
  -webkit-appearance: none; appearance: none;
  display: inline-block; cursor: pointer;
  width: auto !important; max-width: 100%; min-width: 0; height: auto; border: none;
  background: var(--rh-green) !important; color: #fff !important;
  font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: .01em; line-height: 1.2;
  padding: 16px 34px !important; border-radius: var(--radius-pill);
  box-shadow: 0 8px 22px rgba(45, 184, 75, .32);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nf-form-content input[type="button"]:hover,
.nf-form-content input[type="submit"]:hover,
.nf-form-content button[type="submit"]:hover { background: var(--rh-green-dk); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(45, 184, 75, .4); }
.nf-error-msg, .ninja-forms-req-symbol { color: var(--rh-red); font-size: 13px; }
.nf-form-content .nf-error.field-wrap input,
.nf-form-content .nf-error.field-wrap textarea { border-color: var(--rh-red); }
.nf-response-msg p { color: var(--rh-green-dk); font-weight: 700; }
.nf-form-content .checkbox-wrap label, .nf-form-content .listcheckbox-wrap label { font-weight: 500; }
