:root {
  --ink: #1c2524;
  --muted: #5d6865;
  --paper: #f5f0e8;
  --white: #ffffff;
  --forest: #294f45;
  --blue: #315e7b;
  --copper: #b9653f;
  --line: #ded6c9;
  --shadow: 0 16px 40px rgba(28, 37, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(245, 240, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 6px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-call {
  color: var(--white);
  background: var(--copper);
  border-radius: 6px;
  padding: 9px 14px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 29, 28, 0.88) 0%, rgba(18, 29, 28, 0.62) 46%, rgba(18, 29, 28, 0.08) 82%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2bd84;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.34rem;
}

p {
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.primary,
button {
  color: var(--white);
  background: var(--copper);
}

.secondary {
  color: var(--ink);
  background: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 18px;
  background: var(--white);
  color: var(--forest);
  font-weight: 850;
  text-align: center;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "+";
  color: var(--forest);
  font-weight: 900;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc8bb;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.service-card {
  min-height: 230px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card p {
  margin-bottom: 0;
}

.bands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bands > div {
  padding: 34px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}

.bands > div:nth-child(2) {
  background: var(--blue);
}

.bands p {
  color: rgba(255, 255, 255, 0.86);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.area-list span,
.area-list a {
  display: inline-flex;
  padding: 10px 14px;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.area-list a:hover {
  color: var(--white);
  background: var(--forest);
}

.seo-copy {
  padding-top: 48px;
  padding-bottom: 48px;
}

.seo-copy p {
  max-width: 860px;
  font-size: 1.05rem;
}

.credibility {
  padding-top: 38px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.proof-grid > div {
  min-height: 240px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(28, 37, 36, 0.08);
}

.proof-grid h3 {
  color: var(--forest);
}

.process {
  padding-top: 20px;
}

.step-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.step-grid > div,
.info-grid > div {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}

.cta-band {
  display: grid;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
  padding: 28px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.faq {
  padding-top: 20px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.service-hero {
  padding: 82px clamp(18px, 7vw, 96px);
  color: var(--white);
  background: linear-gradient(110deg, rgba(41, 79, 69, 0.96), rgba(49, 94, 123, 0.92)), url("assets/reno-insulation-company-hero.png") center/cover;
}

.service-hero h1 {
  max-width: 920px;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.side-panel {
  align-self: start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-panel a {
  display: block;
  margin-top: 12px;
  color: var(--forest);
  font-weight: 900;
}

@media (max-width: 1050px) {
  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: rgba(18, 29, 28, 0.72);
  }

  .trust-strip,
  .split,
  .bands,
  .step-grid,
  .info-grid,
  .proof-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.3rem);
  }
}

@media (max-width: 620px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-content {
    margin-left: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
