/* =========================================================
   All Season Climate Pros — Full HVAC Service Website
   Rebuilt theme (Long Island · full-service HVAC)
   ========================================================= */

:root {
  --navy: #15234B;
  --navy-800: #1c3164;
  --navy-700: #234080;
  --heat: #F37029;      /* warm accent (heating) — matches logo */
  --heat-dark: #d5581a;
  --cool: #2BA4DC;      /* cool accent (cooling) — matches logo */
  --cool-dark: #1c85b8;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-soft-2: #eef3f8;
  --white: #ffffff;
  --star: #f5a623;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(21, 35, 75, 0.07);
  --shadow: 0 14px 40px rgba(21, 35, 75, 0.13);
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.3px; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--cool-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section--soft, .alt-bg { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: .78rem; font-weight: 700; color: var(--heat); margin-bottom: 14px;
}
.section--navy .eyebrow, .dark-bg .eyebrow { color: #7fc4e8; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 40px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary, .btn--primary { background: var(--heat); color: #fff; }
.btn-primary:hover, .btn--primary:hover { background: var(--heat-dark); color:#fff; }
.btn-accent { background: var(--heat); color:#fff; }
.btn-accent:hover { background: var(--heat-dark); color:#fff; }
.btn-secondary { background: var(--cool); color: #fff; }
.btn-secondary:hover { background: var(--cool-dark); color:#fff; }
.btn-ghost, .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover, .btn--ghost:hover { background: rgba(255,255,255,.12); color:#fff; }
.btn-outline, .btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover, .btn--outline:hover { border-color: var(--heat); color: var(--heat); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar */
.topbar { background: var(--navy); color: #cfe0ee; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--heat); text-decoration: none; }
.topbar-badges { display: flex; gap: 18px; flex-wrap: wrap; }

/* Header / nav */
.site-header, .header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 46px; width: auto; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; color: var(--navy); font-weight: 600; border-radius: 8px;
}
.menu > li > a:hover { background: var(--bg-soft); text-decoration: none; color: var(--heat); }
.caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .7; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.dropdown li a:hover { background: var(--bg-soft); color: var(--heat); text-decoration: none; }
.dropdown__head { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); padding: 8px 12px 4px; font-weight: 700; }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(243,112,41,.28), transparent 60%),
    radial-gradient(900px 500px at 0% 120%, rgba(43,164,220,.30), transparent 55%),
    linear-gradient(135deg, #12203f 0%, #1c3164 100%);
}
.hero-grid, .hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 74px 0; }
.hero h1 { color: #fff; }
.hero p, .hero .lead { color: #cfe0f0; font-size: 1.15rem; max-width: 560px; }
.hero .eyebrow { color: #7fc4e8; }
.hero-badges, .hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 14px; border-radius: 30px; font-size: .86rem; font-weight: 600; color: #eaf3fb;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-card, .hero__card {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: 18px;
  padding: 26px; box-shadow: var(--shadow);
}
.hero-card h3, .hero__card h3 { color: var(--navy); }
.hero-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.hero-card ul li { padding-left: 26px; position: relative; color: var(--ink); }
.hero-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cool-dark); font-weight: 800; }

/* Season split bar */
.seasonbar { display: grid; grid-template-columns: 1fr 1fr; }
.seasonbar > div { padding: 20px; display: flex; align-items: center; gap: 14px; color: #fff; }
.seasonbar .heat { background: linear-gradient(135deg, var(--heat), var(--heat-dark)); }
.seasonbar .cool { background: linear-gradient(135deg, var(--cool), var(--cool-dark)); }
.seasonbar b { display: block; font-size: 1.05rem; }
.seasonbar small { opacity: .9; }

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

.card, .service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: .2s ease;
  display: flex; flex-direction: column;
}
.card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4e0ec; }
.card__icon, .service-icon {
  width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff; flex: none; font-size: 1.6rem;
}
.ic-heat { background: linear-gradient(135deg, var(--heat), var(--heat-dark)); }
.ic-cool { background: linear-gradient(135deg, var(--cool), var(--cool-dark)); }
.ic-navy { background: linear-gradient(135deg, var(--navy-700), var(--navy)); }
.service-icon { background: linear-gradient(135deg, var(--navy-700), var(--navy)); }
.card h3, .service-card h3 { margin-bottom: 8px; }
.card p, .service-card p { color: var(--muted); font-size: .97rem; }
.card__link, .read-more { margin-top: auto; font-weight: 700; color: var(--heat); display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover, .read-more:hover { text-decoration: none; gap: 10px; }

/* Feature list */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(43,164,220,.14);
  color: var(--cool-dark); display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-top: 2px;
}
.section--navy .features .tick { background: rgba(255,255,255,.15); color: #fff; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.why-item { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.why-item .num { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg,var(--heat),var(--heat-dark)); color:#fff; display:grid; place-items:center; font-weight:800; margin-bottom: 14px; }
.why-item p { color: var(--muted); font-size: .95rem; }

/* Split media block */
.split, .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split--rev .split__media { order: 2; }
.media-panel {
  border-radius: 18px; min-height: 320px; box-shadow: var(--shadow);
  display: grid; place-items: center; color: #fff; text-align: center; padding: 24px;
}
.media-heat { background: linear-gradient(140deg, #f58a4b, var(--heat-dark)); }
.media-cool { background: linear-gradient(140deg, #35b6e6, var(--cool-dark)); }
.media-navy { background: linear-gradient(140deg, var(--navy-700), var(--navy)); }
.media-panel .big { font-size: 3rem; margin-bottom: 6px; }

/* Sub-service block (service pages) */
.subservice { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.subservice:first-of-type { border-top: 0; }
.subservice--rev .ss-media { order: 2; }
.ss-media { border-radius: 16px; min-height: 260px; display: grid; place-items: center; box-shadow: var(--shadow); }
.ss-media img { width: 96px; height: 96px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill-list span { background: var(--bg-soft-2); border-radius: 20px; padding: 6px 14px; font-size: .88rem; font-weight: 600; color: var(--navy); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat b, .stat-num { display: block; font-size: 2.3rem; font-weight: 800; color: #fff; }
.stat span, .stat-label { color: #a9c6e0; font-weight: 600; font-size: .95rem; }
.dark-bg, .section--navy { background: var(--navy); color:#dbe6f1; }
.dark-bg h2, .section--navy h2, .section--navy h3 { color:#fff; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stars { color: var(--star); letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.review p { font-style: italic; color: var(--ink); }
.review .who { font-weight: 700; color: var(--navy); font-style: normal; margin-top: 10px; }
.review .who small { display: block; color: var(--muted); font-weight: 500; }

/* Brands strip */
.brands-strip { padding: 40px 0; border-bottom: 1px solid var(--line); background:#fff; }
.brands-strip h3 { text-align: center; font-size: .85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-bottom: 22px; }
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.brand-card img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.brand-card:hover img { filter: none; opacity: 1; }
.brand-fallback { font-weight: 800; color: var(--navy); font-size: 1.2rem; }

/* Rebate banner */
.rebate {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  border-radius: 20px; color: #fff; padding: 44px; position: relative; overflow: hidden;
}
.rebate::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(243,112,41,.4), transparent 70%);
}
.rebate h2 { color:#fff; }
.rebate .amount { font-size: 3rem; font-weight: 800; color: #ffd7a6; }

/* PSEG Home Comfort Partner badge */
.partner-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow-sm);
}
.partner-badge img { height: 52px; width: auto; }
.partner-badge .partner-fallback { font-weight: 800; color: var(--navy); line-height: 1.15; }
.partner-badge .partner-fallback small { display: block; color: var(--heat); font-weight: 700; font-size: .8rem; }
.partner-logo { height: 56px; width: auto; }
.footer .partner-badge, .site-footer .partner-badge { margin-top: 16px; }

/* Area chips */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span {
  background: #fff; border: 1px solid var(--line); border-radius: 30px;
  padding: 8px 16px; font-weight: 600; color: var(--navy); font-size: .93rem;
}

/* CTA band / strip */
.cta-band, .cta-strip {
  background: linear-gradient(135deg, var(--heat) 0%, var(--heat-dark) 100%);
  color: #fff; border-radius: 20px; padding: 46px; text-align: center;
}
.cta-strip { display:flex; align-items:center; justify-content:space-between; gap:24px; text-align:left; flex-wrap:wrap; }
.cta-band h2, .cta-strip h2 { color: #fff; }
.cta-band p, .cta-strip p { color: #fff; opacity: .95; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 9px; padding: 12px 13px; font: inherit; color: var(--ink); background: #fbfdff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cool); border-color: var(--cool); }
.field textarea { min-height: 120px; resize: vertical; }

/* Contact info list */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .i-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft-2); display: grid; place-items: center; color: var(--navy); font-size:1.3rem; }
.info-list b { color: var(--navy); display: block; }
.info-list span { color: var(--muted); }

/* Page hero (interior) */
.page-hero {
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(243,112,41,.22), transparent 60%),
    linear-gradient(135deg, #12203f 0%, #1c3164 100%);
  color: #fff; padding: 58px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #cfe0f0; max-width: 620px; }
.crumbs { color: #9db9d4; font-size: .88rem; margin-bottom: 14px; }
.crumbs a { color: #9db9d4; }
.crumbs a:hover { color: #fff; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; color: var(--ink); }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer, .footer { background: #0c1730; color: #a9c1d8; padding: 60px 0 26px; }
.site-footer h4, .footer h4 { color: #fff; font-size: 1rem; letter-spacing: .5px; margin-bottom: 16px; }
.site-footer a, .footer a { color: #a9c1d8; }
.site-footer a:hover, .footer a:hover { color: #fff; text-decoration: none; }
.footer-grid, .footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.site-footer ul, .footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand-logo { height: 40px; }
.footer-bottom, .footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #7f9bb5;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .hero__grid, .split, .two-col { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .subservice, .subservice--rev { grid-template-columns: 1fr; }
  .subservice--rev .ss-media { order: 0; }
  .grid-4, .grid-3, .service-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid, .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu, .nav__cta .btn { display: none; }
  .nav-toggle { display: block; }
  .menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 16px 18px;
  }
  .site-header, .header { position: relative; }
  .menu.open > li > a { padding: 12px 8px; }
  .menu.open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px; padding: 2px 0;
  }
  .topbar-badges { display: none; }
  .grid-2, .grid-3, .grid-4, .service-grid, .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid, .footer__grid { grid-template-columns: 1fr; }
  .cta-strip { text-align: center; justify-content: center; }
  .rebate, .cta-band, .cta-strip { padding: 30px 22px; }
  .section { padding: 54px 0; }
}
