:root {
  --bg: #FAF5EC;
  --bg-alt: #F1E6D3;
  --surface: #FFFFFF;
  --text: #2E2A22;
  --text-muted: #6B5F4E;
  --accent: #C1682D;
  --accent-dark: #9C4F20;
  --accent-2: #6E7F63;
  --line: #E4D8C3;
  --shadow: 0 12px 32px rgba(46, 42, 34, 0.12);
  --radius: 14px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id], #request-form { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

p { margin: 0 0 1em; }
.muted { color: var(--text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 .6em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(193,104,45,.35); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-small { padding: .55em 1.2em; font-size: .9rem; }
.btn-large { padding: 1em 2em; font-size: 1.05rem; width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 245, 236, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
}
.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.nav a:hover { color: var(--accent-dark); }
.header-contacts { display: flex; align-items: center; gap: 16px; }
.phone { color: var(--text); text-decoration: none; font-weight: 600; white-space: nowrap; }

@media (max-width: 860px) {
  .nav { display: none; }
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero-inner { padding-top: 120px; padding-bottom: 72px; max-width: 720px; }
.hero .eyebrow { color: #F3D9BE; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 1.15rem; color: #F1EAE0; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: .95rem;
}
.hero-meta span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  padding: .5em 1em;
  border-radius: 999px;
}

/* Feeling section */
.feeling { padding: 90px 0; background: var(--surface); }
.feeling-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: center;
}
.feeling-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.feeling-text--right { grid-column: 2; grid-row: 2; }
.feeling-grid .feeling-photo:nth-child(1) { grid-column: 2; grid-row: 1; }
.feeling-grid .feeling-text:nth-child(2) { grid-column: 1; grid-row: 1; }
.feeling-grid .feeling-photo:nth-child(4) { grid-column: 1; grid-row: 2; }

@media (max-width: 860px) {
  .feeling-grid { grid-template-columns: 1fr; }
  .feeling-grid .feeling-photo, .feeling-grid .feeling-text, .feeling-text--right { grid-column: 1 !important; grid-row: auto !important; }
}

/* Product */
.product { padding: 90px 0; background: var(--bg-alt); }
.product-inner { max-width: 760px; }
.product-lead { font-size: 1.08rem; color: var(--text-muted); }
.product-facts {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-facts li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.product-facts strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: var(--accent-dark); margin-bottom: 4px; }
.product-facts span { font-size: .85rem; color: var(--text-muted); }
@media (max-width: 760px) { .product-facts { grid-template-columns: 1fr 1fr; } }

/* Plan */
.plan { padding: 90px 0; background: var(--surface); }
.plan-lead { max-width: 640px; color: var(--text-muted); }
.plan-diagram {
  margin-top: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
}
.plan-diagram img { width: 100%; min-width: 620px; }

/* Specs */
.specs { padding: 90px 0; background: var(--bg-alt); }
.specs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.specs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.specs-list li {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: .95rem;
}
.specs-list li::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }
@media (max-width: 860px) { .specs-inner { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { padding: 90px 0; background: var(--surface); }
.gallery-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform .2s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Price */
.price { padding: 90px 0; background: linear-gradient(160deg, var(--accent-dark), var(--accent)); color: #fff; }
.price-inner { display: flex; justify-content: center; }
.price-card { text-align: center; max-width: 560px; }
.price .eyebrow { color: #FBE2C7; }
.price h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.4rem); }
.price-note { color: #F6E4D2; margin-bottom: 28px; }
.price .btn-accent { background: #fff; color: var(--accent-dark); box-shadow: none; }
.price .btn-accent:hover { background: #F6E4D2; }

/* Request form */
.request { padding: 90px 0; background: var(--bg-alt); }
.request-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.request-alt-contacts { display: flex; gap: 16px; margin-top: 12px; }
.request-alt-contacts a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.request-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--text); }
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: .7em .9em;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-checkbox { flex-direction: row; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--text-muted); }
.field-checkbox input { margin-top: 3px; }
.link-button { background: none; border: none; padding: 0; color: var(--accent-dark); text-decoration: underline; cursor: pointer; font: inherit; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-success {
  background: #E7F0E4; color: #3E5C3A; border-radius: 8px; padding: 12px 16px; font-weight: 600; font-size: .9rem;
}
.form-errors { background: #FBE7E2; color: #9C3B23; border-radius: 8px; padding: 12px 16px; font-size: .9rem; }
.form-errors ul { margin: 0; padding-left: 18px; }
@media (max-width: 860px) { .request-inner { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: 48px 0; background: #2A2419; color: #E8DFCF; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer .logo { color: #fff; }
.site-footer .muted { color: #B7AB93; }
.footer-contacts { display: flex; gap: 18px; }
.footer-contacts a { color: #E8DFCF; text-decoration: none; font-weight: 600; }
.footer-copy { width: 100%; font-size: .8rem; }

/* Privacy modal */
.privacy-modal {
  position: fixed; inset: 0; background: rgba(30,25,18,.55);
  display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
.privacy-modal[hidden] { display: none; }
.privacy-modal-card {
  background: #fff; border-radius: var(--radius); padding: 28px; max-width: 520px; position: relative;
}
.privacy-close, .lightbox-close {
  position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 1.6rem; cursor: pointer; color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(20,17,12,.9); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lightbox-close { color: #fff; top: 20px; right: 24px; font-size: 2rem; }
