:root {
  --bg: #f3efe6;
  --paper: #fffdf8;
  --ink: #1a2422;
  --muted: #5c6562;
  --line: #e2dbd0;
  --deep: #14302c;
  --accent: #c45c2a;
  --max: 1080px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -48px; background: var(--deep); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 239, 230, 0.94);
  border-bottom: 1px solid transparent;
}
.header__bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.logo {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.03em;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: 15px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.menu-btn {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: #f6f1e8;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}
.btn--line { background: transparent; color: var(--deep); }
.btn:hover { opacity: 0.9; }

.hero { padding: 42px 0 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: end; }
.kicker { color: var(--accent); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); max-width: 12ch; }
.hero__lead { max-width: 42ch; margin-top: 16px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__photo { width: 100%; height: min(520px, 62vw); object-fit: cover; border-radius: 18px; }

.section { padding: 56px 0; }
.section h2 { font-size: clamp(30px, 4vw, 46px); max-width: 16ch; }
.section__intro { color: var(--muted); max-width: 58ch; margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-width: 0; }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card div { padding: 16px 16px 20px; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.split img, .frame img { width: 100%; height: 380px; object-fit: cover; border-radius: 18px; }
.checks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.price strong { display: block; font-family: var(--serif); font-size: 32px; margin: 8px 0; }
.price p { color: var(--muted); }
.price .btn { margin-top: 16px; }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq__a { display: grid; grid-template-rows: 0fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); margin: 0 0 16px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.footer { border-top: 1px solid var(--line); padding: 36px 0 24px; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr; gap: 24px; }
.footer h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.footer a { display: block; text-decoration: none; padding: 4px 0; color: var(--muted); }
.footer a:hover, .footer a[aria-current="page"] { color: var(--ink); }
.footer p { color: var(--muted); }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.page { padding: 36px 0 8px; }
.page h1 { font-size: clamp(36px, 6vw, 58px); max-width: 14ch; }
.lead { color: var(--muted); max-width: 62ch; margin-top: 12px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 28px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p, .prose ul { margin-top: 10px; }
.prose ul { padding-left: 18px; }
.updated { color: var(--muted); margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.step p { margin-top: 8px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; margin-top: 22px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-width: 0; }
.info-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.info-list span { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.map { margin-top: 16px; height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { display: grid; gap: 12px; margin-top: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 12px;
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #9d1c2b; }
.field-error { color: #9d1c2b; font-size: 14px; margin-top: 4px; }
.field-error:empty { display: none; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check input { margin-top: 4px; }
.form-status { background: #e7f0e4; color: #14532d; padding: 12px 14px; border-radius: 12px; }
.note { color: var(--muted); margin-top: 8px; font-size: 15px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav .btn { width: 100%; padding: 10px 0; }
  .hero, .cards, .split, .prices, .footer__grid, .contact-grid, .form-row, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero__photo, .split img, .frame img { height: 260px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
