/* ===========================================================
   Air to Air AC & Heating — Shared Design System
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lexend:wght@600;700;800&display=swap');

:root {
  /* Brand palette — cool (AC) / warm (heat) duality */
  --navy-950: #0a1a2b;
  --navy-900: #0f2438;
  --navy-800: #16324a;
  --navy-700: #1e4560;
  --blue-500: #0ea5e9;
  --blue-400: #38bdf8;
  --ember-600: #ea580c;
  --ember-500: #f97316;
  --ember-400: #fb923c;
  --slate-50: #f7f9fb;
  --slate-100: #eef2f6;
  --slate-200: #dfe6ed;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --white: #ffffff;
  --success: #16a34a;
  --star: #f59e0b;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Lexend', 'Inter', -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(10, 26, 43, 0.08), 0 1px 2px rgba(10, 26, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 26, 43, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 26, 43, 0.16);
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember-600);
  background: #fff1e6;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.bg-slate { background: var(--slate-50); }
.bg-navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--slate-200); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--slate-500); font-size: 1.05rem; margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ember-500); color: var(--white); box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35); }
.btn-primary:hover { background: var(--ember-600); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-900); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--slate-200);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: var(--slate-200); }
.topbar .topbar-phone { font-weight: 700; color: var(--blue-400); }
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { opacity: 0.85; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: inherit; }
.topbar-social a:hover { opacity: 1; }
.topbar-social svg, .footer-social svg { width: 16px; height: 16px; fill: currentColor; display: block; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); font-size: 1.08rem; color: var(--navy-900); }
.brand-text span { font-size: 0.72rem; color: var(--slate-500); letter-spacing: 0.03em; text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--ember-600); }
nav.main-nav a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ember-500); border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; }
.header-phone small { font-size: 0.72rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.04em; }
.header-phone a { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.16), transparent 45%),
              linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p.lead { font-size: 1.12rem; color: var(--slate-200); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badges div { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--slate-200); font-weight: 600; }
.hero-badges .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-500); flex-shrink: 0; }
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: var(--white); margin-bottom: 6px; }
.hero-panel p { color: var(--slate-200); font-size: 0.92rem; margin-bottom: 20px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--blue-400); }
.hero-stat span { font-size: 0.82rem; color: var(--slate-200); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); border-top: 1px solid var(--slate-200); padding: 22px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-800); font-size: 0.92rem; }
.trust-item .ic { color: var(--ember-500); font-size: 1.1rem; }

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

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon-badge {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.35rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate-500); font-size: 0.95rem; }
.card a.card-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--ember-600); font-size: 0.9rem; }

.service-card { border-top: 4px solid var(--blue-500); }
.service-card:nth-child(3n+2) { border-top-color: var(--ember-500); }
.service-card:nth-child(3n+3) { border-top-color: var(--navy-800); }

/* ---------- Why us / feature rows ---------- */
.feature-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.feature-row .num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.feature-row h3 { margin-bottom: 6px; }
.feature-row p { color: var(--slate-500); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.stars { color: var(--star); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p.quote { color: var(--slate-700); font-style: italic; margin-bottom: 18px; flex-grow: 1; }
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--ember-500));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-family: var(--font-head); font-size: 0.9rem;
}
.testimonial-meta strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.testimonial-meta span { font-size: 0.8rem; color: var(--slate-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ember-600), var(--ember-500));
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: white; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.92); }
.cta-band .btn-outline { border-color: white; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-900);
}
.faq-q .plus { font-size: 1.3rem; color: var(--ember-500); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 4px 20px; color: var(--slate-500); font-size: 0.96rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-800); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-500);
}

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-950); color: var(--slate-200); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: var(--slate-200); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--blue-400); }
.footer-brand p { font-size: 0.88rem; color: var(--slate-500); margin: 14px 0 18px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: white;
}
.footer-social a:hover { background: rgba(255,255,255,0.18); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: var(--slate-500);
}
.footer-license { color: var(--slate-500); }

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: white;
  padding: 56px 0 60px;
}
.page-hero .eyebrow { background: rgba(255,255,255,0.12); color: var(--blue-400); }
.page-hero h1 { color: white; margin-bottom: 12px; }
.page-hero p { color: var(--slate-200); max-width: 600px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 14px; }
.breadcrumb a { color: var(--blue-400); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ember-500);
  padding: 12px 20px;
  text-align: center;
  font-weight: 700;
  color: white;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.15);
}

/* ---------- Brand logo ---------- */
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; border-radius: 10px; }
.footer-brand .brand-logo { width: 58px; height: 58px; }

/* ---------- Instant Quote Chat Widget ---------- */
.chat-launcher {
  position: fixed; bottom: 26px; right: 26px; z-index: 300;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--ember-500); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; cursor: pointer;
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.4);
  transition: transform 0.15s ease;
}
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher .chat-badge {
  position: absolute; top: -8px; left: -14px;
  background: var(--navy-900); color: white;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.03em;
  padding: 4px 8px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.chat-panel {
  position: fixed; bottom: 104px; right: 26px; z-index: 300;
  width: 350px; max-width: calc(100vw - 32px); height: 480px; max-height: 70vh;
  background: white; border-radius: 18px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px) scale(0.96); opacity: 0; pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-head {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: white; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.chat-head strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.chat-head span { font-size: 0.74rem; color: var(--blue-400); }
.chat-close { background: none; border: none; color: white; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--slate-50); }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 0.86rem; line-height: 1.45; }
.chat-msg.bot { background: white; border: 1px solid var(--slate-200); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--slate-700); }
.chat-msg.user { background: var(--ember-500); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; flex-shrink: 0; background: var(--slate-50); }
.chat-option-btn {
  background: white; border: 1.5px solid var(--blue-500); color: var(--navy-900);
  font-weight: 700; font-size: 0.8rem; padding: 8px 13px; border-radius: 999px; cursor: pointer;
}
.chat-option-btn:hover { background: var(--blue-500); color: white; }
.chat-lead-form { display: flex; flex-direction: column; gap: 8px; background: white; border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px; align-self: stretch; }
.chat-lead-form input { border: 1.5px solid var(--slate-200); border-radius: 8px; padding: 9px 12px; font-size: 0.85rem; font-family: var(--font-body); }
.chat-lead-form button { margin-top: 2px; }

@media (max-width: 760px) {
  .chat-launcher { bottom: 76px; right: 16px; width: 56px; height: 56px; font-size: 1.4rem; }
  .chat-panel { bottom: 142px; right: 16px; width: calc(100vw - 32px); height: 62vh; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-left span:nth-child(2) { display: none; }
}

@media (max-width: 760px) {
  nav.main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--slate-100); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 54px; }
  .topbar { display: none; }
}
