/* Shared landing-page styles for A+ HVAC service & service-area pages. */
:root { --g: #20ad3f; --g-dark: #1b9436; --ink: #1a1b1f; --muted: #667085; --line: #dbdee6; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Open Sans", system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; line-height: 1.65; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
h1, h2, h3 { line-height: 1.15; color: var(--ink); }
a { color: inherit; }

/* Hero */
.ah-hero { background: linear-gradient(180deg, #f7fbf8, #eef7f1); border-bottom: 1px solid var(--line); }
.ah-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: clamp(40px, 6vw, 84px); }
.ah-rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.ah-rating img { height: 20px; display: inline-block; }
.ah-rating b { color: var(--ink); }
.ah-eyebrow-hero { display: inline-block; color: var(--g); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
.ah-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; }
.ah-hero p.sub { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); margin: 0 0 28px; max-width: 48ch; }
.ah-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.btn--book { background: var(--g); color: #fff; }
.btn--book:hover { background: var(--g-dark); }
.btn--call { background: transparent; color: var(--g); border: 2px solid var(--g); }
.btn--call:hover { background: var(--g); color: #fff; }
.ah-hero__media { display: flex; flex-direction: column; }
.ah-hero__img { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(26,27,31,.16); aspect-ratio: 4/3; }
.ah-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.ah-rating--under { margin: 16px 0 0; align-self: center; }

/* Trust strip */
.ah-trust { border-bottom: 1px solid var(--line); background: #fff; }
.ah-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 30px; }
.ah-trust__item { display: flex; align-items: center; gap: 12px; }
.ah-trust__item img { height: 40px; width: auto; flex-shrink: 0; }
.ah-trust__item span { font-weight: 700; font-size: 14px; }

/* Sections */
.ah-section { padding-block: clamp(44px, 6vw, 72px); }
.ah-section--tint { background: #f7f9fb; }
.ah-eyebrow { color: var(--g); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
.ah-h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 0; }

/* Services grid */
.ah-svcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.ah-svc { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.ah-svc:hover { box-shadow: 0 16px 34px rgba(26,27,31,.09); transform: translateY(-3px); border-color: #cfeeda; }
.ah-svc img { height: 46px; width: auto; margin-bottom: 14px; }
.ah-svc h3 { font-size: 18px; margin: 0 0 6px; }
.ah-svc span { color: var(--g); font-weight: 700; font-size: 14px; }

/* Long-form content — sectioned, readable */
.ah-block { padding-block: clamp(36px, 5vw, 60px); }
.ah-block--tint { background: #f7f9fb; }
/* .ah-block__inner spans the global .wrap container (1200px) — no narrower box */
.ah-block h2 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 14px; }
.ah-block p { color: #3a3d44; margin: 0 0 14px; font-size: 1.02rem; }
.ah-block p:last-child { margin-bottom: 0; }
/* Bulleted lists rendered as check cards */
.ah-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ah-checks li { position: relative; padding: 14px 16px 14px 44px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: #3a3d44; font-weight: 600; }
.ah-checks li::before { content: "✓"; position: absolute; left: 16px; top: 14px; color: var(--g); font-weight: 800; }

/* Feature cards (what's included / why choose) */
.ah-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.ah-feature { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ah-feature strong { display: block; margin-bottom: 4px; }

/* Pricing callout */
.ah-pricing { margin-top: 22px; padding: 26px 28px; border: 2px solid #cfeeda; background: #f3fbf5; border-radius: 14px; }
.ah-pricing h3 { margin: 0 0 8px; font-size: 1.15rem; }
.ah-pricing p { margin: 0 0 8px; color: #3a3d44; }

/* Nearby areas */
.ah-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.ah-area { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink); transition: border-color .2s, background .2s; }
.ah-area:hover { border-color: var(--g); background: #f3fbf5; }
.ah-area::before { content: "📍"; font-size: 14px; }

/* FAQ — centered */
.ah-faqhead { text-align: center; }
.ah-faq { margin-top: 30px; }
.ah-faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.ah-faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; text-align: left; }
.ah-faq summary::-webkit-details-marker { display: none; }
.ah-faq summary::after { content: "+"; color: var(--g); font-weight: 800; }
.ah-faq details[open] summary::after { content: "–"; }
.ah-faq p { margin: 0; padding: 0 22px 18px; color: #3a3d44; }

/* Section heading icon */
.ah-secicon { width: 54px; height: 54px; border-radius: 14px; background: #eaf7ee; color: var(--g); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ah-secicon svg { width: 28px; height: 28px; }

/* Two-column text + image */
.ah-two { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.ah-two__img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(26,27,31,.14); aspect-ratio: 4/3; }
.ah-two__img img { width: 100%; height: 100%; object-fit: cover; }

/* Process steps */
.ah-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.ah-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.ah-step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ah-step h3 { font-size: 16px; margin: 0 0 6px; }
.ah-step p { margin: 0; color: #3a3d44; font-size: 14px; }

/* Feature cards */
.ah-fcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.ah-fcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.ah-fcard__ic { width: 48px; height: 48px; border-radius: 12px; background: #eaf7ee; color: var(--g); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ah-fcard__ic svg { width: 24px; height: 24px; }
.ah-fcard strong { display: block; margin-bottom: 4px; }
.ah-fcard p { margin: 0; color: #3a3d44; font-size: 14px; }

/* Icon card list (symptoms / causes) */
.ah-cardlist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; list-style: none; padding: 0; }
.ah-cardlist li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: #3a3d44; font-weight: 600; }
.ah-cardlist svg { width: 20px; height: 20px; color: var(--g); flex-shrink: 0; margin-top: 1px; }

/* Pricing callout */
.ah-price { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: linear-gradient(135deg, #f3fbf5, #eaf7ee); border: 2px solid #cfeeda; border-radius: 18px; padding: 30px; margin-top: 8px; }
.ah-price__ic { width: 56px; height: 56px; border-radius: 14px; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ah-price__ic svg { width: 28px; height: 28px; }
.ah-price p:last-child { margin-bottom: 0; }

/* Duo cards (maintenance / emergency) */
.ah-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.ah-duo__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }

/* Area chips */
.ah-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ah-chip { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 13px; }
.ah-chip:hover { border-color: var(--g); background: #f3fbf5; color: var(--g); }

/* CTA band — eye-catching green gradient */
.ah-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #22b543, #12965a); color: #fff; text-align: center; padding-block: clamp(48px, 7vw, 88px); }
.ah-band__deco { position: absolute; top: -50px; right: -50px; width: 300px; height: 300px; opacity: 0.12; pointer-events: none; color: #fff; }
.ah-band__deco svg { width: 100%; height: 100%; }
.ah-band .wrap { position: relative; }
.ah-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); font-weight: 600; margin: 0 0 12px; }
.ah-band p { color: rgba(255,255,255,.92); margin: 0 auto 28px; max-width: 52ch; font-size: 1.1rem; }
.ah-band .ah-cta { justify-content: center; }
.ah-band .btn--book { background: #fff; color: var(--g); }
.ah-band .btn--book:hover { background: #eafff1; }
.ah-band .btn--call { color: #fff; border-color: rgba(255,255,255,.7); }
.ah-band .btn--call:hover { background: #fff; color: var(--g); border-color: #fff; }

@media (max-width: 900px) {
  .ah-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .ah-hero__media { order: -1; }
  .ah-trust__grid { grid-template-columns: 1fr 1fr; }
  .ah-svcgrid { grid-template-columns: 1fr 1fr; }
  .ah-areas { grid-template-columns: 1fr 1fr; }
  .ah-two { grid-template-columns: 1fr; gap: 28px; }
  .ah-two__img { order: -1; }
  .ah-steps, .ah-fcards { grid-template-columns: 1fr 1fr; }
  .ah-duo { grid-template-columns: 1fr; }
  .ah-price { grid-template-columns: 1fr; }
  .ah-price__ic { width: 48px; height: 48px; }
}
@media (max-width: 560px) {
  .ah-svcgrid, .ah-areas, .ah-trust__grid, .ah-checks, .ah-features,
  .ah-steps, .ah-fcards, .ah-cardlist { grid-template-columns: 1fr; }
}

/* ============ Animations (subtle, GPU-friendly: transform/opacity only) ============ */
/* Scroll reveal — hero is intentionally excluded to protect LCP. */
.has-anim .ah-trust__grid,
.has-anim .ah-block > .wrap,
.has-anim .ah-section > .wrap,
.has-anim .ah-band > .wrap {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.has-anim .ah-trust__grid.is-in,
.has-anim .ah-block > .wrap.is-in,
.has-anim .ah-section > .wrap.is-in,
.has-anim .ah-band > .wrap.is-in { opacity: 1; transform: none; }

/* Hover micro-interactions */
.ah-step, .ah-fcard, .ah-duo__card { transition: transform .2s ease, box-shadow .2s ease; }
.ah-step:hover, .ah-fcard:hover, .ah-duo__card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(26,27,31,.10); }
.ah-cardlist li { transition: transform .2s ease, border-color .2s ease; }
.ah-cardlist li:hover { transform: translateY(-2px); border-color: #cfeeda; }
.btn { transition: background .2s ease, color .2s ease, transform .12s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.ah-fcard__ic, .ah-secicon { transition: transform .2s ease; }
.ah-fcard:hover .ah-fcard__ic { transform: scale(1.08); }

/* FAQ accordion */
.ah-faq summary { transition: background .18s ease, color .18s ease; }
.ah-faq summary:hover { background: #f7f9fb; color: var(--g); }
.ah-faq details[open] > p { animation: ahReveal .28s ease both; }
@keyframes ahReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .has-anim .ah-trust__grid,
  .has-anim .ah-block > .wrap,
  .has-anim .ah-section > .wrap,
  .has-anim .ah-band > .wrap { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ah-step:hover, .ah-fcard:hover, .ah-duo__card:hover, .ah-cardlist li:hover, .btn:hover { transform: none !important; }
  .ah-fcard:hover .ah-fcard__ic { transform: none !important; }
  .ah-faq details[open] > p { animation: none !important; }
}

/* Branded graphic hero panel (used for refrigeration, where we lack a photo) */
.ah-hero__art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #22b543, #12965a); box-shadow: 0 24px 60px rgba(26,27,31,.18); }
.ah-hero__art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 22% 18%, rgba(255,255,255,.16), transparent 42%); }
.ah-hero__bigicon { width: 104px; height: 104px; position: relative; }
.ah-hero__artlabel { position: relative; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 14px; }
.ah-hero__artdeco { position: absolute; right: -36px; bottom: -36px; width: 210px; height: 210px; opacity: .14; }
.ah-hero__artdeco svg { width: 100%; height: 100%; }
