/* Southern Standard Fire & Life Safety */
/* Fonts: self-hosted (SIL Open Font License, see /assets/fonts/OFL-LICENSE.txt) */
@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:800;font-display:swap;src:url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2")}
:root {
  --ink: #151515;
  --charcoal: #202327;
  --slate: #42464a;
  --steel: #6b7076;
  --silver: #d6d7d8;
  --mist: #f3f3f2;
  --paper: #ffffff;
  --red: #c9332d;
  --red-dark: #a8261f;
  --orange: #ed7626;
  --green: #24683f;
  --radius: 6px;
  --wrap: 1160px;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--charcoal); background: var(--paper); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; color: var(--ink); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .6em; }
.lede { font-size: 1.2rem; color: var(--slate); max-width: 40em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 1.5em; border-radius: var(--radius); font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 44px; font-size: 1rem; padding: 0 1.1em; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dark .btn-ghost { color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21,21,21,.97); color: #fff; border-bottom: 3px solid var(--red); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; }
.brand-sub { font-family: var(--display); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--orange); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--silver); text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--orange); }
.site-nav .btn { color: #fff; }
.nav-phone { color: #fff !important; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 2px solid var(--slate); color: #fff; border-radius: var(--radius); min-height: 44px; padding: 0 14px; font: 600 1rem var(--body); align-items: center; gap: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 3px solid var(--red); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid #2c2f33; font-size: 1.1rem; }
  .site-nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* sections */
section { padding: 80px 0; }
.dark { background: var(--ink); color: var(--silver); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lede { color: var(--silver); }
.dark .eyebrow { color: var(--orange); }
.dark a:not(.btn) { color: #fff; }
.mist { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 44px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background:
  linear-gradient(115deg, rgba(201,51,45,.16) 0 18%, transparent 18% 100%),
  radial-gradient(1200px 500px at 85% -10%, #2a2d31 0%, var(--ink) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--orange); display: block; }
.hero .lede { font-size: 1.25rem; }
.hero-points { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-weight: 600; }
.hero-points svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--orange); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0 64px; } }

/* hero with video */
.hero-video { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; padding: 88px 0; background-color: var(--ink); background-image: url("/assets/img/hero-poster.jpg"); background-image: image-set(url("/assets/img/hero-poster.webp") type("image/webp"), url("/assets/img/hero-poster.jpg") type("image/jpeg")); background-position: right center; background-size: cover; background-repeat: no-repeat; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,21,21,.94) 0%, rgba(21,21,21,.82) 38%, rgba(21,21,21,.25) 72%, rgba(21,21,21,.1) 100%); }
.hero-video .wrap { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 620px; }
.hero-video h1 span { color: var(--orange); display: block; }
.hero-video .lede { font-size: 1.25rem; color: #e4e5e6; }
@media (max-width: 760px) {
  .hero-video { min-height: 0; padding: 56px 0 64px; background-position: 70% center; }
  .hero-video video { object-position: 70% center; }
  .hero-video::after { background: linear-gradient(180deg, rgba(21,21,21,.78) 0%, rgba(21,21,21,.9) 100%); }
}

/* phone mock (door history) */
.phone { width: min(330px, 100%); margin: 0 auto; background: #0c0c0c; border-radius: 34px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 2px #2f3236; }
.phone-screen { background: var(--paper); color: var(--charcoal); border-radius: 24px; overflow: hidden; font-size: 14px; line-height: 1.4; }
.ph-top { background: var(--ink); color: #fff; padding: 16px 16px 14px; }
.ph-top .ph-id { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; }
.ph-top .ph-loc { color: var(--silver); font-size: .88rem; }
.ph-status { display: flex; align-items: center; gap: 8px; margin: 12px 14px 4px; padding: 10px 12px; border-radius: 8px; background: #e7f3ec; color: var(--green); font-weight: 700; }
.ph-status svg { width: 18px; height: 18px; }
.ph-tl { list-style: none; margin: 8px 14px 16px; padding: 0 0 0 16px; border-left: 2px solid var(--silver); }
.ph-tl li { position: relative; padding: 8px 0 8px 8px; }
.ph-tl li::before { content: ""; position: absolute; left: -23px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--steel); border: 2px solid #fff; }
.ph-tl li.ok::before { background: var(--green); }
.ph-tl li.bad::before { background: var(--red); }
.ph-tl li.fix::before { background: var(--orange); }
.ph-tl strong { display: block; color: var(--ink); }
.ph-tl span { color: var(--steel); font-size: .84rem; }

/* cards & grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid #e3e3e1; border-top: 4px solid var(--red); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 14px; }
.dark .card { background: #1d2023; border-color: #2c2f33; border-top-color: var(--orange); color: var(--silver); }
.dark .icon { color: var(--orange); }

/* process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid #e3e3e1; border-radius: var(--radius); overflow: hidden; }
.step { padding: 32px 28px; background: var(--paper); position: relative; }
.step + .step { border-left: 1px solid #e3e3e1; }
.step-word { font-family: var(--display); font-weight: 800; font-size: 2.2rem; text-transform: uppercase; color: var(--red); line-height: 1; margin-bottom: .3em; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 38px; width: 20px; height: 20px; background: var(--paper); border-top: 1px solid #e3e3e1; border-right: 1px solid #e3e3e1; transform: rotate(45deg); z-index: 1; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid #e3e3e1; } .step:not(:last-child)::after { display: none; } }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 3px; }
.dark .checks svg { color: var(--orange); }

/* facility types */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 2px solid var(--charcoal); border-radius: 999px; padding: 8px 18px; font-weight: 600; }

/* counties */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.county-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.county-list li { padding: 12px 14px; background: var(--paper); border-left: 4px solid var(--red); font-weight: 600; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* credentials strip */
.creds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.creds li { background: #1d2023; border: 1px solid #2c2f33; border-radius: var(--radius); padding: 16px 18px; color: #fff; font-weight: 600; line-height: 1.35; }
.creds li span { display: block; color: var(--silver); font-weight: 400; font-size: .92rem; margin-top: 4px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 3rem; color: var(--red); line-height: 1; }
.dark .stat strong { color: var(--orange); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* faq */
.faq details { border-bottom: 1px solid #dcdcda; padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 12px; height: 12px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details p { color: var(--slate); max-width: 52em; }

/* cta band */
.cta-band { background: var(--red); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { margin-top: 1em; }
.cta-band .btn-white { background: #fff; color: var(--red-dark); }
.cta-band .btn-white:hover { background: var(--ink); color: #fff; }
.cta-band .btn-ghost { color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--red-dark); border-color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-inner p { margin: 0; font-size: 1.15rem; max-width: 34em; }

/* page hero */
.page-hero { padding: 64px 0 56px; background: radial-gradient(900px 400px at 90% -20%, #2a2d31 0%, var(--ink) 65%); }
.crumbs { font-size: .92rem; margin-bottom: 14px; }
.crumbs a { color: var(--silver) !important; }

/* services detail */
.service { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid #e3e3e1; scroll-margin-top: 90px; }
.service:first-of-type { border-top: 0; }
.service h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 10px; } }

/* door history demo */
.notice { background: #fff6ec; border: 1px solid #f3c79f; border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 14px 18px; color: var(--charcoal); margin-bottom: 28px; }
.door-card { border: 1px solid #e3e3e1; border-radius: var(--radius); overflow: hidden; background: #fff; }
.door-head { background: var(--ink); color: #fff; padding: 24px 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.door-head .ph-id { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: .04em; line-height: 1; }
.door-head p { margin: 4px 0 0; color: var(--silver); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; background: #e7f3ec; color: var(--green); }
.badge svg { width: 18px; height: 18px; }
.door-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #e3e3e1; }
.door-facts div { padding: 16px 20px; border-right: 1px solid #e3e3e1; }
.door-facts div:last-child { border-right: 0; }
.door-facts dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.door-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
@media (max-width: 700px) { .door-facts { grid-template-columns: 1fr 1fr; } .door-facts div:nth-child(2) { border-right: 0; } .door-facts div:nth-child(-n+2) { border-bottom: 1px solid #e3e3e1; } }
.timeline { list-style: none; margin: 0; padding: 26px 26px 10px 54px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px; background: var(--silver); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--steel); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--silver); }
.timeline li.ok::before { background: var(--green); }
.timeline li.bad::before { background: var(--red); }
.timeline li.fix::before { background: var(--orange); }
.timeline time { font-size: .9rem; color: var(--steel); font-weight: 600; }
.timeline h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--slate); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.tag-ok { background: #e7f3ec; color: var(--green); }
.tag-bad { background: #fbe9e8; color: var(--red-dark); }
.tag-fix { background: #fdeee2; color: #9a4610; }

/* form */
.form-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid #e3e3e1; border-top: 4px solid var(--red); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--red); }
.hint { font-weight: 400; color: var(--steel); font-size: .92rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=month], select, textarea { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 2px solid #c9cac9; border-radius: var(--radius); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--charcoal); outline: none; box-shadow: 0 0 0 3px rgba(237,118,38,.35); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (max-width: 600px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: center; font-weight: 600; min-height: 44px; margin: 0; }
.checkbox input { width: 22px; height: 22px; accent-color: var(--red); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .9rem; color: var(--steel); margin-top: 14px; }
.side-box { background: var(--mist); border-radius: var(--radius); padding: 26px; }
.side-box h2 { font-size: 1.6rem; }
.side-box + .side-box { margin-top: 18px; }
.big-phone { font-family: var(--display); font-weight: 800; font-size: 2rem; text-decoration: none; color: var(--ink); }

/* prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* footer */
.site-footer { background: var(--ink); color: var(--silver); padding: 64px 0 0; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 150px; }
.footer-tag { margin-top: 14px; color: #fff; font-weight: 600; }
.footer-h { font-size: 1.1rem; color: #fff; letter-spacing: .1em; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: var(--silver); text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid #2c2f33; margin-top: 44px; padding: 22px 20px 26px; font-size: .92rem; }
.footer-base p { margin: 0 0 6px; }
.footer-base a { color: var(--silver); }
.credit { color: #9a9fa5; font-size: .86rem; }
.credit a { color: #9a9fa5 !important; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
