:root {
  --bg: #ebe4d8;
  --paper: #f7f3ec;
  --ink: #1b1714;
  --muted: #5e574e;
  --line: #ddd4c6;
  --accent: #c2410c;
  --accent-ink: #fff8f4;
  --dark: #16191f;
  --chip: #efe8dc;
  --shadow: 0 16px 40px rgba(28, 22, 16, 0.08);
  --radius: 18px;
  --max: 1080px;
  --sans: "Manrope", "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: 1.0625rem;
  line-height: 1.5;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.12; }
h1 { font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.top { padding: 22px 0 8px; }
.narrow { max-width: 42rem; }

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.muted { color: var(--muted); }

header.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(235, 228, 216, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}
.logo span { color: var(--muted); font-weight: 600; font-size: 0.82rem; margin-left: 8px; }
.bar-phone {
  display: none;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.burger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}
.menu-toggle {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.burger-box,
.burger-box::before,
.burger-box::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.burger-box { position: relative; }
.burger-box::before,
.burger-box::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger-box::before { top: -6px; }
.burger-box::after { top: 6px; }
.burger:has(.menu-toggle:checked) .burger-box { background: transparent; }
.burger:has(.menu-toggle:checked) .burger-box::before { top: 0; transform: rotate(45deg); }
.burger:has(.menu-toggle:checked) .burger-box::after { top: 0; transform: rotate(-45deg); }
.burger:has(.menu-toggle:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 4px 0 8px;
}
header.bar:has(.menu-toggle:checked) .nav { display: grid; }
.nav a {
  text-decoration: none;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  border-top: 1px solid var(--line);
}
.nav a[aria-current="page"] { color: var(--accent); }

.hero { display: grid; gap: 18px; padding: 8px 0 10px; }
.hero-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #d7d0c4;
  min-height: 280px;
}
.hero-photo img { width: 100%; height: 62vw; max-height: 520px; object-fit: cover; }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  line-height: 1.2;
}
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.promise { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.facts { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li {
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}

.section { padding: 28px 0; }
.section h2 { margin-bottom: 8px; }
.section .sub { color: var(--muted); margin-bottom: 16px; }

.doors { display: grid; gap: 12px; }
.door {
  display: block;
  text-decoration: none;
  background: var(--dark);
  color: #f7f2ea;
  border-radius: var(--radius);
  padding: 20px;
  min-height: 140px;
}
.door.alt { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.door strong { display: block; font-size: 1.35rem; letter-spacing: -0.03em; margin: 8px 0; }
.door span { color: #c9c2b6; }
.door.alt span { color: var(--muted); }

.cards { display: grid; gap: 12px; }
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card div { padding: 14px 14px 16px; display: grid; gap: 6px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card em { font-style: normal; font-weight: 800; color: var(--accent); font-size: 0.92rem; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.steps li, .brief li {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 14px 14px 58px;
  position: relative;
}
.steps li::before, .brief li::before {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--dark);
  color: #f6f1e8;
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.steps li:nth-child(1)::before { content: "1"; }
.steps li:nth-child(2)::before { content: "2"; }
.steps li:nth-child(3)::before { content: "3"; }
.steps strong { display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pills li { background: var(--paper); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 0.92rem; }

.split { display: grid; gap: 12px; }
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shot figcaption { padding: 12px 14px 14px; font-weight: 800; }

.prose { display: grid; gap: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.15rem; display: grid; gap: 6px; }
.prose h2 { margin-top: 10px; }
.spec { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 14px; overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.spec tr:last-child td { border-bottom: 0; }

.brief { background: var(--dark); color: #f6f1e8; border-radius: 22px; padding: 18px; }
.brief .kicker { color: #f0a07a; }
.brief ol { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; }
.brief li { background: #222733; padding-left: 14px; }
.brief li::before { content: none; }
.brief .btn { background: var(--accent); color: white; }

.faq { display: grid; gap: 8px; }
.faq h2 { margin-bottom: 6px; }
details { background: var(--paper); border-radius: 14px; padding: 12px 14px; }
summary { font-weight: 800; cursor: pointer; }
details p { margin-top: 8px; color: var(--muted); }

.crumbs { width: min(var(--max), calc(100% - 32px)); margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 0.92rem; }
.brief li { background: #222733; padding: 12px 14px; }
.brief li::before { content: none; }
.crumbs a { color: var(--muted); }

.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { text-decoration: none; background: var(--paper); border-radius: 999px; padding: 8px 12px; font-weight: 700; }

.page-hero { display: grid; gap: 16px; }
.contact-phone {
  display: block;
  text-decoration: none;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 8px 0 12px;
}

footer.foot {
  background: var(--dark);
  color: #f3eee6;
  padding: 28px 0 22px;
  margin-top: 10px;
}
.foot a { color: #f3eee6; }
.foot .muted { color: #b7b0a4; }
.foot-grid { display: grid; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.foot nav a { font-weight: 700; text-decoration: none; }

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(22, 25, 31, 0.96);
}
.callbar a { border-radius: 14px; }

@media (max-width: 799px) {
  .hero .actions .btn:not(.ghost),
  .page-hero .actions .btn:not(.ghost) { display: none; }
  .hero-photo { min-height: 0; }
  .hero-photo img { height: 52vw; }
  .spec { display: block; background: transparent; }
  .spec tr:first-child { display: none; }
  .spec tr { display: block; background: var(--paper); border-radius: 14px; margin-bottom: 8px; padding: 12px 14px; }
  .spec th { display: none; }
  .spec td { display: block; border: 0; padding: 2px 0; }
  .spec td:first-child { font-weight: 800; }
  .spec td:last-child { color: var(--muted); }
}

@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .burger { display: none; }
  .bar-phone { display: inline-flex; }
  .callbar { display: none; }
  .nav {
    display: flex;
    position: static;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 12px;
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    scrollbar-width: none;
  }
  .nav a {
    flex: 0 0 auto;
    background: var(--chip);
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.92rem;
  }
  .nav a[aria-current="page"] { background: var(--dark); color: #f6f1e8; }
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 36px; padding-top: 18px; }
  .hero-photo img { height: 100%; min-height: 460px; max-height: none; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .doors, .split, .page-hero { grid-template-columns: 1fr 1fr; align-items: start; }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .section { padding: 42px 0; }
}

@media (min-width: 800px) {
  .layout-side { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 22px; align-items: start; }
}
