/* ===== Better Temp Heating & Cooling — shared styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --red: #E11D2E;
  --red-deep: #B30E1B;
  --blue: #1E40AF;
  --blue-deep: #0F2F8A;
  --blue-ink: #0B1A4D;
  --grad: linear-gradient(95deg, #E11D2E 0%, #C71F4F 35%, #6A2DA8 55%, #1E40AF 100%);
  --grad-soft: linear-gradient(135deg, #FEE9EC 0%, #EEE9FE 50%, #E6EBFA 100%);
  --ink: #0B1220;
  --slate: #475569;
  --slate-2: #64748B;
  --hairline: #E5E7EB;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FB;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.05), 0 1px 1px rgba(11,18,32,.03);
  --shadow-md: 0 10px 24px -8px rgba(11,18,32,.12), 0 4px 8px -4px rgba(11,18,32,.06);
  --shadow-lg: 0 24px 48px -12px rgba(11,18,32,.18), 0 8px 16px -8px rgba(11,18,32,.08);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --pad-x: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 6.5vw, 68px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4.5vw, 46px); }
h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
h4 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; color: var(--slate); line-height: 1.65; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== Top accent gradient bar ===== */
.brand-bar {
  height: 4px;
  background: var(--grad);
}

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  position: relative;
  transition: background .15s;
}
.nav-links a:hover { background: var(--bg-alt); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s, background .15s;
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-1px); }
.nav-cta .phone-icon { width: 14px; height: 14px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  background: white;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .15s, top .25s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 8px 22px -8px rgba(225,29,46,.45), 0 8px 22px -10px rgba(30,64,175,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(225,29,46,.55), 0 14px 28px -12px rgba(30,64,175,.5); }
.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: white; }
.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { background: var(--bg-alt); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(11,18,32,.78) 0%, rgba(11,18,32,.55) 45%, rgba(11,18,32,.15) 75%, rgba(11,18,32,0) 100%),
    linear-gradient(180deg, rgba(11,18,32,.2) 0%, rgba(11,18,32,.55) 100%);
}
.hero-inner {
  padding: 110px 0 90px;
  color: white;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
}
.hero h1 { color: white; margin-bottom: 16px; }
.hero h1 .grad-text {
  background: linear-gradient(95deg, #FF6470 0%, #B49BF0 55%, #6F8CFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-secondary { background: rgba(255,255,255,.96); border-color: transparent; }
.hero-actions .btn-secondary:hover { background: white; color: var(--ink); }

.hero-strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11,18,32,.85) 60%);
  padding: 16px 0;
  color: white;
  font-size: 13px;
  font-weight: 600;
}
.hero-strip-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .9;
}
.hero-strip-row span { display: inline-flex; align-items: center; gap: 10px; }
.hero-strip-row .pill {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

/* ===== Section heads ===== */
section { padding: clamp(64px, 9vw, 110px) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { display: inline-block; }

/* ===== Service cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.service-card.heat::before { background: linear-gradient(90deg, #FF7B57, var(--red), #B30E1B); }
.service-card.cool::before { background: linear-gradient(90deg, #5BA8FF, var(--blue), var(--blue-deep)); }
.service-card.iaq::before  { background: linear-gradient(90deg, var(--red), #6A2DA8, var(--blue)); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: white;
}
.service-card.heat .service-icon { background: linear-gradient(135deg, #FF5A4F, var(--red)); }
.service-card.cool .service-icon { background: linear-gradient(135deg, #4D8AFF, var(--blue)); }
.service-card.iaq  .service-icon { background: linear-gradient(135deg, var(--red), var(--blue)); }
.service-icon svg { width: 30px; height: 30px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 15.5px; margin-bottom: 22px; }

.service-list {
  list-style: none;
  margin: 0 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.service-list li::before {
  content: '';
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad);
  flex: 0 0 8px;
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(225,29,46,.4), transparent 70%);
  z-index: -1;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: auto auto -40% -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(30,64,175,.45), transparent 70%);
  z-index: -1;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { color: white; }
.cta-band .cta-sub { color: rgba(255,255,255,.75); font-size: 18px; margin-bottom: 28px; }
.cta-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.cta-card .free {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--grad);
  color: white;
  margin-bottom: 14px;
}
.cta-card h3 { color: white; font-size: 24px; margin-bottom: 10px; }
.cta-card p { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 22px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-actions .btn { width: 100%; }
.cta-actions .btn-secondary { background: white; color: var(--ink); border-color: white; }

/* ===== Bryant dealer band ===== */
.dealer-band {
  background: var(--bg-alt);
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.dealer-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.dealer-logo {
  width: 220px;
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
}
.dealer-logo img { width: 100%; height: auto; display: block; }
.dealer-text h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.dealer-text p { font-size: 16px; max-width: 560px; margin-bottom: 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer h5 {
  color: white;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: white; }
.footer-brand .brand-name { color: white; }
.footer-brand .brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  background: transparent;
  padding: 0;
}
.footer-brand p { color: rgba(255,255,255,.65); margin-top: 12px; max-width: 320px; font-size: 14.5px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom .slogan {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800;
}

/* ===== Page header (non-home pages) ===== */
.page-head {
  background: var(--bg-alt);
  padding: clamp(64px, 9vw, 100px) 0 clamp(40px, 6vw, 60px);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(225,29,46,.12), transparent 70%);
  z-index: -1;
}
.page-head::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(30,64,175,.12), transparent 70%);
  z-index: -1;
}
.page-head h1 { font-size: clamp(36px, 5.5vw, 60px); margin-bottom: 14px; }
.page-head p { font-size: clamp(16px, 1.6vw, 18px); max-width: 640px; color: var(--slate); }

/* ===== Utilities ===== */
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .brand-tag { display: none; }
  .nav-links a { padding: 10px 11px; font-size: 14.5px; }
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .cta-band .container { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dealer-inner { grid-template-columns: 1fr; text-align: center; }
  .dealer-logo { margin: 0 auto; }
  .nav-cta .phone-text { display: none; }
  .nav-cta { padding: 10px; width: 44px; height: 44px; justify-content: center; }
  .nav-cta .phone-icon { width: 18px; height: 18px; }
  .brand-name { font-size: 15px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .site-header { position: sticky; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .22s ease, opacity .18s ease, visibility 0s linear .22s;
    box-shadow: var(--shadow-md);
  }
  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .25s ease, opacity .18s ease, visibility 0s linear 0s;
  }
  .nav-links a { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .nav-links a.active { background: var(--bg-alt); }
  .nav-links a.active::after { display: none; }
  .brand-name { font-size: 14.5px; max-width: 180px; }
  .hero-inner { padding: 80px 0 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-strip-row { gap: 18px; font-size: 11px; }
  .btn { padding: 14px 22px; font-size: 15px; }
}
