/* Silver State Locksmith — site styles */
:root{
  --navy:#111c4e;
  --navy-2:#18265f;
  --steel:#4b5a72;
  --silver:#c9d2de;
  --bg:#f5f7fa;
  --white:#fff;
  --red:#c8151f;
  --red-dark:#a50f18;
  --red-light:#ff6b75;
  --link:#0a4f96;
  --ink:#1c2836;
  --body:#36414f;
  --line:#dfe5ec;
  --radius:12px;
  --shadow:0 2px 10px rgba(16,27,45,.08);
  --shadow-lg:0 10px 30px rgba(16,27,45,.16);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
/* anchored headings land clear of the sticky header */
h1,h2,h3,h4,section{scroll-margin-top:96px}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:var(--body);background:var(--bg);line-height:1.7;font-size:1.0rem}
img{max-width:100%;height:auto;display:block}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
/* Type scale: the condensed display face is for large headings only. At card
   size it reads as shouty and gets hard to parse, so h3-h6 use the text face.
   That contrast is what makes the hierarchy legible. */
h1,h2,h3,h4,h5,h6{color:var(--ink);text-wrap:balance}
h1,h2,.section-title,.display{font-family:'Bebas Neue',Impact,sans-serif;
  font-weight:400;letter-spacing:.02em;line-height:1.08}
h3,h4,h5,h6{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  font-weight:700;letter-spacing:-.011em;line-height:1.3}
.overline{font-family:'Inter',system-ui,sans-serif;font-weight:800;font-size:.78rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--red);margin-bottom:.6em}
.container{max-width:1200px;margin:0 auto;padding:0 22px}

/* accessibility */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--red);color:#fff;padding:10px 18px;font-weight:800;z-index:100;border-radius:0 0 8px 0}
.skip-link:focus{left:0;text-decoration:none}
:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.hero :focus-visible,.band-dark :focus-visible,.site-footer :focus-visible,.topbar :focus-visible,.cta-band :focus-visible,.call-card :focus-visible{outline-color:#ff8089}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* top bar */
.topbar{background:var(--navy);color:var(--silver);font-size:.85rem;padding:6px 0}
.topbar .container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.topbar a{color:var(--red-light)}
.topbar span{white-space:nowrap}
.topbar-contact{display:flex;gap:14px;flex-wrap:wrap;min-width:0}
.topbar-email{overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media(max-width:600px){.topbar-email{display:none}}

/* header */
.site-header{background:var(--white);position:sticky;top:0;z-index:50;box-shadow:var(--shadow)}
.site-header .container{display:flex;align-items:center;gap:28px;padding-top:10px;padding-bottom:10px}
.logo{flex:0 0 auto;line-height:0}
.logo img{width:230px;height:auto}
.nav{margin-left:auto;flex:0 1 auto}
.nav ul{list-style:none;display:flex;gap:4px;align-items:center}
.nav a{display:block;padding:10px 12px;color:var(--ink);font-weight:600;font-size:.92rem;border-radius:8px;white-space:nowrap}
.header-call{flex:0 0 auto}
.nav a:hover{background:var(--bg);text-decoration:none}
.nav li{position:relative}
.nav .sub{display:none;position:absolute;top:100%;left:0;background:var(--white);min-width:250px;box-shadow:var(--shadow-lg);border-radius:10px;padding:8px;max-height:70vh;overflow:auto}
.nav li:hover>.sub,.nav li:focus-within>.sub,.nav li.open>.sub{display:block}
.nav .sub a{padding:8px 12px;font-weight:500}
.btn{display:inline-block;background:var(--red);color:#fff;font-weight:800;padding:12px 22px;border-radius:10px;border:0;cursor:pointer;font-size:1rem;line-height:1.2}
.btn:hover{background:var(--red-dark);text-decoration:none}
.btn-ghost{background:transparent;border:2px solid var(--silver);color:var(--white)}
.btn-ghost:hover{background:rgba(255,255,255,.1)}
.header-call{white-space:nowrap}
.menu-toggle{display:none;background:none;border:0;font-size:1.7rem;cursor:pointer;color:var(--ink)}

/* hero */
.hero{background:var(--navy);color:var(--silver);padding:56px 0 0;
  position:relative;isolation:isolate}
/* the fleet photo as texture, knocked well back, then the navy wash over it */
.hero:not(.hero-home):before{content:"";position:absolute;inset:0;z-index:-2;
  background-image:var(--hero);background-size:cover;background-position:center 58%}
.hero:not(.hero-home):after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(120deg,rgba(17,28,78,.97) 0%,rgba(20,33,88,.93) 55%,rgba(28,45,112,.86) 100%)}
.hero:not(.hero-home)>.container{padding-bottom:52px}
.hero h1{color:var(--white);font-size:clamp(2.4rem,5.5vw,4rem);margin-bottom:.35em}
.hero .sub{font-size:1.12rem;max-width:800px;color:var(--silver)}
.hero .cta-row{margin-top:26px;display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hero .avail{font-size:.9rem;color:var(--red-light);font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}

/* home hero: fleet photo behind a scrim, phone as the primary action */
.hero-home{position:relative;padding:0;background:var(--navy);isolation:isolate}
.hero-home:before{content:"";position:absolute;inset:0;z-index:-2;
  background-image:var(--hero);background-size:cover;background-position:center 62%}
.hero-home:after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg,rgba(12,20,58,.95) 0%,rgba(14,24,66,.89) 42%,rgba(16,28,74,.66) 72%,rgba(17,28,78,.52) 100%)}
.hero-home>.container{padding-top:clamp(56px,7vw,104px);padding-bottom:clamp(52px,6.5vw,92px);max-width:1200px}
.hero-home h1{font-size:clamp(2.7rem,6.4vw,5rem);line-height:.94;margin-bottom:.28em;letter-spacing:.01em}
.hero-home h1 span{display:block;font-family:'Inter',system-ui,sans-serif;font-weight:600;
  font-size:clamp(.85rem,1.5vw,1.05rem);letter-spacing:.19em;text-transform:uppercase;
  color:var(--red-light);margin-top:.85rem}
.hero-home .sub{max-width:35em;font-size:clamp(1rem,1.3vw,1.16rem);color:#dbe3ee}
.hero-home .trust{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 0}
.hero-home .trust li{display:flex;align-items:center;gap:8px;font-size:.87rem;font-weight:600;
  color:#eaf0f8;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);
  border-radius:999px;padding:7px 15px;backdrop-filter:blur(3px)}
.hero-home .trust span{font-size:1rem;line-height:1}
.hero-home .lic{margin-top:16px;font-size:.79rem;color:#93a3b8;letter-spacing:.02em}
.btn-lg{font-size:1.12rem;padding:15px 30px}
/* brand red on navy is only 2.76:1, so the button gets a hairline ring to
   keep its edge visible on every dark surface */
.hero .btn:not(.btn-ghost),.cta-band .btn,.call-card .btn,.band-dark .btn,
.mobile-call .btn{box-shadow:0 0 0 1px rgba(255,255,255,.3),0 6px 20px rgba(200,21,31,.34)}
.btn-lg span{margin-right:6px}

/* section rhythm */
.band{padding:clamp(48px,6vw,80px) 0}
.band-tint{background:linear-gradient(180deg,#eef1f6 0%,var(--bg) 100%);border-block:1px solid var(--line)}
/* no width cap here — it forced "Our Locksmith Guarantees" onto two lines;
   text-wrap:balance handles the genuinely long ones */
.section-title{font-size:clamp(2.05rem,3.5vw,3rem);text-align:center;margin:0 auto .2em}
.section-head{text-align:center;margin-bottom:2.2rem}
.section-head .overline{margin-bottom:.5em}
.section-head .section-title{margin-bottom:0}
.section-head p{max-width:60ch;margin:.9rem auto 0;color:var(--steel)}
.section-title+.svc-grid{margin-top:2.2rem}

/* service cards */
.svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px}
.svc{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);
  border-radius:14px;overflow:hidden;box-shadow:var(--shadow);color:var(--ink);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.svc:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--red);text-decoration:none}
.svc-img{aspect-ratio:16/10;overflow:hidden;background:var(--navy-2)}
.svc-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.svc:hover .svc-img img{transform:scale(1.04)}
.svc-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.svc-body h3{font-size:1.2rem;margin-bottom:.4em;min-height:2.9rem}
.svc-body p{font-size:.94rem;flex:1;margin-bottom:14px}
.svc .more{font-weight:700;font-size:.87rem;color:var(--link);letter-spacing:.02em}
.svc:hover .more{color:var(--red-dark)}

/* homepage article: no sidebar, but prose still capped for readability */
.content-wide{max-width:none}
.content-wide>p,.content-wide>ul,.content-wide>ol,.content-wide>details{max-width:70ch}
.content-wide>h2{font-size:2.2rem;margin-top:1.6em}
.content-wide>figure img{max-width:760px}
.breadcrumb{font-size:.83rem;margin-bottom:18px;color:var(--steel);display:block}
.hero .breadcrumb, .hero .breadcrumb a{color:var(--silver)}
.breadcrumb a{color:var(--link)}

/* badges */
.badges{display:flex;gap:38px;justify-content:center;align-items:center;flex-wrap:wrap;padding:8px 0}
.badges img{max-height:118px;width:auto;max-width:100%}
@media(max-width:600px){.badges{gap:22px}.badges img{max-height:none}}

/* third-party proof closing the above-the-fold block */
.hero-proof{position:relative;z-index:1;background:rgba(255,255,255,.95);
  border-top:3px solid var(--red);backdrop-filter:blur(6px)}
.hero-proof>.container{display:flex;align-items:center;gap:14px 30px;
  flex-wrap:wrap;padding-top:16px;padding-bottom:16px}
.hero-proof .badges{padding:0;flex:0 0 auto;justify-content:flex-start}
.hero-proof .badges img{max-height:96px}
.proof-text{flex:1 1 260px;padding-left:30px;border-left:1px solid var(--line)}
.proof-label{font-size:.82rem;font-weight:800;letter-spacing:.03em;color:var(--ink);margin:0}
.proof-lic{font-size:.79rem;color:var(--steel);margin:2px 0 0}
@media(max-width:820px){
  .hero-proof>.container{justify-content:center;text-align:center;gap:10px}
  .hero-proof .badges{flex-basis:100%;justify-content:center}
  .hero-proof .badges img{max-height:74px}
  .proof-text{flex-basis:100%;padding-left:0;border-left:0}
}

/* guarantees */
.guar-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:26px;margin:2.2rem 0 0}
.guar{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:28px 26px;box-shadow:var(--shadow);text-align:center}
.guar-icon{height:64px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.guar-icon img{max-height:64px;width:auto}
.guar h3{font-size:1.15rem;margin-bottom:.5em}
.guar p{font-size:.94rem;line-height:1.65}

/* service areas */
.areas{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:40px;align-items:center;margin-top:2.2rem}
.areas-map img{border-radius:14px;box-shadow:var(--shadow-lg);width:100%}
.area-list{list-style:none;display:flex;flex-wrap:wrap;gap:9px;margin:0}
.area-list li{background:var(--white);border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-size:.9rem;font-weight:600;color:var(--ink)}
.area-list li a{color:inherit}
.area-list li:hover{border-color:var(--red)}
@media(max-width:820px){.areas{grid-template-columns:1fr;gap:26px}}

/* service checklists */
.check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:26px;margin-top:2.2rem}
.checkcol{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:var(--shadow)}
.checkcol h3{font-size:.92rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:.9em;padding-bottom:.7em;border-bottom:2px solid var(--red)}
.checkcol ul{list-style:none;margin:0}
.checkcol li{padding:7px 0 7px 26px;position:relative;font-size:.94rem;border-bottom:1px solid var(--line)}
.checkcol li:last-child{border-bottom:0}
.checkcol li:before{content:"";position:absolute;left:2px;top:14px;width:8px;height:8px;border-radius:50%;background:var(--red)}

/* specials */
.band-dark{background:linear-gradient(120deg,var(--navy),#1e2f74);color:var(--silver)}
.band-dark .section-title{color:var(--white)}
.offers{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px;margin:2.2rem 0 0}
.offers li{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:26px;text-align:center}
.offers strong{display:block;font-family:'Bebas Neue',Impact,sans-serif;font-size:1.75rem;color:var(--red-light);letter-spacing:.02em;margin-bottom:.35em;line-height:1.1}
.offers span{font-size:.92rem;color:#dbe3ee}
.offers-cta{text-align:center;margin-top:28px}

/* main content */
.page-body{padding:clamp(34px,4vw,56px) 0 8px}
.content{max-width:820px}
.content h2{font-size:2.2rem;margin:1.6em 0 .5em}
.content h3{font-size:1.35rem;margin:1.7em 0 .5em}
.content h4{font-size:1.12rem;margin:1.5em 0 .45em}
.content p{margin:0 0 1.05em}
.content ul,.content ol{margin:0 0 1.2em 1.3em}
.content li{margin-bottom:.4em}
.content figure{margin:1.6em 0}
.content figure img{border-radius:var(--radius);box-shadow:var(--shadow)}
.content figcaption{font-size:.85rem;color:var(--steel);margin-top:8px}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px}
@media(max-width:980px){.layout{grid-template-columns:1fr}}

/* sidebar — sticks alongside long articles instead of stretching to match them */
.sidebar{align-self:start;position:sticky;top:104px}
.sidebar>div{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;margin-bottom:24px}
.sidebar h3{font-size:.92rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}
.sidebar ul{list-style:none}
.sidebar li{border-bottom:1px solid var(--line)}
.sidebar li:last-child{border-bottom:0}
.sidebar li a{display:block;padding:11px 2px;font-weight:600;color:var(--body);font-size:.95rem}
.sidebar li a:hover{color:var(--link)}
.sidebar .call-card{background:var(--navy);color:var(--silver);text-align:center}
.sidebar .call-card h3{color:var(--white)}
.sidebar .call-card .btn{margin-top:10px}

/* accordion FAQ */
details.faq{background:var(--white);border:1px solid var(--line);border-radius:10px;margin-bottom:10px;overflow:hidden}
details.faq summary{cursor:pointer;padding:15px 18px;font-weight:700;color:var(--ink);list-style:none;position:relative;padding-right:44px}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary:after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:1.3rem;color:var(--red);font-weight:800}
details.faq[open] summary:after{content:'\2212'}
details.faq .faq-body{padding:0 18px 16px}

/* grids */
.grid{display:grid;gap:18px;margin:1.6em 0}
.grid.cols-3{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.grid.cols-4{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
.chip{display:block;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:12px 16px;font-weight:600;color:var(--ink);text-align:center;box-shadow:var(--shadow)}
.chip:hover{border-color:var(--red);text-decoration:none;transform:translateY(-2px);transition:.15s}
/* the company crest reads as a section mark, not a floating image */
.emblem{display:flex;justify-content:flex-start;margin:0 0 1.4em}
.emblem img{width:auto;max-height:46px;opacity:.9}
span.tile{cursor:default;border-color:var(--red);background:#fff5f6}
.tile{display:block;background:var(--white);border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:var(--shadow);color:var(--ink)}
.tile img{width:100%;height:140px;object-fit:cover}
.tile span{display:block;padding:10px 12px;font-weight:600;text-align:center;font-size:.95rem}
.tile:hover{border-color:var(--red);text-decoration:none;transform:translateY(-2px);transition:.15s}
.card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.card img{width:100%;height:190px;object-fit:cover}
.card .card-body{padding:20px;flex:1;display:flex;flex-direction:column}
.card h3{font-size:1.1rem;margin-bottom:9px;line-height:1.35}
.card h3 a{color:var(--ink)}
.card p{font-size:.95rem;flex:1}
.card .meta{font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--steel);margin-bottom:8px}

/* authored pages: the scannable middle layer */
.snack{list-style:none;margin:1.6em 0 2em;display:grid;gap:12px}
.snack li{background:var(--white);border:1px solid var(--line);border-left:4px solid var(--red);
  border-radius:10px;padding:16px 20px;box-shadow:var(--shadow)}
.snack-t{display:block;font-size:1.02rem;color:var(--ink);margin-bottom:.25em}
.snack span{font-size:.96rem}
.content .lede{font-size:1.16rem;color:var(--ink);line-height:1.6}
.content strong{color:var(--ink);font-weight:700}

/* area pages */
.content .lede{font-size:1.1rem;color:var(--ink)}
.ticks{list-style:none;margin:0 0 1.4em}
.ticks li{position:relative;padding:8px 0 8px 30px;border-bottom:1px solid var(--line)}
.ticks li:last-child{border-bottom:0}
.ticks li:before{content:"";position:absolute;left:4px;top:16px;width:9px;height:9px;border-radius:50%;background:var(--red)}

/* nav dropdown parent that is a button, not a destination */
.nav .subtoggle{font:inherit;font-weight:600;font-size:.92rem;color:var(--ink);background:none;border:0;cursor:pointer;padding:10px 12px;border-radius:8px;white-space:nowrap}
.nav .subtoggle:hover{background:var(--bg)}
.sub-wide{columns:2;column-gap:6px;min-width:390px}
.sub-wide li{break-inside:avoid}
@media(max-width:1040px){.sub-wide{columns:1;min-width:0}}

/* about */
.about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:46px;align-items:center}
.about-img img{border-radius:14px;box-shadow:var(--shadow-lg);width:100%}
.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.19em;text-transform:uppercase;color:var(--red);margin-bottom:.5em}
.about-copy h2{font-size:clamp(1.9rem,3vw,2.6rem);margin-bottom:.5em}
.about-copy p{margin-bottom:1em}
@media(max-width:840px){.about{grid-template-columns:1fr;gap:26px}}

/* numbered process */
.section-lede{max-width:62ch;margin:0 auto 1.6rem;text-align:center}
/* a lede that CLOSES a card grid needs air above it — flush against the last
   row it reads as a caption of the final card instead of a section closer */
.steps+.section-lede,.svc-grid+.section-lede,.guar-grid+.section-lede,
.check-grid+.section-lede{margin-top:2.6rem;margin-bottom:0}
/* stop one-word stub lines on centered ledes */
.section-head p,.section-lede{text-wrap:pretty}
.steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px;margin:2rem 0 0}
.steps li{display:flex;gap:16px;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:var(--shadow)}
.step-n{flex:0 0 34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.95rem}
.steps h3{font-size:1.02rem;margin-bottom:.4em}
.steps p{font-size:.93rem}

/* compact brand tiles for the homepage */
.brand-compact{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:2rem}
.brand-compact .tile img{height:88px}
.brand-compact .tile span{padding:8px 6px;font-size:.85rem}
.brand-compact .chip{padding:10px 8px;font-size:.85rem}

/* blog + faq blocks */
.section-cta{text-align:center;margin-top:28px}
.btn-outline{background:transparent;border:2px solid var(--navy);color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.faq-block{max-width:860px;margin:0 auto;padding:clamp(40px,5vw,64px) 0}

/* related / brand link sections */
.related,.brand-grid{margin:2.4em 0 1em}
.related h2,.brand-grid h2{font-size:1.9rem;margin-bottom:.5em}

/* CTA band */
.cta-band{background:linear-gradient(120deg,var(--navy),#1e2f74);color:var(--silver);border-radius:var(--radius);padding:40px;margin:52px 0;text-align:center}
.cta-band h2{color:var(--white);font-size:2.2rem;margin-bottom:8px}
.cta-band p{max-width:640px;margin:0 auto 20px}

/* footer */
.site-footer{background:var(--navy);color:var(--silver);margin-top:64px;padding:54px 0 0;font-size:.93rem}
.site-footer h4{color:var(--white);font-size:.86rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:16px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:36px}
.site-footer ul{list-style:none}
.site-footer li{margin-bottom:7px}
.site-footer a{color:var(--silver)}
.site-footer a:hover{color:var(--red-light)}
.site-footer .foot-bottom{border-top:1px solid #2a3a54;margin-top:40px;padding:18px 0;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.83rem}
.site-footer .foot-bottom a{color:var(--red-light)}
/* 25 area links as one column doubled the footer's height; two columns keep
   the whole footer scannable on desktop and phone alike */
.foot-areas ul{columns:2;column-gap:20px}
.foot-areas li{break-inside:avoid}

/* ---------------------------------------------------------------------
   Minimal phone layout. On a 390px screen the first view was seven stacked
   blocks and the proof bar fell off the fold. What a phone visitor needs is
   who we are, what we do, and one way to call. Everything that repeats
   something else is removed at this width.
   --------------------------------------------------------------------- */
@media(max-width:640px){
  /* the hours and phone here are both repeated by the sticky call bar */
  .topbar{display:none}
  /* the H1 and the sentence under it already say this */
  .hero .avail{display:none}
  .hero-home h1 span{display:none}

  .hero:not(.hero-home){padding-top:26px}
  .hero-home>.container{padding-top:38px;padding-bottom:34px}
  .hero:not(.hero-home)>.container{padding-bottom:28px}
  .hero h1{font-size:clamp(2.1rem,8.5vw,2.7rem)}
  .hero-home h1{font-size:clamp(2.3rem,9.5vw,3rem)}
  .hero .sub{font-size:1.02rem}
  .hero .cta-row{margin-top:20px;gap:8px}

  /* secondary action becomes a link: two heavy buttons is one too many */
  .hero .cta-row .btn-ghost{width:auto;justify-self:start;background:none;
    border:0;padding:8px 2px;font-weight:600;font-size:.95rem;
    text-decoration:underline;color:#dbe3ee;box-shadow:none}

  /* three pills become one quiet line. Two of them wrapped and stranded the
     separator on its own line, and the sticky bar already says 24/7 */
  .hero .trust{margin-top:14px}
  .hero .trust li{background:none;border:0;padding:0;backdrop-filter:none;
    font-size:.84rem;font-weight:500;color:#c3cee0}
  .hero .trust li>span{display:none}
  .hero .trust li:nth-child(n+2){display:none}

  /* the proof bar earns its place, but not 165px of it */
  .hero-proof>.container{padding-top:12px;padding-bottom:12px;gap:8px}
  .hero-proof .badges img{max-height:50px}
  .proof-label{font-size:.78rem}
  .proof-lic{font-size:.72rem}
}

/* mobile call bar */
.mobile-call{display:none;position:fixed;bottom:0;left:0;right:0;z-index:60;background:var(--red);text-align:center;padding:9px 12px;font-weight:800;box-shadow:0 -4px 14px rgba(0,0,0,.2)}
.mobile-call a{color:#fff;font-size:1.05rem;text-decoration:none;white-space:nowrap;line-height:1.25}
.mobile-call small{display:block;font-size:.68rem;font-weight:600;letter-spacing:.03em;opacity:.9}

/* forms */
.form-grid{display:grid;gap:14px;max-width:560px}
.form-grid input,.form-grid textarea,.form-grid select{padding:12px 14px;border:1px solid var(--line);border-radius:8px;font:inherit;width:100%;background:var(--white)}
.form-grid label{font-weight:600;color:var(--ink);font-size:.9rem}

/* tables */
.content table{border-collapse:collapse;width:100%;margin:1.4em 0;background:var(--white);border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}
.content th,.content td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:left}
.content th{background:var(--navy);color:var(--white)}

@media(max-width:980px){.sidebar{position:static}}
@media(max-width:1040px){
  .hero-home:before{background-position:center 55%}
  .hero-home:after{background:linear-gradient(175deg,rgba(12,20,58,.94) 0%,rgba(14,24,66,.9) 60%,rgba(17,28,78,.84) 100%)}
  .hero-home .trust li{font-size:.82rem;padding:6px 12px}
  .hero .cta-row{display:grid;gap:12px}
  .hero .cta-row .btn{width:100%;text-align:center}
  .nav{position:fixed;inset:0;top:64px;background:var(--white);display:none;overflow:auto;padding:20px}
  .nav.open{display:block}
  .nav ul{flex-direction:column;align-items:stretch;gap:0}
  .nav .sub{display:block;position:static;box-shadow:none;padding-left:18px;min-width:0}
  .menu-toggle{display:block;margin-left:auto}
  .header-call{display:none}
  .mobile-call{display:block}
  body{padding-bottom:54px}
  .logo img{width:170px}
  .hero:not(.hero-home){padding:40px 0 0}
  .hero:not(.hero-home)>.container{padding-bottom:38px}
}
