:root {
  --bg: #f7f2ec;
  --surface: #fffdfb;
  --text: #2e241d;
  --muted: #6b5a4b;
  --accent: #a46d4a;
  --accent-dark: #6f4934;
  --line: #eadfce;
  --shadow: 0 18px 45px rgba(92, 61, 41, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #faf5ee 0%, #f6efe8 100%);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 1.25rem)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(247, 242, 236, 0.92);
  border-bottom: 1px solid rgba(164, 109, 74, 0.18);
  backdrop-filter: blur(12px);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.brand {
  text-decoration: none; font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700;
}
nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--text); font-size: 0.95rem; }
nav a.active, nav a:hover { color: var(--accent-dark); }
.menu-toggle {
  display: none;
  border: 1px solid rgba(111, 73, 52, 0.35);
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.35rem;
  cursor: pointer;
}
.hero, .section, .page-header { padding: 4.8rem 0; }
.hero-grid, .page-grid, .cta-box, .contact-grid, .cards-grid {
  display: grid; gap: 1.5rem; align-items: start;
}
.hero-grid { grid-template-columns: 1.2fr 0.8fr; }
.page-grid { grid-template-columns: 1fr 1fr; }
.cta-box { grid-template-columns: 1.1fr 0.9fr; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery-item figcaption {
  padding: 1rem 1.1rem;
  font-weight: 600;
}
.pricing-grid strong {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--accent-dark);
  font-size: 1.1rem;
}
.card, .panel, .form-box, .cta-box, .quote-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.hero-copy h1, .page-header h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }
.hero-copy h1 { font-size: clamp(3rem, 6vw, 4.8rem); line-height: 0.96; margin: 0 0 1rem; }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin: 0 0 0.8rem; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.7rem; margin-top: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); font-size: 0.78rem; font-weight: 700; }
.lead, .muted { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.3rem; border-radius: 999px; text-decoration: none; font-weight: 700;
  background: var(--accent-dark); color: white; box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent; color: var(--text); border: 1px solid rgba(111, 73, 52, 0.35); box-shadow: none;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }
.hero-card { display: flex; justify-content: center; align-items: center; }
.hero-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.3rem;
  background: linear-gradient(180deg, rgba(47, 32, 24, 0.05), rgba(47, 32, 24, 0.78));
  color: #fffdf9;
}
.hero-image-overlay strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 0.35rem;
}
.hero-image-overlay span {
  display: block;
  font-size: 0.95rem;
}
.quote-box {
  min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; background:
    linear-gradient(rgba(79, 54, 38, 0.28), rgba(79, 54, 38, 0.2)),
    radial-gradient(circle at top left, #d6b89d, #bb8f74 58%, #835442 100%);
  color: #fffdf8;
}
.quote-box strong { font-family: 'Cormorant Garamond', serif; font-size: 2rem; }
.list { margin: 0; padding-left: 1.1rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps div { padding: 0.5rem 0; }
.steps span {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f0ddca; color: var(--accent-dark); font-weight: 700; margin-bottom: 0.75rem;
}
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.form-box form { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.3rem; font-weight: 600; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 0.95rem; font: inherit;
  background: #fffdfb;
}
textarea { min-height: 140px; resize: vertical; }
.notice {
  background: #efe5d9; border: 1px solid #dccbb6; border-radius: 16px; padding: 1rem 1.2rem; color: var(--text);
}
.notice.error {
  background: #f8e6e1; border-color: #d8a39a; color: #7b3427;
}
.footer { padding: 2rem 0 3rem; background: #efe7dd; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) {
  .hero, .section, .page-header { padding: 3.2rem 0; }
  .hero-grid, .page-grid, .cta-box, .contact-grid, .cards-grid, .project-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-image-card, .hero-image-card img { min-height: 320px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 0.75rem;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding-top: 0.75rem;
  }
  .site-nav.open {
    display: flex;
  }
  nav a {
    font-size: 0.95rem;
    padding: 0.25rem 0;
  }
}

@media (max-width: 640px) {
  .container { width: min(1120px, calc(100% - 1rem)); }
  .hero-copy h1 { font-size: clamp(2.35rem, 9vw, 3.1rem); }
  .page-header h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.95rem, 8vw, 2.5rem); }
  .hero-actions, .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .card, .panel, .form-box, .cta-box, .quote-box {
    padding: 1.15rem;
  }
  .hero-image-overlay strong {
    font-size: 1.7rem;
  }
  .footer-grid {
    gap: 1rem;
  }
}
