/* Appliance Repair Service Burleson TX - shared stylesheet
   Mobile-first, no frameworks, no JS, no external fonts.
   Navy #0C2D4D + Orange #F97316.
   Breakpoint map:
     base    <480px   compact brand mark only, call pill + hamburger in header, sticky bottom call bar
     480px   brand gains stacked text beside the mark
     640px   2-column grids
     768px   tablet: full logo in header, larger type, hamburger still used
     900px   split hero, two-column content rows
     1024px  3-column grids, 4-column footer
     1200px  desktop: inline nav joins the header row, hamburger hides
     1280px  floating call pill replaces the sticky bottom bar
*/
:root{
  --navy:#0C2D4D; --navy-dark:#082138; --navy-mid:#14456e;
  --orange:#F97316; --orange-dark:#d95d0a;
  --ink:#1c2b3a; --muted:#52657a; --line:#dbe4ee;
  --bg:#ffffff; --bg-soft:#f3f7fb; --bg-warm:#fff6ef;
  --radius:14px; --radius-sm:9px;
  --shadow:0 6px 24px rgba(12,45,77,.10);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:clip}
body{margin:0;font-family:var(--font);font-size:17px;line-height:1.65;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;padding-bottom:78px}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--navy-mid);text-decoration:underline;text-underline-offset:2px}
a:hover{color:var(--orange-dark)}
h1,h2,h3{color:var(--navy);line-height:1.22;margin:0 0 .55em;font-weight:800;letter-spacing:-.01em}
h1{font-size:2.15rem}
h2{font-size:1.62rem;margin-top:0}
h3{font-size:1.14rem}
p{margin:0 0 1em}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px;border-radius:4px}
.container{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}
.section{padding:52px 0}
.section--soft{background:var(--bg-soft)}
.section--navy{background:var(--navy);color:#eaf2f9}
.section--navy h2,.section--navy h3{color:#fff}
.section-head{max-width:760px;margin-bottom:28px}
.section-head p{color:var(--muted)}
.section--navy .section-head p{color:#c6d7e8}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange-dark);margin-bottom:10px}
.section--navy .eyebrow{color:var(--orange)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Buttons - Call only. Every button: nowrap + never crushed by flex. */
.btn-call{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 24px;background:var(--orange);color:#fff;font-weight:800;font-size:1.05rem;text-decoration:none;border-radius:999px;box-shadow:0 4px 14px rgba(249,115,22,.35);transition:background .15s ease,transform .15s ease;white-space:nowrap;flex:0 0 auto;max-width:100%}
.btn-call:hover{background:var(--orange-dark);color:#fff}
.btn-call:active{transform:scale(.98)}
.btn-call .phone-ic{width:20px;height:20px;flex:0 0 auto}
.btn-call--lg{min-height:58px;padding:15px 30px;font-size:1.12rem}
.btn-call--white{background:#fff;color:var(--navy)}
.btn-call--white:hover{background:var(--bg-warm);color:var(--navy)}
.btn-link{display:inline-flex;align-items:center;min-height:48px;font-weight:700}

/* Header: logo + call pill + hamburger share the row below 1200px.
   Inline nav only joins the row at 1200px and up. */
.site-header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 1px 10px rgba(12,45,77,.05)}
.header-in{display:flex;align-items:center;gap:10px;min-height:64px;padding-top:8px;padding-bottom:8px;flex-wrap:nowrap}
.brand{flex:0 1 auto;min-width:0;display:flex;align-items:center;text-decoration:none}
.brand-full{display:none}
.brand-compact{display:flex;align-items:center;gap:8px;min-width:0}
.brand-compact img{width:40px;height:40px;flex:0 0 auto}
.brand-compact-text{display:none;line-height:1.15;color:var(--navy)}
.brand-compact-text strong{display:block;font-size:.8rem;font-weight:800;white-space:nowrap}
.brand-compact-text small{display:block;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-dark);white-space:nowrap}
.header-call{margin-left:auto;min-height:48px;padding:10px 16px;font-size:.95rem;gap:8px}
.header-call .phone-ic{width:18px;height:18px}
.main-nav{display:none}
.menu{position:relative;margin-left:2px;flex:0 0 auto}
.menu summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:10px;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--navy);font-weight:700;background:#fff;white-space:nowrap}
.menu summary::-webkit-details-marker{display:none}
.menu summary:hover{border-color:var(--navy)}
.menu-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(300px,86vw);background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:8px;z-index:80}
.menu-panel ul{list-style:none;margin:0;padding:0}
.menu-panel a{display:flex;align-items:center;min-height:48px;padding:10px 14px;text-decoration:none;font-weight:600;color:var(--navy);border-radius:var(--radius-sm)}
.menu-panel a:hover{background:var(--bg-soft);color:var(--orange-dark)}

/* Breadcrumbs */
.breadcrumbs{background:var(--bg-soft);border-bottom:1px solid var(--line)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:10px 0;font-size:.9rem}
.breadcrumbs li+li::before{content:"›";margin-right:6px;color:var(--muted)}
.breadcrumbs a{text-decoration:none}
.breadcrumbs [aria-current]{font-weight:600;color:var(--ink)}

/* Hero: stacked on mobile (copy, then photo), split from 900px. */
.hero{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-dark) 78%);color:#eaf2f9;padding:44px 0 56px}
.hero-in{display:grid;gap:28px}
.hero h1{color:#fff;font-size:2.25rem;max-width:18em}
.hero .lead{font-size:1.13rem;color:#cfe0f0;max-width:44em}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:22px 0 8px}
.hero-note{font-size:.94rem;color:#a9c2da}
.hero-points{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:10px}
.hero-points li{display:flex;gap:10px;align-items:flex-start}
.hero-points li::before{content:"";flex:0 0 auto;width:10px;height:10px;margin-top:9px;border-radius:50%;background:var(--orange)}
.hero-media{margin:0}
.hero-media img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius);box-shadow:0 14px 34px rgba(0,0,0,.35)}

/* Answer-first AEO block */
.answer-box{background:#fff;border:1px solid var(--line);border-left:6px solid var(--orange);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 22px 8px;margin:-30px 0 0;position:relative;z-index:2}
.answer-box h2{font-size:1.18rem}
.answer-box .quick-answer{font-size:1.05rem}

/* Cards and grids */
.grid{display:grid;gap:18px;grid-template-columns:minmax(0,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 2px 10px rgba(12,45,77,.05);display:flex;flex-direction:column;min-width:0}
.card h3{margin-bottom:.4em}
.card p{color:var(--muted);font-size:.98rem;flex:1}
.card .card-link{margin-top:12px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;min-height:48px}
.card .card-link::after{content:"→";margin-left:7px;color:var(--orange)}
.card-ic{width:46px;height:46px;border-radius:12px;background:var(--bg-warm);display:flex;align-items:center;justify-content:center;font-size:1.35rem;margin-bottom:14px}
.card--photo{padding:0;overflow:hidden}
.card--photo .card-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.card--photo .card-body p{flex:1}
.card-img{width:100%;aspect-ratio:8/5;object-fit:cover}
.steps{counter-reset:step}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0}
.step::before{counter-increment:step;content:counter(step);display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;margin-bottom:12px}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.chips li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-weight:600;font-size:.95rem;color:var(--navy)}
.chips a{text-decoration:none}
.two-col{display:grid;gap:28px}

/* Full-width image band */
.image-band{position:relative;margin:0}
.image-band img{width:100%;height:300px;object-fit:cover}
.image-band-cap{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,rgba(8,33,56,.82));color:#fff;padding:44px 0 18px}
.image-band-cap p{margin:0;font-weight:700;font-size:1.02rem;max-width:46em}

/* Tables: always inside a horizontal-scroll wrapper */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius);background:#fff;max-width:100%}
table{border-collapse:collapse;width:100%;min-width:0;font-size:.95rem}
th,td{padding:12px 13px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:break-word}
@media (max-width:640px){table{min-width:470px}}
th{background:var(--navy);color:#fff;font-weight:700}
tr:last-child td{border-bottom:0}

/* FAQ */
.faq-list{display:grid;gap:12px}
details.faq{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:4px 20px}
details.faq summary{cursor:pointer;font-weight:700;color:var(--navy);min-height:48px;display:flex;align-items:center;padding:10px 0;list-style:none}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";margin-left:auto;font-size:1.4rem;color:var(--orange);font-weight:800}
details.faq[open ] summary::after{content:"–"}
details.faq p{color:var(--muted);padding-bottom:14px}

/* CTA band */
.cta-band{text-align:center}
.cta-band h2{margin-bottom:.35em}
.cta-band p{max-width:40em;margin-left:auto;margin-right:auto}
.cta-band .hero-actions{justify-content:center}

/* Footer */
.site-footer{background:var(--navy-dark);color:#c6d7e8;padding:48px 0 40px;font-size:.95rem}
.footer-grid{display:grid;gap:30px}
.site-footer h3{color:#fff;font-size:1rem;margin-bottom:12px}
.site-footer a{color:#c6d7e8;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.footer-nav{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.footer-nav a{display:inline-flex;align-items:center;min-height:40px}
.footer-brand img{width:min(250px,100%);margin-bottom:14px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:34px;padding-top:20px;display:flex;flex-wrap:wrap;gap:10px 26px;justify-content:space-between}
.footer-bottom a{color:#fff;font-weight:600}

/* Call bars: sticky bottom bar below 1280px, floating pill at 1280px+. */
.mobile-callbar{position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--navy-dark);padding:10px 14px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(0,0,0,.25)}
.mobile-callbar .btn-call{width:100%;min-height:54px;font-size:1.1rem}
.float-call{display:none}

/* 480px: roomier gutters. 600px: stacked brand text joins the mark
   (icon + text + call pill + menu only fit together from ~600px). */
@media (min-width:480px){
  .container{padding:0 20px}
}
@media (min-width:600px){
  .brand-compact-text{display:block}
}
/* 640px: two-column grids */
@media (min-width:640px){
  .grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* 768px: tablet header and type */
@media (min-width:768px){
  .brand-compact{display:none}
  .brand-full{display:block;height:46px;width:auto}
  .header-in{min-height:76px;gap:14px}
  .header-call{font-size:1rem;padding:12px 20px}
  h1{font-size:2.6rem}
  .hero h1{font-size:2.9rem}
  h2{font-size:1.9rem}
  .section{padding:64px 0}
  .image-band img{height:380px}
}
/* 900px: split hero, two-column rows */
@media (min-width:900px){
  .hero-in{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:36px}
  .two-col{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start}
}
/* 1024px: three-column grids, wide footer */
@media (min-width:1024px){
  .grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}
  .image-band img{height:440px}
}
/* 1200px: desktop header - inline nav joins logo + call in one row */
@media (min-width:1200px){
  .menu{display:none}
  .main-nav{display:block;margin-left:auto}
  .main-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:4px}
  .main-nav a{display:flex;align-items:center;min-height:48px;padding:10px 12px;text-decoration:none;font-weight:600;color:var(--navy);border-radius:var(--radius-sm);white-space:nowrap}
  .main-nav a:hover,.main-nav a[aria-current="page"]{background:var(--bg-soft);color:var(--orange-dark)}
  .header-call{margin-left:14px}
  .hero h1{font-size:3.1rem}
}
/* 1280px: floating call pill replaces the sticky bottom bar */
@media (min-width:1280px){
  body{padding-bottom:0}
  .mobile-callbar{display:none}
  .float-call{display:inline-flex;position:fixed;right:22px;bottom:22px;z-index:70;min-height:56px}
  .site-footer{padding-bottom:48px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn-call{transition:none}
}
