/* Texas Water Heater Repair — premium design system
   Brand palette (unified with McKinney site): deep navy #071B2E, vivid ocean teal
   #0EA5A0 / dark teal #0B7E7A, bright gold #F2C14E / gold deep #E0A83A,
   crisp white #F8FAFC, cool light band #EEF4F6, ink #071B2E, body #1E293B,
   muted #334155, hairline #D9E2E8, aqua #E0F2F1, light gold tint #FDF0C8,
   success #2E7D5B, error #B42318.
   Type: Manrope (headings) + Inter (body). */
/* Self-hosted fonts (Inter + Manrope, latin subset, OFL) — no Google Fonts request */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/manrope-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --navy:#071B2E; --navy-2:#0B3D4A; --teal:#0EA5A0; --teal-dark:#0A6E6A;
  --gold:#F2C14E; --gold-deep:#E0A83A; --gold-dark:#E0A83A; --ivory:#F8FAFC; --stone:#EEF4F6;
  --ink:#071B2E; --muted:#334155; --hairline:#D9E2E8; --teal-soft:#E0F2F1; --aqua:#E0F2F1;
  --gold-soft:#FDF0C8; --success:#2E7D5B; --error:#B42318;
  --radius:16px; --radius-sm:12px;
  --shadow-sm:0 4px 20px rgba(7,27,46,.06); --shadow-md:0 12px 28px rgba(7,27,46,.12);
  --space-1:.5rem; --space-2:1rem; --space-3:1.5rem; --space-4:2.5rem; --space-5:4.5rem;
  --font-head:Manrope,system-ui,-apple-system,sans-serif;
  --font-body:Inter,system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box}
html{overflow-x:clip;scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:#1E293B;font-family:var(--font-body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block;border-radius:var(--radius-sm)}
a{color:var(--ink);text-decoration:none}
a:hover{color:var(--teal-dark)}
/* Links in running text and the footer need an underline, not colour alone */
p a:not(.btn):not(.text-link),.footer-col a,.footer-bottom a{text-decoration:underline;text-underline-offset:3px}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:4px}
::selection{background:var(--gold-soft);color:var(--ink)}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:700;line-height:1.15;margin:0 0 1rem;color:var(--ink);letter-spacing:-.015em}
h1{font-size:clamp(2.1rem,5vw,3.6rem);font-weight:800;line-height:1.05}
h2{font-size:clamp(1.6rem,3.5vw,2.4rem)}
h3{font-size:clamp(1.15rem,2vw,1.25rem);font-weight:600}
h4{font-size:1rem;font-weight:700;letter-spacing:.01em}
p{margin:0 0 1em}
.lead{font-size:clamp(1.05rem,2vw,1.2rem);line-height:1.6}
.caption{font-size:.88rem;color:var(--muted);line-height:1.5}
.label{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-dark)}
.container{max-width:1180px;margin:0 auto;padding:0 1.5rem}
.section{padding:var(--space-5) 0}
.section-tight{padding:var(--space-4) 0}
.band-stone{background:var(--stone)}
.band-teal{background:var(--teal-dark);color:#fff}
.band-teal h2,.band-teal h3{color:#fff}
.band-navy{background:var(--navy);color:#fff}
.band-navy h1,.band-navy h2,.band-navy h3{color:#fff}
.band-navy p{color:rgba(255,255,255,.82)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--navy);font-weight:700;padding:.75rem 1.25rem;z-index:200;border-radius:0 0 12px 0}
.skip-link:focus{left:0}
.announce{background:var(--gold-soft);color:var(--ink);font-size:.88rem;font-weight:600;text-align:center;padding:.5rem 1rem}
.announce strong{color:var(--teal-dark)}
/* Header */
header.site{background:var(--navy);position:sticky;top:0;z-index:50;box-shadow:0 2px 16px rgba(0,0,0,.18)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1.5rem;max-width:1180px;margin:0 auto}
.brand{display:inline-flex;align-items:center;gap:.65rem;color:#fff;font-family:var(--font-head);font-weight:800;font-size:1.05rem;line-height:1.15;letter-spacing:-.01em}
.brand img{width:40px;height:40px;border-radius:10px;flex:none}
.brand span{color:var(--gold)}
.nav-links{display:flex;gap:1.35rem;align-items:center;flex-wrap:wrap}
.nav-links a{color:rgba(255,255,255,.85);font-weight:500;font-size:.95rem}
.nav-links a:hover{color:#fff}
.nav-links a[aria-current="page"]{color:var(--gold);font-weight:700}
.menu-btn{display:none;background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:10px;min-width:44px;min-height:44px;padding:.5rem .7rem;cursor:pointer;font-family:var(--font-body);font-size:.95rem;font-weight:600;align-items:center;gap:.5rem}
.menu-btn svg{width:20px;height:20px}
/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:linear-gradient(135deg,#F2C14E 0%,#E0A83A 100%);color:#071B2E;font-weight:700;font-size:.93rem;line-height:1.25;letter-spacing:.01em;padding:.62rem 1.2rem;min-height:44px;border-radius:999px;border:1px solid #E0A83A;box-shadow:0 6px 16px rgba(7,27,46,.16);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;white-space:nowrap;cursor:pointer}
.btn svg{width:16px;height:16px;flex:none}
.btn:hover{background:#F2C14E;border-color:#E0A83A;color:#071B2E;transform:translateY(-1px);box-shadow:0 10px 22px rgba(7,27,46,.22)}
.btn:active{transform:translateY(0) scale(.98);box-shadow:0 4px 10px rgba(7,27,46,.16)}
.btn-teal{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff}
.btn-teal:hover{background:var(--teal-dark);border-color:var(--teal-dark)}
.btn-outline{background:transparent;border-color:var(--teal);color:var(--teal-dark);box-shadow:none}
.btn-outline:hover{background:var(--teal-soft);color:var(--teal-dark);border-color:var(--teal-dark)}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.45);color:#fff;box-shadow:none}
.btn-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff;color:#fff}
.btn-sm{padding:.5rem .95rem;font-size:.88rem;min-height:40px}
.btn-lg{padding:.75rem 1.5rem;font-size:1rem;min-height:48px}
header.site .btn,.card .btn,.sticky-cta .btn{padding:.5rem .95rem;font-size:.88rem;min-height:40px;box-shadow:none}
header.site .btn{background:#E0A83A;border-color:#E0A83A}
header.site .btn:hover{background:#E0A83A;border-color:#E0A83A}
.hero .btn{padding:.72rem 1.45rem;font-size:.98rem;min-height:48px}
.hero .btn-ghost{box-shadow:none}
a[href^="tel:"]{font-weight:700}
.call-number{margin:.7rem 0 0;font-size:.92rem;color:rgba(255,255,255,.78)}
.call-number a{color:#fff;text-decoration:underline;text-underline-offset:3px;font-weight:600;letter-spacing:.02em}
/* Hero */
.hero{background:linear-gradient(180deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;padding:4.5rem 0 3.5rem}
.hero h1{color:#fff}
.hero p.lead{color:rgba(255,255,255,.85);max-width:640px}
.hero .btn{margin:.4rem .6rem .4rem 0}
.hero img{margin-top:2rem;aspect-ratio:16/9;object-fit:cover;width:100%}
.hours{color:var(--gold);font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:.9rem}
.breadcrumb{font-size:.88rem;color:rgba(255,255,255,.75);margin-bottom:1rem}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}
.breadcrumb li+li::before{content:"/";margin-right:.4rem;color:rgba(255,255,255,.5)}
.breadcrumb a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.breadcrumb [aria-current="page"]{color:var(--gold);font-weight:600}
.breadcrumb-light{color:var(--muted)}
.breadcrumb-light a{color:var(--teal-dark)}
.breadcrumb-light li+li::before{color:var(--muted)}
/* Trust bar */
.trust-bar{background:#fff;border-bottom:1px solid var(--hairline);padding:1.1rem 0}
.trust-bar .container{display:flex;flex-wrap:wrap;gap:1rem 2.5rem;align-items:center;justify-content:center}
.trust-item{display:inline-flex;align-items:center;gap:.55rem;font-weight:600;font-size:.95rem;color:var(--ink)}
.trust-item svg{width:20px;height:20px;color:var(--teal-dark);flex:none}
/* Grid / cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.4rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.card{background:#fff;border:1px solid var(--hairline);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.card img{aspect-ratio:16/10;object-fit:cover;width:100%;margin-bottom:1rem}
.card h3{margin-bottom:.5rem}
.card .icon{width:44px;height:44px;border-radius:12px;background:var(--teal-soft);color:var(--teal-dark);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.card .icon svg{width:22px;height:22px}
.card .icon-gold{background:var(--gold-soft);color:var(--navy)}
.muted{color:var(--muted)}
.text-link{font-weight:600;color:var(--teal-dark);display:inline-flex;align-items:center;gap:.35rem}
.text-link svg{width:16px;height:16px}
.text-link:hover{color:var(--teal-dark)}
/* Steps */
.steps{counter-reset:step}
.step{position:relative;padding-left:3.2rem;margin-bottom:1.6rem}
.step::before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--teal-dark);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
/* FAQ accordion */
.faq{border:1px solid var(--hairline);border-radius:var(--radius-sm);background:#fff;margin-bottom:.9rem;overflow:hidden}
.faq-btn{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border:0;padding:1.15rem 1.4rem;cursor:pointer;font-family:var(--font-head);font-size:1.05rem;font-weight:700;color:var(--ink);text-align:left;line-height:1.35}
.faq-btn:hover{background:var(--gold-soft)}
.faq-btn .chev{flex:none;width:20px;height:20px;color:var(--teal-dark);transition:transform .2s ease}
.faq-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.faq-panel{padding:0 1.4rem 1.25rem}
.faq-panel p{margin:0}
/* Footer */
footer.site{background:var(--navy);color:rgba(255,255,255,.8);padding:3.5rem 0 6.5rem;font-size:.92rem;line-height:1.6}
footer.site a{color:#fff}
footer.site h3{color:#fff;font-size:1rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;margin-bottom:2rem}
.footer-brand img{width:44px;height:44px;border-radius:10px;margin-bottom:.8rem}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin-bottom:.45rem}
.footer-col a{color:rgba(255,255,255,.85)}
.footer-col a:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.16);padding-top:1.5rem}
.footer-bottom p{margin-bottom:.7rem}
/* Sticky CTA (mobile only) */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(7,27,46,.96);backdrop-filter:blur(8px);padding:.55rem .9rem;display:none;justify-content:center;gap:.7rem;align-items:center;box-shadow:0 -4px 20px rgba(0,0,0,.25)}
.sticky-cta span{color:#fff;font-weight:600;font-size:.92rem}
/* Reveal */
.reveal{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .5s ease}
.reveal.visible{opacity:1;transform:none}
ul.clean{list-style:none;padding:0}
ul.clean li{padding:.35rem 0 .35rem 1.4rem;position:relative}
ul.clean li::before{content:"\2014";position:absolute;left:0;color:var(--teal-dark);font-weight:700}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{border:1px solid var(--hairline);padding:.7rem;text-align:left}
th{background:var(--stone)}
.article-meta{color:var(--muted);font-size:.92rem}
.toc{background:var(--stone);border-radius:var(--radius-sm);padding:1.25rem 1.5rem;margin-bottom:1.5rem}
.toc ul{margin:.5rem 0 0;padding-left:1.2rem}
@media(max-width:900px){
  .nav-links{position:fixed;inset:0 0 0 auto;width:min(320px,85vw);background:var(--navy);flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:5rem 1.5rem 1.5rem;gap:1.1rem;transform:translateX(100%);transition:transform .25s ease;box-shadow:-8px 0 30px rgba(0,0,0,.3);z-index:55}
  .nav-links.open{transform:none}
  .nav-links a{font-size:1.05rem}
  .menu-btn{display:inline-flex;position:relative;z-index:60}
  .menu-btn[aria-expanded="true"]{background:rgba(255,255,255,.12)}
}
@media(max-width:640px){
  .section{padding:3rem 0}
  .hero{padding:3rem 0 2.5rem}
  .hero .btn{width:100%;max-width:340px}
  .card .btn{width:100%}
  .sticky-cta{display:flex}
  .sticky-cta span{display:none}
  .sticky-cta .btn{width:auto}
  .call-number{text-align:left}
  .trust-bar .container{gap:.7rem 1.4rem;justify-content:flex-start}
}
@media(min-width:641px){.sticky-cta{display:none}}
@media(prefers-reduced-motion:reduce){
  *{transition:none!important;scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
}

.img-figure{margin:1.5rem 0}
.img-figure img{width:100%;height:auto;border-radius:12px;display:block}
.img-figure figcaption{font-size:.9rem;color:var(--muted);margin-top:.5rem}
.grid .img-figure{margin:0}
.hero .img-figure figcaption{color:rgba(255,255,255,.75)}

/* Cookie notice */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:80px;z-index:9999;background:#071B2E;color:#F8FAFC;padding:14px 16px;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.35);display:none;font-size:14px;line-height:1.5}
.cookie-banner.show{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cookie-banner button{background:#0EA5A0;color:#fff;border:0;border-radius:8px;padding:8px 16px;font-weight:700;cursor:pointer;white-space:nowrap}
@media(max-width:640px){.cookie-banner{left:12px;right:12px;bottom:80px}}
