:root {
  --ink: #e7d7b1;
  --brass: #c6a36a;
  --brass-2: #8c7044;
  --bg: #12110e;
  --paper: #1b1916;
  --line: rgba(198, 163, 106, .35);
  --muted: #b7ad9c;
  --ok: #c6a36a;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: #efe7d8;
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.top {
  background: #0e0d0b;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-row { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.logo { display: flex; align-items: center; text-decoration: none; color: #f3ead8; flex: none; }
.logo img { height: 34px; width: auto; max-width: 148px; object-fit: contain; object-position: left center; }
.logo span { display: none; }
.logo small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-top: 2px; }
.flogo { display: inline-block; margin-bottom: 8px; }
.flogo img { height: 58px; width: auto; }
.nav { display: flex; gap: 20px; align-items: center; margin-left: 40px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #efe7d8; }
.nav .drop { position: relative; }
.nav .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1b1916;
  border: 1px solid var(--line);
  min-width: 260px;
  padding: 8px;
}
.nav .drop:hover .menu, .nav .drop:focus-within .menu { display: block; }
.nav .menu a { display: block; padding: 8px 10px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.nav .menu a:hover { background: #26231e; }
.contacts-mini { text-align: right; font-size: 14px; line-height: 1.45; margin-left: auto; flex: none; }
.contacts-mini a { text-decoration: none; font-weight: 700; color: #f3ead8; }
.contacts-mini span, .contacts-mini span a { color: var(--brass); font-weight: 600; font-size: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--brass);
  text-decoration: none;
  border: 1px solid var(--brass);
  border-radius: 2px;
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.btn.ghost { color: #f3ead8; border-color: rgba(243, 234, 216, .35); }
.btn.line { background: transparent; color: var(--brass); }
.offer {
  background: #0e0d0b;
  color: #f6f0e4;
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--line);
}
.offer .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}
.offer .wrap > *:not(.hero) { grid-column: 1; }
.offer .hero {
  grid-column: 2;
  grid-row: 1 / span 8;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid var(--brass);
  box-shadow: 0 0 0 8px rgba(198, 163, 106, .08);
}
.offer h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  margin: 8px 0 14px;
  font-weight: 560;
  color: #f7f1e6;
}
.offer p.lead { max-width: 640px; font-size: 17px; color: #d9d0c2; }
.crumbs { font-size: 13px; color: #b7ad9c; }
.crumbs a { color: #f3ead8; }
.eyebrow { color: var(--brass); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--brass); margin-right: 10px; vertical-align: middle; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.dots { display: flex; gap: 18px; flex-wrap: wrap; color: #d9d0c2; font-size: 14px; }
.dots b { color: var(--brass); }
.section { padding: 42px 0; }
.section h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  margin: 0 0 14px;
  color: #f7f1e6;
  font-weight: 560;
}
.grid6, .grid3, .q-grid, .price-grid { display: grid; gap: 14px; }
.grid6 { grid-template-columns: repeat(3, 1fr); }
.grid3, .price-grid { grid-template-columns: repeat(3, 1fr); }
.q-grid { grid-template-columns: 1fr 1fr; }
.card, .q, .price, .step {
  background: #1b1916;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 16px;
}
.card b, .q b, .price b { display: block; margin-bottom: 6px; color: #f7f1e6; }
.q { display: grid; grid-template-columns: 42px 1fr; gap: 8px 12px; align-items: start; }
.q .ico { width: 42px; height: 42px; border: 1px solid var(--line); display: grid; place-items: center; grid-row: span 2; }
.q .ico svg { width: 22px; height: 22px; stroke: var(--brass); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.q b { margin-bottom: 0; }
.workrow { display: grid; grid-template-columns: 1.4fr .8fr; gap: 22px; align-items: start; margin: 22px 0; }
.workrow.reverse { grid-template-columns: .8fr 1.4fr; }
.workrow img { width: 100%; object-fit: cover; max-height: 420px; border: 1px solid var(--line); }
.list { padding-left: 18px; }
.list li { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; background: #1b1916; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 12px 14px; vertical-align: top; }
th { background: #241f18; color: var(--brass); font-weight: 650; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.step i { display: block; font-style: normal; color: var(--brass); font-weight: 800; }
.form {
  background: #1b1916;
  padding: 18px;
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  min-width: 0;
}
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  font: inherit;
  background: #12110e;
  color: #f3ead8;
}
.consent { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.consent span { white-space: nowrap; line-height: 1.3; }
.note { font-size: 14px; color: var(--muted); }
.ok { color: #d7c08a; font-weight: 700; }
.err { color: #e0a3a3; font-weight: 700; }
footer { background: #0e0d0b; color: #d9d0c2; padding: 36px 0 20px; border-top: 1px solid var(--line); }
footer a { color: #f3ead8; text-decoration: none; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 18px; }
footer h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
.legal { margin-top: 18px; font-size: 12px; color: #8f8678; }
.burger { display: none; background: none; border: 1px solid var(--line); color: #f3ead8; padding: 8px 10px; }
@media (max-width: 900px) {
  .nav, .contacts-mini { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 74px; background: #0e0d0b; padding: 12px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav.open .menu { position: static; display: block; border: 0; padding: 0; }
  .burger { display: inline-block; margin-left: auto; }
  .grid6, .grid3, .q-grid, .price-grid, .steps, .fgrid, .workrow, .workrow.reverse, .offer .wrap { grid-template-columns: 1fr; }
  .offer .hero { grid-column: 1; grid-row: auto; min-height: 220px; }
  .consent span { white-space: normal; }
}
