/* ===================================================
   Safety Shine Maintenance
   Post Construction Cleaning Services
   style.css – color-matched to logo palette
   Navy #0b2a4a | Gold #f4b400 | Gray #6b7280
   =================================================== */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #1e2a38; background: #fff; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CSS VARIABLES ── */
:root {
  --navy:    #0b2a4a;
  --navy-dk: #071e35;
  --navy-md: #103d6a;
  --blue2:   #1a4a7a;
  --gold:    #f4b400;
  --gold-lt: #f7c933;
  --gold-dk: #c99200;
  --gray:    #6b7280;
  --gray1:   #f8fafc;
  --gray2:   #e2e8f0;
  --gray3:   #94a3b8;
  --text:    #1e2a38;
  --muted:   #4a5a70;
  --white:   #ffffff;
  --radius:  6px;
  --shadow:  0 2px 14px rgba(11,42,74,.10);
  --transition: .2s ease;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(1.8rem,4vw,2.9rem); }
h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--muted); margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue2);
  margin-bottom: 10px;
}
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; letter-spacing: .3px;
  cursor: pointer; border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold   { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-navy   { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue2); }
.btn-outline { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

/* ── HEADER / NAV ── */
header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.nav-topbar {
  background: var(--navy-dk);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 100px;
}

/* ── LOGO – HEADER ── */
.site-logo-link {
  display: flex; align-items: center; flex-shrink: 0;
  line-height: 0; text-decoration: none;
}
.site-logo {
  height: 90px; width: auto;
  object-fit: contain; object-position: left center;
  display: block;
  /* white background strip so navy logo shows on dark header */
  background: var(--white);
  border-radius: 6px;
  padding: 4px 8px;
}

/* ── LOGO – FOOTER ── */
.footer-logo {
  height: 50px; width: auto;
  object-fit: contain; object-position: left center;
  display: block;
  background: var(--white);
  border-radius: 4px;
  padding: 3px 6px;
}

/* ── NAV MENU ── */
.nav-menu { display: flex; gap: 6px; align-items: center; }
.nav-menu a {
  color: #b8c9df; font-size: .875rem; font-weight: 600;
  padding: 8px 12px; border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: var(--radius) !important;
  font-weight: 800 !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 55%, var(--navy-md) 100%);
  color: var(--white); padding: 90px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Crect x='0' y='0' width='2' height='2'/%3E%3Crect x='40' y='40' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,180,0,.15); border: 1px solid rgba(244,180,0,.45);
  color: var(--gold-lt); font-size: .78rem; font-weight: 700; letter-spacing: 2px;
  padding: 5px 14px; border-radius: 2px; margin-bottom: 20px; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem,4.5vw,3.2rem); color: var(--white); margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: #90aace; max-width: 600px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.hero-stat span   { font-size: .82rem; color: #6a8aaa; letter-spacing: .5px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(130deg, var(--navy-dk), var(--navy), var(--navy-md));
  color: var(--white); padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: #90aace; font-size: 1.05rem; max-width: 640px; }
.page-hero .hero-badge { margin-bottom: 16px; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--blue2); padding: 14px 0; }
.trust-bar-inner {
  display: flex; gap: 32px; flex-wrap: wrap;
  align-items: center; justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-size: .85rem; font-weight: 600; letter-spacing: .4px;
}
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray2); box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(11,42,74,.14); transform: translateY(-3px); }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.card h3   { color: var(--navy); margin-bottom: 8px; }
.card p    { font-size: .9rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto    { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 20px; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 12px; }

/* ── SECTION BG ── */
.bg-gray  { background: var(--gray1); }
.bg-navy  { background: var(--navy); }
.bg-navy h2 { color: var(--white); }
.bg-navy .section-label { color: var(--gold); }
.bg-navy p { color: #8aaccc; }

/* ── PROCESS STEPS ── */
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; margin: 0 auto 16px;
}
.step { text-align: center; }
.step h3 { color: var(--white); margin-bottom: 10px; }

/* ── CHECKLIST ── */
.checklist { list-style: none; margin: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--gray2);
  font-size: .93rem; color: var(--muted);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✔'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── TESTIMONIALS ── */
.testi-card { position: relative; }
.testi-card::before { content: '\201C'; position: absolute; top: 10px; right: 20px; font-size: 4rem; color: var(--gray2); font-family: Georgia,serif; line-height: 1; }
.stars { color: var(--gold); margin-bottom: 10px; font-size: 1rem; }
.testi-card blockquote { font-size: .94rem; color: var(--text); font-style: italic; margin-bottom: 14px; }
.testi-author { font-weight: 700; font-size: .85rem; color: var(--navy); }
.testi-role   { font-size: .78rem; color: var(--gray3); }

/* ── FORM ── */
.form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow);
}
.form-card h3 { color: var(--navy); margin-bottom: 22px; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 700; color: var(--muted);
  letter-spacing: .5px; margin-bottom: 5px; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; border: 1px solid var(--gray2); border-radius: var(--radius);
  padding: 10px 14px; font-size: .95rem; color: var(--text);
  font-family: inherit; outline: none; background: var(--gray1);
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .76rem; color: var(--gray3); text-align: center; margin-top: 10px; }

/* ── SIDEBAR ── */
.sidebar-card {
  background: var(--gray1); border-radius: var(--radius);
  border: 1px solid var(--gray2); padding: 26px 22px; margin-bottom: 20px;
}
.sidebar-card h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.1rem; }
.sidebar-cta {
  display: block; background: var(--gold); color: var(--navy);
  text-align: center; font-weight: 800; padding: 12px 18px;
  border-radius: var(--radius); margin-bottom: 10px;
  transition: background var(--transition);
}
.sidebar-cta:hover { background: var(--gold-lt); }
.sidebar-phone {
  display: block; border: 2px solid var(--navy); color: var(--navy);
  text-align: center; font-weight: 700; padding: 10px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.sidebar-phone:hover { background: var(--navy); color: var(--white); }
.link-list li { padding: 7px 0; border-bottom: 1px solid var(--gray2); }
.link-list li:last-child { border-bottom: none; }
.link-list a { font-size: .9rem; color: var(--blue2); font-weight: 600; }
.link-list a:hover { color: var(--gold-dk); text-decoration: underline; }

/* ── CITY PILLS ── */
.city-pill {
  display: block; background: var(--white); border: 1px solid var(--gray2);
  border-radius: var(--radius); padding: 11px 14px;
  text-align: center; font-size: .86rem; font-weight: 600; color: var(--navy);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.city-pill:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── COUNTY HEADING ── */
.county-heading {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  letter-spacing: .5px; border-left: 4px solid var(--gold);
  padding-left: 12px; margin: 32px 0 14px;
}

/* ── BREADCRUMB ── */
.breadcrumb { font-size: .8rem; color: var(--gray3); margin-bottom: 20px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: #eef4ff; border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; margin: 24px 0;
}
.highlight-box p { color: var(--text); font-size: .94rem; margin: 0; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--gray2); padding: 20px 0; }
.faq-q { font-weight: 700; color: var(--navy); font-size: 1rem; cursor: pointer; }
.faq-a { font-size: .93rem; color: var(--muted); margin-top: 10px; line-height: 1.7; }

/* ── INDUSTRY BADGE ── */
.industry-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gray1); border: 1px solid var(--gray2);
  border-radius: 20px; padding: 6px 14px;
  font-size: .82rem; font-weight: 700; color: var(--navy);
}

/* ── CONTENT LAYOUT ── */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.content-area h2 { margin: 36px 0 14px; }
.content-area h2:first-child { margin-top: 0; }
.content-area h3 { color: var(--navy); margin: 24px 0 10px; }
.content-area p  { font-size: .98rem; }
.content-area ul { margin: 12px 0 16px 0; }
.content-area ul li { font-size: .96rem; color: var(--muted); padding: 5px 0 5px 20px; position: relative; }
.content-area ul li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); }
.sticky-sidebar { position: sticky; top: 120px; }

/* ── FOOTER ── */
footer { background: #040f1e; color: #5a7898; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
footer h4 { color: var(--white); font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
footer ul li { margin-bottom: 8px; }
footer ul li a { font-size: .86rem; color: #5a7898; transition: color var(--transition); }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #0b2a4a; padding-top: 24px;
  text-align: center; font-size: .78rem; color: #2a4060;
}

/* ── LOGO (text fallback, legacy) ── */
.logo {
  font-size: 1.25rem; font-weight: 800; color: var(--white);
  letter-spacing: .5px; white-space: nowrap;
}
.logo span { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-wrap { height: 80px; }
  .site-logo { height: 65px; padding: 3px 6px; }
  .nav-menu {
    display: none; position: absolute; top: 106px; left: 0; right: 0;
    background: var(--navy); padding: 16px; flex-direction: column; gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 24px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; top: auto; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 52px 0; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Skip link — visually hidden until keyboard focus (no layout impact) */
.skip-link{position:absolute;left:-9999px;top:0;z-index:10000;background:#f4b400;color:#0b2a4a;
  padding:10px 18px;font-weight:700;text-decoration:none;border-radius:0 0 6px 0;}
.skip-link:focus{left:0;}
#main-content:focus{outline:none;}


/* ==========================================================================
   PHASE 2 - LEAD QUALIFICATION COMPONENTS (additive; nothing above changed)
   ========================================================================== */
[hidden] { display: none !important; }

/* ==========================================================================
   RESPONSIVE + CONTRAST FIXES (Oklahoma build)
   ========================================================================== */

/* Contact page layout. The inherited markup carried this as an INLINE
   grid-template-columns declaration, which no media query can override, so
   the sidebar never collapsed and the page overflowed horizontally on every
   phone viewport. It now lives here as a class so it can collapse. Desktop
   rendering is unchanged. */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   WCAG AA CONTRAST — inherited palette corrections
   --------------------------------------------------------------------------
   Measured with a headless browser across 15 templates x 3 widths. Every
   value below FAILED WCAG AA in the inherited design system and is corrected
   here. Only text color changes: no layout, spacing, weight, size, font or
   structural change, so the design reads identically.

   Rationale and the cross-site implications are documented in build_site.py
   and in the certification report, NOT here: this comment ships inside
   public_html, and production assets should not name other properties.

     --gray3  #94a3b8 on white  2.56:1 -> #5b6b7f  4.6:1   (form help, notes)
     footer link  #5a7898 on #040f1e  4.19:1 -> #7fa3c9  6.2:1
     footer body  #4a5a70 on #040f1e  2.74:1 -> #93a6bd  7.0:1
     copyright    #2a4060 on #040f1e  1.83:1 -> #7d8fa6  5.3:1
     sidebar note #6a8aaa on #0b2a4a  4.04:1 -> #93b4d4  6.6:1
     muted-blue   #8aaccc on white    2.37:1 -> #4a6480  5.3:1
   ========================================================================== */
:root { --gray3: #5b6b7f; }

/* The footer element itself carries color:#5a7898 (4.19:1 on #040f1e) and
   its body text inherits #4a5a70 (2.74:1). Both fail AA. Raised here on the
   element selector, which is where the inherited rule lives, so descendants
   inherit the corrected value. */
footer { color: #93a6bd; }
/* `footer ul li a` in the inherited sheet has specificity 0,0,4 and sets
   #5a7898 (4.19:1). Matching that specificity is required to win. */
footer ul li a { color: #a9c6e4; }
footer a { color: #a9c6e4; }
footer p, footer li, footer div, footer span { color: #93a6bd; }
/* .footer-bottom sets #2a4060 (1.83:1) on the same element. */
.footer-bottom, .footer-copy { color: #93a6bd; }
.sidebar-card p[style*="6a8aaa"],
.contact-direct-note { color: #93b4d4; }
/* `.bg-navy p` sets #8aaccc. That is correct for text sitting DIRECTLY on the
   navy band, but wrong for text inside a light-backgrounded component nested
   within that band — white cards, the quote form, highlight boxes. Those
   inherited the light color against a white background and measured 2.37:1.
   Scoping by the light container (specificity 0,0,2,1) beats `.bg-navy p`
   without touching text that really is on navy, which stays light. */
.bg-navy .card p,
.bg-navy .card li,
.bg-navy .card span,
.bg-navy .sidebar-card p,
.bg-navy .sidebar-card li,
.bg-navy .highlight-box p,
.bg-navy .highlight-box li,
.bg-navy .form-card p,
.bg-navy .form-intro,
.form-intro { color: var(--muted); }

/* Collapse the two inherited inline layouts converted in build_static.py. */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-2 > * { min-width: 0; }
.about-visual {
  background: linear-gradient(135deg,#0a1828,#1a4fa0);
  border-radius: 8px; height: 360px; display: flex; align-items: center;
  justify-content: center; text-align: center; color: #fff; min-width: 0;
}
@media (max-width: 768px) { .about-visual { height: 260px; } }
.stat-row { margin-top: 24px; display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) {
  .split-2 { grid-template-columns: 1fr; gap: 32px; }
  .split-2 > * { min-width: 0; }
  .stat-row { gap: 18px; }
}

/* NOTE ON .btn-outline — DO NOT "FIX" THIS.
   A first pass at this build flagged .btn-outline as white-on-white and
   overrode it to navy. That was wrong twice over. The flag was a false
   positive: the detector walked up the DOM looking for a background COLOR
   and skipped .hero, whose background is an IMAGE (a navy gradient), landing
   on the white <body>. White text on the hero is correct and always was.
   The override then made the button navy-on-navy inside .bg-navy sections —
   an actual 1.0:1 regression, caught by the same contrast test. The
   inherited rule is correct: every .btn-outline in this build sits on a dark
   context (.hero gradient or .bg-navy). Leave it alone. If a .btn-outline is
   ever placed on a light background, scope a light-context variant rather
   than changing the default. */

.qualify-box { background: #f3f7ff; border-left-color: var(--navy); }
.qualify-box h3 { font-size: 1.02rem; margin: 0 0 10px; color: var(--navy); }
.qualify-box h4 { font-size: .82rem; margin: 0 0 8px; color: var(--navy);
                  text-transform: uppercase; letter-spacing: .4px; }
.qualify-box p { margin: 0 0 10px; }
.qualify-box p:last-child { margin-bottom: 0; }
.qualify-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
.qualify-cols ul { margin: 0; padding: 0; list-style: none; }
.qualify-cols li { font-size: .88rem; line-height: 1.7; padding-left: 22px;
                   position: relative; color: var(--text); }
.qualify-cols .checklist li::before { content: "\2713"; position: absolute; left: 0;
                                      color: #1a7f4b; font-weight: 700; }
.qualify-cols .crosslist li::before { content: "\2014"; position: absolute; left: 0;
                                      color: var(--gray3); font-weight: 700; }
@media (max-width: 640px) { .qualify-cols { grid-template-columns: 1fr; gap: 14px; } }

.hero-qualify { display: block; margin-top: 20px; padding: 12px 16px;
                background: rgba(255,255,255,.07); border: 1px solid rgba(244,180,0,.4);
                border-radius: var(--radius); font-size: .86rem; line-height: 1.65;
                color: #cfe0f2; max-width: 660px; }
.hero-qualify strong { color: #f4b400; display: block; font-size: .72rem;
                       letter-spacing: .7px; text-transform: uppercase; margin-bottom: 5px; }

.hero-note { display: block; margin-top: 10px; font-size: .82rem; line-height: 1.55;
             color: #f4b400; font-weight: 600; letter-spacing: .2px; }
.page-hero .hero-note { color: #f4b400; }

.form-intro { font-size: .85rem; color: var(--gray3); line-height: 1.65;
              margin: -4px 0 16px; }
.field-help { display: block; font-size: .76rem; color: var(--gray3); margin-top: 5px; }

.homeowner-notice { background: #fff8e6; border: 1px solid #f0d089;
                    border-radius: var(--radius); padding: 16px 18px; margin: 0 0 18px; }
.homeowner-notice h4 { margin: 0 0 8px; font-size: .95rem; color: var(--navy); }
.homeowner-notice p { margin: 0; font-size: .88rem; line-height: 1.7; color: var(--text); }
.homeowner-notice p + p { margin-top: 10px; }
.homeowner-notice-alt { font-weight: 600; }
.homeowner-notice:focus { outline: 3px solid var(--navy); outline-offset: 2px; }

.footer-qualify { font-size: .8rem; line-height: 1.65; color: #7d9ab8;
                  border-left: 2px solid rgba(244,180,0,.5); padding-left: 10px;
                  margin: 0 0 16px; }

/* Phone CTAs never render as a bare number: the qualifier sits above it. */
.cta-qualifier, .nav-cta-qualifier, .sidebar-qualifier {
  display: block; font-size: .66rem; letter-spacing: .5px; text-transform: uppercase;
  opacity: .85; font-weight: 700; line-height: 1.3; }
.cta-number, .nav-cta-number { display: block; }
#mobile-call-btn .mcta-q { display: block; font-size: .62rem; letter-spacing: .5px;
                           text-transform: uppercase; opacity: .8; line-height: 1.2; }
#mobile-call-btn .mcta-n { display: block; font-size: .95rem; line-height: 1.3; }
@media (max-width: 340px) {
  #mobile-call-btn { padding: 9px 16px; font-size: .88rem; }
  #mobile-call-btn .mcta-n { font-size: .88rem; }
}
/* Header top bar: the phone must never wrap or shrink. Below 560px the
   marketing tagline yields its space so the qualifier + number stay on one
   line at 320px. */
.topbar-phone { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.topbar-phone-q { font-size: .72rem; color: #93b4d4; letter-spacing: .4px; text-transform: uppercase; }
.topbar-phone-n { font-size: .82rem; font-weight: 700; color: #f4b400; letter-spacing: .3px; white-space: nowrap; }
@media (max-width: 560px) {
  .topbar-tagline { display: none; }
  .nav-topbar .container { justify-content: center !important; }
}
@media (max-width: 380px) {
  .topbar-phone { flex-direction: column; align-items: center; gap: 0; line-height: 1.25; }
  .topbar-phone-q { font-size: .62rem; }
}
/* ==========================================================================
   HOMEPAGE HERO - decorative overlay must not intercept clicks
   --------------------------------------------------------------------------
   .hero::before is a full-bleed decorative texture: position:absolute,
   inset:0, no z-index. Per CSS painting order a positioned descendant paints
   above in-flow, non-positioned content, so it sat on top of .hero > .container
   and every element inside it - including the hero CTAs. With the default
   pointer-events:auto it became the hit-test target, so clicking "Request a
   Project Quote" hit the overlay and nothing happened.

   The stylesheet's own answer to this was .hero-inner { position:relative;
   z-index:1 }, but the homepage hero markup uses .container, not .hero-inner,
   so the content was never lifted above the overlay.

   Verified with Chromium: document.elementFromPoint() at the button's center,
   left, right and text areas returned SECTION.hero (the ::before's originating
   element) instead of the anchor.

   Fix: the decorative layer stops receiving pointer events. This is the
   smallest correct change - it alters no geometry, no color, no stacking and
   no paint order, so the hero looks pixel-identical. No z-index is touched.
   ========================================================================== */
.hero::before { pointer-events: none; }

/* ==========================================================================
   CONTACT PAGE - "Call or Email Directly" dark panel (COLORS ONLY)
   The card sits on var(--navy). The default anchor color and .sidebar-phone
   (which is navy text) are both near-invisible against it. These rules set
   text/link colors for every state and change nothing about the card's
   layout, padding, size or position.
   Contrast vs #0b2a4a: gold #f4b400 ~7.9:1, white ~14.5:1, note #b8cfe6 ~9.1:1
   - all above WCAG AA (4.5:1).
   ========================================================================== */
.contact-direct-card h3 { color: #ffffff; }
.contact-direct-card a[href^="tel:"],
.contact-direct-card a[href^="tel:"]:visited,
.contact-direct-card a[href^="tel:"]:active { color: var(--navy); }
.contact-direct-card a[href^="tel:"]:hover,
.contact-direct-card a[href^="tel:"]:focus { color: var(--navy); }
.contact-direct-card a[href^="mailto:"],
.contact-direct-card a[href^="mailto:"]:visited,
.contact-direct-card a[href^="mailto:"]:active {
  color: #ffffff; border-color: rgba(255,255,255,.55);
}
.contact-direct-card a[href^="mailto:"]:hover,
.contact-direct-card a[href^="mailto:"]:focus {
  background: #ffffff; color: var(--navy); border-color: #ffffff;
}
.contact-direct-card a[href^="mailto:"] { overflow-wrap: anywhere; }
.contact-direct-card a:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.contact-direct-note {
  font-size: .8rem; line-height: 1.6; color: #b8cfe6;
  text-align: center; margin-top: 12px;
}

.sidebar-phone-block { text-align: center; margin: 10px 0; }
.sidebar-qualifier { color: var(--gray3); margin-bottom: 3px; }
@media (max-width: 480px) { .cta-qualifier, .nav-cta-qualifier { font-size: .6rem; } }
