/* Aero Ridge HVAC Services — air + elevation theme */
:root {
  --navy: #14213d;
  --navy-deep: #0b1220;
  --coral: #ff5a36;
  --coral-btn: #c2410c;
  --coral-dark: #a32f16;
  --paper: #ffffff;
  --sand: #f7f4ef;
  --ink: #1c2434;
  --muted: #5b6578;
  --line: #e4ddd4;
  --ring: #ff5a36;
  --radius: 1rem;
  --shadow: 0 10px 28px rgb(20 33 61 / 0.08);
  --header-h: 5.25rem;
  --bar-h: 2.5rem;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--coral-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--coral-btn);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  background: #ffffff;
  color: var(--navy);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid var(--line);
}

.topbar a {
  color: var(--coral-dark);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--coral-dark);
}

.topbar a:hover {
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgb(20 33 61 / 0.06);
}

.header-inner {
  width: min(100% - 1.25rem, 80rem);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo-link img {
  height: 3.75rem;
  width: auto;
  max-width: min(64vw, 20rem);
}

.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 1.15rem;
  height: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  padding: 0.75rem 1.25rem 1.25rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgb(20 33 61 / 0.08);
}

.site-nav.is-open,
.nav-toggle[aria-expanded="true"] + .site-nav {
  display: flex;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 0.45rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgb(20 33 61 / 0.06);
  color: var(--coral-dark);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral-btn);
  color: #fff;
  border-color: var(--coral-btn);
}

.btn-primary:hover {
  background: var(--coral-dark);
  color: #fff;
  border-color: var(--coral-dark);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.55);
}

.btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  background: var(--navy-deep);
  color: #f7f4ef;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4.5rem;
  background: linear-gradient(to bottom, transparent, var(--sand));
  pointer-events: none;
}

.hero-grid {
  width: min(100% - 2rem, 80rem);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding: 2.25rem 0 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--coral);
  font-family: var(--font-head);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 0.65rem;
}

.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: #ffd3c6;
  margin: 0 0 1rem;
}

.hero p {
  color: #d8d4cc;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0.9rem;
}

.text-link {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  color: var(--coral);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}

.chips li {
  font-size: 0.8125rem;
  font-weight: 550;
  color: #f7f4ef;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.hero-media {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 14rem;
  background: #1b2a4a;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  color: var(--sand);
}

.values {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.value-grid {
  display: grid;
  gap: 0.85rem;
}

.value-card,
.service-card,
.why-card,
.step,
.faq-item,
.detail,
.contact-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  align-items: start;
}

.icon-tile {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--navy);
  color: var(--coral);
  display: grid;
  place-items: center;
  flex: none;
}

.icon-tile svg {
  width: 1.35rem;
  height: 1.35rem;
}

.value-card h2,
.value-card h3,
.service-card h3,
.why-card h3,
.step h3 {
  font-family: var(--font-head);
  margin: 0 0 0.25rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.value-card p,
.service-card p,
.why-card p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

section {
  padding: 3.5rem 0;
}

.section-kicker {
  color: var(--coral-dark);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 0.4rem;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--navy);
}

.intro {
  max-width: 42rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-media {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  padding: 1.2rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgb(255 90 54 / 0.35);
}

.service-card .learn {
  margin-top: auto;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--coral-dark);
  text-decoration: none;
}

.service-card .learn:hover {
  color: var(--navy);
}

.details {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.detail {
  padding: 1.35rem 1.3rem;
  border-left: 4px solid var(--coral);
}

.detail h3 {
  font-family: var(--font-head);
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: var(--navy);
}

.detail p {
  margin: 0 0 0.7rem;
}

.detail p:last-child {
  margin-bottom: 0;
}

.detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}

.why {
  background: var(--navy);
  color: #f4f1ea;
}

.why h2,
.cta-band h2 {
  color: #fff;
}

.why .intro {
  color: #c9c3b8;
}

.why-grid {
  display: grid;
  gap: 1rem;
}

.why-card {
  padding: 1.2rem;
  background: #1b2c4d;
  color: #f4f1ea;
  box-shadow: none;
}

.why-card h3 {
  color: #fff;
}

.why-card p {
  color: #c9c3b8;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.3rem 1.25rem 1.25rem;
  position: relative;
}

.step .num {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.area-layout {
  display: grid;
  gap: 1.5rem;
}

.communities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.communities li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.map-shell {
  min-height: 22rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #d9e0e8;
  position: relative;
  box-shadow: var(--shadow);
}

#service-map {
  height: 22rem;
  width: 100%;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  min-height: 3.1rem;
  padding: 0.9rem 1.15rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-trigger::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(45deg);
  transition: transform 180ms var(--ease);
  flex: none;
}

.faq-trigger[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.faq-panel {
  padding: 0 1.15rem 1.05rem;
  color: var(--muted);
}

.faq-panel[hidden] {
  display: none;
}

.faq-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.4rem;
}

.contact-card h3 {
  font-family: var(--font-head);
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.contact-card dl {
  margin: 0;
}

.contact-card dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-top: 0.75rem;
}

.contact-card dd {
  margin: 0.15rem 0 0;
  font-weight: 650;
}

.contact-card a {
  color: var(--navy);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--coral-dark);
}

form {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.field {
  margin-bottom: 0.95rem;
}

label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #cfc7bc;
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:user-invalid,
textarea:user-invalid,
.field.error input,
.field.error textarea {
  border-color: #b42318;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.9rem;
  color: var(--ink);
}

.consent input {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--coral);
}

.form-status {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="ok"] {
  color: var(--navy);
}

.cta-band {
  background:
    radial-gradient(1200px 240px at 10% -20%, rgb(255 90 54 / 0.28), transparent),
    var(--navy-deep);
  color: #fff;
  text-align: center;
}

.cta-band p {
  color: #d8d4cc;
  max-width: 34rem;
  margin: 0 auto 1.25rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #c9c3b8;
  padding: 2.5rem 0 calc(5.5rem + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer a {
  color: #fff;
}

.footer-brand img {
  height: 3.2rem;
  width: auto;
  max-width: 16rem;
  margin-bottom: 0.75rem;
  background: #ffffff;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.disclaimer {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #9aa1ad;
  margin: 1.5rem 0 0;
  max-width: 72rem;
}

.float-call {
  display: flex;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom));
  z-index: 40;
  justify-content: center;
  background: var(--coral-btn);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  min-height: 3rem;
  border-radius: 999px;
  align-items: center;
  box-shadow: 0 10px 24px rgb(194 65 12 / 0.35);
}

.float-call.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.airflow {
  pointer-events: none;
  position: absolute;
  opacity: 0.35;
}

@media (min-width: 700px) {
  .value-grid,
  .service-grid,
  .why-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .area-layout,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .float-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .header-inner {
    gap: 1.5rem;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    padding: 0;
    margin-left: auto;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav a {
    min-height: 2.5rem;
    font-size: 0.875rem;
    padding: 0.35rem 0.55rem;
  }

  .header-cta {
    display: inline-flex;
    margin-left: 0.4rem;
    padding-inline: 0.95rem;
  }

  .logo-link img {
    height: 4.35rem;
    max-width: 22rem;
  }

  .hero-grid {
    align-items: center;
    padding-top: 3.5rem;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .details {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-grid .service-card:nth-child(9),
  .service-grid .service-card:nth-child(10) {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
