/* ==========================================================================
   RAPTOR GARAGE DOORS — site styles (v2: light layout, logo palette)
   Palette sampled from the logo: charcoal/black, raptor red, chrome silver,
   sunset gold. Light sections alternate white / pale grey; dark sections
   (top bar, hero, footer) use the logo's charcoal. Gold is an accent only on
   dark backgrounds (it does not meet contrast on white).
   Type: Barlow Condensed (headings) + Inter (body).
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f3f4f6;
  --surface-2: #e9ebee;
  --line: #dde1e6;
  --line-strong: #aab1b9;
  --steel: #454c55;          /* body text */
  --steel-bright: #14171a;   /* headings */
  --ink: #1c2025;
  --muted: #5a626b;
  --red: #c8202c;
  --red-dark: #a3161f;
  --ember: #a3161f;          /* links on light */
  --gold: #e0a04f;
  --focus: #1a5fd0;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --maxw: 1200px;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 10px 30px -12px rgba(20, 23, 26, 0.28);
}

/* Dark scope: every dark band re-points the same variables, so inline
   styles that use var(--steel) etc. stay readable on dark backgrounds. */
.on-dark, .topbar, .hero, .hero-home, .site-footer, .cta-band {
  --bg: #14171a;
  --surface: #1e2227;
  --surface-2: #272c32;
  --line: #343a42;
  --line-strong: #7b838c;
  --steel: #c9cfd5;
  --steel-bright: #ffffff;
  --ink: #f2f3f4;
  --muted: #a3abb4;
  --ember: var(--gold);
  color: var(--steel);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--red); }
.on-dark a:hover, .topbar a:hover, .hero a:hover, .hero-home a:hover, .site-footer a:hover { color: #fff; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: #fff; color: #14171a; padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { left: 8px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--steel-bright);
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { max-width: 66ch; color: var(--steel); margin: 0 0 1em; }
p.lead { font-size: 1.12rem; max-width: 60ch; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--steel-bright); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.hero .btn-ghost:hover, .hero-home .btn-ghost:hover, .cta-band .btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-light { background: #fff; color: #14171a; }
.btn-light:hover { background: #f0f1f3; color: #14171a; }
.btn-sm { padding: 8px 16px; font-size: 0.98rem; }
.btn-block { width: 100%; }
.btn svg { flex-shrink: 0; }

/* -------------------------------------------------------------------- */
/* Top bar + header                                                      */
/* -------------------------------------------------------------------- */
.topbar { background: #14171a; font-size: 0.88rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar-msg { color: #c9cfd5; margin: 0; max-width: none; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.topbar .phone-link { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; }
.topbar .phone-link:hover { color: var(--gold); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(20, 23, 26, 0.06);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--steel-bright); }
.brand:hover { color: var(--steel-bright); }
.brand img { border-radius: 50%; background: #0b0c0e; flex-shrink: 0; }
.brand .brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1; letter-spacing: .02em;
  color: var(--steel-bright);
}
.brand .brand-name span { color: var(--red); }
.site-footer .brand .brand-name { color: #fff; }

nav.main-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
nav.main-nav a.nav-link {
  display: inline-block; padding: 10px 13px;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
nav.main-nav a.nav-link:hover, nav.main-nav a.nav-link[aria-current="page"] { color: var(--red); background: var(--surface); }

.has-mega { position: relative; }
.mega-panel {
  position: absolute; top: 100%; left: -40px;
  min-width: 640px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
  padding: 18px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px 22px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.mega-panel.cols-3 { grid-template-columns: 1fr 1fr 1fr; min-width: 720px; }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { display: grid; }
.mega-panel .mega-label {
  grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--steel-bright); border-bottom: 1px solid var(--line); padding: 4px 6px 6px; margin-top: 6px;
}
.mega-panel .mega-label:first-child { margin-top: 0; }
.mega-panel a { display: block; color: var(--ink); font-size: 0.92rem; padding: 6px 6px; border-radius: 4px; }
.mega-panel a:hover { background: var(--surface); color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 6px;
  color: var(--steel-bright); font-size: 1.4rem; line-height: 1; padding: 6px 12px; cursor: pointer;
}

/* -------------------------------------------------------------------- */
/* Breadcrumbs                                                           */
/* -------------------------------------------------------------------- */
.breadcrumb-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumbs { font-size: 0.84rem; color: var(--muted); padding: 10px 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }

/* -------------------------------------------------------------------- */
/* Sections                                                              */
/* -------------------------------------------------------------------- */
section { padding: 68px 0; }
.panel-seam { display: none; }
main > section:not(.hero):not(.hero-home):not(.cta-band):nth-of-type(even) { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.eyebrow-line {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; color: var(--red);
  margin-bottom: 8px;
}
.hero .eyebrow-line, .hero-home .eyebrow-line { color: var(--gold); }

/* Inner-page title band */
.hero {
  background:
    radial-gradient(900px 300px at 85% -40%, rgba(200,32,44,0.30), transparent 70%),
    linear-gradient(180deg, #1b1f24, #14171a);
  border-bottom: 4px solid var(--red);
  padding: 48px 0 44px !important;
}
.hero h1 { max-width: 20ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 0; }

/* -------------------------------------------------------------------- */
/* Home hero + estimate card                                             */
/* -------------------------------------------------------------------- */
.hero-home {
  background:
    radial-gradient(800px 420px at 8% -10%, rgba(200,32,44,0.32), transparent 65%),
    radial-gradient(700px 400px at 100% 110%, rgba(224,160,79,0.16), transparent 60%),
    linear-gradient(180deg, #1b1f24, #14171a);
  padding: 56px 0 64px;
  border-bottom: 4px solid var(--red);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .03em;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.22);
}
.badge.hot { background: var(--red); border-color: var(--red); }
.hero-bullets { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; max-width: 520px; }
.hero-bullets li { display: flex; gap: 8px; align-items: center; color: #e6e9ec; font-size: 0.98rem; }
.hero-bullets svg { color: var(--gold); flex-shrink: 0; }
.hero-stats {
  display: flex; gap: 12px 30px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px;
}
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.hero-stats .stat:nth-child(odd) b { color: var(--gold); }
.hero-stats .stat span { font-size: 0.82rem; color: var(--muted); }

.estimate-card {
  --bg: #fff; --surface: #f3f4f6; --line: #dde1e6; --line-strong: #aab1b9;
  --steel: #454c55; --steel-bright: #14171a; --ink: #1c2025; --muted: #5a626b; --ember: #a3161f;
  background: #fff; color: var(--steel);
  border-radius: 12px; padding: 28px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7);
  border-top: 5px solid var(--red);
}
.estimate-card h2 { font-size: 1.9rem; margin-bottom: 4px; color: #14171a; }
.estimate-card > p { font-size: 0.92rem; margin-bottom: 16px; color: #454c55; }

/* -------------------------------------------------------------------- */
/* Forms                                                                 */
/* -------------------------------------------------------------------- */
.form-grid { display: grid; gap: 14px; max-width: 620px; }
.form-grid label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--steel-bright); margin-bottom: 5px; }
.form-grid input, .form-grid select, .form-grid textarea, .filter-input {
  width: 100%;
  background: #fff; color: #1c2025;
  border: 1px solid #aab1b9;
  padding: 11px 13px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.97rem;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus, .filter-input:focus { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.consent input { width: auto; margin-top: 3px; }
.hp-field { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 0; }
.form-status { font-size: 0.92rem; font-weight: 600; min-height: 1.2em; margin: 0; }

/* -------------------------------------------------------------------- */
/* Trust / presence tiles                                                */
/* -------------------------------------------------------------------- */
.presence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.presence-tile {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; color: var(--steel-bright);
}
.presence-tile:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--steel-bright); }
.presence-tile .pi { width: 44px; height: 44px; border-radius: 50%; background: #14171a; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.presence-tile b { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; }
.presence-tile span { font-size: 0.82rem; color: var(--muted); }

/* -------------------------------------------------------------------- */
/* Service cards                                                         */
/* -------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid #14171a;
  border-radius: var(--radius); padding: 24px;
  color: var(--steel);
}
.svc-card:hover { border-top-color: var(--red); box-shadow: var(--shadow); color: var(--steel); }
.svc-card .ico { width: 46px; height: 46px; border-radius: 10px; background: rgba(200,32,44,0.09); color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.svc-card h3 { margin-bottom: 6px; }
.svc-card p { font-size: 0.95rem; flex: 1; }
.svc-card .more { font-weight: 600; color: var(--red); font-size: 0.92rem; }
.section-foot { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Photo cards */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #14171a; aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(10,11,13,0.9), transparent);
  color: #fff; font-size: 0.86rem; padding: 34px 14px 12px; line-height: 1.35;
}

/* Brands */
.brand-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; }
.brand-strip .brand-chip { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #6b737c; letter-spacing: .02em; }
.brand-intro { margin: 0 0 18px; }

/* Why choose us */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 4px 0; }
.feature .ico { width: 52px; height: 52px; border-radius: 50%; background: #14171a; color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: 0.95rem; }

/* Process */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.process-step .step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 12px;
}
.process-step h3 { margin-bottom: 6px; }
.process-step p { font-size: 0.95rem; margin: 0; }

/* Reviews call-to-action */
.review-box {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red);
  border-radius: var(--radius); padding: 34px;
}
.review-actions { display: grid; gap: 12px; }
.review-btn {
  display: flex; align-items: center; gap: 12px;
  border: 2px solid #14171a; border-radius: var(--radius-sm);
  padding: 12px 16px; color: #14171a; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  background: #fff;
}
.review-btn:hover { background: #14171a; color: #fff; }
.review-btn .rb-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.review-stars { color: #c98a2b; letter-spacing: 3px; font-size: 1.3rem; margin-bottom: 6px; }

/* Service area */
.area-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.area-group h3 { border-bottom: 2px solid var(--red); display: inline-block; padding-bottom: 4px; margin-bottom: 14px; }
.area-chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.area-chip {
  border: 1px solid var(--line-strong); color: var(--ink); background: #fff;
  padding: 7px 14px; border-radius: 999px; font-size: 0.9rem;
}
.area-chip:hover { border-color: var(--red); color: var(--red); }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #e9ebee; }
.map-frame iframe { display: block; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 0 20px; max-width: 880px; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--steel-bright); padding: 16px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 16px; }

/* Guide / blog cards, generic tiles */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; border-top: 4px solid #14171a; }
.tile:hover { border-top-color: var(--red); box-shadow: var(--shadow); }
.tile a { color: var(--steel-bright); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; display: block; }
.tile a:hover { color: var(--red); }
.tile p { font-size: 0.9rem; margin: 8px 0 0; }
.tile .tag { font-size: 0.78rem; font-weight: 600; color: var(--red); margin-bottom: 6px; display: block; }

/* Inner-page layouts */
.services-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.why-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center; }
.featured-service { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); padding: 28px; border-radius: var(--radius); }
.featured-service ul { padding-left: 18px; color: var(--steel); }
.service-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: none; }
.service-list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: var(--steel-bright); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.service-list a:hover { color: var(--red); background: var(--surface); }
.service-list .arrow { color: var(--red); }
.stat-block { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.stat-block .stat b { font-family: var(--font-display); font-size: 2.3rem; color: var(--red); display: block; line-height: 1.1; }
.stat-block .stat span { color: var(--muted); font-size: 0.9rem; }
.quote-list { display: grid; }
.pill { display: inline-block; border: 1px solid var(--line); color: var(--steel); font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.mt-0 { margin-top: 0; }
.text-muted { color: var(--muted); }

/* Closing CTA */
.cta-band {
  background: linear-gradient(110deg, var(--red-dark), var(--red));
  padding: 48px 0 !important;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #14171a; border-color: #14171a; }
.cta-band .btn-primary:hover { background: #000; }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */
.site-footer { background: #14171a; border-top: 5px solid var(--red); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-grid h4 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b5bcc4; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: #b5bcc4; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social-row a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #4a5159; border-radius: 50%; color: #d7dce1; }
.social-row.on-light a { border-color: #aab1b9; color: #14171a; }
.social-row a:hover { border-color: var(--red); background: var(--red); color: #fff; }
.footer-reviews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #343a42; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: #98a1ab; }
.footer-bottom a { color: #b5bcc4; }

/* -------------------------------------------------------------------- */
/* Mobile call bar + chat assistant                                      */
/* -------------------------------------------------------------------- */
.mobile-bar { display: none; }
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; border: none; cursor: pointer;
  padding: 14px 20px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  box-shadow: 0 12px 28px -8px rgba(200,32,44,0.6);
}
.chat-launcher:hover { background: var(--red-dark); }
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  width: 380px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55);
  display: none; flex-direction: column;
  border: 1px solid var(--line);
}
.chat-panel.open { display: flex; }
.chat-head { background: #14171a; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 4px solid var(--red); }
.chat-head img { border-radius: 50%; }
.chat-head b { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.chat-head span { font-size: 0.78rem; color: #b5bcc4; }
.chat-close { margin-left: auto; background: none; border: none; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; background: #f3f4f6; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 0.93rem; line-height: 1.5; color: #1c2025; white-space: pre-wrap; }
.msg.bot { background: #fff; border: 1px solid #dde1e6; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--red); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--red); font-weight: 600; text-decoration: underline; }
.msg.user a { color: #fff; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; background: #f3f4f6; }
.chat-chip { border: 1px solid #aab1b9; background: #fff; color: #1c2025; border-radius: 999px; padding: 6px 12px; font-size: 0.82rem; cursor: pointer; font-family: var(--font-body); }
.chat-chip:hover { border-color: var(--red); color: var(--red); }
.chat-input { display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; border: 1px solid #aab1b9; border-radius: 999px; padding: 10px 14px; font-size: 0.93rem; font-family: var(--font-body); color: #1c2025; }
.chat-input button { background: var(--red); color: #fff; border: none; border-radius: 999px; padding: 0 18px; font-weight: 600; cursor: pointer; font-family: var(--font-display); font-size: 1.05rem; }
.chat-foot { font-size: 0.72rem; color: #5a626b; background: #fff; padding: 0 14px 10px; text-align: center; }
.chat-lead { background: #fff; border: 1px solid #dde1e6; border-radius: 12px; padding: 12px; align-self: stretch; display: grid; gap: 8px; }
.chat-lead input, .chat-lead textarea { width: 100%; border: 1px solid #aab1b9; border-radius: 6px; padding: 8px 10px; font-family: var(--font-body); font-size: 0.9rem; color: #1c2025; }
.chat-lead .consent { color: #5a626b; }

/* -------------------------------------------------------------------- */
/* Responsive                                                            */
/* -------------------------------------------------------------------- */
@media (max-width: 1020px) {
  nav.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 16px; }
  nav.main-nav.is-open { display: block; }
  nav.main-nav > ul { flex-direction: column; }
  nav.main-nav a.nav-link { display: block; padding: 12px 10px; }
  .mega-panel { display: none !important; }
  .nav-toggle { display: block; }
  .header-cta .phone-link-head { display: none; }
  .hero-grid, .services-layout, .why-layout, .review-box { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .process-row, .presence-grid, .photo-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-groups { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  section { padding: 48px 0; }
  .topbar-msg { display: none; }
  .topbar-row { justify-content: center; }
  .svc-grid, .feature-grid, .process-row, .presence-grid, .photo-strip, .footer-grid, .hero-bullets, .form-row-2 { grid-template-columns: 1fr; }
  .brand .brand-name { font-size: 1.25rem; }
  .header-cta .btn { display: none; }
  .estimate-card { padding: 20px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    background: #14171a; border-top: 3px solid var(--red);
  }
  .mobile-bar a { color: #fff; text-align: center; padding: 12px 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; border-right: 1px solid #343a42; }
  .mobile-bar a:last-child { border-right: none; background: var(--red); }
  body { padding-bottom: 54px; }
  .chat-launcher { bottom: 68px; right: 12px; padding: 12px 16px; }
  .chat-panel { right: 12px; bottom: 64px; height: calc(100vh - 90px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-card img { transition: none; }
}

/* additions */
.topbar-mail { color: #c9cfd5; font-size: 0.88rem; }
.chat-panel[hidden] { display: none; }
.footer-reviews .btn { gap: 6px; }
.btn-light svg { color: #c98a2b; }
.form-status.ok { color: #1b7a3a; }
.form-status.err { color: #b3261e; }
.presence-tile > span:last-child span { display: block; }
.mega-panel.cols-3 { max-height: 70vh; overflow-y: auto; }
@media (max-width: 1020px) { .topbar-mail { display: none; } }
nav.main-nav a.nav-link { white-space: nowrap; padding: 10px 10px; }
.brand .brand-name { white-space: nowrap; font-size: 1.4rem; }
.header-row { gap: 14px; }
.header-cta .btn { white-space: nowrap; }
@media (max-width: 1180px) { nav.main-nav a.nav-link { padding: 10px 7px; font-size: .9rem; } }

/* ratings, reviews, header phone */
.rating-link { color: #fff; font-size: .86rem; white-space: nowrap; }
.rating-link .stars, .stars { color: var(--gold); letter-spacing: 1px; }
.rating-link:hover { color: var(--gold); }
.topbar-actions { flex-wrap: wrap; }
.header-phone { white-space: nowrap; }
.rating-row { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 8px; }
.reviews-cta .rating-link { color: var(--steel-bright); font-size: 1rem; }
.reviews-cta .rating-link .stars { color: #c98a2b; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review-card p { font-size: .94rem; margin: 6px 0 8px; }
.rc-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--steel-bright); }
.rc-src { font-size: .78rem; color: var(--muted); font-weight: 500; }
.rc-date { font-size: .78rem; color: var(--muted); }
.footer-label { width: 100%; font-size: .82rem; color: #b5bcc4; }
@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 1020px) { .review-grid { grid-template-columns: 1fr 1fr; } .topbar-msg { font-size: .8rem; } }
@media (max-width: 680px) { .review-grid { grid-template-columns: 1fr; } .topbar-msg { display: block !important; font-size: .78rem; text-align: center; } .topbar-actions { display: none; } .topbar-row { justify-content: center; } }

.topbar-msg { white-space: nowrap; }
.topbar-actions { gap: 8px 18px; }
@media (max-width: 1480px) { .header-phone { display: none; } }
