:root {
  --ink: #1C1F22;
  --ink-2: #4A4F54;
  --paper: #F4F3F0;
  --band: #E7E5E0;
  --white: #FFFFFF;
  --line: #C9C5BE;
  --accent: #A4521F;
  --accent-dark: #86421A;
  --radius: 10px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.5vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: 22px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.section { padding-block: 80px; }
.bg-white { background: var(--white); }
.band { background: var(--band); }
.stack { display: flex; flex-direction: column; gap: 32px; }
.stack-sm { display: flex; flex-direction: column; gap: 20px; }
.stack-xs { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.intro { display: flex; flex-direction: column; gap: 8px; max-width: 40rem; }
.intro p, .muted { color: var(--ink-2); }
.strong { font-weight: 600; }
.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.link { font-weight: 600; }
.grid { display: grid; gap: 24px; }
.rounded { border-radius: var(--radius); width: 100%; height: 240px; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 6px; font: inherit; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 0;
}
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 18px; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Header */
.site-header { background: var(--ink); color: var(--white); }
.header-row { padding-block: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand span { font-weight: 600; color: #C9CCCF; }
.brand:hover { color: var(--white); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.nav a:not(.btn) { color: #E4E6E8; text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--white); text-decoration: underline; }

/* Hero */
.hero { background: var(--ink); color: var(--white); }
.hero-row { padding-block: 56px 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; color: #C9CCCF; }
.hero h1 { font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.lede { font-size: 19px; color: #D5D8DB; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-img { flex: 1 1 380px; min-width: 0; height: 28rem; border-radius: var(--radius); object-fit: cover; }

/* Stats */
.stats { padding-block: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: var(--display); font-weight: 700; font-size: 22px; }
.stats span { color: var(--ink-2); }

/* Materials */
.cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img, .card .ph { height: 160px; width: 100%; object-fit: cover; }
.ph { display: flex; align-items: center; justify-content: center; font-weight: 600; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.card-body p { color: var(--ink-2); }

/* Gallery */
.gallery { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 280px; border-radius: var(--radius); object-fit: cover; }

/* Process */
.steps { margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { border-top: 4px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.steps span { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--ink-2); text-transform: uppercase; }
.steps p { color: var(--ink-2); }

/* Reviews */
.reviews { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.reviews figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.reviews blockquote { margin: 0; font-size: 18px; }
.reviews figcaption { color: var(--ink-2); font-weight: 600; }

/* Estimate */
.estimate-row { display: flex; flex-wrap: wrap; gap: 48px; }
.estimate-info { flex: 1 1 340px; min-width: 0; }
.showroom { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.showroom h3 { font-size: 20px; }
.form {
  flex: 1 1 420px; min-width: 0; align-self: flex-start;
  background: var(--paper); border-radius: var(--radius); padding: 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-2); }
.full { grid-column: 1 / -1; }
input, select, textarea {
  min-height: 44px; padding: 0 12px; border: 1px solid #8A8680; border-radius: 6px;
  font: inherit; background: var(--white); color: var(--ink);
}
textarea { padding: 12px; resize: vertical; }
input[aria-invalid="true"] { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: #1E6B3A; }
.form-status.err { color: #B3261E; }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 20px; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--ink); color: #D5D8DB; }
.footer-row { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: var(--white); }
.brand-sm { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--white); }
.credit { font-size: 15px; color: #B9BDC1; margin-top: 8px; }

@media (max-width: 600px) {
  .section { padding-block: 56px; }
  .hero-img { height: 20rem; }
  .nav { gap: 8px 16px; }
}
