@font-face { font-family: Manrope; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #262220; --ink-2: #34302f; --gold: #ceb588; --gold-l: #ebd4ab; --gold-d: #8a6d3f;
  --cream: #f6f1e9; --paper: #fffdf9; --line: #e4dacb; --muted: #6b625b; --radius: 14px;
  --wrap: 1200px; --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.4vw, 50px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-l); color: var(--ink); }
.btn-ghost { border-color: var(--gold); color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--gold); color: var(--ink); }

/* шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1.1; flex: none; padding: 10px 0; }
.logo-mark { font-weight: 800; font-size: 22px; letter-spacing: .14em; color: var(--gold); }
.logo-sub { font-size: 11px; color: #cfc6bb; letter-spacing: .02em; }
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: #f1ebe2; text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--gold); border-color: var(--gold); }
.header-phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; }
.header-phone:hover { color: var(--gold); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: #fff; margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* крошки */
.crumbs { background: var(--ink-2); max-width: none; padding-block: 10px; font-size: 13px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 auto; padding: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); color: #b9afa3; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #7d746b; }
.crumbs a { color: #d9cfc2; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* первый экран */
.hero { background: var(--ink-2); color: #fff; padding: 36px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 19px; color: #e7dfd4; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23262220' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px; }
.hero-price { font-size: 20px; margin-bottom: 20px; color: var(--gold-l); }
.hero-price b { font-size: 30px; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img.portrait { max-width: 460px; justify-self: center; width: 100%; }
.hero-img.portrait img { aspect-ratio: 4 / 5; }
.hero-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* цифры */
.trust { background: var(--ink); color: #fff; padding: 22px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-grid b { display: block; font-size: 28px; color: var(--gold); line-height: 1.2; }
.trust-grid span { font-size: 14px; color: #d6cdc1; }

/* секции */
.section { padding: 64px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--ink-2); color: #fff; }
.section.dark a:not(.btn) { color: var(--gold-l); }
.section-lead { color: var(--muted); max-width: 46em; margin-top: -6px; margin-bottom: 28px; }

/* галерея */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: 14px; color: var(--muted); padding: 8px 2px 0; line-height: 1.4; }

/* карточки */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.type { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.type p { margin: 0; font-size: 15.5px; color: #4a433e; }
.type .h3 { font-size: 19px; }
.reviews-link { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.big-link { font-size: 20px; font-weight: 700; text-decoration: none; color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(38, 34, 32, .14); transform: translateY(-2px); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.card-price { font-weight: 700; }
.card-more { margin-top: auto; padding-top: 8px; color: var(--gold-d); font-weight: 700; font-size: 15px; }
.card-more::after { content: " →"; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.chips span { font-weight: 700; margin-right: 4px; }
.chips a { padding: 8px 16px; border: 1px solid var(--gold); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; background: var(--paper); }
.chips a:hover { background: var(--gold); }
.chips + .chips { margin-top: 12px; }

.banner { margin-top: 32px; background: var(--ink-2); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner h3 { font-size: 22px; margin-bottom: 6px; }
.banner p { margin: 0; color: #e0d7cb; max-width: 34em; }
.banner-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* текст */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose h1 + p { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose-photo { margin: 0 0 20px; }
.prose-photo img { border-radius: var(--radius); width: 100%; }

/* цены */
.prices { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 16px; }
.prices th, .prices td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 500; }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.prices td { text-align: right; font-weight: 700; white-space: nowrap; }
.prices .unit { font-weight: 500; color: var(--muted); font-size: 14px; }
.prices .ask { font-weight: 500; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }

/* этапы */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 800; margin-bottom: 12px; }
.steps p { margin: 0; font-size: 15.5px; color: #4a433e; }

/* вопросы */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 28px; font-weight: 400; color: var(--gold-d); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: #4a433e; }

/* заявка */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lead-alt { color: #e7dfd4; }
.contacts { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contacts a { display: block; font-size: 22px; font-weight: 700; color: #fff !important; text-decoration: none; }
.contacts span { color: #d6cdc1; font-size: 15px; }
.messengers { display: flex; gap: 12px; flex-wrap: wrap; }
.lead { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.lead label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.lead .opt { font-weight: 400; color: var(--muted); }
.lead input:not([type=checkbox]), .lead textarea { font: inherit; padding: 13px 14px; border: 1px solid #cfc4b4; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.lead textarea { resize: vertical; }
.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: #4a433e; }
.lead .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold-d); }
.lead .consent a { color: var(--gold-d) !important; }
.lead-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.lead-status.ok { color: #1f7a3d; }
.lead-status.err { color: #b3261e; }
.lead-status a { color: inherit !important; }

/* подвал */
.site-footer { background: var(--ink); color: #d6cdc1; padding: 48px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #f1ebe2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .req { font-size: 13px; color: #a79d91; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #453f3b; display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; }

.mobile-bar { display: none; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 14px; display: flex; gap: 12px; align-items: center; }
.cookie[hidden] { display: none; }
.cookie button { font: inherit; font-weight: 700; border: 1px solid var(--ink); background: none; border-radius: 999px; padding: 6px 18px; min-height: 44px; cursor: pointer; flex: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(20, 17, 16, .9); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 8px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; font-size: 15px; }
.lb-close { position: fixed; top: 12px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }

@media (max-width: 1240px) {
  .nav-toggle { display: block; order: 3; }
  .header-phone { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; padding: 8px var(--gutter) 20px; gap: 0; border-top: 1px solid #453f3b; }
  .nav.open { display: flex; max-height: calc(100vh - 68px - 64px); max-height: calc(100dvh - 68px - 64px); overflow-y: auto; overscroll-behavior: contain; }
  .nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid #3a3431; }
  .types, .steps, .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .hero { padding: 24px 0 40px; }
  .hero-grid, .lead-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-img img, .hero-img.portrait img { aspect-ratio: 4 / 3; }
  .hero-img.portrait { max-width: none; }
  .section { padding: 44px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--ink); border-top: 1px solid #453f3b; }
  .mobile-bar a { color: var(--ink); background: var(--gold); text-align: center; padding: 16px 8px; font-weight: 700; text-decoration: none; }
  .mobile-bar a + a { background: var(--ink); color: var(--gold); }
  .cookie { bottom: 72px; right: 16px; }
}
@media (max-width: 380px) {
  .header-phone { display: none; }
  .nav-toggle { margin-left: auto; }
}
@media (max-width: 900px) {
  .chips a { padding: 11px 16px; }
  .site-footer ul { gap: 12px; }
  .footer-bottom a { padding: 10px 0; }
}
@media (max-width: 560px) {
  .logo-sub { display: none; }
  .header-phone { font-size: 15px; }
  .types, .steps, .cards, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .prices th, .prices td { padding: 12px 14px; }
  .prices td { white-space: normal; }
  .lead { padding: 20px; }
  .banner { padding: 22px; }
  .banner-cta, .banner-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
