:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: #111720;
  --surface-2: #161e2a;
  --surface-3: #1d2632;
  --text: #f7f8fa;
  --muted: #9ba7b7;
  --line: rgba(255, 255, 255, 0.1);
  --strong-line: rgba(255, 255, 255, 0.18);
  --accent: #16d4c8;
  --accent-dark: #062d2b;
  --warm: #ff7a45;
  --yellow: #f5c84b;
  --green: #35d080;
  --danger: #ff6579;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(22, 212, 200, 0.11), transparent 34rem),
    linear-gradient(180deg, #0a0e14 0%, var(--bg) 44rem);
  color: var(--text);
}

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

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

button {
  border: 0;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.05rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.primary-button,
.secondary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand {
  min-width: max-content;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  color: #061011;
  font-weight: 950;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.header-action,
.primary-button,
.submit-button {
  min-height: 44px;
  padding: 0 17px;
  background: var(--accent);
  color: #03100f;
  font-weight: 900;
  cursor: pointer;
}

.secondary-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--strong-line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-weight: 800;
}

.home-hero,
.quick-path,
.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(26px, 6vw, 74px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 54px 0;
}

.home-copy p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.hero-card {
  overflow: hidden;
  border: 1px solid var(--strong-line);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 1.14;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.quick-path,
.page-shell {
  padding: 52px 0 72px;
}

.section-title,
.page-heading {
  margin-bottom: 28px;
}

.page-heading {
  padding-top: 46px;
}

.page-heading.narrow {
  max-width: 760px;
}

.page-heading p,
.section-title p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

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

.path-grid a,
.info-panel,
.contact-form,
.contact-panel,
.form-step,
.estimate-panel {
  border: 1px solid var(--line);
  background: rgba(17, 23, 32, 0.78);
  box-shadow: var(--shadow);
}

.path-grid a {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
}

.path-grid svg,
.info-panel svg,
.contact-panel svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.path-grid strong {
  font-size: 1.2rem;
}

.path-grid span,
.info-panel p,
.info-panel li,
.detail-row p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.quote-form,
.contact-form {
  display: grid;
  gap: 16px;
}

.form-step,
.contact-form {
  padding: clamp(18px, 3vw, 28px);
}

.step-heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.step-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(22, 212, 200, 0.13);
  color: var(--accent);
  font-weight: 950;
}

.step-heading h2 {
  margin-bottom: 4px;
  font-size: 1.22rem;
}

.step-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.drop-zone {
  display: grid;
  min-height: 148px;
  place-items: center;
  gap: 8px;
  padding: 22px;
  border: 1px dashed var(--strong-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}

.drop-zone svg {
  width: 38px;
  height: 38px;
  color: var(--accent);
}

.drop-zone span {
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 850;
}

.drop-zone small {
  max-width: 560px;
  line-height: 1.45;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-zone.is-dragging {
  border-color: var(--accent);
  background: rgba(22, 212, 200, 0.1);
}

.option-grid {
  display: grid;
  gap: 12px;
}

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

.option-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.option-card.compact {
  min-height: 112px;
  padding: 14px;
}

.option-card input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.option-card:has(input:checked) {
  border-color: rgba(22, 212, 200, 0.85);
  background: rgba(22, 212, 200, 0.1);
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card strong {
  margin-bottom: 7px;
  color: var(--text);
}

.option-card small {
  color: var(--muted);
  line-height: 1.4;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

label,
.label-text {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.helper-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(5, 8, 13, 0.86);
  color: var(--text);
  outline: none;
}

input,
select {
  height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 118px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(22, 212, 200, 0.95);
  box-shadow: 0 0 0 4px rgba(22, 212, 200, 0.13);
}

.color-panel {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.8fr);
  gap: 14px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--swatch);
  cursor: pointer;
}

.swatch[aria-pressed="true"] {
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(22, 212, 200, 0.22);
}

.submit-button {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--danger);
}

.estimate-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.estimate-panel > strong {
  display: block;
  font-size: 4rem;
  line-height: 0.95;
}

.estimate-panel > span {
  color: var(--muted);
  line-height: 1.45;
}

.estimate-lines {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.estimate-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.estimate-line strong {
  min-width: max-content;
  color: var(--text);
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(245, 200, 75, 0.25);
  background: rgba(245, 200, 75, 0.08);
}

.notice svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.info-panel {
  padding: 28px;
}

.info-panel.featured {
  border-color: rgba(22, 212, 200, 0.36);
  background: linear-gradient(180deg, rgba(22, 212, 200, 0.1), rgba(17, 23, 32, 0.78));
}

.info-panel h2 {
  margin: 20px 0 10px;
  font-size: 1.7rem;
}

.info-panel ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.info-panel li::before {
  color: var(--accent);
  content: "+ ";
}

.details-list {
  display: grid;
  gap: 10px;
}

.detail-row {
  display: grid;
  grid-template-columns: 60px 180px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.detail-row span {
  color: var(--accent);
  font-weight: 950;
}

.detail-row p {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.contact-panel {
  padding: 24px;
}

.contact-panel > div {
  display: grid;
  gap: 12px;
}

.contact-panel p {
  margin-bottom: 10px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

@media (max-width: 980px) {
  .home-hero,
  .quote-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-card {
    max-height: 430px;
  }

  .path-grid,
  .option-grid.four,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimate-panel {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: auto;
    padding: 12px 18px;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .nav-links a {
    flex: 1 0 auto;
    text-align: center;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-width: 44px;
    padding: 0;
    font-size: 0;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .page-heading {
    padding-top: 28px;
  }

  .home-hero,
  .quick-path,
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .path-grid,
  .option-grid.two,
  .option-grid.four,
  .field-grid,
  .color-panel,
  .info-grid,
  .detail-row {
    grid-template-columns: 1fr;
  }

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

  .estimate-panel > strong {
    font-size: 3.1rem;
  }
}
