/* ==========================================================================
   NextGen Comfort HVAC Services — styles.css
   Theme: "Desert Thermal" — midnight navy, cooling teal/cyan, warm ember.
   Mobile-first. All theme values live in the custom properties below.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #07121F;
  --navy-900: #0B1A2C;
  --navy-800: #12263F;
  --navy-700: #1B3553;
  --navy-600: #2A4A6E;

  --teal-800: #055E57;
  --teal-700: #06796F;   /* teal text on light backgrounds (AA) */
  --teal-500: #0A9C90;   /* logo teal — graphics & large text */
  --cyan-400: #19D3C5;   /* bright cooling accent on dark */
  --cyan-100: #D6F6F2;

  --amber-400: #FFB347;
  --ember-500: #F2663A;  /* heating accent / primary CTA background */
  --ember-600: #E0522A;
  --ember-700: #B23A12;  /* ember text on light backgrounds (AA) */
  --ember-100: #FFE6DC;

  --off-white: #F6F8F7;
  --mist: #EAF2F1;
  --white: #FFFFFF;
  --charcoal: #1E2529;
  --slate: #46535C;
  --line: #D5E0DF;
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Semantic tokens */
  --color-bg: var(--off-white);
  --color-surface: var(--white);
  --color-text: var(--charcoal);
  --color-text-muted: var(--slate);
  --color-heading: var(--navy-900);
  --color-link: var(--teal-700);
  --color-link-hover: var(--teal-800);
  --color-cta-bg: var(--ember-500);
  --color-cta-bg-hover: #FF7A4F;
  --color-cta-text: var(--navy-950);
  --color-focus: var(--teal-700);
  --color-focus-on-dark: var(--cyan-400);
  --color-error: #B3261E;
  --color-success: #0F6B3E;

  --thermal-gradient: linear-gradient(90deg, var(--teal-500) 0%, var(--cyan-400) 32%, var(--amber-400) 68%, var(--ember-500) 100%);
  --thermal-gradient-v: linear-gradient(180deg, var(--cyan-400) 0%, var(--teal-500) 30%, var(--amber-400) 70%, var(--ember-500) 100%);

  /* Typography */
  --font-display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-300: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-400: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-500: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-600: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
  --fs-700: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-800: clamp(2.25rem, 1.6rem + 3.2vw, 4.125rem);

  /* Spacing & shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-pad: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --container: 75rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 26, 44, 0.06), 0 2px 8px rgba(11, 26, 44, 0.06);
  --shadow-md: 0 6px 24px rgba(11, 26, 44, 0.10);
  --shadow-lg: 0 18px 50px rgba(11, 26, 44, 0.18);

  --header-h: 68px;
  --mobile-call-h: 0px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  padding-bottom: var(--mobile-call-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-800); font-weight: 800; }
h2 { font-size: var(--fs-700); font-weight: 800; }
h3 { font-size: var(--fs-600); font-weight: 700; }
h4 { font-size: var(--fs-500); font-weight: 700; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--color-link-hover); }

ul { margin: 0; padding: 0; }

address { font-style: normal; }

/* Anchor offset for the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Focus */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--color-focus-on-dark); }
main:focus { outline: none; }

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

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-3); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-400);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0.9rem 1.6rem; font-size: var(--fs-500); }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  box-shadow: 0 6px 18px rgba(242, 102, 58, 0.28);
}
.btn-primary:hover {
  background: var(--color-cta-bg-hover);
  color: var(--color-cta-text);
  box-shadow: 0 10px 26px rgba(242, 102, 58, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--cyan-400);
  color: var(--white);
}

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

.icon-end { transition: transform 0.2s var(--ease); }
.btn:hover .icon-end { transform: translateX(3px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.text-link, .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-weight: 700;
  color: var(--color-link);
  text-decoration: none;
}
.text-link:hover, .card-link:hover { text-decoration: underline; }
.text-link .icon, .card-link .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.text-link:hover .icon, .card-link:hover .icon { transform: translateX(3px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--space-3);
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--thermal-gradient);
}
.eyebrow-light { color: var(--cyan-400); }

.lead {
  font-size: var(--fs-500);
  color: var(--color-text-muted);
  max-width: 44rem;
}

.readout {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--space-5);
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid rgba(25, 211, 197, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(25, 211, 197, 0.08);
  color: var(--cyan-100);
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 0 rgba(25, 211, 197, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: pulse 2.4s var(--ease) infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 211, 197, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(25, 211, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 211, 197, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--thermal-gradient);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
  padding: 4px 0;
  border-radius: 6px;
}
.brand img { width: auto; height: 44px; }
@media (min-width: 380px) { .brand img { height: 48px; } }
@media (min-width: 1024px) { .brand img { height: 56px; } }

/* Nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font: 700 var(--fs-300)/1 var(--font-body);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--teal-700); }
.nav-toggle-text { display: none; }
@media (min-width: 420px) { .nav-toggle-text { display: inline; } }

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 6px; }
.nav-toggle-bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 6px; transform: rotate(-45deg); }

/* No-JS: the toggle is useless, so show links inline and let them wrap */
html:not(.js) .nav-toggle { display: none; }

.nav-list { list-style: none; }
.nav-list a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:not(.btn):hover { background: var(--mist); color: var(--teal-800); }
.nav-list a[aria-current="true"] { color: var(--teal-700); }

/* Mobile / tablet menu panel */
@media (max-width: 1179.98px) {
  .js .nav-list {
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--space-3) var(--gutter) calc(var(--space-5) + env(safe-area-inset-bottom));
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .js .nav-list.is-open { display: block; }
  .js .nav-list li + li { border-top: 1px solid var(--mist); }
  .nav-call-item { padding-top: var(--space-4); }
  .js .nav-list li.nav-call-item { border-top: 0; }

  html:not(.js) .primary-nav { order: 3; width: 100%; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: var(--space-2); }
  html:not(.js) .site-header { height: auto; position: relative; }
  html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); }
  html:not(.js) .nav-call-item { display: none; }
}

/* Header phone CTA */
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 6px 18px rgba(242, 102, 58, 0.25);
}
.header-call:hover { background: var(--color-cta-bg-hover); color: var(--color-cta-text); transform: translateY(-1px); }
.header-call-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(7, 18, 31, 0.1);
}
.header-call-text {
  /* visually hidden on small screens but still announced */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.header-call-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.header-call-number { display: block; font-size: 1.05rem; }

@media (min-width: 640px) {
  .header-call { padding: 0.35rem 1rem 0.35rem 0.35rem; }
  .header-call-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}

/* Desktop nav */
@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .nav-list a:not(.btn) { padding: 0 0.8rem; font-size: 0.975rem; position: relative; }
  .nav-list a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0.8rem; right: 0.8rem; bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--thermal-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav-list a:not(.btn):hover { background: transparent; }
  .nav-list a:not(.btn):hover::after,
  .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
  .nav-call-item { display: none; }
  .primary-nav { margin-right: var(--space-3); }
}

/* ---------- Hero ---------- */
.on-dark { color: #DCE6EE; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--cyan-400); }
.on-dark a:not(.btn):hover { color: #7FEBE2; }
.on-dark .lead { color: #C3D2DE; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) 0 clamp(6.5rem, 5rem + 5vw, 9rem);
  background: var(--navy-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 8% 10%, rgba(25, 211, 197, 0.20), transparent 70%),
    radial-gradient(50% 55% at 95% 95%, rgba(242, 102, 58, 0.22), transparent 70%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, #16223A 100%);
}
.hero-bg::after {
  /* airflow line texture */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='none' stroke='%2319D3C5' stroke-width='1'%3E%3Cpath d='M0 20c40 0 40 16 80 16s40-16 80-16 40 16 80 16'/%3E%3Cpath d='M0 60c40 0 40 16 80 16s40-16 80-16 40 16 80 16' opacity='.6'/%3E%3Cpath d='M0 100c40 0 40 16 80 16s40-16 80-16 40 16 80 16' opacity='.35'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 120px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
}

.hero h1 { margin-bottom: var(--space-5); max-width: 17ch; }
.hero h1 .nowrap { white-space: nowrap; }
@media (max-width: 399.98px) {
  .hero h1 { font-size: 1.95rem; }
}
.hero .hl {
  background: linear-gradient(90deg, var(--cyan-400), #8FF0E6 60%, var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .hero .hl { color: CanvasText; background: none; }
}
.hero-sub {
  font-size: var(--fs-500);
  font-weight: 600;
  color: var(--white);
  max-width: 36rem;
}
.hero-value {
  color: #C3D2DE;
  max-width: 36rem;
  margin-bottom: var(--space-6);
}
.hero-link { margin-top: var(--space-5); font-size: var(--fs-300); color: #C3D2DE; }
.hero .cta-row .btn { flex: 1 1 100%; }
@media (min-width: 520px) {
  .hero .cta-row .btn { flex: 0 1 auto; }
}

.hero-visual {
  position: relative;
  padding-left: 22px;
  padding-bottom: 28px;
}
.hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-700);
  box-shadow: var(--shadow-lg);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.temp-scale {
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 12px;
}
.temp-scale-bar {
  flex: 1;
  width: 6px;
  border-radius: 6px;
  background: var(--thermal-gradient-v);
  background-size: 100% 200%;
}
@media (prefers-reduced-motion: no-preference) {
  .temp-scale-bar { animation: thermal-shift 6s ease-in-out infinite alternate; }
}
@keyframes thermal-shift {
  from { background-position: 0 0; }
  to { background-position: 0 100%; }
}
.temp-scale-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.temp-cool { color: var(--cyan-400); }
.temp-warm { color: var(--amber-400); }

.thermal-card {
  position: absolute;
  right: clamp(0.5rem, 3vw, 1.5rem);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-lg);
}
.thermal-card::before {
  content: "";
  position: absolute;
  left: 12px; right: 12px; top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--thermal-gradient);
}
.thermal-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-100);
  color: var(--teal-800);
}
.thermal-card-text { display: flex; flex-direction: column; line-height: 1.25; }
.thermal-card-text strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); }
.thermal-card-text span { font-size: 0.85rem; color: var(--slate); }

/* ---------- Trust strip ---------- */
.trust {
  position: relative;
  z-index: 2;
  margin-top: clamp(-4.5rem, -3rem - 2vw, -3.5rem);
}
.trust-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 560px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-list { grid-template-columns: repeat(4, 1fr); } }

.trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--white);
  line-height: 1.3;
}
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--navy-900); }
.trust-sub { display: block; margin-top: 2px; font-size: var(--fs-300); color: var(--slate); }
.trust-phone { color: var(--navy-900); text-decoration: none; }
.trust-phone:hover { color: var(--ember-700); text-decoration: underline; }
.trust-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cyan-100);
  color: var(--teal-800);
}
.trust-icon-warm { background: var(--ember-100); color: var(--ember-700); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 48rem; }

/* About */
.section-about { background: var(--off-white); }
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 0.95fr 1.05fr; }
}
.about-copy p { max-width: 40rem; }
.about-copy .text-link { margin-top: var(--space-2); }

.about-media { position: relative; padding-bottom: 3.5rem; }
.framed-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mist);
  box-shadow: var(--shadow-md);
}
.framed-figure::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  z-index: 1;
  background: var(--thermal-gradient);
}
.framed-figure img { width: 100%; height: 100%; object-fit: cover; }

.glance-card {
  position: absolute;
  left: clamp(0.75rem, 4vw, 2rem);
  right: clamp(0.75rem, 4vw, 2rem);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.glance-card > div { padding: 0.85rem 0.9rem; min-width: 0; }
.glance-card > div + div { border-left: 1px solid var(--line-dark); }
.glance-card dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.glance-card dd {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 0.75rem + 0.4vw, 1rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.glance-card a { color: var(--white); text-decoration: none; }
.glance-card a:hover { color: var(--cyan-400); text-decoration: underline; }

/* Why choose us */
.section-why { background: var(--white); }
.why-grid {
  list-style: none;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

.why-card {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.why-card::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--thermal-gradient);
  opacity: 0.35;
  transition: opacity 0.25s var(--ease);
}
.why-card:hover, .why-card:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::before, .why-card:focus-within::before { opacity: 1; }
.why-card h3 { font-size: 1.25rem; margin-bottom: var(--space-2); }
.why-card p { color: var(--color-text-muted); }
.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-4);
  border-radius: 14px;
  background: var(--cyan-100);
  color: var(--teal-800);
}
.why-icon .icon { width: 26px; height: 26px; }
.why-icon-warm { background: var(--ember-100); color: var(--ember-700); }

/* Services grid */
.section-services {
  background:
    radial-gradient(40% 30% at 100% 0%, rgba(25, 211, 197, 0.12), transparent 70%),
    var(--mist);
}
.service-grid {
  list-style: none;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-column: span 2; }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .service-grid > .service-card:last-child { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 26, 44, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-card:hover, .service-card:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card h3 { font-size: 1.3rem; margin-bottom: var(--space-2); }
.service-card p { color: var(--color-text-muted); flex: 1; }
.service-card .card-link { margin-top: var(--space-3); }
.service-card::after {
  content: "";
  position: absolute;
  left: var(--space-5);
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--teal-500), var(--cyan-400));
  transition: width 0.3s var(--ease);
}
.service-card-warm::after { background: linear-gradient(90deg, var(--amber-400), var(--ember-500)); }
.service-card:hover::after, .service-card:focus-within::after { width: calc(100% - var(--space-5) * 2); }

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-4);
  border-radius: 14px;
  background: var(--cyan-100);
  color: var(--teal-800);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card-warm .service-icon,
.detail-card-warm .service-icon { background: var(--ember-100); color: var(--ember-700); }

.service-card-featured {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(25, 211, 197, 0.22), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(242, 102, 58, 0.18), transparent 70%),
    var(--navy-900);
  color: #DCE6EE;
  border: 0;
}
.service-card-featured h3 { color: var(--white); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
.service-card-featured p { color: #C9D6E0; font-size: var(--fs-500); max-width: 40rem; }
.service-card-featured .service-icon { background: rgba(25, 211, 197, 0.16); color: var(--cyan-400); }
.service-card-featured::after { display: none; }
.service-card-featured :focus-visible { outline-color: var(--color-focus-on-dark); }
.service-card-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.service-badge {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--thermal-gradient);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card-featured .service-badge { position: absolute; top: clamp(1.5rem, 1rem + 2vw, 2.5rem); right: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin: 0; }
@media (max-width: 419.98px) {
  .service-card-featured .service-badge { position: static; margin-bottom: var(--space-4); }
}

/* Service details */
.section-details { background: var(--white); }
.details-intro {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
@media (min-width: 960px) { .details-intro { grid-template-columns: 1.1fr 0.9fr; } }
.details-note {
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--mist);
  color: var(--charcoal);
  max-width: 42rem;
}

.detail-feature {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.detail-feature::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--thermal-gradient-v);
}
@media (min-width: 1024px) { .detail-feature { grid-template-columns: 1.05fr 0.95fr; } }
.detail-feature h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
.detail-feature .cta-row { margin-top: var(--space-5); }
.detail-feature-list h4 { font-size: 1.15rem; margin-bottom: var(--space-4); }

.safety-note {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--ember-100);
  color: #5A2410;
  font-size: var(--fs-300);
}
.safety-note .icon { margin-top: 2px; color: var(--ember-700); }

.reason-list {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
@media (min-width: 640px) and (max-width: 1023.98px) { .reason-list { grid-template-columns: repeat(2, 1fr); } }
.reason-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  line-height: 1.5;
  font-size: var(--fs-300);
  color: var(--slate);
}
.reason-list strong { color: var(--navy-900); }
.reason-list .icon { margin-top: 1px; color: var(--teal-700); }

.detail-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }

.detail-card {
  --card-pad: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--card-pad);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--white);
}
.detail-card::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(90deg, var(--teal-500), var(--cyan-400));
}
.detail-card-warm::before { background: linear-gradient(90deg, var(--amber-400), var(--ember-500)); }

/* Photo header that bleeds to the card edges; the service icon overlaps its lower edge */
.detail-media {
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) var(--space-5);
  width: calc(100% + 2 * var(--card-pad));
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
  background: var(--navy-900);
}
.detail-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-media + .service-icon {
  position: relative;
  margin-top: calc(-26px - var(--space-5));
  margin-left: 2px;
  box-shadow: 0 0 0 4px var(--white), 0 8px 18px rgba(11, 26, 44, 0.18);
}
.detail-card h3 { font-size: 1.4rem; }
.detail-card p { color: var(--color-text); }
.detail-card .card-link { margin-top: auto; padding-top: var(--space-3); }

.detail-card-cta {
  justify-content: center;
  border: 0;
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(25, 211, 197, 0.2), transparent 70%),
    radial-gradient(70% 70% at 0% 100%, rgba(242, 102, 58, 0.22), transparent 70%),
    var(--navy-900);
}
.detail-card-cta::before { background: var(--thermal-gradient); }
.detail-card-cta p { color: #C9D6E0; }
.detail-card-cta .btn { margin-top: var(--space-3); }
.detail-card-cta .card-link { margin-top: var(--space-2); padding-top: 0; align-self: center; }

/* CTA band */
.cta-band {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
  background:
    radial-gradient(45% 120% at 0% 50%, rgba(25, 211, 197, 0.18), transparent 70%),
    radial-gradient(45% 120% at 100% 50%, rgba(242, 102, 58, 0.22), transparent 70%),
    var(--navy-900);
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--thermal-gradient);
}
.cta-band-inner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1fr auto; } }
.cta-band-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: var(--space-2); }
.cta-band p { color: #C9D6E0; font-size: var(--fs-500); }
.cta-band .cta-row .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .cta-band .cta-row .btn { flex: 0 1 auto; } }

/* Service area */
.section-area { background: var(--off-white); }
.area-grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}
@media (min-width: 1024px) { .area-grid { grid-template-columns: 0.9fr 1.1fr; } }

.address-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin: var(--space-5) 0;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
}
.address-card strong { font-family: var(--font-display); color: var(--navy-900); font-size: 1.08rem; }
.address-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ember-100);
  color: var(--ember-700);
}

.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.area-list li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: var(--fs-300);
  color: var(--navy-800);
}
.area-confirm {
  font-weight: 600;
  color: var(--navy-900);
}
.area-copy .cta-row { margin-top: var(--space-5); }

.area-map-wrap { min-width: 0; }
.map {
  position: relative;
  width: 100%;
  height: clamp(320px, 55vw, 500px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(10, 156, 144, 0.06), rgba(10, 156, 144, 0.06)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(11, 26, 44, 0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(11, 26, 44, 0.06) 39px 40px),
    var(--mist);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  z-index: 0;
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-5);
  text-align: center;
  color: var(--navy-900);
}
.map-fallback p { margin: 0; max-width: 28rem; }
.map-fallback-status { color: var(--slate); font-size: var(--fs-300); }
.map-fallback-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ember-600);
  box-shadow: var(--shadow-md);
}
.map-fallback-icon .icon { width: 28px; height: 28px; }
.map-caption {
  margin-top: var(--space-3);
  font-size: var(--fs-300);
  color: var(--slate);
}
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-weight: 600;
}
.map-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Leaflet brand overrides (only apply once Leaflet is loaded) */
.map .leaflet-container { font-family: var(--font-body); }
.map .leaflet-popup-content-wrapper { border-radius: var(--radius-sm); }
.map .leaflet-popup-content { margin: 12px 16px; line-height: 1.5; font-size: 0.95rem; }
.map .leaflet-popup-content a { color: var(--teal-700); font-weight: 700; }
.map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; }
.map-pin {
  display: grid;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
}
.map-pin svg { width: 36px; height: 44px; filter: drop-shadow(0 4px 6px rgba(11, 26, 44, 0.35)); }
.map-area-label {
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
}
.map-area-label::before { display: none; }
.map-community-label {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.75rem;
  box-shadow: none;
}

/* FAQ */
.section-faq { background: var(--white); }
.faq-grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 4rem);
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq-aside-card {
  margin-top: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--mist);
  max-width: 26rem;
}
.faq-aside-card .btn { margin-top: var(--space-4); }

.faq-list { display: grid; gap: var(--space-3); }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: var(--space-4) 3.75rem var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: var(--space-5);
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background:
    linear-gradient(var(--teal-800), var(--teal-800)) center / 12px 2px no-repeat,
    linear-gradient(var(--teal-800), var(--teal-800)) center / 2px 12px no-repeat,
    var(--cyan-100);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--ember-700), var(--ember-700)) center / 12px 2px no-repeat,
    linear-gradient(var(--ember-700), var(--ember-700)) center / 2px 12px no-repeat,
    var(--ember-100);
}
.faq-item summary:hover .faq-q { color: var(--teal-800); }
.faq-q {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-900);
}
.faq-a { padding: 0 var(--space-5) var(--space-5); color: var(--color-text); }
.faq-a p { max-width: 46rem; }

/* Contact */
.section-contact {
  position: relative;
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(25, 211, 197, 0.16), transparent 70%),
    radial-gradient(45% 60% at 100% 100%, rgba(242, 102, 58, 0.18), transparent 70%),
    var(--navy-900);
}
.section-contact::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--thermal-gradient);
}
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-list { display: grid; gap: var(--space-3); margin: var(--space-6) 0; }
.contact-row {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  margin: 0;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  color: var(--white);
  line-height: 1.4;
}
.contact-row > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(25, 211, 197, 0.14);
  color: var(--cyan-400);
}
.contact-icon-warm { background: rgba(242, 102, 58, 0.18); color: #FF9D78; }
.on-dark a.contact-phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.on-dark a.contact-phone:hover { color: var(--cyan-400); text-decoration: underline; }
.contact-info .btn { width: 100%; }
@media (min-width: 520px) { .contact-info .btn { width: auto; } }

.form-card {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--thermal-gradient);
}
.on-dark .form-card h3 { color: var(--navy-900); }
.on-dark .form-card a:not(.btn) { color: var(--teal-700); }
.form-card :focus-visible { outline-color: var(--color-focus); }
.form-title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); margin-bottom: var(--space-2); }
.form-intro { font-size: var(--fs-300); color: var(--slate); margin-bottom: var(--space-5); }
.req { color: var(--ember-700); font-weight: 700; }

.lead-form { display: grid; gap: var(--space-4); }
.field-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { font-weight: 700; color: var(--navy-900); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1.5px solid #9AAAB3;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem; /* prevents iOS zoom */
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgba(10, 156, 144, 0.22);
}
.field [aria-invalid="true"] { border-color: var(--color-error); background: #FFF7F6; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.18); }
.field-hint { margin: 0; font-size: 0.875rem; color: var(--slate); }
.field-error {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-error);
}
.field-error::before { content: "⚠ "; }

.field-consent {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--line);
}
.consent-control { display: flex; gap: var(--space-3); align-items: flex-start; }
.consent-control input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--teal-700);
  cursor: pointer;
}
.consent-control label { font-weight: 400; font-size: 0.9rem; line-height: 1.55; color: var(--charcoal); cursor: pointer; }
.field-consent [aria-invalid="true"] { outline: 2px solid var(--color-error); outline-offset: 2px; }

.lead-form button[type="submit"] { margin-top: var(--space-2); }
.lead-form button[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-noscript { margin: 0; font-size: var(--fs-300); color: var(--slate); }

.form-status:empty { display: none; }
.form-status {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  line-height: 1.5;
}
.form-status.is-error { background: #FDECEA; color: #7A1A14; border: 1px solid #F3B8B2; }
.form-status.is-success { background: #E6F5EC; color: #0B4F2D; border: 1px solid #A8D9BB; }
.form-status.is-info { background: var(--mist); color: var(--navy-900); border: 1px solid var(--line); }
.form-status a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 var(--space-6);
  background: var(--navy-950);
  color: #BFCCD7;
  font-size: var(--fs-300);
}
.footer-bar {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--thermal-gradient);
}
.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr 1fr; } }

.footer-brand img { width: auto; height: 60px; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 22rem; }
.on-dark a.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.on-dark a.footer-phone .icon { color: var(--ember-500); }
.on-dark a.footer-phone:hover { color: var(--cyan-400); }

.footer-heading {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-400) !important;
}
.footer-col address { line-height: 1.8; }
.footer-col address strong { color: var(--white); }
.footer-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-4);
  color: var(--white);
  font-weight: 600;
}
.footer-hours .icon { color: var(--cyan-400); }
.footer-links { list-style: none; display: grid; gap: 2px; }
.on-dark .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #D5E0E8;
  text-decoration: none;
}
.on-dark .footer-links a:hover { color: var(--cyan-400); text-decoration: underline; }

.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-dark);
}
.copyright { color: #D5E0E8; margin-bottom: var(--space-4); }
.disclaimer {
  max-width: 62rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #A9B8C4;
}

/* ---------- Mobile floating call button ---------- */
.mobile-call {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 18, 31, 0.35);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-call:hover, .mobile-call:focus-visible { color: var(--color-cta-text); background: var(--color-cta-bg-hover); }
.mobile-call:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.mobile-call.is-hidden {
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 1023.98px) {
  :root { --mobile-call-h: calc(52px + 24px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) {
  .mobile-call { display: none; }
}

/* ---------- Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .why-card:hover, .service-card:hover, .header-call:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-call, .map, .map-links, .skip-link, .nav-toggle { display: none !important; }
  .hero, .on-dark, .section-contact, .site-footer { background: #fff !important; color: #000 !important; }
  .on-dark h1, .on-dark h2, .on-dark h3 { color: #000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Keep phone numbers on one line */
.tel-num { white-space: nowrap; }

/* Narrow phones (320–399px): keep call buttons on one tidy line */
@media (max-width: 399.98px) {
  .btn-lg { font-size: 1rem; padding-inline: 1rem; gap: 0.45em; }
  .btn { padding-inline: 1rem; }
}

/* About glance card: two rows on small phones so the phone number never clips */
@media (max-width: 479.98px) {
  .about-media { padding-bottom: 5.5rem; }
  .glance-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-card > div:last-child {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
}
