/* =========================================================================
   DALTON ROOFING — DESIGN SYSTEM  (Candidate C: "Commercial Authority")
   =========================================================================
   Shared stylesheet for the whole site. Subpages (services/cities/blog) are
   generated onto this same shell — keep class names semantic & stable.

   TOKENS ..................... :root custom properties (color/type/space)
   RESET / BASE ................ box-sizing, body, headings, links, img
   LAYOUT UTILITIES ............ .wrap, .grid-*, .flex-*, spacing utils
   BUTTONS ..................... .btn, .btn-primary/outline/ghost/teal
   TOPBAR + HEADER ............. .topbar, .site-header, .main-nav, dropdowns
   HERO ........................ .hero (video, home) + .page-hero (photo, sub)
   LEAD CARD / FORM ............ .lead-card, .lead-form, Turnstile, states
   TRUST STRIP .................. .trust-strip
   SECTION SCAFFOLD ............ .section, .section-head, .eyebrow, .section-title
   CARDS / GRIDS ................ .services-grid, .service-card, .icon-tile
   COMMERCIAL FEATURE BAND ..... .feature-band (dark, video/photo split)
   GALLERY ...................... .gallery-grid
   REVIEWS ...................... .reviews-strip, .review-card
   SERVICE AREA ................. .area-section, .area-grid, .map-frame
   FINANCING STRIP .............. .financing-strip
   FAQ ........................... .faq-list (native details/summary)
   CTA BAND ...................... .cta-band
   FOOTER ........................ .site-footer
   BLOG ARTICLE TYPOGRAPHY ....... .article, .article-body
   UTILITIES ..................... .visually-hidden, .disclosure, misc
   ========================================================================= */

:root{
  /* brand */
  --navy: #0B1220;
  --navy-2: #121B2C;
  --navy-3: #1B2740;
  --charcoal: #1A1F26;
  --red: #8E1B1B;
  --red-dark: #6e1515;
  --red-bright: #B23A2E;
  --teal: #1F6E8C;
  --teal-dark: #175a73;
  --gold: #D9A441;

  /* neutrals */
  --white: #ffffff;
  --paper: #F7F5F1;
  --paper-2: #EFEBE4;
  --ink: #14181F;
  --muted: #5B6472;
  --muted-on-dark: #A9B3C4;
  --line: rgba(20,24,31,0.10);
  --line-on-dark: rgba(255,255,255,0.14);

  /* type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* misc */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11,18,32,0.08);
  --shadow-md: 0 10px 30px rgba(11,18,32,0.16);
  --shadow-lg: 0 24px 60px rgba(11,18,32,0.28);
  --header-h: 84px;
}

/* ---------- RESET / BASE ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
a{ color:var(--teal); text-decoration:none; }
p a, .article-body a, li a.text-link{ text-decoration:underline; text-underline-offset:2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible{
  outline:3px solid var(--gold); outline-offset:2px;
}
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--charcoal); margin:0 0 .5em; line-height:1.15; font-weight:700; }
h1{ font-size:clamp(2.1rem,4.6vw,3.4rem); }
h2{ font-size:clamp(1.7rem,3vw,2.4rem); }
h3{ font-size:1.25rem; }
main{ display:block; }
ul{ margin:0; padding:0; list-style:none; }
.visually-hidden{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- LAYOUT ---------- */
.wrap{ width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:center; }
@media (max-width:860px){ .grid-2{ grid-template-columns:1fr; } }

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.9rem 1.6rem; border-radius:var(--radius-sm); font-weight:600; font-size:.98rem;
  border:2px solid transparent; transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration:none; white-space:nowrap;
}
.btn-primary{ background:var(--red); color:var(--white); border-color:var(--red); }
.btn-primary:hover{ background:var(--red-dark); border-color:var(--red-dark); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-teal{ background:var(--teal); color:var(--white); border-color:var(--teal); }
.btn-teal:hover{ background:var(--teal-dark); border-color:var(--teal-dark); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,0.55); }
.btn-outline:hover{ background:rgba(255,255,255,0.12); }
.btn-outline-dark{ background:transparent; color:var(--charcoal); border-color:var(--charcoal); }
.btn-outline-dark:hover{ background:var(--charcoal); color:var(--white); }
.btn-block{ width:100%; }
.btn-lg{ padding:1.05rem 2rem; font-size:1.05rem; }

/* ---------- TOPBAR ---------- */
.topbar{ background:var(--navy); color:var(--muted-on-dark); font-size:.85rem; border-bottom:1px solid var(--line-on-dark); }
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; padding-top:.5rem; padding-bottom:.5rem; gap:1rem; flex-wrap:wrap; }
.topbar strong{ color:var(--white); }
.topbar a{ color:var(--white); font-weight:600; }
.topbar .lang-note{ opacity:.85; }

/* ---------- HEADER / NAV ---------- */
.site-header{
  position:sticky; top:0; z-index:200; background:var(--white);
  border-bottom:1px solid var(--line); box-shadow:0 1px 0 rgba(11,18,32,0.03);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:.7rem 24px; min-height:var(--header-h); }
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand img{ height:52px; width:auto; }
.brand .name{ display:block; font-family:var(--font-display); font-weight:700; font-size:1.15rem; color:var(--charcoal); }
.brand .tag{ display:block; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }

.main-nav{ display:flex; align-items:center; gap:1.35rem; flex-wrap:nowrap; }
.main-nav > li{ position:relative; }
.main-nav a{ color:var(--charcoal); font-weight:600; font-size:.95rem; display:flex; align-items:center; gap:.3rem; padding:.5rem 0; white-space:nowrap; }
.main-nav a:hover, .main-nav a:focus-visible{ color:var(--red); }
.main-nav .caret{ font-size:.6rem; margin-top:2px; }

.dropdown{ position:absolute; top:100%; left:-1rem; min-width:240px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-md); padding:.6rem; opacity:0; visibility:hidden; transform:translateY(6px); transition:opacity .15s ease, transform .15s ease, visibility .15s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ display:block; padding:.55rem .7rem; border-radius:var(--radius-sm); font-weight:500; font-size:.92rem; }
.dropdown a:hover{ background:var(--paper); color:var(--red); }
.dropdown.areas-grid{ column-count:2; column-gap:.5rem; min-width:380px; }

.header-actions{ display:flex; align-items:center; gap:1rem; flex:none; }
.call-btn{ display:flex; align-items:center; gap:.5rem; font-weight:700; color:var(--charcoal); font-size:1rem; white-space:nowrap; flex:none; }
.call-btn svg{ width:19px; height:19px; stroke:var(--red); flex:none; }
.call-btn-text{ white-space:nowrap; }

.menu-toggle{ display:none; background:none; border:0; width:40px; height:34px; padding:0; flex-direction:column; justify-content:center; gap:6px; }
.menu-toggle span{ display:block; width:26px; height:2.5px; background:var(--charcoal); border-radius:2px; }

.mobile-nav{ display:none; background:var(--white); border-top:1px solid var(--line); padding:1rem 24px 1.5rem; }
.mobile-nav a{ display:block; padding:.75rem 0; color:var(--charcoal); font-weight:600; border-bottom:1px solid var(--line); }
.mobile-nav .sub-label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); padding-top:1rem; }

@media (max-width:1020px){
  .main-nav, .header-actions .call-btn-text{ display:none; }
  .menu-toggle{ display:flex; }
  body.nav-open .mobile-nav{ display:block; }
}
@media (max-width:480px){
  .brand{ gap:.5rem; }
  .brand img{ height:38px; }
  .brand .tag{ display:none; }
  .brand .name{ font-size:.92rem; white-space:nowrap; }
  .nav-row{ padding:.6rem 16px; gap:.6rem; }
  .header-actions{ gap:.6rem; }
}

/* ---------- HERO (home: video) ---------- */
.hero{ position:relative; background:var(--navy); color:var(--white); overflow:hidden; min-height:min(92vh,860px); display:flex; align-items:center; }
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media video, .hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-scrim{ position:absolute; inset:0; z-index:1; background:linear-gradient(100deg, rgba(6,10,18,0.92) 0%, rgba(6,10,18,0.78) 38%, rgba(6,10,18,0.55) 65%, rgba(6,10,18,0.75) 100%); }
.hero-scrim::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:38%; background:linear-gradient(to top, rgba(6,10,18,0.9), rgba(6,10,18,0)); }
.hero-inner{ position:relative; z-index:2; width:100%; padding:5.5rem 0 4rem; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:3rem; align-items:start; }

.hero-badge{ display:inline-flex; align-items:center; gap:.5rem; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.25); color:var(--white); font-size:.82rem; font-weight:600; padding:.4rem .9rem; border-radius:999px; margin-bottom:1.2rem; }
.hero-badge .dot{ width:7px; height:7px; border-radius:50%; background:var(--red-bright); }
.hero h1{ color:var(--white); margin-bottom:1rem; }
.hero h1 .accent{ color:var(--red-bright); }
.hero-sub{ font-size:1.15rem; color:rgba(255,255,255,0.86); max-width:46ch; margin-bottom:1.8rem; }
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2rem; }
.hero-points{ display:flex; flex-wrap:wrap; gap:1.4rem; }
.hero-points li{ display:flex; align-items:center; gap:.5rem; font-size:.92rem; color:rgba(255,255,255,0.85); }
.hero-points svg{ width:16px; height:16px; stroke:var(--gold); flex:none; }
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-inner{ padding-top:1.4rem; padding-bottom:2.5rem; }
  .hero-grid > div:nth-child(2){ order:-1; }
  .hero-badge{ display:none; }
  .hero-points{ display:none; }
}

/* page-hero: photo hero for subpages (services/cities/blog) */
.page-hero{ position:relative; background:var(--navy); color:var(--white); min-height:340px; display:flex; align-items:flex-end; overflow:hidden; }
.page-hero .hero-media img{ width:100%; height:100%; object-fit:cover; }
.page-hero .hero-scrim{ background:linear-gradient(180deg, rgba(6,10,18,0.55) 0%, rgba(6,10,18,0.86) 100%); }
.page-hero-inner{ position:relative; z-index:2; padding:3rem 0 2.4rem; width:100%; }
.breadcrumb{ font-size:.85rem; color:rgba(255,255,255,0.75); margin-bottom:.9rem; }
.breadcrumb a{ color:rgba(255,255,255,0.85); text-decoration:underline; }
.page-hero h1{ color:var(--white); max-width:34ch; }
.page-hero .direct-answer{ max-width:62ch; color:rgba(255,255,255,0.88); font-size:1.05rem; margin-top:.6rem; }

/* ---------- LEAD CARD / FORM ---------- */
.lead-card{ position:relative; background:rgba(18,27,44,0.72); backdrop-filter:blur(14px) saturate(140%); -webkit-backdrop-filter:blur(14px) saturate(140%); border:1px solid rgba(255,255,255,0.22); border-radius:var(--radius-lg); padding:1.9rem; box-shadow:var(--shadow-lg); }
/* Solid dark scrim behind the card content, independent of whatever frame the
   autoplaying hero video is showing underneath — keeps placeholder/label
   contrast stable instead of riding the video's live brightness. */
.lead-card::before{ content:""; position:absolute; inset:0; background:rgba(8,12,20,0.35); border-radius:inherit; pointer-events:none; z-index:0; }
.lead-card > *{ position:relative; z-index:1; }
.lead-card.light{ background:var(--white); border:1px solid var(--line); }
.lead-card-head{ margin-bottom:1.1rem; }
.lead-card-head h2{ color:var(--white); font-size:1.35rem; margin-bottom:.25rem; }
.lead-card.light .lead-card-head h2{ color:var(--charcoal); }
.lead-card-head p{ color:rgba(255,255,255,0.78); font-size:.92rem; margin:0; }
.lead-card.light .lead-card-head p{ color:var(--muted); }

.audience-toggle{ display:flex; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.2); border-radius:999px; padding:4px; margin-bottom:1.1rem; }
.audience-toggle button{ flex:1; border:0; background:transparent; color:rgba(255,255,255,0.75); font-weight:600; font-size:.85rem; padding:.55rem .5rem; border-radius:999px; transition:background .15s,color .15s; }
.audience-toggle button.active{ background:var(--red); color:var(--white); }

.lead-form .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:.8rem; }
.lead-form label{ display:block; font-size:.78rem; font-weight:600; color:rgba(255,255,255,0.8); margin-bottom:.3rem; text-transform:uppercase; letter-spacing:.03em; }
.lead-card.light .lead-form label{ color:var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea{
  width:100%; padding:.75rem .85rem; border-radius:var(--radius-sm); border:1px solid rgba(255,255,255,0.28);
  background:rgba(255,255,255,0.06); color:var(--white); font-size:.95rem; margin-bottom:.85rem; font-family:inherit;
}
.lead-form input::placeholder, .lead-form textarea::placeholder{ color:rgba(255,255,255,0.62); }
.lead-card.light .lead-form input, .lead-card.light .lead-form select, .lead-card.light .lead-form textarea{
  background:var(--white); border-color:var(--line); color:var(--ink);
}
.lead-form select option{ color:var(--ink); }
.lead-form .hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.lead-form .consent{ font-size:.76rem; color:rgba(255,255,255,0.65); margin:.4rem 0 1rem; }
.lead-card.light .lead-form .consent{ color:var(--muted); }
.lead-form .consent a{ color:inherit; text-decoration:underline; }
.form-status{ margin-top:.9rem; padding:.75rem .9rem; border-radius:var(--radius-sm); font-size:.9rem; display:none; }
.form-status.show{ display:block; }
.form-status.success{ background:rgba(31,110,140,0.18); border:1px solid var(--teal); color:#bfe6f2; }
.form-status.error{ background:rgba(142,27,27,0.22); border:1px solid var(--red-bright); color:#ffd7d2; }
.lead-card.light .form-status.success{ color:var(--teal-dark); }
.lead-card.light .form-status.error{ color:var(--red-dark); }
@media (max-width:520px){ .lead-form .form-row{ grid-template-columns:1fr; } }

/* ---------- TRUST STRIP ---------- */
.trust-strip{ background:var(--charcoal); border-top:3px solid var(--red); padding:1.1rem 0; }
.trust-strip ul{ display:flex; flex-wrap:wrap; gap:1.6rem 2.2rem; justify-content:center; }
.trust-strip li{ display:flex; align-items:center; gap:.55rem; color:rgba(255,255,255,0.92); font-size:.92rem; font-weight:600; }
.trust-strip svg{ width:18px; height:18px; stroke:var(--gold); flex:none; }

/* ---------- SECTION SCAFFOLD ---------- */
.section{ padding:4.5rem 0; }
.section.tight{ padding:3rem 0; }
.section.on-paper-2{ background:var(--paper-2); }
.section.on-dark{ background:var(--navy); color:var(--white); }
.section.on-dark h2{ color:var(--white); }
.section.on-dark .section-head p{ color:rgba(255,255,255,0.75); }
.section-head{ max-width:680px; margin:0 auto 2.6rem; text-align:center; }
.section-head.left{ margin-left:0; text-align:left; }
.eyebrow{ display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--red); margin-bottom:.6rem; }
.section.on-dark .eyebrow, .feature-band .eyebrow{ color:var(--gold); }
.section-head p{ color:var(--muted); font-size:1.05rem; }

/* ---------- SERVICES GRID ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
@media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease; display:flex; flex-direction:column; }
.service-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.service-card .thumb{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.service-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.service-card .body{ padding:1.2rem 1.3rem 1.4rem; flex:1; display:flex; flex-direction:column; }
.service-card h3{ font-size:1.08rem; margin-bottom:.4rem; }
.service-card p{ color:var(--muted); font-size:.92rem; margin:0 0 1rem; flex:1; }
.service-card .card-link{ font-weight:700; font-size:.88rem; color:var(--red); display:inline-flex; align-items:center; gap:.35rem; }
.card-tag{ position:absolute; top:.7rem; left:.7rem; background:var(--red); color:var(--white); font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:.28rem .6rem; border-radius:999px; }
.card-idx{ display:block; font-family:var(--font-display); font-weight:700; font-size:.85rem; color:var(--red); letter-spacing:.03em; margin-bottom:.35rem; }

/* ---------- COMMERCIAL FEATURE BAND ---------- */
.feature-band{ background:var(--navy-2); color:var(--white); padding:5rem 0; position:relative; border-top:1px solid var(--line-on-dark); border-bottom:1px solid var(--line-on-dark); }
.feature-grid{ display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
@media (max-width:900px){ .feature-grid{ grid-template-columns:1fr; } }
.feature-media{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:16/10; border:1px solid var(--line-on-dark); }
.feature-media video, .feature-media img{ width:100%; height:100%; object-fit:cover; }
.feature-list{ margin-top:1.3rem; display:grid; gap:.9rem; }
.feature-list li{ display:flex; gap:.7rem; align-items:flex-start; color:rgba(255,255,255,0.88); }
.feature-list svg{ width:20px; height:20px; stroke:var(--red-bright); flex:none; margin-top:2px; }
.feature-band h2{ color:var(--white); }
.feature-band p.lead-copy{ color:rgba(255,255,255,0.78); font-size:1.05rem; }

/* ---------- GALLERY ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:220px; gap:.8rem; }
.gallery-grid a{ position:relative; overflow:hidden; border-radius:var(--radius-md); display:block; }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.gallery-grid a:hover img{ transform:scale(1.06); }
.gallery-grid .tall{ grid-row:span 2; }
.gallery-cap{ position:absolute; left:0; right:0; bottom:0; padding:.6rem .8rem; background:linear-gradient(transparent, rgba(6,10,18,0.85)); color:var(--white); font-size:.8rem; font-weight:600; }
@media (max-width:760px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:170px; } .gallery-grid .tall{ grid-row:span 1; } }

/* ---------- REVIEWS ---------- */
.reviews-head{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; flex-wrap:wrap; margin-bottom:2.2rem; }
.rating-summary{ display:flex; align-items:center; gap:1rem; }
.rating-number{ font-family:var(--font-display); font-size:2.6rem; font-weight:700; color:var(--charcoal); }
.rating-stars{ color:var(--gold); font-size:1.1rem; letter-spacing:2px; }
.rating-summary small{ display:block; color:var(--muted); font-size:.85rem; }
.reviews-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
@media (max-width:900px){ .reviews-strip{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .reviews-strip{ grid-template-columns:1fr; } }
.review-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:1.5rem; box-shadow:var(--shadow-sm); }
.review-card .stars{ color:var(--gold); letter-spacing:2px; margin-bottom:.6rem; font-size:.95rem; }
.review-card p{ font-size:.94rem; color:var(--ink); margin:0 0 1rem; }
.review-attribution{ display:flex; align-items:center; gap:.7rem; }
.review-avatar{ width:36px; height:36px; border-radius:50%; background:var(--teal); color:var(--white); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.9rem; flex:none; }
.review-name{ font-weight:700; font-size:.9rem; color:var(--charcoal); display:block; }
.review-source{ font-size:.8rem; color:var(--muted); }
.reviews-cta{ text-align:center; margin-top:2.2rem; display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ---------- SERVICE AREA ---------- */
.area-layout{ display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
@media (max-width:900px){ .area-layout{ grid-template-columns:1fr; } }
.area-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:.6rem .5rem; }
.area-grid a{ display:flex; align-items:center; gap:.5rem; padding:.6rem .8rem; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm); color:var(--charcoal); font-weight:600; font-size:.92rem; }
.area-grid a:hover{ border-color:var(--red); color:var(--red); }
.area-grid svg{ width:15px; height:15px; stroke:var(--teal); flex:none; }
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); border:1px solid var(--line); aspect-ratio:4/3; }
.map-frame iframe{ width:100%; height:100%; border:0; }

/* ---------- FINANCING STRIP ---------- */
.financing-strip{ background:linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%); color:var(--white); padding:2.6rem 0; }
.financing-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; flex-wrap:wrap; }
.financing-inner h3{ color:var(--white); margin-bottom:.3rem; }
.financing-inner p{ color:rgba(255,255,255,0.88); margin:0; max-width:52ch; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:820px; margin:0 auto; display:grid; gap:.8rem; }
.faq-item{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:.3rem 1.3rem; }
.faq-item summary{ cursor:pointer; list-style:none; padding:1.1rem 2rem 1.1rem 0; font-weight:700; color:var(--charcoal); position:relative; font-size:1.02rem; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; position:absolute; right:0; top:1rem; font-size:1.4rem; color:var(--red); transition:transform .2s ease; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item .faq-answer{ padding:0 0 1.2rem; color:var(--muted); font-size:.96rem; }
.faq-more{ max-width:820px; margin:1.2rem auto 0; text-align:center; }
.faq-more a{ font-weight:700; color:var(--red); text-decoration:underline; text-underline-offset:.2em; }

/* ---------- CTA BAND ---------- */
.cta-band{ background:var(--navy); color:var(--white); padding:4rem 0; text-align:center; position:relative; border-top:3px solid var(--red); }
.cta-band h2{ color:var(--white); margin-bottom:.6rem; }
.cta-band p{ color:rgba(255,255,255,0.8); max-width:56ch; margin:0 auto 1.8rem; }
.cta-band .cta-actions{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ---------- MOBILE STICKY CTA BAR ---------- */
.mobile-cta-bar{ display:none; }
@media (max-width:760px){
  .mobile-cta-bar{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:250;
    box-shadow:0 -4px 18px rgba(11,18,32,0.18);
    padding-bottom:env(safe-area-inset-bottom,0);
    transition:transform .22s ease, opacity .22s ease;
  }
  /* Hidden while the hero's own lead form is on screen — the bar exists
     to cover the rest of the (long) page, not to sit on top of the form
     it duplicates. Defaults to visible if JS hasn't run yet. */
  .mobile-cta-bar.is-hidden{ transform:translateY(100%); opacity:0; visibility:hidden; pointer-events:none; }
  .mobile-cta-bar a{
    flex:1; display:flex; align-items:center; justify-content:center; gap:.4rem;
    padding:.95rem .5rem; font-weight:700; font-size:.92rem; text-decoration:none;
  }
  .mobile-cta-call{ background:var(--charcoal); color:var(--white); }
  .mobile-cta-call svg{ width:16px; height:16px; }
  .mobile-cta-form{ background:var(--red); color:var(--white); }
  body{ padding-bottom:56px; }
}

/* ---------- CHAT WIDGET GUARD ----------
   The GHL loader hydrates a <chat-widget> custom element with an OPEN
   shadow root — its launcher/greeting bubble lives inside that shadow
   DOM and is unreachable from page CSS. The actual fix (hide it while
   the hero lead form is on screen; offset it above the mobile CTA bar
   the rest of the time) runs in assets/main.js via the open shadowRoot. */

/* ---------- FOOTER ---------- */
.site-footer{ background:var(--charcoal); color:rgba(255,255,255,0.72); padding:3.5rem 0 1.6rem; font-size:.92rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.4rem; margin-bottom:2.4rem; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h3{ color:var(--white); font-family:var(--font-body); font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:1rem; }
.site-footer .brand-col img{ height:44px; margin-bottom:.9rem; }
.site-footer .brand-col p{ max-width:32ch; color:rgba(255,255,255,0.6); }
.site-footer ul li{ margin-bottom:.6rem; }
.site-footer a{ color:rgba(255,255,255,0.72); }
.site-footer a:hover{ color:var(--white); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.14); padding-top:1.4rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:.8rem; font-size:.82rem; color:rgba(255,255,255,0.55); }
.footer-disclosure{ font-size:.78rem; color:rgba(255,255,255,0.58); margin-top:.6rem; max-width:70ch; }
.footer-credit a{ color:rgba(255,255,255,0.7); text-decoration:underline; }

/* ---------- BLOG / ARTICLE TYPOGRAPHY ---------- */
.article{ max-width:760px; margin:0 auto; }
.article .updated{ font-size:.85rem; color:var(--muted); margin-bottom:1.5rem; }
.article-body h2{ margin-top:2.2rem; font-size:1.5rem; }
.article-body h3{ margin-top:1.6rem; }
.article-body p{ margin:0 0 1.2rem; font-size:1.03rem; color:#2b323c; }
.article-body .direct-answer{ background:var(--paper-2); border-left:4px solid var(--red); padding:1rem 1.3rem; border-radius:var(--radius-sm); font-weight:600; margin-bottom:1.6rem; }
.article-body ul, .article-body ol{ margin:0 0 1.2rem 1.4rem; list-style:disc; }
.article-body ol{ list-style:decimal; }
.article-body li{ margin-bottom:.5rem; }
.related-links{ background:var(--paper-2); border-radius:var(--radius-md); padding:1.6rem; margin-top:2.5rem; }
.related-links h4{ margin-bottom:.8rem; }
.related-links ul{ display:grid; gap:.5rem; }

/* ---------- MISC UTILITIES ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.container-narrow{ max-width:820px; margin:0 auto; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}
