:root {
  --orange: #ff6100;
  --orange-dark: #e55600;
  --black: #000000;
  --white: #ffffff;
  --cream: #f7f3ee;
  --charcoal: #1a1a1a;
  --muted: #5c5c5c;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--black); }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.visually-hidden { position: absolute; left: -9999px; }
.skip-link {
  position: absolute; left: 1rem; top: -3rem; background: var(--black); color: var(--white);
  padding: 0.5rem 0.75rem; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { width: 40px; height: auto; }
.brand-logo { width: min(180px, 42vw); height: auto; }

.nav-list {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.25rem;
}
.nav-list a {
  text-decoration: none; color: var(--charcoal); font-weight: 500; font-size: 0.95rem;
}
.nav-list a.is-active { color: var(--orange); }
.nav-toggle {
  display: none; border: 0; background: transparent; padding: 0.5rem; cursor: pointer;
}
.nav-toggle .bar {
  display: block; width: 24px; height: 2px; background: var(--black);
  box-shadow: 0 7px 0 var(--black), 0 -7px 0 var(--black);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem; padding: 0.75rem 1.25rem; border-radius: 999px;
  background: var(--orange); color: var(--white); font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 1rem; transition: transform 0.15s, background 0.15s;
}
.btn:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-ghost {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-dark { background: var(--black); }
.btn-dark:hover { background: #222; color: var(--white); }

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d 0%, #1f1f1f 55%, #2a1408 100%);
  color: var(--white); padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 97, 0, 0.35), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero .lede { font-size: 1.12rem; color: rgba(255,255,255,0.86); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.hero-tags {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  color: rgba(255,255,255,0.72); font-size: 0.92rem;
}
.hero-visual {
  margin: 0; padding: 1.5rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual img { margin-inline: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); }

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-white { background: var(--white); }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--orange); margin: 0 0 0.5rem;
}
.section-head h2 { margin: 0 0 0.75rem; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.15; }
.section-lede { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-lede { color: rgba(255,255,255,0.72); }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.35rem;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform 0.15s; }
.card-link:hover { transform: translateY(-3px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.tile-showcase {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.tile-chip {
  padding: 0.85rem; border-radius: 12px; background: var(--white);
  border: 1px solid var(--border); text-align: center; font-weight: 600; font-size: 0.9rem;
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
}
.page-hero h1 { margin: 0 0 0.75rem; font-size: clamp(2rem, 4vw, 2.75rem); }
.prose { max-width: 46rem; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { color: var(--charcoal); margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step; padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
  position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1.1rem;
  width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--orange);
  color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
}

.faq-list details {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.1rem; margin-bottom: 0.75rem;
}
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { margin: 0.75rem 0 0; color: var(--muted); }

.estimate-section {
  background: linear-gradient(180deg, var(--white), var(--cream));
  border-top: 1px solid var(--border);
}
.form-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.65rem 0.75rem; border-radius: 10px;
  border: 1px solid #cfc7bc; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(255, 97, 0, 0.35); border-color: var(--orange);
}
.field-hint { margin: 0; font-size: 0.85rem; color: var(--muted); }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.form-status { margin: 0.75rem 0 0; min-height: 1.25rem; }
.form-status.is-ok { color: #0a6b2d; }
.form-status.is-error { color: #a11919; }
.form-status.is-warn { color: #8a5a00; }

.site-footer {
  background: var(--black); color: rgba(255,255,255,0.78); padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-brand p { max-width: 28rem; }
.footer-label {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem;
  color: var(--orange); font-weight: 700;
}
.footer-links, .social { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.footer-links a, .social a { color: rgba(255,255,255,0.82); text-decoration: none; }
.footer-links li, .social li { margin-bottom: 0.35rem; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid, .split, .grid-3, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-list {
    position: absolute; right: 1.25rem; top: calc(100% + 0.5rem);
    flex-direction: column; align-items: stretch; background: var(--white);
    border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem;
    min-width: 220px; box-shadow: var(--shadow); display: none;
  }
  .nav-list.is-open { display: flex; }
  .header-inner { position: relative; }
}
