/* ============================================================
   Advanced Climate Control — Batesville, AR
   Mobile-first stylesheet
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #060F1D;
  --navy-800: #0B1D34;
  --navy-700: #14304F;
  --ink: #0F1B2D;
  --slate: #4B5563;
  --slate-light: #6B7280;
  --cyan-700: #1760BE;
  --cyan-600: #1E6FD9;
  --cyan-500: #4D8FE8;
  --sky-800: #123F86;
  --sky-700: #1E6FD9;
  --acc-red: #E53935;
  --amber-600: #C62828;
  --amber-500: #E53935;
  --bg: #F6F8FB;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --border-dark: rgba(255,255,255,0.12);
  --text-on-dark: #E8F1F8;
  --muted-on-dark: #A3B4CB;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(11,29,52,0.08);
  --shadow-md: 0 6px 24px rgba(11,29,52,0.10);
  --shadow-lg: 0 18px 48px rgba(11,29,52,0.16);
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --max-w: 1180px;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

a { color: var(--sky-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan-700); }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--cyan-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
section { padding: var(--section-pad) 0; }

.section-header { max-width: 700px; margin-bottom: 2.5rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: 0.9rem;
}
.section-title { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; font-style: italic; margin-bottom: 0.9rem; }
.section-desc { color: var(--slate); font-size: 1.02rem; }

.on-dark .section-title { color: #fff; }
.on-dark .section-desc { color: var(--muted-on-dark); }
.on-dark .section-tag { color: var(--cyan-500); }

/* ---------- Buttons ---------- */
.btn-primary, .btn-outline, .btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  min-height: 48px; /* comfortable touch target */
}
.btn-primary {
  background: linear-gradient(120deg, var(--sky-800), var(--cyan-700));
  color: #fff;
  box-shadow: 0 8px 22px rgba(18,63,134,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,63,134,0.42); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.on-dark .btn-outline, .area-hero .btn-outline, .cta-section .btn-outline { color: #fff; border-color: rgba(255,255,255,0.55); }
.on-dark .btn-outline:hover, .area-hero .btn-outline:hover, .cta-section .btn-outline:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); color: var(--sky-800); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.logo-img { height: 48px; width: auto; display: block; }
@media (min-width: 960px) { .logo-img { height: 56px; } }
.logo-mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-800), var(--cyan-500));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  padding-right: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.01em;
}
.logo-text span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-700);
}

.nav-links {
  display: none; /* mobile: hidden until toggled */
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cyan-700); background: rgba(30,111,217,0.08); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  align-items: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy-800);
  color: #fff;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--sky-800); color: #fff; }

/* Mobile menu open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1.25rem 1.25rem;
  gap: 0.15rem;
}
.nav-links.open a { padding: 0.85rem 0.75rem; font-size: 1.05rem; }
.nav-links .menu-cta { margin-top: 0.6rem; }

@media (min-width: 960px) {
  .nav { padding: 0.7rem 2rem; gap: 0.25rem; }
  .nav-links { display: flex; align-items: center; gap: 0.1rem; }
  .nav-links .menu-cta { display: none; }
  .nav-toggle { display: none; }
  .nav-cta { display: inline-flex; margin-left: 0.75rem; }
}

/* ============================================================
   Hero — light split hero with live thermal scale
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(30,111,217,0.07), transparent 60%),
    radial-gradient(700px 380px at 95% 110%, rgba(229,57,53,0.05), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 1.3rem;
}
.hero-eyebrow .dot-cool { color: var(--cyan-600); }
.hero-eyebrow .dot-heat { color: var(--acc-red); }
.hero-eyebrow .eyebrow-loc {
  color: var(--slate-light);
  letter-spacing: 0.08em;
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
}
.hero h1 {
  color: var(--navy-800);
  font-size: clamp(2.2rem, 7vw, 4.1rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  max-width: 14ch;
}
.hero h1 em {
  font-style: inherit;
  color: var(--acc-red);
}
.hero-desc {
  max-width: 540px;
  color: var(--slate);
  font-size: clamp(1rem, 2.3vw, 1.13rem);
  margin-bottom: 1.8rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.9rem; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}
.hero-chips li i { color: var(--cyan-600); font-size: 0.75rem; }

/* --- Thermal scale (signature element) --- */
.thermo-card {
  justify-self: center;
  width: min(100%, 380px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.5rem 1.4rem;
}
.thermo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}
.thermo-title i { color: var(--cyan-600); font-style: normal; }
.thermo {
  position: relative;
  display: flex;
  gap: 0;
  height: 330px;
  margin: 0 0 1.1rem;
}
.thermo-rail {
  position: relative;
  width: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg,
    #E53935 0%, #FF8A75 26%, #F5D8CE 38%,
    #DCE9FB 50%, #7FB0F4 70%, #1E6FD9 100%);
  flex: none;
}
.thermo-ticks {
  position: relative;
  flex: none;
  width: 40px;
  margin-right: 0.65rem;
}
.thermo-ticks span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-light);
  letter-spacing: 0.02em;
}
.thermo-marker {
  position: absolute;
  left: calc(40px + 0.65rem - 6px); /* dot centered on the rail, tags extend right into open space */
  top: var(--pos, 50%);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: top 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.thermo-dot {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(11,29,52,0.3);
}
.thermo-marker.home .thermo-dot { background: var(--navy-800); }
.thermo-marker.outside .thermo-dot { background: var(--acc-red); }
.thermo-marker.outside.cold .thermo-dot { background: var(--cyan-600); }
.thermo-tag {
  background: var(--navy-800);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 9px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
}
/* When outside temp sits near the 72° home marker, only the tag slides clear —
   the dot stays at the true temperature on the rail */
.thermo-marker.tag-up .thermo-tag { transform: translateY(-26px); }
.thermo-marker.tag-down .thermo-tag { transform: translateY(26px); }
.thermo-tag strong { font-family: var(--font-display); font-weight: 800; margin-left: 0.3rem; }
.thermo-marker.home .thermo-tag { background: var(--cyan-600); }
.thermo-marker.outside { opacity: 0; }
.thermo-marker.outside.visible { opacity: 1; transition: opacity 0.5s ease, top 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.thermo-note {
  font-size: 0.88rem;
  color: var(--slate);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin: 0;
}
.thermo-note strong { color: var(--navy-800); }

/* --- Brand slash divider (from the van wrap) --- */
.brand-slash {
  height: 10px;
  background: linear-gradient(100deg,
    var(--cyan-600) 0%, var(--cyan-500) 44%,
    #FF8A75 56%, var(--acc-red) 100%);
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; }
  .thermo-card { justify-self: end; }
}

/* ============================================================
   Service cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(30,111,217,0.4); }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--sky-800), var(--cyan-500));
  margin-bottom: 1.1rem;
}
.service-card.heat .service-icon { background: linear-gradient(135deg, #B45309, var(--amber-500)); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 0.55rem; }
.service-card p { color: var(--slate); font-size: 0.95rem; flex: 1; }
.service-card .card-link {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--sky-700);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card .card-link:hover { color: var(--cyan-600); gap: 0.6rem; }
.service-card .card-link { transition: gap 0.18s ease; }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Services bento (home) — two disciplines + support services
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.bento-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.bento-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.bento-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-feature::after {
  content: "";
  position: absolute;
  inset: 0;
}
.bento-feature.cool::after { background: linear-gradient(200deg, rgba(11,29,52,0.15) 20%, rgba(18,63,134,0.88) 85%); }
.bento-feature.heat::after { background: linear-gradient(200deg, rgba(11,29,52,0.15) 20%, rgba(155,28,25,0.88) 85%); }
.bento-feature-body { position: relative; z-index: 1; padding: 1.6rem 1.5rem; }
.bento-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.bento-feature.cool .bento-kicker { color: #9CC3F9; }
.bento-feature.heat .bento-kicker { color: #FFB3A6; }
.bento-feature h3 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 0.45rem;
}
.bento-feature p { font-size: 0.94rem; color: rgba(255,255,255,0.85); max-width: 44ch; }
.bento-feature .bento-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.bento-small {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bento-small:hover { transform: translateY(-3px); border-color: rgba(30,111,217,0.45); box-shadow: var(--shadow-md); }
.bento-small i {
  color: var(--cyan-600);
  font-size: 1.15rem;
  margin-top: 0.2rem;
  width: 24px;
  text-align: center;
  flex: none;
}
.bento-small h3 { font-size: 0.99rem; margin-bottom: 0.25rem; color: var(--navy-800); }
.bento-small p { font-size: 0.87rem; color: var(--slate); margin: 0; }
@media (min-width: 700px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-feature { grid-column: span 1; }
}
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
  .bento-feature { grid-column: span 2; }
  .bento-small { grid-column: span 1; flex-direction: column; gap: 0.6rem; }
}

/* ============================================================
   Promise bar (slogan band)
   ============================================================ */
.promise-bar {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-800) 70%, var(--navy-700));
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.promise-bar h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.promise-bar h2 em { font-style: inherit; color: #FF8A75; }
.promise-bar p { color: var(--muted-on-dark); font-size: 0.97rem; max-width: 56ch; position: relative; z-index: 1; margin: 0; }
.promise-bar .btn-light { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .promise-bar { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .promise-bar .promise-text { max-width: 60%; }
}

/* ============================================================
   Sticky mobile call bar (injected by script.js)
   ============================================================ */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: flex;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
}
.call-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.call-bar .call-bar-phone { background: var(--cyan-600); color: #fff; }
.call-bar .call-bar-quote { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
body.has-call-bar { padding-bottom: 74px; }
@media (min-width: 960px) {
  .call-bar { display: none; }
  body.has-call-bar { padding-bottom: 0; }
}

/* ============================================================
   Split (image + text) sections
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(11,29,52,0.88);
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  backdrop-filter: blur(6px);
}
.split-badge i { color: var(--cyan-500); }
.check-list { display: grid; gap: 0.8rem; margin-top: 1.4rem; }
.check-list li {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.check-list li i {
  color: var(--cyan-600);
  background: rgba(30,111,217,0.10);
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.flip .split-img { order: 2; }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-800) 55%, var(--sky-800));
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  color: #fff;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(100deg, #7FB0F4, #A9CBF7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--muted-on-dark); font-weight: 600; letter-spacing: 0.04em; }
@media (min-width: 800px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   Dark sections
   ============================================================ */
.on-dark {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(30,111,217,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--text-on-dark);
}
.on-dark h3 { color: #fff; }

/* Process steps */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; counter-reset: step; }
.process-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--cyan-500);
  margin-bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted-on-dark); font-size: 0.94rem; }
@media (min-width: 900px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  background: var(--navy-800);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  width: 100%;
  text-align: left;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.045); opacity: 0.85; }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(6,15,29,0.88));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-caption i { color: var(--cyan-500); font-size: 0.8rem; }
@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4,10,20,0.92);
  padding: 1.25rem;
}
.lightbox.open { display: flex; }
.lightbox-figure { max-width: min(1000px, 100%); margin: 0; }
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.lightbox figcaption { color: #C3D4E8; text-align: center; margin-top: 0.9rem; font-weight: 600; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  transition: background 0.15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   Sizing tool
   ============================================================ */
.tool-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}
.tool-form { display: grid; gap: 1.2rem; align-content: start; }
.tool-field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--navy-800);
}
.tool-field .hint { font-weight: 400; color: var(--slate-light); font-size: 0.82rem; }
.tool-select, .tool-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  min-height: 48px;
}
.tool-select:hover, .tool-input:hover { border-color: var(--cyan-600); }
.tool-select.field-error, .tool-input.field-error { border-color: #DC2626; background: #FEF2F2; }
.field-error-msg { display: block; color: #B91C1C; font-size: 0.84rem; font-weight: 600; margin-top: 0.35rem; min-height: 1.1em; }

/* --- Troubleshooter wizard --- */
.wiz {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.wiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--navy-800);
  color: #fff;
}
.wiz-head h3 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.wiz-progress { font-size: 0.8rem; font-weight: 700; color: var(--muted-on-dark); white-space: nowrap; }
.wiz-body { padding: clamp(1.4rem, 4vw, 2.2rem); }
.wiz-symptoms { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.wiz-symptom {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.wiz-symptom:hover { border-color: var(--cyan-600); transform: translateY(-2px); }
.wiz-symptom i { color: var(--cyan-600); font-size: 1.05rem; width: 24px; text-align: center; flex: none; }
.wiz-symptom .sub { display: block; font-size: 0.8rem; font-weight: 400; color: var(--slate); }
@media (min-width: 640px) { .wiz-symptoms { grid-template-columns: 1fr 1fr; } }

.wiz-step-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: 0.8rem;
}
.wiz-question { font-size: clamp(1.15rem, 3vw, 1.45rem); font-weight: 800; color: var(--navy-800); margin-bottom: 0.7rem; }
.wiz-detail { color: var(--slate); font-size: 0.97rem; margin-bottom: 1.5rem; }
.wiz-detail strong { color: var(--navy-800); }
.wiz-answers { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.wiz-answers .btn-primary, .wiz-answers .btn-outline { flex: 1 1 180px; }
.wiz-safety {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: #FDF1F0;
  border: 1px solid #F5C6C3;
  border-radius: var(--radius);
  padding: 0.9rem 1.05rem;
  font-size: 0.86rem;
  color: #8C2422;
}
.wiz-safety i { margin-top: 0.2rem; flex: none; }
.wiz-result { text-align: center; padding: 0.5rem 0; }
.wiz-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
}
.wiz-result.fixed .wiz-result-icon { background: var(--cyan-600); }
.wiz-result.call .wiz-result-icon { background: var(--acc-red); }
.wiz-result h4 { font-size: 1.35rem; font-weight: 800; font-style: italic; color: var(--navy-800); margin-bottom: 0.6rem; }
.wiz-result p { color: var(--slate); max-width: 46ch; margin: 0 auto 1.4rem; }
.wiz-result .wiz-answers { justify-content: center; }
.wiz-restart {
  background: none;
  border: none;
  color: var(--sky-700);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 1.4rem;
}
.wiz-restart:hover { color: var(--cyan-700); }
.wiz-foot {
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  color: var(--slate-light);
}
@media (min-width: 940px) { .tool-shell { grid-template-columns: 1fr 1.1fr; } }

/* ============================================================
   Service areas
   ============================================================ */
.areas-wrap { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
a.area-tag:hover { border-color: var(--cyan-600); color: var(--cyan-700); transform: translateY(-2px); }
a.area-tag::before { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.75rem; color: var(--cyan-600); }
span.area-tag { color: var(--slate); }

.county-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2rem; }
.county-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.county-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; }
.county-card h3 i { color: var(--cyan-600); font-size: 0.9rem; }
.county-card p { color: var(--slate); font-size: 0.92rem; }
@media (min-width: 700px) { .county-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .county-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 0.9rem; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.3rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--navy-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--cyan-600);
  transition: transform 0.2s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--slate); font-size: 0.95rem; }

/* ============================================================
   CTA section
   ============================================================ */
.cta-section {
  position: relative;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(30,111,217,0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(100deg, var(--cyan-600) 0%, var(--cyan-500) 44%, #FF8A75 56%, var(--acc-red) 100%);
}
.cta-section h2 { color: #fff; font-style: italic; font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1rem; }
.cta-section h2 em {
  font-style: inherit;
  background: linear-gradient(100deg, #FF8A75, #E53935);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-section p { color: #C3D4E8; max-width: 620px; margin: 0 auto 1.6rem; }
.cta-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.4rem;
}
.cta-phone:hover { color: #7FB0F4; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  text-align: center;
}
.contact-card i.big {
  font-size: 1.4rem;
  color: #fff;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sky-800), var(--cyan-500));
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-card p { color: var(--slate); font-size: 0.92rem; margin-bottom: 0.8rem; }
.contact-card a.contact-line { font-weight: 700; font-size: 1.05rem; text-decoration: none; word-break: break-word; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Area landing pages
   ============================================================ */
.area-hero {
  position: relative;
  color: #fff;
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  background:
    radial-gradient(800px 380px at 90% -10%, rgba(30,111,217,0.3), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 70%, var(--navy-700));
  overflow: hidden;
}
.area-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(100deg, var(--cyan-600) 0%, var(--cyan-500) 44%, #FF8A75 56%, var(--acc-red) 100%);
}
.area-hero h1 { color: #fff; font-style: italic; font-weight: 900; font-size: clamp(1.9rem, 5.5vw, 3.1rem); margin-bottom: 1rem; max-width: 18ch; }
.area-hero h1 em {
  font-style: inherit;
  background: linear-gradient(100deg, #FF8A75, #E53935);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.area-hero p { max-width: 620px; color: #C3D4E8; margin-bottom: 1.6rem; }
.breadcrumbs { font-size: 0.85rem; margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(255,255,255,0.4); }
.breadcrumbs a { color: #9CC3F9; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #C3D4E8; }
.breadcrumbs.on-light a { color: var(--sky-700); }
.breadcrumbs.on-light li + li::before { color: var(--slate-light); }
.breadcrumbs.on-light [aria-current="page"] { color: var(--slate); }

.mini-services { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.mini-service {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}
.mini-service i { color: var(--cyan-600); font-size: 1.2rem; margin-bottom: 0.6rem; }
.mini-service h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.mini-service p { color: var(--slate); font-size: 0.9rem; }
@media (min-width: 640px) { .mini-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mini-services { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; }
.legal-content { color: var(--slate); }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 0.7rem; }
.legal-content p, .legal-content li { margin-bottom: 0.8rem; font-size: 0.97rem; }
.legal-content ul { padding-left: 1.4rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: var(--muted-on-dark);
  padding: 3.5rem 0 0;
}
.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
.footer-brand p { font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer .logo { text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; }
.footer .logo-img {
  height: 64px;
  background: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  box-sizing: content-box;
}
.footer .logo-text strong { color: #fff; }
.footer .logo-text span { color: var(--cyan-500); }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--muted-on-dark); text-decoration: none; font-size: 0.93rem; }
.footer-col a:hover { color: #7FB0F4; }
.footer-col .contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.93rem; }
.footer-col .contact-item i { color: var(--cyan-500); margin-top: 0.25rem; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: var(--muted-on-dark); text-decoration: none; }
.footer-bottom a:hover { color: #7FB0F4; }
@media (min-width: 800px) {
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   Reveal animations (respect reduced motion)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 1.25rem; }
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 800;
  background: linear-gradient(100deg, var(--sky-800), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.notfound h1 { margin: 0.75rem 0 0.75rem; }
.notfound p { color: var(--slate); margin-bottom: 1.6rem; }
