/*
Theme Name: Air Assist 26
Theme URI: https://airassist26.com
Author: Air Assist 26
Author URI: https://airassist26.com
Description: A trendy, conversion-focused WordPress theme for Air Assist 26 - the exclusive HVAC cooling-boost retrofit for Las Vegas homes. Built for speed, mobile-first layouts, and heavy local SEO.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: air-assist-26
Tags: one-column, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   1. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

:root {
  --bg: #ffffff;
  --bg-2: #f3f8fc;
  --bg-3: #eaf1f8;
  --card: #ffffff;
  --border: #e1e9f0;
  --text: #0f1b2b;
  --muted: #57687c;
  --blue: #0284c7;
  --blue-bright: #22c3ff;
  --blue-deep: #075985;
  --blue-dark: #075985;
  --cta: #ff5a2e;
  --cta-hover: #ff7a4d;
  --success: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --shadow: 0 20px 45px -20px rgba(20,45,80,0.18);
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.3; }
h4 { font-size: 1.05rem; }
p { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(45, 212, 255, 0.08);
  border: 1px solid rgba(45, 212, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
@media (max-width: 782px) { section { padding: 64px 0; } }
.bg-alt { background: var(--bg-2); }
.bg-panel { background: var(--bg-3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-cta {
  background: linear-gradient(135deg, var(--cta), #ff8a3d);
  color: #1a0900;
  box-shadow: 0 12px 30px -8px rgba(255, 106, 61, 0.55);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(255, 106, 61, 0.7); background: linear-gradient(135deg, var(--cta-hover), #ff9a5c); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(15,27,43,0.18);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 19px 36px; font-size: 1.08rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ==========================================================================
   5. HEADER / NAV
   ========================================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); }
.site-logo .logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.site-logo .logo-sub { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; color: var(--blue); text-transform: uppercase; }
#primary-menu { display: flex; align-items: center; gap: 32px; }
#primary-menu a { font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color 0.15s ease; }
#primary-menu a:hover, #primary-menu li.current-menu-item > a { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); font-size: 0.98rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--blue); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--text); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  #primary-menu { position: fixed; inset: 72px 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 22px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  #primary-menu.is-open { transform: translateX(0); }
  #primary-menu a { font-size: 1.1rem; }
  .menu-toggle { display: inline-flex; }
  .header-phone span.phone-label { display: none; }
}

/* ==========================================================================
   6. HERO
   ========================================================================== */
.hero { padding: 76px 0 90px; overflow: hidden; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(34,195,255,0.16), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy h1 span { color: var(--blue); }
.hero-copy p.lead { font-size: 1.18rem; margin-top: 20px; max-width: 540px; }
.hero-copy .cta-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

.hero-media { position: relative; }
.media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-2);
}
.media-frame video, .media-frame img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(15,27,43,0) 40%, rgba(15,27,43,0.62));
  cursor: pointer;
}
.play-badge .play-circle {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.play-badge:hover .play-circle { transform: scale(1.08); background: rgba(255,255,255,0.22); }
.play-badge svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.media-caption { position: absolute; left: 20px; bottom: 20px; color: #fff; font-weight: 700; font-size: 0.95rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.floating-stat {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
}
@media (max-width: 980px) { .floating-stat { left: 12px; bottom: -20px; } }
.floating-stat .num { font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.floating-stat .lbl { font-size: 0.78rem; color: var(--muted); line-height: 1.2; }

/* ==========================================================================
   7. TRUST BAR / BADGES
   ========================================================================== */
.trust-bar { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 30px; height: 30px; color: var(--blue); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.95rem; color: var(--text); }
.trust-item span { font-size: 0.8rem; color: var(--muted); }

/* ==========================================================================
   8. CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 10px 28px -18px rgba(20,45,80,0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(2,132,199,0.35); box-shadow: 0 18px 40px -18px rgba(20,45,80,0.28); }
.card .icon-wrap {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(34,195,255,0.12); border: 1px solid rgba(34,195,255,0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .icon-wrap svg { width: 26px; height: 26px; color: var(--blue); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }

/* Steps / timeline */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 40px; }
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #001018; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { margin-bottom: 6px; }
.step p { font-size: 0.95rem; }
.steps-line { position: absolute; left: 23px; top: 46px; bottom: -40px; width: 2px; background: linear-gradient(180deg, var(--blue), transparent); }
.step:last-child .steps-line { display: none; }

/* ==========================================================================
   9. BEFORE / AFTER + COST COMPARISON
   ========================================================================== */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 780px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.compare-card.before { background: linear-gradient(160deg, #fff5f0, #ffe9de); border-color: rgba(255,90,46,0.25); }
.compare-card.after { background: linear-gradient(160deg, #eaf8ff, #dbf0ff); border-color: rgba(2,132,199,0.25); }
.compare-tag { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.compare-card.before .compare-tag { background: rgba(255,90,46,0.15); color: #c2410c; }
.compare-card.after .compare-tag { background: rgba(2,132,199,0.15); color: var(--blue-deep); }
.compare-temp { font-size: 3.4rem; font-weight: 800; margin-bottom: 6px; }
.compare-card.before .compare-temp { color: #c2410c; }
.compare-card.after .compare-temp { color: var(--blue-deep); }
.compare-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.compare-card li { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; color: var(--muted); }
.compare-card li svg { width: 16px; height: 16px; flex-shrink: 0; }
.compare-card.before li svg { color: #c2410c; }
.compare-card.after li svg { color: var(--success); }

.cost-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; }
.cost-bars { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.cost-bar-row .cost-bar-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 700; font-size: 0.95rem; }
.cost-bar-track { height: 16px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.cost-bar-fill { height: 100%; border-radius: 999px; }
.cost-bar-fill.full { width: 100%; background: linear-gradient(90deg, #ff6a3d, #ff9a5c); }
.cost-bar-fill.mini { width: 5%; min-width: 22px; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); }
.cost-note { margin-top: 26px; font-size: 0.9rem; color: var(--muted); }

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.faq-q svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { padding-top: 14px; font-size: 0.97rem; }

/* ==========================================================================
   11. BOOKING FORM
   ========================================================================== */
.booking-section { position: relative; }
.booking-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 900px) { .booking-wrap { grid-template-columns: 1fr; } }
.booking-side { background: linear-gradient(160deg, #eaf6ff, #dcefff); padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.booking-side h2 { margin-bottom: 16px; }
.booking-side p { margin-bottom: 26px; }
.booking-side .bs-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.booking-side .bs-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.booking-form { padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 16px; color: var(--text); font-size: 0.96rem; outline: none;
  transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.92rem; font-weight: 600; }
.form-msg.success { background: rgba(22,163,74,0.1); color: var(--success); border: 1px solid rgba(22,163,74,0.3); }
.form-msg.error { background: rgba(255,90,46,0.1); color: #c2410c; border: 1px solid rgba(255,90,46,0.3); }
.form-fineprint { font-size: 0.78rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ==========================================================================
   12. SERVICE AREA / MAP
   ========================================================================== */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.area-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-3); font-size: 0.86rem; color: var(--muted); }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
#site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { color: var(--text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col p { font-size: 0.92rem; color: var(--muted); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   14. UTIL / MISC
   ========================================================================== */
.sticky-call {
  position: fixed; bottom: 18px; right: 18px; z-index: 998;
  display: none; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cta), #ff8a3d);
  box-shadow: 0 12px 30px -6px rgba(255,106,61,0.6);
}
.sticky-call svg { width: 26px; height: 26px; color: #1a0900; }
@media (max-width: 782px) { .sticky-call { display: flex; } }
.bar-cta { background: linear-gradient(120deg, #eaf6ff, #fff1ea); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; text-align: center; }
.bar-cta h2 { margin-bottom: 12px; }
.bar-cta p { max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }
.bar-cta .cta-row { justify-content: center; }
.text-page { padding: 64px 0 96px; }
.text-page .container { max-width: 860px; }
.text-page h1 { margin-bottom: 18px; }
.text-page .content-body h2 { margin-top: 40px; margin-bottom: 16px; }
.text-page .content-body h3 { margin-top: 28px; margin-bottom: 12px; }
.text-page .content-body p { margin-bottom: 16px; font-size: 1.02rem; }
.text-page .content-body ul { margin-bottom: 16px; }
.text-page .content-body li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 1rem; color: var(--muted); }
.text-page .content-body li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #001018; padding: 12px 18px; z-index: 9999; }
.skip-link:focus { left: 12px; top: 12px; }
