:root {
  --ink: #111820;
  --muted: #5b6670;
  --line: #d7dde2;
  --panel: #f5f7f8;
  --white: #ffffff;
  --yellow: #f2b705;
  --yellow-dark: #c88f00;
  --blue: #0d4f7a;
  --steel: #263440;
  --shadow: 0 20px 70px rgba(16, 24, 32, 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(--white);
}

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;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 68px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(17, 24, 32, 0.92);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.trust-strip,
.form-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.85rem;
}

.nav-links {
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111820;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.94) 0%, rgba(17, 24, 32, 0.74) 38%, rgba(17, 24, 32, 0.16) 78%),
    linear-gradient(0deg, rgba(17, 24, 32, 0.78), rgba(17, 24, 32, 0.05) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 78px);
  padding: 72px 0 116px;
  color: var(--white);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.primary {
  background: var(--yellow);
  color: #151515;
}

.primary:hover {
  background: #ffd13c;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

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

.trust-strip {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.proof-band div {
  min-height: 146px;
  padding: 28px clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.proof-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.proof-band span {
  color: var(--muted);
  line-height: 1.5;
}

.quote-section,
.services,
.materials,
.payment {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 68px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.payment p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.66;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
  gap: 28px;
  align-items: start;
}

.quote-form,
.quote-status,
.payment {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form {
  padding: clamp(22px, 4vw, 38px);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #24313c;
  font-size: 0.94rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd7de;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.hidden-field {
  display: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(242, 183, 5, 0.3);
  border-color: var(--yellow-dark);
}

.upload-box {
  position: relative;
  place-items: center;
  min-height: 190px;
  margin-top: 10px;
  padding: 30px;
  border: 2px dashed #b7c1ca;
  background: #f7f9fa;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--steel);
  color: var(--yellow);
  font-size: 2rem;
  line-height: 1;
}

.upload-box small {
  max-width: 500px;
  color: var(--muted);
  font-weight: 500;
}

.upload-box em {
  color: var(--blue);
  font-style: normal;
  font-weight: 750;
}

.form-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.form-actions p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.quote-status {
  position: sticky;
  top: 100px;
  padding: 30px;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 11px;
  background: #e8f2f7;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.quote-status h3 {
  font-size: 1.7rem;
  line-height: 1.1;
}

.quote-status p {
  color: var(--muted);
  line-height: 1.62;
}

.quote-status ol {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.quote-status li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2b3742;
  font-weight: 720;
}

.quote-status li span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: #171717;
  font-weight: 900;
}

.services {
  background: #111820;
  color: var(--white);
}

.services .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

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

.service-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.service-grid h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.service-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.materials {
  background: var(--panel);
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.material-list span {
  padding: 13px 16px;
  border: 1px solid #cfd7de;
  background: var(--white);
  color: #24313c;
  font-weight: 800;
}

.payment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: clamp(44px, 7vw, 76px) clamp(18px, 5vw, 68px);
  padding: clamp(30px, 5vw, 52px);
  border-left: 8px solid var(--yellow);
}

.payment h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.payment-button {
  min-width: 220px;
  background: var(--blue);
  color: var(--white);
}

.payment-button:hover {
  background: #0a6299;
}

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

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

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

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

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

  .quote-layout,
  .payment {
    grid-template-columns: 1fr;
  }

  .quote-status {
    position: static;
  }
}

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

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .proof-band,
  .service-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .button {
    width: 100%;
  }
}
