/* ===== Tokens ===== */
:root {
  --ink: #2c3338;
  --ink-soft: #4a4f53;
  --muted: #7d7a72;
  --gold: #938671;
  --gold-deep: #7a6e58;
  --gold-light: #c4b68a;
  --cream: #faf8f3;
  --cream-2: #f2eee5;
  --line: #e3ded3;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(44, 51, 56, 0.10);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  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; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; }
h2, h3 { font-family: var(--serif); font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .75em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  cursor: pointer;
  font: 600 1rem var(--sans);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 30px; height: 38px; color: var(--gold); }
.brand-name { font-family: 'Montserrat', var(--sans); font-weight: 800; letter-spacing: .2em; font-size: 1.1rem; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--gold-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; color: var(--white); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,32,35,.82) 0%, rgba(28,32,35,.55) 45%, rgba(28,32,35,.1) 100%); }
.hero-content { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; margin-bottom: .4em; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 520px; color: rgba(255,255,255,.9); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Highlights ===== */
.highlights { background: var(--ink); color: var(--white); }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight-grid > div { padding: 26px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.highlight-grid > div:last-child { border-right: 0; }
.highlight-grid strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--gold-light); }
.highlight-grid span { font-size: .88rem; color: rgba(255,255,255,.75); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.08rem; }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.split-reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split-body h3 { font-size: 1.6rem; margin-bottom: .8em; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 16px; color: var(--ink-soft); }
.checklist li b { color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature svg { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.feature h4 { font-size: 1rem; margin-bottom: .3em; }
.feature p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* Specs */
.specs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 64px; }
.specs, .configs, .addons { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.specs h3, .configs h3, .addons h3 { font-size: 1.35rem; }
.specs table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 38%; font-weight: 600; color: var(--ink); padding-right: 16px; }
.specs td { color: var(--ink-soft); }
.configs p { color: var(--ink-soft); font-size: .95rem; }
.configs img { margin: 18px 0 12px; border-radius: 8px; }
.small { font-size: .82rem !important; color: var(--muted) !important; }

.addon-list { list-style: none; padding: 0; margin: 0; }
.addon-list li { padding: 16px 0 16px 18px; border-left: 3px solid var(--gold-light); margin-bottom: 12px; }
.addon-list h4 { margin-bottom: .25em; }
.addon-list p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.addons > p { color: var(--ink-soft); }

/* Gallery */
.gallery-title { font-size: 1.5rem; margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery a { display: block; overflow: hidden; border-radius: 10px; background: var(--line); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery-pergola { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.gallery-pergola a { aspect-ratio: auto; }
.gallery-pergola .wide { grid-column: span 2; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); color: var(--gold-deep); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.steps h4 { font-size: 1.05rem; }
.steps p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 40px 44px; }
.cta-band h3 { font-size: 1.5rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 640px; }
.cta-band .btn { flex-shrink: 0; }

/* Contact */
.section-dark { background: #23292d; color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.contact-info > p { color: rgba(255,255,255,.8); }
.contact-info .eyebrow { color: var(--gold-light); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 1.05rem; }
.contact-list svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--gold-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-light); }

.quote-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.quote-form label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 16px; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: 400 1rem var(--sans); color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 8px;
  text-transform: none; letter-spacing: 0;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(147,134,113,.18); }
.quote-form textarea { resize: vertical; }
.quote-form .invalid { border-color: #c0392b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: #1b2023; color: rgba(255,255,255,.6); font-size: .88rem; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--white); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,18,20,.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 6px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 10px 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .split, .specs-wrap, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse .split-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; text-align: center; }
  .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-overlay { background: linear-gradient(180deg, rgba(28,32,35,.55) 0%, rgba(28,32,35,.8) 100%); }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .highlight-grid > div:nth-child(2) { border-right: 0; }
  .highlight-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 64px 0; }
  .feature-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .specs, .configs, .addons, .quote-form { padding: 22px; }
  .specs th { width: 42%; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-pergola { grid-auto-rows: 150px; }
  .gallery-pergola .wide { grid-column: span 2; }
  .lightbox { padding: 48px 8px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
