/* ===== Brand tokens: change these to re-theme the whole site ===== */
:root {
  --wood: #8a5a35;
  --wood-dark: #5e3b22;
  --ember: #c8693b;
  --cream: #faf6f0;
  --sand: #f1e9dd;
  --ink: #2b2420;
  --muted: #6e625a;
  --line: #e3d8c9;
  --dark: #241d19;
  --bronze: #9a6b45;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(43, 36, 32, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); margin-bottom: 12px; }

/* ===== Buttons ===== */
.btn { display: inline-block; background: var(--wood); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 2px solid var(--wood); cursor: pointer; transition: background .2s, transform .2s, border-color .2s; font-family: var(--sans); }
.btn:hover { background: var(--wood-dark); border-color: var(--wood-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--wood-dark); }
.btn-ghost:hover { background: var(--wood); color: #fff; }
.btn-small { padding: 9px 18px; font-size: 0.88rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 240, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--wood-dark); }
.logo em { color: var(--bronze); font-style: italic; font-weight: 400; }
.logo span { letter-spacing: 0.04em; }
.logo-mark { width: 46px; height: 46px; color: var(--ink); flex-shrink: 0; }
.logo-light .logo-mark { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--wood-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 80px 0 90px; background: radial-gradient(circle at 85% 20%, #f3e3d0 0, transparent 55%), var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 32px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; font-size: 0.92rem; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--ember); font-weight: 700; margin-right: 8px; }

/* Illustrated cabinet (replace with a real photo later) */
.hero-visual { position: relative; }
.cabinet-art { background: linear-gradient(160deg, #e9dccb, #d9c6ad); border-radius: 18px; padding: 34px 30px 0; box-shadow: var(--shadow); aspect-ratio: 5 / 4; display: flex; flex-direction: column; }
.ca-upper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; height: 36%; }
.ca-counter { height: 14px; background: #f4f1ec; margin: 22% -10px 0; border-radius: 3px; box-shadow: 0 4px 6px rgba(0,0,0,.08); }
.ca-lower { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; flex: 1; padding-top: 6px; }
.door, .drawer { background: linear-gradient(180deg, #6f8a7a, #5f7a6a); border-radius: 3px; position: relative; box-shadow: inset 0 0 0 6px rgba(255,255,255,.08); }
.door::after { content: ""; position: absolute; width: 3px; height: 26px; background: #c9a46a; border-radius: 2px; top: 50%; right: 10px; transform: translateY(-50%); }
.ca-upper .door::after { top: auto; bottom: 10px; transform: none; }
.door.glass { background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.2)), #6f8a7a; box-shadow: inset 0 0 0 6px #5f7a6a; }
.drawer-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; }
.drawer::after { content: ""; position: absolute; width: 30px; height: 3px; background: #c9a46a; border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-badge { position: absolute; left: -24px; bottom: 30px; background: #fff; padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.hero-badge strong { font-family: var(--serif); font-size: 1.4rem; color: var(--wood-dark); }
.hero-badge span { font-size: 0.82rem; color: var(--muted); }

/* ===== Trust bar ===== */
.trust { background: var(--wood-dark); color: #f5ebde; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.trust strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.trust span { font-size: 0.85rem; opacity: 0.8; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--dark); color: #e9dfd3; }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.note { font-size: 0.9rem !important; font-style: italic; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--wood); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* Process steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--wood); }
.step-num { font-family: var(--serif); font-size: 2.4rem; color: var(--ember); display: block; margin-bottom: 8px; line-height: 1; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 9px 18px; border-radius: 999px; font: 500 0.9rem var(--sans); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--wood); color: var(--wood-dark); }
.filter.active { background: var(--wood); border-color: var(--wood); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.g-item.tall { grid-row: span 2; }
.g-item.hidden { display: none; }
.g-item .ph { width: 100%; height: 100%; transition: transform .5s; }
.g-item:hover .ph { transform: scale(1.05); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-weight: 500; font-size: 0.95rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
/* Placeholder "photos": swap for <img src="..."> */
.ph-1 { background: repeating-linear-gradient(90deg, #6f8a7a 0 46px, #5f7a6a 46px 50px), #6f8a7a; }
.ph-2 { background: repeating-linear-gradient(0deg, #6b4529 0 6px, #7a5133 6px 14px, #5e3b22 14px 18px); }
.ph-3 { background: linear-gradient(180deg, #ece6dc 0 55%, #b98b5e 55% 100%); }
.ph-4 { background: linear-gradient(180deg, #f2eee8 0 40%, #2f3b45 40% 100%); }
.ph-5 { background: repeating-linear-gradient(180deg, #e8ddcd 0 70px, #8a5a35 70px 78px); }
.ph-6 { background: linear-gradient(120deg, #d8d2c8, #b8aea0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20, 16, 13, .88); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-inner { width: min(900px, 100%); }
.lightbox-inner .ph { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); }
.lightbox-inner p { color: #fff; margin-top: 14px; font-family: var(--serif); font-size: 1.3rem; text-align: center; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-text p:not(.eyebrow) { margin-top: 18px; opacity: 0.85; }
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.features li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 24px; }
.features strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 6px; }
.features span { font-size: 0.92rem; opacity: 0.75; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quotes blockquote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.quotes blockquote::before { content: var(--stars, "★★★★★"); color: var(--ember); letter-spacing: 3px; display: block; margin-bottom: 14px; }
.quotes p { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.quotes cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.88rem; color: var(--muted); font-weight: 500; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--wood); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); margin: 16px 0 32px; }
.contact-list { list-style: none; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.contact-list span { font-size: 0.8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.contact-list a { color: var(--wood-dark); font-weight: 500; }
.quote-form { background: #fff; padding: 36px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea { font: 400 1rem var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(138, 90, 53, .15); }
.quote-form .invalid { border-color: #c0392b; }
.form-status { font-size: 0.92rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #2e7d4f; }
.form-status.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--dark); color: #b9ada0; padding: 50px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.logo-light { color: #fff; margin-bottom: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.footer-nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: 0.85rem; }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .hero { padding: 50px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-badge { left: 12px; bottom: -20px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .cards, .quotes, .steps, .features, .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .quote-form { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ===== Real photos (drop files into /images, see images/README.txt) ===== */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.hero-badge { z-index: 1; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.lightbox-inner img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.footer-contact { margin-top: 12px; font-size: 0.9rem; line-height: 1.7; }
.footer-contact a:hover, .contact-list a:hover { text-decoration: underline; }
.reviews-empty { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px 32px; }
.reviews-empty p { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 26px; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
[hidden] { display: none !important; }
