:root {
  --ink: #17212b;
  --muted: #5f6f7c;
  --line: #d9e2e7;
  --paper: #fbfcf8;
  --mist: #eef5f2;
  --mint: #8bc5b0;
  --teal: #126d72;
  --teal-dark: #0c4f54;
  --coral: #d86f4d;
  --gold: #d7a948;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(21, 42, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, 0.9);
  border-bottom: 1px solid rgba(217, 226, 231, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--teal);
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a,
.header-cta,
.button {
  text-decoration: none;
}

.header-cta {
  color: var(--teal-dark);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(26px, 5vw, 70px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 28, 32, 0.74), rgba(10, 28, 32, 0.24) 52%, rgba(10, 28, 32, 0.05)),
    linear-gradient(0deg, rgba(10, 28, 32, 0.54), transparent 46%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(690px, 100%);
  color: var(--white);
  padding-bottom: clamp(12px, 6vh, 70px);
}

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

.hero .eyebrow {
  color: #ffbe75;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.button.primary:hover {
  background: var(--teal-dark);
}

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

.hero .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.button.full {
  width: 100%;
}

.hidden-field {
  display: none;
}

.trust-row {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-row span {
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.band {
  background: var(--mist);
}

section:not(.hero) {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading,
.quote-intro,
.product-copy {
  width: min(820px, 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.feature-grid article,
.step,
.quote-form,
.quote-result,
.spec-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  min-height: 230px;
  padding: 26px;
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-grid p,
.steps p,
.product-copy p,
.quote-intro p,
.faq p,
.cta p,
.form-note,
.estimate p,
.site-footer {
  color: var(--muted);
}

.how {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.step {
  padding: 28px;
}

.step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 48px;
  color: var(--white);
  background: var(--teal);
  border-radius: 7px;
  font-weight: 800;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.spec-panel {
  padding: 14px 26px;
  box-shadow: var(--shadow);
}

dl {
  margin: 0;
}

.spec-panel div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.spec-panel div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--teal-dark);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--paper);
}

.quote-form {
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-grid {
  margin-bottom: 22px;
}

.form-divider {
  margin: 0 0 22px;
  border: 0;
  border-top: 1px solid var(--line);
}

label,
legend {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 12px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 7px;
}

input,
textarea {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
}

input {
  min-width: 0;
  height: 44px;
}

textarea {
  display: block;
  min-height: 112px;
  margin-top: 8px;
  padding: 13px 12px;
  resize: vertical;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.file-label {
  display: block;
  margin-top: 18px;
}

.file-label input {
  height: auto;
  margin-top: 8px;
  padding: 13px 12px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.file-label span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

small {
  color: var(--muted);
  font-weight: 800;
}

fieldset {
  margin: 22px 0;
  padding: 0;
  border: 0;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.radio-row input {
  width: auto;
  height: auto;
  accent-color: var(--teal);
}

.estimate {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0;
  padding: 18px;
  background: #f3f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.estimate-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.estimate strong {
  display: block;
  margin-top: 4px;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.estimate p {
  max-width: 260px;
  margin: 0;
  font-size: 0.92rem;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.86rem;
}

.quote-result {
  grid-column: 2;
  padding: 24px;
  border-color: rgba(18, 109, 114, 0.35);
}

.quote-result h3 {
  color: var(--teal-dark);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin-top: 34px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  padding: 20px 22px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.cta {
  text-align: center;
}

.cta p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(10, 28, 32, 0.82), rgba(10, 28, 32, 0.14) 72%),
      linear-gradient(90deg, rgba(10, 28, 32, 0.44), transparent);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .feature-grid,
  .steps,
  .product,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .quote-result {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

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

  .form-grid,
  .estimate {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .spec-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
