/* ---------------------------------------------------------------- tokens */
:root {
  --cream: #F7F2EA;
  --sand: #EFE7D9;
  --ink: #23281F;
  --muted: #6C6557;
  --cedar: #A9622F;
  --cedar-dark: #8A4E22;
  --pine: #2E3D33;
  --pine-deep: #24312A;
  --line: #E2D8C5;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 2px 6px rgba(35, 40, 31, 0.06), 0 12px 32px rgba(35, 40, 31, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cedar-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cedar); margin-bottom: 10px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: all 0.18s ease;
  text-decoration: none !important;
}
.btn-primary { background: var(--cedar); color: #fff; }
.btn-primary:hover { background: var(--cedar-dark); transform: translateY(-1px); }
.btn-secondary { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-secondary:hover { background: var(--pine); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.75); color: #fff; background: rgba(0,0,0,0.12); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-light { background: var(--cream); color: var(--pine-deep); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 234, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600;
  color: var(--ink); text-decoration: none !important; white-space: nowrap;
}
.logo em { color: var(--cedar); font-style: normal; }
.logo-mark { width: 30px; height: 30px; color: var(--pine); flex-shrink: 0; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a {
  color: var(--ink); font-size: 0.93rem; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent; text-decoration: none !important;
}
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--cedar); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link {
  font-weight: 600; font-size: 0.93rem; color: var(--ink);
  white-space: nowrap; text-decoration: none !important;
}
.phone-link:hover { color: var(--cedar-dark); }
.main-nav .phone-nav { display: none; }
.header-cta .btn { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 25, 20, 0.82) 0%, rgba(20, 25, 20, 0.25) 55%, rgba(20, 25, 20, 0.15) 100%);
}
.hero-content { position: relative; padding-bottom: 72px; padding-top: 120px; max-width: 1160px; color: #fff; }
.hero-content .eyebrow { color: #E9C9A8; }
.hero-content h1 { max-width: 15ch; margin-bottom: 18px; }
.hero-sub { max-width: 52ch; font-size: 1.1rem; opacity: 0.94; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- trust strip */
.trust-strip { background: var(--pine-deep); color: var(--cream); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 26px 24px;
}
.trust-grid div { display: flex; flex-direction: column; gap: 2px; }
.trust-grid strong { font-family: var(--font-display); font-size: 1.05rem; }
.trust-grid span { font-size: 0.84rem; opacity: 0.75; }

/* ---------------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--pine); color: var(--cream); }
.section-dark .eyebrow { color: #E9C9A8; }
.section-dark a:not(.btn) { color: #E9C9A8; }

/* category cards */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 3.6; display: block; text-decoration: none !important;
  box-shadow: var(--shadow);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover img { transform: scale(1.045); }
.cat-card div {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(20,25,20,0.85), transparent); color: #fff;
}
.cat-card p { font-size: 0.85rem; opacity: 0.85; }

/* product cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  text-decoration: none !important; color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(35,40,31,0.09), 0 20px 44px rgba(35,40,31,0.12); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.card-link { font-size: 0.9rem; font-weight: 600; color: var(--cedar-dark); }

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-text p { margin-bottom: 16px; }
.split-text .btn { margin-top: 6px; }
.split-reverse .split-text { order: 2; }
.split-reverse .split-img { order: 1; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow);
}
.step span {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cedar); color: #fff; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--muted); }

/* ---------------------------------------------------------------- page head */
.page-head { padding: 56px 0 8px; }
.page-head.slim { padding: 28px 0 0; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--ink); }
.page-intro { max-width: 68ch; font-size: 1.08rem; color: var(--muted); margin-top: 14px; }

/* ---------------------------------------------------------------- product page */
.product-top { padding-top: 30px; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  width: 76px; height: 60px; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; padding: 0; background: none; opacity: 0.75; transition: 0.15s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.active { border-color: var(--cedar); opacity: 1; }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.lede { font-size: 1.06rem; color: var(--muted); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font-size: 0.8rem; font-weight: 600; padding: 6px 13px; border-radius: 100px;
  background: var(--sand); color: var(--pine); border: 1px solid var(--line);
}
.product-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.options { margin-top: 26px; border-top: 1px solid var(--line); }
.opt { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.opt dt { font-weight: 600; font-size: 0.9rem; }
.opt dd { font-size: 0.9rem; color: var(--muted); }

/* prose */
.prose { max-width: 780px; }
.prose-block { margin-bottom: 36px; }
.prose-block h2 { font-size: 1.45rem; }
.prose-block p { color: var(--muted); }
.prose-block:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- forms */
.form-wrap { max-width: 720px; }
.hidden-field { display: none; }
.contact-line { font-size: 1.05rem; margin-bottom: 26px; }
.quote-form { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.quote-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 18px; }
.opt-label { font-weight: 400; color: var(--muted); }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 9px; font: inherit; font-weight: 400;
  background: var(--cream); color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--cedar); background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form .btn { margin-top: 6px; }

/* ---------------------------------------------------------------- faq */
.faq-wrap { max-width: 780px; }
.faq-wrap details {
  background: var(--white); border-radius: 12px; padding: 20px 24px;
  margin-bottom: 12px; box-shadow: var(--shadow);
}
.faq-wrap summary {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  cursor: pointer; list-style: none; position: relative; padding-right: 30px;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--cedar); font-family: var(--font-body); font-weight: 400;
}
.faq-wrap details[open] summary::after { content: "–"; }
.faq-wrap details p { margin-top: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- cta band + footer */
.cta-band { background: var(--cedar); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 58ch; margin: 0 auto 26px; opacity: 0.93; }
.site-footer { background: var(--pine-deep); color: var(--cream); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { margin-bottom: 12px; font-size: 1rem; }
.footer-grid a { display: block; color: var(--cream); opacity: 0.8; font-size: 0.92rem; margin-bottom: 8px; }
.footer-grid a:hover { opacity: 1; }
.footer-grid p { font-size: 0.92rem; opacity: 0.8; margin-bottom: 10px; max-width: 40ch; }
.footer-grid a.logo-footer {
  display: inline-flex; align-items: center; color: var(--cream);
  font-size: 1.28rem; opacity: 1; margin-bottom: 14px;
}
.logo-footer .logo-mark { color: #E9C9A8; width: 26px; height: 26px; }
.footer-legal { border-top: 1px solid rgba(247,242,234,0.15); margin-top: 40px; padding-top: 22px; }
.footer-legal p { font-size: 0.78rem; opacity: 0.55; max-width: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-img { order: 2; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 24px; gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav .phone-nav { display: block; font-weight: 600; color: var(--cedar-dark); border-bottom: none; }
  .nav-toggle { display: block; }
  .phone-link { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 3 / 2; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { min-height: 88vh; }
  .quote-form { padding: 24px 20px; }
}
