:root {
  --black: #000000;
  --orange: #ff9900;
  --blue: #146eb4;
  --white: #ffffff;
  --ink: #10141a;
  --muted: #667085;
  --line: #e7eaf0;
  --soft: #f5f7fb;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--black);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--black);
  background: var(--orange);
  box-shadow: inset -8px -8px 0 rgba(20, 110, 180, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:not(.nav-cta) {
  color: #303844;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--black);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--black);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 138px);
  color: var(--white);
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0.58) 100%),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--white));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 270px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 54px;
  padding: 72px 0 40px;
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 880px;
}

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

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

.hero-text {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn.primary {
  color: var(--black);
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(255, 153, 0, 0.27);
}

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

.btn.full {
  width: 100%;
}

.hero-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.metric-row,
.estimate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.metric-row {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.metric-row span,
.metric-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.metric-row strong {
  font-size: 2.8rem;
  color: var(--orange);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.metric-grid div {
  min-height: 132px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
}

.metric-grid strong,
.metric-grid small {
  display: block;
}

.metric-grid strong {
  margin: 12px 0 5px;
  font-size: 1.65rem;
}

.metric-grid small {
  color: rgba(255, 255, 255, 0.58);
}

.delivery-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
}

.delivery-line span {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(20, 110, 180, 0.28);
  flex: 0 0 auto;
}

.delivery-line p {
  margin-bottom: 0;
  line-height: 1.55;
}

.hero-strip {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.hero-strip span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.07);
}

.section,
.calculator-section,
.cta-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

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

.section-heading h2 {
  color: var(--black);
}

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

.service-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 20, 26, 0.06);
}

.service-card p,
.timeline p,
.calculator-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--black);
  background: var(--orange);
  font-weight: 900;
}

.calculator-section {
  width: 100%;
  background: var(--soft);
}

.calculator-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.88fr);
  gap: 44px;
  align-items: start;
}

.calculator-copy {
  padding-top: 18px;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #313b49;
  font-weight: 700;
}

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

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.calculator label,
.range-field {
  display: grid;
  gap: 9px;
  font-weight: 800;
}

.calculator input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #cfd6e3;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.calculator input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 110, 180, 0.12);
}

.calculator input[readonly] {
  color: var(--blue);
  background: #f3f8fc;
  font-weight: 900;
}

.pace-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pace {
  height: 44px;
  border: 1px solid #cfd6e3;
  border-radius: 8px;
  color: #384250;
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.pace.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.estimate-card {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 18px;
  border-radius: 8px;
  background: #10141a;
  color: var(--white);
}

.estimate-row {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.estimate-row strong {
  font-size: 1.15rem;
  color: var(--orange);
  white-space: nowrap;
}

.estimate-row.total {
  padding-bottom: 0;
  border-bottom: 0;
}

.estimate-row.total strong {
  font-size: 1.8rem;
}

.fine-print {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-item {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}

.timeline-item:nth-child(even) {
  background: var(--blue);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 38px;
  border-radius: 50%;
  color: var(--black);
  background: var(--orange);
  font-weight: 900;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-section {
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.cta-section div {
  max-width: 760px;
}

.cta-section h2 {
  margin-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(18px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: var(--black);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner,
  .calculator-wrap {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .hero-strip,
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .hero-strip,
  .section,
  .calculator-wrap,
  .cta-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: calc(100vh - 104px);
  }

  .hero-inner {
    gap: 32px;
    padding: 44px 0 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4.1rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-section .btn {
    width: 100%;
  }

  .metric-grid,
  .hero-strip,
  .service-grid,
  .timeline,
  .pace-options {
    grid-template-columns: 1fr;
  }

  .section,
  .calculator-section,
  .cta-section {
    padding: 68px 0;
  }

  .calculator {
    padding: 20px;
  }

  .estimate-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
  }
}
