/* ==========================================================================
   Emergency Roofing — global stylesheet
   Single stylesheet for every page. Driven by CSS custom properties in :root.
   Reuse the tokens below (var(--blue-600), var(--space-6), etc.) rather than
   hardcoding values.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — blue / slate */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Accent — emergency / urgency */
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --red-500:   #ef4444;
  --red-600:   #dc2626;
  --green-500: #22c55e;
  --green-600: #16a34a;

  --white: #ffffff;

  /* Semantic */
  --bg:          var(--white);
  --bg-alt:      var(--slate-50);
  --bg-dark:     var(--slate-900);
  --text:        var(--slate-800);
  --text-muted:  var(--slate-500);
  --text-invert: var(--white);
  --border:      var(--slate-200);
  --primary:     var(--blue-600);
  --primary-dark:var(--blue-700);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;

  /* Radii */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow:    0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.18);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
               Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --maxw: 1160px;
  --header-h: 76px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--slate-900);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 var(--space-4); }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--blue-700);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-4); text-decoration: none; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: var(--space-12); }
.section--tight { padding-block: var(--space-10); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--slate-200); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-8);
}
.section-head p { color: var(--text-muted); font-size: 1.075rem; margin-bottom: 0; }
.section--dark .section-head p { color: var(--slate-300); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: var(--space-3);
}
.section--dark .eyebrow { color: var(--blue-400); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease),
              box-shadow 0.15s var(--ease), color 0.15s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--blue-700); box-shadow: var(--shadow-md); }

.btn--call {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}
.btn--call:hover { background: var(--red-500); }

.btn--ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.btn--ghost:hover { background: var(--blue-50); border-color: var(--blue-400); }

.btn--light {
  background: var(--white);
  color: var(--blue-700);
}
.btn--light:hover { background: var(--blue-50); }

.btn--lg { font-size: 1.1rem; padding: 1.1rem 2rem; }
.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   Site header / nav
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 38px;
  padding-block: var(--space-2);
}
.topbar a { color: var(--blue-200); }
.topbar__list { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: inline-flex; align-items: center; gap: var(--space-2); }
.topbar__list svg { width: 1em; height: 1em; color: var(--blue-400); }
@media (max-width: 720px) {
  .topbar { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  color: var(--slate-900);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--blue-600);
  border-radius: 10px;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { line-height: 1.05; }
.brand__name small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a, .main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.main-nav a:hover, .main-nav .nav-link:hover {
  color: var(--blue-700);
  background: var(--blue-50);
  text-decoration: none;
}
.main-nav a[aria-current="page"] { color: var(--blue-700); }

/* Services dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle svg.caret { transition: transform 0.2s var(--ease); width: 0.9em; height: 0.9em; }
.has-dropdown.open .dropdown-toggle svg.caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { display: block; }
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  width: 100%;
}
.dropdown a strong { display: block; color: var(--slate-900); font-size: 0.95rem; }
.dropdown a span { display: block; color: var(--text-muted); font-size: 0.82rem; font-weight: 500; }
.dropdown a:hover strong { color: var(--blue-700); }
.dropdown .di {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 8px;
}
.dropdown .di svg { width: 20px; height: 20px; }

.header-cta { display: inline-flex; align-items: center; gap: var(--space-3); }

.nav-burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--slate-800);
}
.nav-burger svg { width: 24px; height: 24px; }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }

/* Mobile nav */
@media (max-width: 960px) {
  .nav-burger { display: inline-flex; }
  .header-cta .btn span.label-full { display: none; }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    margin: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: calc(var(--header-h) + var(--space-4)) var(--space-5) var(--space-8);
    transform: translateX(110%);
    transition: transform 0.25s var(--ease);
    overflow-y: auto;
    z-index: 90;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .main-nav > ul > li { width: 100%; }
  .main-nav a, .main-nav .nav-link { width: 100%; font-size: 1.05rem; padding: var(--space-3); }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin: var(--space-1) 0 var(--space-2) var(--space-3);
    min-width: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s var(--ease);
  }
  .has-dropdown.open .dropdown { max-height: 600px; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s;
    z-index: 80;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, var(--blue-100), transparent 60%),
    linear-gradient(180deg, var(--slate-50), var(--white));
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-12);
}
.hero__content { max-width: 600px; }
.hero h1 { margin-bottom: var(--space-5); }
.hero__lead { font-size: 1.2rem; color: var(--slate-600); margin-bottom: var(--space-6); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero__assurances li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
}
.hero__assurances svg { width: 1.15em; height: 1.15em; color: var(--green-600); flex: none; }

.hero__media {
  position: relative;
}
.hero__media .illus {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.badge-emergency {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--red-600);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
.badge-emergency .pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.8);
  animation: pulse 1.8s infinite var(--ease);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .badge-emergency .pulse { animation: none; }
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-block: var(--space-10); }
  .hero__media { order: -1; max-width: 480px; }
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--slate-900);
  color: var(--slate-200);
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-6);
  text-align: center;
}
.trust-stat .num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.trust-stat .lbl { font-size: 0.85rem; color: var(--slate-400); }
@media (max-width: 620px) {
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-4); }
}

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.service-card { display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.service-card .ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}
.service-card .ico svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: var(--space-2); }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }
.service-card .card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.service-card .card-link svg { width: 1em; height: 1em; transition: transform 0.15s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(3px); }

/* Feature / why-us items */
.feature { display: flex; gap: var(--space-4); }
.feature .ico {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--radius);
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: var(--space-1); }
.feature p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.section--dark .feature p { color: var(--slate-400); }

/* --------------------------------------------------------------------------
   Process / steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: var(--space-6); }
.step .step-num {
  counter-increment: step;
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow);
}
.step .step-num::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.section--dark .step p { color: var(--slate-400); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  padding: var(--space-5);
  cursor: pointer;
}
.faq-q:hover { color: var(--blue-700); }
.faq-q .chev {
  flex: none;
  width: 22px; height: 22px;
  color: var(--blue-600);
  transition: transform 0.25s var(--ease);
}
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a > div { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Contact / form / CTA
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); } }

.contact-list { list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.contact-list li { display: flex; gap: var(--space-4); margin-bottom: var(--space-5); }
.contact-list .ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: var(--radius);
}
.contact-list .ico svg { width: 24px; height: 24px; }
.contact-list strong { display: block; color: var(--slate-900); }
.contact-list a { color: var(--slate-700); }
.contact-list span { color: var(--text-muted); font-size: 0.92rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: var(--space-4); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 520px) { .form-grid-2 { grid-template-columns: 1fr; } }

label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: var(--space-2); color: var(--slate-700); }
label .req { color: var(--red-600); }

input, select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate-900);
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-100);
}
textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--space-3); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: var(--space-3);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; color: var(--green-600); }

.form-error {
  display: none;
  align-items: flex-start;
  gap: var(--space-3);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.form-error.show { display: flex; }
.form-error svg { width: 22px; height: 22px; flex: none; color: var(--red-600); }
.form-error a { color: inherit; text-decoration: underline; }

/* Honeypot — kept off-screen for humans, tempting for bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Big call-to-action band */
.cta-band {
  background:
    radial-gradient(800px 400px at 100% 0%, var(--blue-700), transparent 55%),
    linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, var(--space-10));
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--blue-100); font-size: 1.1rem; max-width: 560px; margin-inline: auto; margin-bottom: var(--space-6); }
.cta-band .hero__actions { justify-content: center; margin-bottom: 0; }
.cta-band .phone-xl {
  display: inline-block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.cta-band .phone-xl:hover { text-decoration: none; color: var(--amber-400); }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, var(--blue-100), transparent 60%),
    linear-gradient(180deg, var(--slate-50), var(--white));
  border-bottom: 1px solid var(--border);
}
.page-hero .container { padding-block: var(--space-10); }
.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero p { font-size: 1.15rem; color: var(--slate-600); max-width: 680px; margin-bottom: 0; }

.breadcrumb { margin-bottom: var(--space-5); font-size: 0.88rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; color: var(--slate-300); }
.breadcrumb a { color: var(--slate-600); font-weight: 600; }

/* Rich text / prose (legal + content pages) */
.prose { max-width: 800px; }
.prose h2 { margin-top: var(--space-8); }
.prose h3 { margin-top: var(--space-6); }
.prose p, .prose li { color: var(--slate-600); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: var(--space-2); }
.prose a { font-weight: 600; }
.prose .lede { font-size: 1.15rem; color: var(--slate-700); }

/* Two-column content (service pages) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--reverse .split__media { order: 0; }
}
.split__media .illus { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.checklist { list-style: none; padding: 0; margin: var(--space-5) 0; }
.checklist li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--slate-700);
}
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--green-600); margin-top: 2px; }

/* Aside / info box */
.callout {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.callout strong { color: var(--blue-800); }

/* Team / values */
.value-card .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}
.value-card .ico svg { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding-top: var(--space-10);
}
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { color: var(--white); margin-bottom: var(--space-4); }
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--space-3); font-size: 0.93rem; }

.footer-contact li { display: flex; gap: var(--space-3); margin-bottom: var(--space-3); font-size: 0.93rem; }
.footer-contact svg { width: 1.1em; height: 1.1em; color: var(--blue-400); flex: none; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-block: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom ul { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Floating mobile call button
   -------------------------------------------------------------------------- */
.floating-call {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 95;
  display: none;
  align-items: center;
  gap: var(--space-2);
  background: var(--red-600);
  color: var(--white);
  font-weight: 700;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.45);
}
.floating-call svg { width: 22px; height: 22px; }
.floating-call:hover { text-decoration: none; background: var(--red-500); }
@media (max-width: 720px) {
  .floating-call { display: inline-flex; }
  body { padding-bottom: 84px; }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Stagger helper */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* --------------------------------------------------------------------------
   Lead-form privacy consent (Google Ads / data-collection compliance)
   -------------------------------------------------------------------------- */
.form-consent {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: var(--space-3);
  margin-bottom: 0;
}
.form-consent a { font-weight: 600; }

/* --------------------------------------------------------------------------
   Cookie / consent banner (injected by js/script.js)
   -------------------------------------------------------------------------- */
.cookie-consent {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 200;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
  transform: translateY(150%);
  transition: transform 0.3s var(--ease);
}
.cookie-consent.is-visible { transform: translateY(0); }
.cookie-consent__text { flex: 1 1 280px; font-size: 0.9rem; line-height: 1.55; margin: 0; }
.cookie-consent__text a { font-weight: 600; }
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  flex: 0 0 auto;
}
.cookie-consent__actions .btn { padding: 0.65rem 1.1rem; font-size: 0.92rem; }
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: none; }
}
@media (max-width: 720px) {
  /* Sit above the floating call button on small screens */
  .cookie-consent { bottom: 88px; }
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__actions .btn { flex: 1 1 auto; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--slate-600); }
