:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #5c665f;
  --line: #dfe5dd;
  --paper: #fbfcf8;
  --white: #ffffff;
  --sage: #6d806f;
  --pine: #263d32;
  --clay: #b15f3f;
  --sky: #2b6f91;
  --gold: #c9953e;
  --shadow: 0 18px 50px rgba(22, 31, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid rgba(38, 61, 50, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button,
.secondary-dark-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 16px;
  font-weight: 750;
  cursor: pointer;
}

.header-cta,
.primary-button {
  background: var(--clay);
  color: var(--white);
}

.header-cta:hover,
.primary-button:hover {
  background: #974e32;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.secondary-dark-button {
  width: 100%;
  background: var(--pine);
  color: var(--white);
}

.ghost-button {
  background: var(--white);
  color: var(--pine);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 26, 23, 0.78), rgba(17, 26, 23, 0.43) 48%, rgba(17, 26, 23, 0.08));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(34px, 7vw, 88px) clamp(18px, 7vw, 84px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1px;
  max-width: 560px;
  margin: 34px 0 0;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
}

.trust-strip div {
  padding: 14px;
  background: rgba(18, 28, 23, 0.34);
}

.trust-strip dt {
  font-size: 1.45rem;
  font-weight: 850;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.service-band,
.guide-band {
  padding: clamp(54px, 8vw, 94px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-heading h2,
.quote-copy h2,
.provider-section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.quote-copy p,
.provider-section p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.guide-grid article,
.lead-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(32, 44, 38, 0.06);
}

.service-card {
  min-height: 190px;
  padding: 20px;
}

.service-card h3,
.guide-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
}

.service-card p,
.guide-grid p,
.lead-card p {
  color: var(--muted);
  line-height: 1.55;
}

.service-meta {
  color: var(--sky);
  font-weight: 780;
  font-size: 0.88rem;
}

.service-icon,
.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef3ed;
  color: var(--pine);
  font-weight: 850;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(54px, 8vw, 100px) clamp(18px, 6vw, 84px);
  background: #edf3ef;
}

.hvac-quote-layout {
  background: var(--paper);
}

.check-list a {
  color: var(--sky);
  font-weight: 750;
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clay);
}

.lead-form,
.provider-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd6ce;
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(43, 111, 145, 0.16);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-button {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.provider-status {
  min-height: 1.1em;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.hidden-field {
  display: none;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.provider-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-grid article {
  padding: 22px;
}

.provider-benefit-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(32, 44, 38, 0.06);
}

.provider-benefit-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
}

.provider-benefit-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.provider-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.6fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(52px, 7vw, 90px) clamp(18px, 6vw, 84px);
  background: var(--pine);
  color: var(--white);
}

.provider-section .eyebrow {
  color: #e2b867;
}

.provider-section p {
  color: rgba(255, 255, 255, 0.74);
}

.page-hero {
  padding: clamp(80px, 12vw, 145px) clamp(18px, 7vw, 90px) clamp(58px, 8vw, 95px);
  background:
    linear-gradient(90deg, rgba(24, 32, 28, 0.9), rgba(38, 61, 50, 0.76)),
    url("assets/alberhill-hero.png") center / cover;
  color: var(--white);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.page-hero .primary-button {
  margin-top: 12px;
}

.provider-hero {
  background:
    linear-gradient(90deg, rgba(24, 32, 28, 0.9), rgba(38, 61, 50, 0.76)),
    url("assets/alberhill-hero.png") center / cover;
}

.content-band {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 6vw, 84px);
}

.content-band h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.content-band p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.7;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.insight-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(32, 44, 38, 0.08);
}

.insight-box h3 {
  margin: 0 0 10px;
}

.insight-box p {
  margin: 0;
}

.provider-listing-band {
  background: #edf3ef;
}

.provider-process-band,
.provider-apply-layout {
  background: #edf3ef;
}

.provider-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 34px);
}

.provider-logo-wrap {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1.4;
  border: 1px solid #213329;
  border-radius: 8px;
  background: #18201c;
  overflow: hidden;
}

.provider-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.provider-card-body h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.provider-card-body p {
  color: var(--muted);
  line-height: 1.65;
}

.provider-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.license-badge {
  flex: 0 0 auto;
  border: 1px solid #d9e2d8;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--pine);
  background: #f4f8f3;
  font-size: 0.82rem;
  font-weight: 800;
}

.provider-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 22px 0 0;
}

.provider-details div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.provider-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.provider-details dd {
  margin: 5px 0 0;
  color: var(--ink);
  line-height: 1.45;
}

.provider-details a {
  color: var(--sky);
  font-weight: 750;
}

.provider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.provider-disclosure {
  max-width: 920px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--ink);
}

.footer-contact {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-contact a {
  color: var(--sky);
  font-weight: 750;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

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

  .quote-layout,
  .provider-section,
  .provider-card,
  .two-column {
    grid-template-columns: 1fr;
  }

  .provider-card-heading {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: auto;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    margin-left: 18px;
    margin-bottom: 32px;
  }

  .trust-strip,
  .service-grid,
  .guide-grid,
  .provider-benefit-grid,
  .field-row,
  .provider-details {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    padding: 12px 14px;
  }
}
