/* ==========================================================================
   West Hill Airflow Solutions LLC — Core Stylesheet
   Design system: left-rail navigation, duct-ring signature motif
   ========================================================================== */

:root{
  --wha-navy: #1F3B57;
  --wha-navy-deep: #162B40;
  --wha-blue: #3E7CB1;
  --wha-blue-pale: #DCEAF4;
  --wha-copper: #C97D45;
  --wha-copper-deep: #A9612F;
  --wha-fog: #F2F5F7;
  --wha-fog-deep: #E4EAEE;
  --wha-white: #FFFFFF;
  --wha-charcoal: #232B32;
  --wha-slate: #5B6B77;
  --wha-line: #D7E0E7;

  --wha-font-display: "Fraunces", Georgia, serif;
  --wha-font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
  --wha-font-mono: "IBM Plex Mono", Menlo, monospace;

  --wha-rail-width: 236px;
  --wha-radius-sm: 6px;
  --wha-radius-md: 14px;
  --wha-radius-lg: 28px;
  --wha-shadow: 0 18px 40px -22px rgba(22, 43, 64, 0.35);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--wha-font-body);
  color: var(--wha-charcoal);
  background: var(--wha-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--wha-font-display);
  color: var(--wha-navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1{ font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
h3{ font-size: 1.35rem; }

p{ margin: 0 0 1.1em; }

a{ color: var(--wha-blue); text-decoration: none; }
a:hover{ color: var(--wha-copper); }

img{ max-width: 100%; display: block; }

.wha-eyebrow{
  font-family: var(--wha-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--wha-copper-deep);
  margin-bottom: 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wha-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------------------------------------------------------------
   Skip link
--------------------------------------------------------------------- */
.wha-skip{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--wha-navy);
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
}
.wha-skip:focus{ left: 12px; top: 12px; }

/* ---------------------------------------------------------------------
   Shell layout — left rail navigation + main content
--------------------------------------------------------------------- */
.wha-shell{
  display: flex;
  min-height: 100vh;
}

.wha-rail{
  width: var(--wha-rail-width);
  flex-shrink: 0;
  background: var(--wha-navy);
  color: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px 22px;
}

.wha-rail-top{ display:flex; flex-direction:column; gap: 28px; }

.wha-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.wha-brand img{ width: 44px; height: 44px; border-radius: 10px; background:#fff; padding:4px; }
.wha-brand-text{ font-family: var(--wha-font-display); font-weight: 600; font-size: 1.02rem; line-height:1.2; }
.wha-brand-text span{ display:block; font-family: var(--wha-font-mono); font-size:0.62rem; letter-spacing:0.12em; color: var(--wha-blue-pale); font-weight:400; text-transform:uppercase; }

.wha-nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wha-nav-list a{
  display: block;
  color: rgba(255,255,255,0.78);
  padding: 10px 12px;
  border-radius: var(--wha-radius-sm);
  font-size: 0.95rem;
  border-left: 3px solid transparent;
}
.wha-nav-list a:hover{ background: rgba(255,255,255,0.06); color:#fff; }
.wha-nav-list a.wha-active{
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-left-color: var(--wha-copper);
  font-weight: 600;
}

.wha-rail-bottom{ display:flex; flex-direction:column; gap:14px; }
.wha-rail-phone{
  font-family: var(--wha-font-mono);
  font-size: 1.05rem;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 12px 14px;
  border-radius: var(--wha-radius-sm);
  text-align: center;
}
.wha-rail-cta{
  display:block;
  text-align:center;
  background: var(--wha-copper);
  color: #fff;
  padding: 12px 14px;
  border-radius: var(--wha-radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.wha-rail-cta:hover{ background: var(--wha-copper-deep); color:#fff; }
.wha-rail-addr{
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height:1.5;
}

.wha-rail-toggle{ display: none; }

.wha-main{
  flex: 1;
  min-width: 0;
}

/* Mobile top bar (hidden on desktop) */
.wha-topbar{
  display: none;
}

/* ---------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------- */
.wha-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wha-font-body);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wha-btn:hover{ transform: translateY(-1px); }
.wha-btn-copper{ background: var(--wha-copper); color:#fff; }
.wha-btn-copper:hover{ background: var(--wha-copper-deep); color:#fff; }
.wha-btn-outline{ background: transparent; border-color: var(--wha-navy); color: var(--wha-navy); }
.wha-btn-outline:hover{ background: var(--wha-navy); color:#fff; }
.wha-btn-ghost-light{ background: transparent; border-color: rgba(255,255,255,0.55); color:#fff; }
.wha-btn-ghost-light:hover{ background: rgba(255,255,255,0.15); color:#fff; }

/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */
.wha-hero{
  position: relative;
  background: linear-gradient(160deg, var(--wha-navy-deep) 0%, var(--wha-navy) 62%, var(--wha-blue) 130%);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 96px;
}
.wha-hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.wha-hero h1{ color: #fff; }
.wha-hero-lead{ font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 46ch; }
.wha-hero-actions{ display:flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.wha-hero-figure{
  position: relative;
  border-radius: var(--wha-radius-lg);
  overflow: hidden;
  box-shadow: var(--wha-shadow);
  border: 1px solid rgba(255,255,255,0.18);
}
.wha-hero-figure img{ width:100%; height: 420px; object-fit: cover; }
.wha-hero-ring{
  position:absolute;
  inset: auto -120px -140px auto;
  width: 420px;
  height: 420px;
  opacity: 0.18;
}
.wha-hero-stats{
  display:flex;
  gap: 20px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.wha-stat{
  font-family: var(--wha-font-mono);
}
.wha-stat b{ display:block; font-size: 1.6rem; color: #fff; font-family: var(--wha-font-display); }
.wha-stat span{ font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.62); }

/* ---------------------------------------------------------------------
   Sections
--------------------------------------------------------------------- */
.wha-section{ padding: 78px 0; }
.wha-section-alt{ background: var(--wha-fog); }
.wha-section-head{ max-width: 680px; margin-bottom: 40px; }
.wha-section-head p{ color: var(--wha-slate); }

/* Duct ring divider (signature motif) */
.wha-ring-divider{
  display:flex;
  align-items:center;
  gap: 14px;
  margin: 8px 0 34px;
  color: var(--wha-slate);
}
.wha-ring-divider svg{ width: 30px; height:30px; flex-shrink:0; }
.wha-ring-divider::after{
  content:"";
  flex:1;
  height:1px;
  background: var(--wha-line);
}

/* Card grid */
.wha-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.wha-grid-2{ grid-template-columns: repeat(2, 1fr); }

.wha-card{
  background: #fff;
  border: 1px solid var(--wha-line);
  border-radius: var(--wha-radius-md);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wha-card:hover{ transform: translateY(-4px); box-shadow: var(--wha-shadow); }
.wha-card-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--wha-blue-pale);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.wha-card-icon svg{ width: 28px; height: 28px; }
.wha-card h3{ margin-bottom: 0.4em; }
.wha-card p{ color: var(--wha-slate); font-size: 0.95rem; margin-bottom: 0.6em; }
.wha-card-link{ font-family: var(--wha-font-mono); font-size: 0.82rem; letter-spacing: 0.03em; }

/* Process list (uses numbering deliberately — it IS a sequence) */
.wha-process{
  counter-reset: wha-step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.wha-process li{
  list-style: none;
  counter-increment: wha-step;
  background: #fff;
  border: 1px solid var(--wha-line);
  border-radius: var(--wha-radius-md);
  padding: 26px 22px;
  position: relative;
}
.wha-process li::before{
  content: counter(wha-step);
  font-family: var(--wha-font-mono);
  font-size: 0.85rem;
  color: var(--wha-copper);
  border: 1px solid var(--wha-copper);
  width: 30px; height:30px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 14px;
}
.wha-process h4{ font-family: var(--wha-font-display); color: var(--wha-navy); margin-bottom: 6px; font-size: 1.05rem;}
.wha-process p{ color: var(--wha-slate); font-size: 0.92rem; margin: 0; }

/* Split section (image + text) */
.wha-split{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items:center;
}
.wha-split.wha-split-rev{ grid-template-columns: 1.1fr 0.9fr; }
.wha-split.wha-split-rev .wha-split-media{ order: 2; }
.wha-split-media img{ border-radius: var(--wha-radius-lg); box-shadow: var(--wha-shadow); }
.wha-split-media{ position: relative; }

/* Testimonials / quote strip */
.wha-quote-strip{
  background: var(--wha-navy);
  color:#fff;
  border-radius: var(--wha-radius-lg);
  padding: 48px;
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap: 34px;
}
.wha-quote{ font-family: var(--wha-font-display); font-size: 1.2rem; line-height:1.5; }
.wha-quote cite{ display:block; font-style: normal; font-family: var(--wha-font-mono); font-size:0.78rem; letter-spacing:0.06em; color: var(--wha-blue-pale); margin-top:14px; }

/* Before/after */
.wha-compare{
  display:grid;
  /* grid-template-columns: 1fr 1fr; */
  border-radius: var(--wha-radius-lg);
  overflow:hidden;
  box-shadow: var(--wha-shadow);
}
.wha-compare figure{ margin:0; position:relative; }
.wha-compare figcaption{
  position:absolute; bottom:0; left:0; right:0;
  background: rgba(22,43,64,0.82);
  color:#fff;
  font-family: var(--wha-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  text-align:center;
}
.wha-compare img{ height: 320px; width:100%; object-fit: cover; }

/* Service areas chips */
.wha-chip-cloud{ display:flex; flex-wrap:wrap; gap:10px; }
.wha-chip{
  font-family: var(--wha-font-mono);
  font-size: 0.82rem;
  background: #fff;
  border: 1px solid var(--wha-line);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--wha-navy);
}

/* Banner CTA */
.wha-cta-banner{
  background: linear-gradient(120deg, var(--wha-copper) 0%, var(--wha-copper-deep) 100%);
  color:#fff;
  border-radius: var(--wha-radius-lg);
  padding: 50px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 30px;
  flex-wrap: wrap;
}
.wha-cta-banner h2{ color:#fff; margin-bottom: 6px; }
.wha-cta-banner p{ color: rgba(255,255,255,0.9); margin:0; }

/* FAQ accordion */
.wha-faq-item{
  border-bottom: 1px solid var(--wha-line);
  padding: 18px 0;
}
.wha-faq-q{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 20px;
  cursor:pointer;
  background:none;
  border:none;
  width:100%;
  text-align:left;
  font-family: var(--wha-font-display);
  font-size: 1.08rem;
  color: var(--wha-navy);
  padding: 4px 0;
}
.wha-faq-q svg{ width:18px; height:18px; flex-shrink:0; transition: transform 0.2s ease; }
.wha-faq-item.wha-open .wha-faq-q svg{ transform: rotate(45deg); }
.wha-faq-a{
  max-height:0;
  overflow:hidden;
  color: var(--wha-slate);
  transition: max-height 0.25s ease;
}
.wha-faq-item.wha-open .wha-faq-a{ max-height: 400px; padding-top: 12px; }

/* Form */
.wha-form{ display:grid; gap: 18px; }
.wha-form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wha-form label{
  display:block;
  font-family: var(--wha-font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wha-slate);
  margin-bottom: 6px;
}
.wha-form input, .wha-form select, .wha-form textarea{
  width:100%;
  padding: 13px 14px;
  border-radius: var(--wha-radius-sm);
  border: 1px solid var(--wha-line);
  font-family: var(--wha-font-body);
  font-size: 0.98rem;
  background:#fff;
  color: var(--wha-charcoal);
}
.wha-form input:focus, .wha-form select:focus, .wha-form textarea:focus{
  outline: 2px solid var(--wha-blue);
  outline-offset: 1px;
}
.wha-form-note{ font-size: 0.82rem; color: var(--wha-slate); }
.wha-form-success{
  display:none;
  background: #E6F3EA;
  border: 1px solid #BEDFC6;
  color: #276B3E;
  padding: 16px 18px;
  border-radius: var(--wha-radius-sm);
  font-size: 0.95rem;
}
.wha-form-success.wha-visible{ display:block; }

/* Map */
.wha-map-frame{
  border-radius: var(--wha-radius-lg);
  overflow:hidden;
  box-shadow: var(--wha-shadow);
  border: 1px solid var(--wha-line);
}
.wha-map-frame iframe{ width:100%; height: 360px; border:0; display:block; }

/* Contact info cards */
.wha-info-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.wha-info-card{
  background:#fff;
  border:1px solid var(--wha-line);
  border-radius: var(--wha-radius-md);
  padding: 24px;
  text-align:center;
}
.wha-info-card svg{ width:30px; height:30px; margin:0 auto 12px; }
.wha-info-card h4{ font-family: var(--wha-font-display); color: var(--wha-navy); margin-bottom: 4px; }
.wha-info-card p{ color: var(--wha-slate); font-size: 0.92rem; margin:0; }

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */
.wha-footer{
  background: var(--wha-navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 26px;
}
.wha-footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.wha-footer h4{ color:#fff; font-family: var(--wha-font-display); font-size: 1.02rem; margin-bottom: 14px; }
.wha-footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom: 14px; }
.wha-footer-brand img{ width:38px; height:38px; border-radius:8px; background:#fff; padding:4px; }
.wha-footer p{ font-size: 0.9rem; color: rgba(255,255,255,0.62); }
.wha-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.wha-footer a{ color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.wha-footer a:hover{ color: #fff; }
.wha-footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.wha-footer-bottom a{ color: rgba(255,255,255,0.62); }

/* ---------------------------------------------------------------------
   Utility
--------------------------------------------------------------------- */
.wha-mb-0{ margin-bottom:0 !important; }
.wha-tel{ font-family: var(--wha-font-mono); white-space: nowrap; }

/* ---------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------- */
@media (max-width: 980px){
  .wha-hero-grid{ grid-template-columns: 1fr; }
  .wha-hero-figure img{ height: 300px; }
  .wha-grid{ grid-template-columns: repeat(2,1fr); }
  .wha-process{ grid-template-columns: repeat(2,1fr); }
  .wha-split, .wha-split.wha-split-rev{ grid-template-columns: 1fr; }
  .wha-split.wha-split-rev .wha-split-media{ order:0; }
  .wha-quote-strip{ grid-template-columns: 1fr; }
  .wha-footer-grid{ grid-template-columns: 1fr 1fr; }
  .wha-info-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .wha-shell{ display:block; }
  .wha-rail{
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 20px 0 40px rgba(0,0,0,0.25);
  }
  .wha-rail.wha-rail-open{ transform: translateX(0); }
  .wha-rail-toggle{
    display:flex;
    position: fixed;
    inset: 12px auto auto 12px;
    z-index: 210;
    background: var(--wha-navy);
    color:#fff;
    border:none;
    width: 46px; height:46px;
    border-radius: 12px;
    align-items:center; justify-content:center;
  }
  .wha-topbar{
    display:flex;
    position: sticky;
    top:0;
    z-index: 150;
    background: var(--wha-navy);
    color:#fff;
    padding: 14px 70px;
    align-items:center;
    gap: 10px;
  }
  .wha-topbar img{ width:32px; height:32px; border-radius:8px; background:#fff; padding:3px; }
  .wha-topbar span{ font-family: var(--wha-font-display); font-weight:600; }
  .wha-scrim{
    display:none;
    position: fixed; inset:0;
    background: rgba(10,18,26,0.5);
    z-index: 190;
  }
  .wha-scrim.wha-scrim-visible{ display:block; }
  .wha-section{ padding: 52px 0; }
  .wha-hero{ padding: 44px 0 60px; }
  .wha-container{ padding: 0 20px; }
  .wha-grid, .wha-grid-2, .wha-process{ grid-template-columns: 1fr; }
  .wha-form-row{ grid-template-columns: 1fr; }
  .wha-cta-banner{ flex-direction:column; text-align:center; }
  .wha-footer-grid{ grid-template-columns: 1fr; }
  .wha-compare{ grid-template-columns: 1fr; }
}

/* Branded logo tile — keeps the full-color logo crisp on dark navy nav/footer */
.wha-topbar img,
.wha-brand img,
.wha-footer-brand img{
  background:#ffffff;
  border-radius:8px;
  padding:3px;
  object-fit:contain;
  box-shadow:0 1px 3px rgba(0,0,0,0.18);
}
