/* Zella Flooring — shared stylesheet (pure static, no dependencies) */
:root {
  --ink: #2b241d;
  --ink-soft: #4a4036;
  --muted: #7a6c5e;
  --bg: #faf7f1;
  --card: #ffffff;
  --line: #e8e0d3;
  --accent: #a86f1f;
  --accent-dark: #8a5a16;
  --accent-soft: #f5ead6;
  --green: #2e7d4f;
  --radius: 12px;
  --maxw: 1080px;
  --shadow: 0 2px 14px rgba(43, 36, 29, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #d9a441);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 19px;
}
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: .3px; }
.brand-name small { display: block; font-size: 11px; font-weight: 400; color: #cbbfa9; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; cursor: pointer; padding: 10px;
  font-size: 26px; line-height: 1; color: #fff; user-select: none;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  color: #efe7d8; text-decoration: none; padding: 10px 14px; border-radius: 8px;
  font-size: 15.5px; font-weight: 500;
}
.site-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-nav a.active { background: var(--accent); color: #fff; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: #2b241d url("images/hero.jpg") center/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30,24,17,.88) 20%, rgba(30,24,17,.55) 60%, rgba(30,24,17,.25));
}
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 72px 20px; width: 100%; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 0 0 14px; max-width: 640px; }
.hero p.lead { font-size: 19px; color: #e9dfcc; max-width: 600px; margin: 0 0 26px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.5); margin-left: 10px; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.hero-badges { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; color: #f3ecdd;
}

/* Sections */
.section { padding: 56px 0; }
.section h2 { font-size: 29px; margin: 0 0 8px; }
.section .sub { color: var(--muted); margin: 0 0 30px; font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .price-note { font-size: 14px; color: var(--muted); }

/* Product cards */
.product-card { overflow: hidden; padding: 0; }
.product-card img { width: 100%; height: 190px; object-fit: cover; }
.product-card .body { padding: 22px 24px 26px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--accent-soft); width: 42%; font-weight: 600; }

/* Swatches */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.swatch {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; box-shadow: var(--shadow);
}
.swatch img { width: 100%; height: 150px; object-fit: cover; }
.swatch .meta { padding: 12px 14px 14px; }
.swatch .code { font-weight: 700; font-size: 15px; }
.swatch .sku { font-size: 12.5px; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓"; position: absolute; left: 4px; top: 10px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #e3f2e8; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; }
.cta-band h2 { margin: 0 0 10px; color: #fff; }
.cta-band p { color: #d8cdb8; margin: 0 0 22px; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field label .req { color: #b3402e; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid #cfc4b1; border-radius: 8px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); border-color: var(--accent);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.contact-side h3 { margin-top: 0; }
.contact-line { margin: 12px 0; }
.contact-line strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #bfae93; margin-top: 20px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 36px 20px;
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between;
}
.site-footer a { color: #e9dfcc; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 20px; text-align: center; font-size: 13.5px; color: #8f8069;
  max-width: var(--maxw); margin: 0 auto;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .nav-toggle-label { display: block; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--ink); display: none;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-nav ul { flex-direction: column; padding: 10px; }
  .site-nav a { display: block; padding: 12px 16px; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-header .header-inner { position: relative; }
  .hero { min-height: 340px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
}
