/*
 Theme Name:   Tacoma Water Heaters
 Theme URI:    https://tacomawaterheaters.com
 Description:  Modern, conversion-focused child theme for Hello Elementor. Designed for hyper-local water heater lead generation.
 Author:       Tacoma Water Heaters
 Template:     hello-elementor
 Version:      2.0.0
 Text Domain:  twhl-theme
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
    --c-navy:       #0f2b46;
    --c-navy-mid:   #163d5e;
    --c-navy-lt:    #1e5580;
    --c-blue:       #2196f3;
    --c-blue-lt:    #64b5f6;
    --c-orange:     #ff6d00;
    --c-orange-dk:  #e65100;
    --c-orange-lt:  #ff9e40;
    --c-green:      #00c853;
    --c-red:        #ff1744;
    --c-white:      #ffffff;
    --c-off-white:  #f5f7fa;
    --c-gray-100:   #eef1f5;
    --c-gray-200:   #dde2ea;
    --c-gray-500:   #7b8794;
    --c-gray-700:   #3e4c5a;
    --c-gray-900:   #1a2332;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-body);
    --max-w:        1180px;
    --radius:       12px;
    --radius-sm:    8px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
    --shadow-md:    0 4px 20px rgba(0,0,0,.1);
    --shadow-lg:    0 12px 40px rgba(0,0,0,.15);
    --ease:         cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & GLOBALS
   ═══════════════════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box}
body{font-family:var(--font-body);color:var(--c-gray-700);background:var(--c-off-white);line-height:1.7;margin:0;padding:0;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--c-blue);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--c-orange)}
img{max-width:100%;height:auto;display:block}
.entry-header,.page-header,.site-branding,.wp-block-post-title,.elementor-page-title,
h1.entry-title,h1.page-title,h2.entry-title,.site-header:not(.twh-header),
.site-footer:not(.twh-footer){display:none!important}
.entry-content,.page-content,.site-content{margin-top:0!important;padding-top:0!important}

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════ */
.twh-topbar{background:var(--c-navy);color:rgba(255,255,255,.8);font-size:.8rem;padding:8px 0;letter-spacing:.2px}
.twh-topbar-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}
.twh-topbar a{color:var(--c-orange-lt);font-weight:600}
.twh-topbar a:hover{color:#fff}
.twh-topbar-badges{display:flex;gap:1.25rem;align-items:center}
.twh-topbar-badge{display:flex;align-items:center;gap:5px}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.twh-header{background:var(--c-white);position:sticky;top:0;z-index:1000;box-shadow:var(--shadow-sm);border-bottom:1px solid var(--c-gray-200)}
body.admin-bar .twh-header{top:32px}
@media(max-width:782px){body.admin-bar .twh-header{top:46px}}

.twh-header-inner{max-width:var(--max-w);margin:0 auto;padding:.65rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}

/* Logo */
.twh-logo{display:flex;align-items:center;gap:.65rem;text-decoration:none}
.twh-logo svg{width:40px;height:40px;flex-shrink:0}
.twh-logo-text{line-height:1.15}
.twh-logo-name{font-family:var(--font-display);font-size:1.15rem;font-weight:800;color:var(--c-navy);display:block;letter-spacing:-.3px}
.twh-logo-sub{font-size:.68rem;color:var(--c-gray-500);font-weight:500;display:block;letter-spacing:.3px;text-transform:uppercase}

/* Nav */
.twh-nav{display:flex;align-items:center;gap:2px}
.twh-nav a{padding:.45rem .75rem;font-size:.875rem;font-weight:500;color:var(--c-gray-700);border-radius:var(--radius-sm);transition:all .2s var(--ease);white-space:nowrap}
.twh-nav a:hover,.twh-nav a.active{color:var(--c-orange);background:rgba(255,109,0,.06)}

/* Header CTA */
.twh-header-cta{display:flex;align-items:center;gap:.75rem}
.twh-header-phone-num{font-family:var(--font-display);font-size:1.1rem;font-weight:800;color:var(--c-navy);text-decoration:none;letter-spacing:-.3px;transition:color .2s}
.twh-header-phone-num:hover{color:var(--c-orange)}
@media(max-width:900px){.twh-header-phone-num{display:none}}
.twh-header-phone{text-align:right;line-height:1.15}
.twh-header-phone small{font-size:.65rem;color:var(--c-gray-500);text-transform:uppercase;letter-spacing:.5px;display:block}
.twh-header-phone a{font-family:var(--font-display);font-size:1.1rem;font-weight:800;color:var(--c-navy)}
.twh-header-phone a:hover{color:var(--c-orange)}
.twh-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.6rem 1.3rem;border-radius:var(--radius-sm);font-size:.875rem;font-weight:700;font-family:var(--font-display);cursor:pointer;transition:all .25s var(--ease);border:none;white-space:nowrap}
.twh-btn-orange{background:var(--c-orange);color:#fff}
.twh-btn-orange:hover{background:var(--c-orange-dk);transform:translateY(-1px);box-shadow:0 6px 20px rgba(255,109,0,.35);color:#fff}
.twh-btn-ghost{background:transparent;border:2px solid var(--c-navy);color:var(--c-navy)}
.twh-btn-ghost:hover{background:var(--c-navy);color:#fff}

/* Mobile toggle */
.twh-mobile-toggle{display:none;background:none;border:2px solid var(--c-gray-200);border-radius:var(--radius-sm);padding:6px 10px;cursor:pointer;font-size:1.2rem;color:var(--c-navy)}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.twh-hero{position:relative;background:var(--c-navy);overflow:hidden;padding:0}
.twh-hero-bg{position:absolute;inset:0;background:url('https://tacomawaterheaters.com/wp-content/uploads/2026/03/water-heater-installation-near-me.jpg') center/cover no-repeat;z-index:0}
.twh-hero-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(15,43,70,.75) 0%,rgba(22,61,94,.65) 50%,rgba(30,85,128,.60) 100%)}
.twh-hero::before{content:'';position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><circle cx="650" cy="80" r="300" fill="rgba(255,255,255,0.02)"/><circle cx="100" cy="500" r="200" fill="rgba(255,255,255,0.015)"/><circle cx="400" cy="300" r="400" fill="rgba(33,150,243,0.03)"/></svg>') center/cover no-repeat;pointer-events:none}
.twh-hero::after{display:none}

.twh-hero-inner{position:relative;z-index:2;max-width:var(--max-w);margin:0 auto;padding:3.5rem 1.25rem 4rem;display:block}

.twh-hero-content{color:#fff;text-align:center;max-width:860px;margin:0 auto}
.twh-hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);padding:6px 14px;border-radius:50px;font-size:.78rem;font-weight:600;color:var(--c-orange-lt);margin-bottom:1.25rem}
.twh-hero-badge::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--c-green);box-shadow:0 0 8px var(--c-green);animation:twh-pulse 2s infinite}
@keyframes twh-pulse{0%,100%{opacity:1}50%{opacity:.4}}

.twh-hero h1{font-family:var(--font-display);font-size:2.25rem;font-weight:800;line-height:1.15;margin:0 0 1rem;letter-spacing:-.5px}
.twh-hero h1 span{color:var(--c-orange-lt)}
.twh-hero-sub{font-size:1.1rem;line-height:1.65;color:rgba(255,255,255,.75);margin:0 auto 1.75rem;max-width:600px}

.twh-hero-stats{display:flex;gap:2rem;margin-top:.5rem;justify-content:center}
.twh-hero-stat{text-align:center}
.twh-hero-stat-num{font-family:var(--font-display);font-size:1.75rem;font-weight:800;color:var(--c-orange-lt);display:block}
.twh-hero-stat-label{font-size:.72rem;color:rgba(255,255,255,.55);text-transform:uppercase;letter-spacing:.5px;display:block}

/* Hero form card — only used on inner pages now */
.twh-hero-form-card{background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.25);padding:0;overflow:hidden;position:relative}
.twh-hero-form-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--c-orange),var(--c-orange-lt),var(--c-orange))}

/* ─── Homepage Hero: full-width centered ──────────────────────── */
.twh-hero-inner--home{grid-template-columns:1fr!important}
.twh-hero-inner--home .twh-hero-content{text-align:center;max-width:820px;margin:0 auto}
.twh-hero-inner--home .twh-hero-sub{margin-left:auto;margin-right:auto}
.twh-hero-inner--home .twh-hero-stats{justify-content:center}
.twh-hero-inner--home .twh-hero-form{max-width:100%}

/* Horizontal inline form */
.twh-hero-form{display:flex;gap:.6rem;align-items:flex-end;background:rgba(255,255,255,.1);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:.85rem;margin:1.75rem 0 .5rem;width:100%}
.twh-hf-field{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.twh-hf-field--wide{flex:1.6}
.twh-hf-field label{font-size:.7rem;font-weight:600;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:.5px}
.twh-hf-field input:not([type="checkbox"]),.twh-hf-field select{padding:.6rem .75rem;border:2px solid rgba(255,255,255,.2);border-radius:var(--radius-sm);background:rgba(255,255,255,.95);font-size:.9rem;font-family:var(--font-body);color:var(--c-gray-700);transition:border-color .2s;height:44px;box-sizing:border-box;-webkit-appearance:none;appearance:none}
.twh-hf-field input:focus,.twh-hf-field select:focus{outline:none;border-color:var(--c-orange)}
.twh-hf-field--check{flex:0 0 auto;display:flex;align-items:center;padding-bottom:2px}
.twh-hf-emergency{display:flex;align-items:center;gap:5px;font-size:.82rem;font-weight:600;color:rgba(255,255,255,.85);cursor:pointer;white-space:nowrap}
.twh-hf-emergency input{width:16px;height:16px;accent-color:var(--c-orange);-webkit-appearance:checkbox!important;appearance:checkbox!important;cursor:pointer}
.twh-hf-btn{flex:0 0 auto;padding:.65rem 1.5rem;font-size:.9rem;white-space:nowrap}

@media(max-width:700px){
    .twh-hero-form{flex-wrap:wrap;gap:.5rem;padding:.75rem}
    .twh-hf-field{flex:1 1 45%;min-width:0}
    .twh-hf-field--wide{flex:1 1 45%}
    .twh-hf-field--check{flex:0 0 auto}
    .twh-hf-btn{width:100%;flex:1 1 100%}
}

/* Hero form slide transitions */
.twh-hero-form-wrap{position:relative;overflow:hidden}
.twh-hero-slide{display:none}
.twh-hero-slide--active{display:flex}
.twh-hero-form[data-step="2"]{flex-wrap:wrap;gap:.5rem;background:rgba(255,255,255,.08);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius);padding:1.25rem 1.5rem;align-items:flex-end}
.twh-hf-step2-header{width:100%;font-family:var(--font-display);font-weight:700;font-size:1rem;color:#fff;margin-bottom:.25rem;text-align:center;letter-spacing:.3px}
.twh-hf-field--s2{flex:1 1 22%;min-width:140px}
.twh-hf-field--s2 label{color:rgba(255,255,255,.7);font-size:.7rem;text-transform:uppercase;letter-spacing:.6px;font-weight:600;margin-bottom:.2rem;display:block}
.twh-hf-field--s2 input{width:100%;height:44px;box-sizing:border-box;-webkit-appearance:none;appearance:none;padding:.6rem .75rem;border:2px solid rgba(255,255,255,.2);border-radius:var(--radius-sm);background:rgba(255,255,255,.95);font-size:.9rem;font-family:var(--font-body);color:var(--c-gray-700);transition:border-color .2s}
.twh-hf-field--s2 input:focus{outline:none;border-color:var(--c-orange)}
.twh-hf-back{background:none;border:none;color:rgba(255,255,255,.6);font-size:.82rem;cursor:pointer;padding:.35rem .5rem;margin-top:.15rem;transition:color .2s;font-family:var(--font-body)}
.twh-hf-back:hover{color:#fff}
.twh-hero-success{flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem 1.5rem;background:rgba(255,255,255,.08);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius);min-height:120px}
.twh-hf-success-icon{font-size:2.5rem;margin-bottom:.5rem}
.twh-hf-success-msg{color:#fff;font-size:1rem;line-height:1.6}
.twh-hf-success-msg strong{font-family:var(--font-display);font-size:1.15rem}
@media(max-width:700px){
    .twh-hero-form[data-step="2"]{padding:1rem}
    .twh-hf-field--s2{flex:1 1 100%}
}

/* ═══════════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════════ */
.twh-trust{background:var(--c-white);border-bottom:1px solid var(--c-gray-200);padding:1rem 0;position:relative;z-index:3}
.twh-trust-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem;display:flex;justify-content:center;gap:2.5rem;flex-wrap:wrap}
.twh-trust-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:600;color:var(--c-gray-700)}
.twh-trust-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--c-gray-100);border-radius:50%;font-size:.95rem;flex-shrink:0}

/* ═══════════════════════════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════════════════════════ */
.twh-services{background:var(--c-navy);padding:3.5rem 0 4rem}
.twh-services-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem}

.twh-services-header{text-align:center;margin-bottom:2.5rem}
.twh-services-label{display:inline-block;font-family:var(--font-display);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--c-orange);background:rgba(255,109,0,.08);padding:5px 14px;border-radius:50px;margin-bottom:.75rem}
.twh-services-header h2{font-family:var(--font-display);font-size:1.85rem;font-weight:800;color:#fff;margin:0 0 .5rem;letter-spacing:-.3px}
.twh-services-header p{color:rgba(255,255,255,.6);font-size:1rem;margin:0;max-width:540px;margin-left:auto;margin-right:auto}

.twh-services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.twh-services-grid.twh-services-grid--4{grid-template-columns:repeat(4,1fr)!important}

/* Card base */
.twh-svc-card{display:flex;flex-direction:column;background:rgba(255,255,255,.08);border-radius:var(--radius);padding:1.75rem 1.5rem 1.5rem;text-decoration:none;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.1);position:relative;overflow:hidden;transition:all .3s var(--ease);backdrop-filter:blur(8px)}
.twh-svc-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--c-orange);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.twh-svc-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.3);border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.12);color:rgba(255,255,255,.9)}
.twh-svc-card:hover::before{transform:scaleX(1)}

/* Icon */
.twh-svc-icon-wrap{width:52px;height:52px;border-radius:14px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;transition:all .3s var(--ease)}
.twh-svc-icon{font-size:1.5rem;line-height:1}
.twh-svc-card:hover .twh-svc-icon-wrap{background:var(--c-orange);transform:scale(1.05)}

/* Urgent variant */
.twh-svc-card--urgent{border-color:rgba(255,23,68,.25)}
.twh-svc-card--urgent::before{background:var(--c-red)}
.twh-svc-icon-wrap--urgent{background:rgba(255,23,68,.15)}
.twh-svc-card--urgent:hover .twh-svc-icon-wrap{background:var(--c-red)}

/* Card text */
.twh-svc-card h3{font-family:var(--font-display);font-size:1.05rem;font-weight:700;color:#fff;margin:0 0 .5rem;line-height:1.3}
.twh-svc-card p{font-size:.875rem;line-height:1.6;color:rgba(255,255,255,.55);margin:0 0 1rem;flex:1}
.twh-svc-link{font-family:var(--font-display);font-size:.82rem;font-weight:700;color:var(--c-orange-lt);display:inline-flex;align-items:center;gap:4px;transition:gap .2s var(--ease)}
.twh-svc-card:hover .twh-svc-link{gap:8px;color:var(--c-orange)}

/* Responsive */
@media(max-width:960px){.twh-services-grid{grid-template-columns:repeat(2,1fr)}.twh-services-grid.twh-services-grid--4{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:600px){
    .twh-services{padding:2.5rem 0 3rem}
    .twh-services-header h2{font-size:1.5rem}
    .twh-services-grid{grid-template-columns:1fr!important}
    .twh-services-grid.twh-services-grid--4{grid-template-columns:1fr!important}
    .twh-svc-card{padding:1.35rem 1.25rem 1.25rem}
}

/* ═══════════════════════════════════════════════════════════════
   PAGE CONTENT
   ═══════════════════════════════════════════════════════════════ */
.twh-page-wrap{max-width:var(--max-w);margin:0 auto;padding:2.5rem 1.25rem 3rem}
.twh-page-wrap h1{font-family:var(--font-display);font-size:2rem;font-weight:800;color:var(--c-navy);margin:0 0 .75rem;line-height:1.2;letter-spacing:-.3px}
.twh-page-wrap h2{font-family:var(--font-display);font-size:1.35rem;font-weight:700;color:var(--c-navy);margin:2rem 0 .65rem;line-height:1.25}
.twh-page-wrap h3{font-family:var(--font-display);font-size:1.1rem;font-weight:700;color:var(--c-gray-700);margin:1.5rem 0 .5rem}
.twh-page-wrap p{margin:0 0 1rem;line-height:1.75}
.twh-page-wrap ul,.twh-page-wrap ol{margin:0 0 1rem;padding-left:1.5rem}
.twh-page-wrap li{margin-bottom:.35rem;line-height:1.65}

/* Inner pages: form above content */
.twh-inner-hero{background:linear-gradient(135deg,var(--c-navy) 0%,var(--c-navy-mid) 100%);padding:2rem 0 2.5rem;position:relative}
.twh-inner-hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(to top,var(--c-off-white),transparent)}
.twh-inner-hero-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem;display:grid;grid-template-columns:1fr 400px;gap:2.5rem;align-items:start;position:relative;z-index:2}
.twh-inner-hero h1{font-family:var(--font-display);font-size:1.85rem;font-weight:800;color:#fff;margin:0 0 .5rem;line-height:1.2}
.twh-inner-hero p{color:rgba(255,255,255,.7);font-size:.95rem;line-height:1.6;margin:0 0 1rem}
.twh-inner-form-card{background:var(--c-white);border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.2);overflow:hidden;position:relative}
.twh-inner-form-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--c-orange),var(--c-orange-lt))}

/* ═══════════════════════════════════════════════════════════════
   SERVICE AREA MAP
   ═══════════════════════════════════════════════════════════════ */
.twh-map-section{background:var(--c-white);padding:3.5rem 0 4rem;border-top:1px solid var(--c-gray-200)}
.twh-map-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem;display:flex;flex-direction:column;align-items:center;text-align:center}

.twh-map-content{max-width:600px;margin-bottom:1.5rem}
.twh-map-content h2{font-family:var(--font-display);font-size:1.65rem;font-weight:800;color:var(--c-navy);margin:0 0 .5rem}
.twh-map-content>p{color:var(--c-gray-500);font-size:.95rem;line-height:1.6;margin:0 0 1.25rem}

/* Info box on hover */
.twh-map-legend{background:var(--c-off-white);border:1px solid var(--c-gray-200);border-radius:var(--radius-sm);padding:.75rem 1rem;margin-bottom:1.25rem;min-height:48px;display:flex;align-items:center;transition:all .2s}
.twh-map-info-default{color:var(--c-gray-500);font-size:.85rem;display:flex;align-items:center;gap:.5rem}

/* City pills list */
.twh-map-cities-list{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;justify-items:center}
.twh-map-city-pill{width:100%;text-align:center}
.twh-map-city-pill{display:inline-flex;flex-direction:column;padding:.5rem .85rem;background:var(--c-off-white);border:1px solid var(--c-gray-200);border-radius:var(--radius-sm);text-decoration:none;transition:all .2s var(--ease);line-height:1.3}
.twh-map-city-pill strong{font-family:var(--font-display);font-size:.82rem;color:var(--c-navy)}
.twh-map-city-pill span{font-size:.68rem;color:var(--c-gray-500)}
.twh-map-city-pill:hover,.twh-map-city-pill.active{background:var(--c-navy);border-color:var(--c-navy)}
.twh-map-city-pill:hover strong,.twh-map-city-pill.active strong{color:#fff}
.twh-map-city-pill:hover span,.twh-map-city-pill.active span{color:rgba(255,255,255,.6)}

/* Live Map */
.twh-map-live{background:var(--c-gray-100);width:100%;max-width:900px}
.twh-map-label{text-align:center;background:none!important;border:none!important;box-shadow:none!important}
.twh-map-label strong{display:block;font-family:var(--font-display);font-size:12px;font-weight:700;color:var(--c-navy);text-shadow:0 1px 3px rgba(255,255,255,.9),0 0 8px rgba(255,255,255,.8)}
.twh-map-label span{font-size:9px;color:var(--c-gray-500);text-shadow:0 1px 2px rgba(255,255,255,.9)}

@media(max-width:600px){
    .twh-map-section{padding:2.5rem 0 3rem}
    .twh-map-content h2{font-size:1.4rem}
    .twh-map-live{height:350px!important}
    .twh-map-cities-list{grid-template-columns:repeat(3,1fr)}
}

/* ═══════════════════════════════════════════════════════════════
   REVIEW SLIDER
   ═══════════════════════════════════════════════════════════════ */
.twh-reviews{background:var(--c-off-white);padding:3rem 0 3.5rem;border-top:1px solid var(--c-gray-200)}
.twh-reviews-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem;overflow:hidden}
.twh-reviews-inner h2{font-family:var(--font-display);font-size:1.5rem;font-weight:800;color:var(--c-navy);text-align:center;margin:0 0 1.75rem}
.twh-reviews-track{display:flex;transition:transform .4s var(--ease)}
.twh-review-card{background:var(--c-white);border:1px solid var(--c-gray-200);border-radius:var(--radius);padding:1.5rem;flex-shrink:0;display:flex;flex-direction:column}
.twh-review-stars{color:var(--c-orange);font-size:1.1rem;letter-spacing:2px;margin-bottom:.65rem}
.twh-review-card p{font-size:.9rem;line-height:1.65;color:var(--c-gray-700);margin:0 0 1rem;flex:1;font-style:italic}
.twh-review-author{font-size:.82rem;color:var(--c-gray-500)}
.twh-review-author strong{color:var(--c-navy);font-weight:700}
.twh-reviews-nav{display:flex;justify-content:center;gap:.5rem;margin-top:1.25rem}
.twh-reviews-btn{width:40px;height:40px;border-radius:50%;border:2px solid var(--c-gray-200);background:var(--c-white);color:var(--c-navy);font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s var(--ease)}
.twh-reviews-btn:hover{background:var(--c-navy);color:#fff;border-color:var(--c-navy)}

/* ═══════════════════════════════════════════════════════════════
   WATER HEATER TYPES
   ═══════════════════════════════════════════════════════════════ */
.twh-types{background:var(--c-white);padding:3rem 0 3.5rem;border-top:1px solid var(--c-gray-200)}
.twh-types-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem}
.twh-types-inner>h2{font-family:var(--font-display);font-size:1.5rem;font-weight:800;color:var(--c-navy);text-align:center;margin:0 0 .5rem}
.twh-types-sub{text-align:center;color:var(--c-gray-500);font-size:.95rem;margin:0 0 2rem}
.twh-types-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.twh-type-card{display:flex;flex-direction:column;border-radius:var(--radius);overflow:hidden;border:1px solid var(--c-gray-200);text-decoration:none;color:var(--c-gray-700);transition:all .3s var(--ease);background:var(--c-white)}
.twh-type-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.1);border-color:var(--c-orange)}
.twh-type-img{height:220px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.twh-type-img img{width:100%;height:100%;object-fit:cover}
.twh-type-img-placeholder{color:var(--c-gray-400);font-size:.85rem;font-style:italic}
.twh-type-body{padding:1.25rem 1.5rem 1.5rem;flex:1;display:flex;flex-direction:column}
.twh-type-body h3{font-family:var(--font-display);font-size:1.1rem;font-weight:700;color:var(--c-navy);margin:0 0 .5rem}
.twh-type-body p{font-size:.88rem;line-height:1.65;color:var(--c-gray-600);margin:0 0 1rem;flex:1}
.twh-type-link{color:var(--c-orange);font-weight:700;font-size:.88rem}
.twh-type-card:hover .twh-type-link{text-decoration:underline}
@media(max-width:768px){.twh-types-grid{grid-template-columns:1fr;max-width:450px;margin:0 auto}.twh-type-img{height:180px}}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════ */
.twh-faq{background:var(--c-white);padding:3rem 0 3.5rem;border-top:1px solid var(--c-gray-200)}
.twh-faq-inner{max-width:760px;margin:0 auto;padding:0 1.25rem}
.twh-faq-inner>h2{font-family:var(--font-display);font-size:1.5rem;font-weight:800;color:var(--c-navy);text-align:center;margin:0 0 2rem}
.twh-faq-item{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--c-gray-200)}
.twh-faq-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.twh-faq-item h3{font-family:var(--font-display);font-size:1rem;font-weight:700;color:var(--c-navy);margin:0 0 .5rem;line-height:1.4}
.twh-faq-item p{font-size:.9rem;line-height:1.7;color:var(--c-gray-700);margin:0}
.twh-faq-item a{color:var(--c-orange);font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,109,0,.3);transition:border-color .2s}
.twh-faq-item a:hover{border-color:var(--c-orange)}

/* ═══════════════════════════════════════════════════════════════
   CTA CALL BUTTON BAR
   ═══════════════════════════════════════════════════════════════ */
.twh-cta-bar{background:linear-gradient(135deg,var(--c-navy) 0%,var(--c-navy-mid) 100%);padding:3rem 0;text-align:center;width:100%}
.twh-cta-bar-inner{max-width:600px;margin:0 auto;padding:0 1.25rem}
.twh-cta-bar h2{font-family:var(--font-display);font-size:1.65rem;font-weight:800;color:#fff;margin:0 0 .5rem}
.twh-cta-bar p{color:rgba(255,255,255,.65);font-size:1rem;margin:0 0 1.5rem}
.twh-cta-call-btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--c-orange);color:#fff!important;font-family:var(--font-display);font-size:1.35rem;font-weight:800;padding:.85rem 2.5rem;border-radius:var(--radius);text-decoration:none;transition:all .25s var(--ease);letter-spacing:.3px}
.twh-cta-call-btn:hover{background:var(--c-orange-dk);transform:translateY(-2px);box-shadow:0 8px 28px rgba(255,109,0,.4);color:#fff!important}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
/* Force all parent containers to allow footer breakout */
.site-main,.page-content,.entry-content,.elementor-widget-wrap,.elementor-element,.post-content{overflow:visible!important}
.twh-page-wrap{overflow:visible!important}

.twh-footer{background:var(--c-gray-900);color:rgba(255,255,255,.7);padding:3rem 0 0;margin-top:2rem;width:100%}
.twh-footer-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.25rem;display:grid;grid-template-columns:1.8fr 0.8fr 1fr 0.9fr 0.9fr;gap:1.5rem}
.twh-footer-brand p{font-size:.875rem;line-height:1.6;color:rgba(255,255,255,.5);margin:.75rem 0 1rem}
.twh-footer-logo{display:flex;align-items:center;gap:.5rem;font-family:var(--font-display);font-size:1.1rem;font-weight:800;color:#fff}
.twh-footer-logo svg{width:28px;height:28px}
.twh-footer-phone{display:inline-flex;align-items:center;gap:.4rem;background:var(--c-orange);color:#fff!important;padding:.55rem 1.1rem;border-radius:var(--radius-sm);font-weight:700;font-size:.95rem;transition:background .2s}
.twh-footer-phone:hover{background:var(--c-orange-dk);color:#fff!important}
.twh-footer h4{color:#fff;font-family:var(--font-display);font-size:.9rem;font-weight:700;margin:0 0 .85rem;letter-spacing:.3px;text-transform:uppercase}
.twh-footer h4::after{content:'';display:block;width:28px;height:3px;background:var(--c-orange);border-radius:2px;margin-top:6px}
.twh-footer ul{list-style:none;margin:0;padding:0}
.twh-footer li{margin-bottom:.45rem}
.twh-footer a{color:rgba(255,255,255,.55);font-size:.85rem;transition:all .2s}
.twh-footer a:hover{color:var(--c-orange-lt);padding-left:3px}

.twh-footer-bottom{margin-top:2.5rem;padding:1.1rem 1.25rem;border-top:1px solid rgba(255,255,255,.08);text-align:center}
.twh-footer-bottom p{max-width:var(--max-w);margin:0 auto;font-size:.73rem;color:rgba(255,255,255,.35);line-height:1.55}
.twh-footer-bottom a{color:rgba(255,255,255,.45)}
.twh-footer-bottom a:hover{color:var(--c-orange-lt)}
.twh-disclosure{max-width:760px;margin:.65rem auto 0;font-size:.68rem;color:rgba(255,255,255,.25);line-height:1.5}

/* ═══════════════════════════════════════════════════════════════
   MOBILE STICKY CTA
   ═══════════════════════════════════════════════════════════════ */
.twh-mobile-sticky{display:none;position:fixed;bottom:0;left:0;right:0;z-index:9999;background:var(--c-navy);padding:8px 12px;box-shadow:0 -4px 20px rgba(0,0,0,.2);border-top:2px solid var(--c-orange)}
.twh-mobile-sticky-inner{display:flex;gap:8px;max-width:440px;margin:0 auto}
.twh-mobile-sticky a{flex:1;text-align:center;padding:.65rem .5rem;border-radius:var(--radius-sm);font-weight:700;font-size:.85rem;color:#fff!important;transition:transform .15s}
.twh-mobile-sticky a:active{transform:scale(.96)}
.twh-mobile-sticky-call{background:var(--c-orange)}
.twh-mobile-sticky-form{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:960px){
    .twh-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--c-white);flex-direction:column;padding:.75rem;box-shadow:var(--shadow-lg);border-top:1px solid var(--c-gray-200);z-index:999}
    .twh-nav.active{display:flex}
    .twh-nav a{padding:.65rem .85rem;width:100%;border-radius:var(--radius-sm)}
    .twh-mobile-toggle{display:block}
    .twh-header-phone{display:none}
    .twh-header-inner{position:relative}
    .twh-hero-inner{padding:2rem 1.25rem 3rem}
    .twh-hero h1{font-size:2rem}
    .twh-hero-sub{margin-left:auto;margin-right:auto}
    .twh-hero-stats{justify-content:center!important}
    .twh-hero-form-card{max-width:480px;margin:0 auto}
    .twh-inner-hero-inner{grid-template-columns:1fr}
    .twh-inner-form-card{max-width:480px;margin:0 auto}
    .twh-inner-hero{text-align:center}
    .twh-footer-inner{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
    .twh-topbar-badges{display:none}
    .twh-hero h1{font-size:1.65rem}
    .twh-hero-stats{gap:1.25rem}
    .twh-hero-stat-num{font-size:1.4rem}
    .twh-footer-inner{grid-template-columns:1fr}
    .twh-page-wrap h1{font-size:1.5rem}
    .twh-mobile-sticky{display:block}
    body{padding-bottom:65px}
}

/* ═══════════════════════════════════════════════════════════════
   FORM OVERRIDES (make plugin form look native)
   ═══════════════════════════════════════════════════════════════ */
.twh-hero-form-card .twhl-form-wrapper,
.twh-inner-form-card .twhl-form-wrapper{
    box-shadow:none!important;border:none!important;border-radius:0!important;border-top:none!important;margin:0!important;padding:1.5rem 1.5rem 1rem!important
}
.twh-hero-form-card .twhl-form-header,
.twh-inner-form-card .twhl-form-header{margin-bottom:1rem}
.twh-hero-form-card .twhl-phone-strip,
.twh-inner-form-card .twhl-phone-strip{border-radius:0 0 16px 16px}

/* Stand-alone form (in page content below hero) */
.twh-page-wrap .twhl-form-wrapper{border-top:4px solid var(--c-orange);border-radius:var(--radius)!important;box-shadow:var(--shadow-md)!important}
