@font-face { font-family: "Playfair"; src: url("/fonts/PlayfairDisplay%5Bwght%5D.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair"; font-style: italic; src: url("/fonts/PlayfairDisplay-Italic%5Bwght%5D.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Mont"; src: url("/fonts/Montserrat%5Bwght%5D.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #fbf6ef; --bg2: #f2e8db; --card: #fffdf9; --ink: #2a1a10; --muted: #7a6353; --line: #e6d8c6;
  --brand: #9c4a22; --brand2: #c8692e; --dark: #1f140d; --dark2: #2c1d13; --gold: #e9b872; --cream: #f6ece2;
  --r: 20px; --shadow: 0 14px 40px rgba(60, 30, 10, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 "Mont", -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
h1, h2, h3, .serif { font-family: "Playfair", Georgia, serif; line-height: 1.1; margin: 0; letter-spacing: -.01em; font-weight: 700; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--gold); }
h2 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 18px; }
h2 em { color: var(--brand2); }
.dark h2 em { color: var(--gold); }
h3 { font-size: 24px; }
p { margin: 0 0 14px; }
.eyebrow { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand2); font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
section { padding: 110px 0; position: relative; }
section.tight { padding: 70px 0; }
.alt { background: var(--bg2); }
.dark { background: var(--dark); color: var(--cream); }
.dark .lead { color: rgba(246, 236, 226, .72); }
.dark .eyebrow { color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.main { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(156, 74, 34, .35); }
.btn.main:hover { background: #8a3f1c; }
.btn.gold { background: var(--gold); color: var(--dark); }
.btn.light { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn.ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* шапка */
header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s, box-shadow .3s; }
header.solid, body.light-top header { background: rgba(251, 246, 239, .95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
header .wrap { max-width: 1440px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo span { white-space: nowrap; }
.logo b { font-family: "Playfair"; font-weight: 800; font-size: 21px; letter-spacing: -.01em; line-height: 1; }
.logo small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.logo .mk { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-family: "Playfair"; font-style: italic; font-size: 19px; }
header.solid .logo, body.light-top header .logo { color: var(--ink); }
.menu { display: flex; gap: 4px; align-items: center; }
.menu > a, .menu .dd > span { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .92); padding: 10px 10px; border-radius: 10px; cursor: pointer; }
header.solid .menu > a, header.solid .menu .dd > span, body.light-top .menu > a, body.light-top .menu .dd > span { color: var(--ink); }
.menu > a.on, .menu .dd.on > span { color: var(--gold) !important; }
header.solid .menu > a.on, header.solid .menu .dd.on > span, body.light-top .menu > a.on, body.light-top .menu .dd.on > span { color: var(--brand) !important; }
.menu .btn { margin-left: 10px; padding: 12px 20px; font-size: 14px; color: #fff !important; }
.dd { position: relative; }
.dd .sub { position: absolute; top: 100%; left: -10px; min-width: 270px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; opacity: 0; pointer-events: none; transform: translateY(6px); transition: .18s; }
.dd:hover .sub, .dd:focus-within .sub { opacity: 1; pointer-events: auto; transform: none; }
.dd .sub a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.dd .sub a small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.dd .sub a:hover { background: var(--bg2); }
.burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.burger i { display: block; height: 2px; background: currentColor; margin: 6px 0; border-radius: 2px; }
header.solid .burger, body.light-top .burger { color: var(--ink); }

/* первый экран */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; padding: 150px 0 80px; overflow: hidden; background: #2a170d; }
.hero.short { min-height: 78vh; min-height: 78svh; }
.hero .ph { position: absolute; inset: -4% 0 0 0; background-size: cover; background-position: center; transform: scale(1.04); animation: kb 18s ease-out forwards; }
@keyframes kb { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 9, 4, .55) 0%, rgba(18, 9, 4, .1) 35%, rgba(18, 9, 4, .82) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); max-width: 1000px; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero p.sub { font-size: clamp(17px, 1.6vw, 21px); max-width: 640px; color: rgba(255, 255, 255, .88); margin-bottom: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.facts span { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; }
.scroll-hint { position: absolute; right: 24px; bottom: 30px; z-index: 2; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: "Playfair"; font-size: clamp(38px, 4.5vw, 58px); color: var(--brand); line-height: 1; margin-bottom: 8px; }
.stats span { font-size: 14px; color: var(--muted); }

/* направления (карточки-фото) */
.dirs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 50px; }
.dir { position: relative; grid-column: span 2; min-height: 420px; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; }
.dir.w3 { grid-column: span 3; min-height: 480px; }
.dir .ph { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .7s; z-index: -2; }
.dir::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15, 8, 3, .85)); z-index: -1; }
.dir:hover .ph { transform: scale(1.06); }
.dir .b { padding: 28px; width: 100%; }
.dir .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.dir h3 { font-size: 30px; margin-bottom: 8px; }
.dir p { color: rgba(255, 255, 255, .82); font-size: 15px; margin: 0 0 14px; }
.dir .go { font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.dir .go::after { content: "→"; transition: transform .2s; }
.dir:hover .go::after { transform: translateX(5px); }

/* разворот фото + текст */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split .pic { aspect-ratio: 4 / 5; border-radius: var(--r); background-size: cover; background-position: center; box-shadow: var(--shadow); position: relative; }
.split .pic.wide { aspect-ratio: 4 / 3; }
.split .pic .badge { position: absolute; left: -22px; bottom: 34px; background: var(--card); color: var(--ink); padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow); max-width: 240px; font-size: 14px; }
.split .pic .badge b { display: block; font-family: "Playfair"; font-size: 30px; color: var(--brand); line-height: 1.1; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.dark .ticks li { border-color: rgba(255, 255, 255, .12); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--brand2); border-bottom: 2px solid var(--brand2); transform: rotate(-45deg); }
.ticks.no li::before { width: 12px; height: 0; border-left: 0; top: 23px; transform: none; border-color: var(--muted); }

/* три Т / ценности */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.card { background: var(--card); border-radius: var(--r); padding: 34px 30px; box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line); }
.dark .card { background: var(--dark2); border-color: rgba(255, 255, 255, .08); }
.card .n { font-family: "Playfair"; font-style: italic; font-size: 58px; color: var(--brand2); line-height: 1; margin-bottom: 16px; }
.dark .card .n { color: var(--gold); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.dark .card p { color: rgba(246, 236, 226, .7); }

/* программа - таймлайн */
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 50px; }
.day { background: var(--card); border-radius: var(--r); padding: 36px 34px; border: 1px solid var(--line); }
.day h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.day h3 small { font-family: "Mont"; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand2); font-weight: 700; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl li { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 8px 0; position: relative; font-size: 15.5px; }
.tl li::after { content: ""; position: absolute; left: 58px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand2); box-shadow: 0 0 0 4px var(--card); }
.tl time { font-weight: 700; color: var(--brand); font-size: 14px; padding-top: 1px; }

/* цена */
.pricebox { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--dark); color: var(--cream); box-shadow: var(--shadow); }
.pricebox .l { padding: 54px 50px; }
.pricebox .r { background-size: cover; background-position: center; min-height: 380px; }
.pricebox .big { font-family: "Playfair"; font-size: clamp(54px, 6vw, 84px); line-height: 1; color: #fff; margin: 14px 0 6px; }
.pricebox .big small { display: block; font-size: .3em; color: var(--gold); font-style: italic; margin-top: 10px; }
.pricebox .note { color: rgba(246, 236, 226, .72); font-size: 15px; }
.pricebox .rows { margin: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pricebox .rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.pricebox .rows b { color: #fff; white-space: nowrap; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 46px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.price .ph { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.price .b { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.price .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand2); font-weight: 700; margin-bottom: 8px; }
.price h3 { margin-bottom: 10px; }
.price p { color: var(--muted); font-size: 15px; }
.price .ticks li { font-size: 14.5px; padding: 7px 0 7px 30px; }
.price .ticks li::before { top: 15px; }
.price .cost { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.price .cost b { font-family: "Playfair"; font-size: 30px; color: var(--brand); line-height: 1; }
.price .cost span { font-size: 13px; color: var(--muted); }
.price.star { border: 2px solid var(--brand2); }

/* галерея */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; margin-top: 46px; }
.gallery div { border-radius: 16px; background-size: cover; background-position: center; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery .g2 { grid-column: span 2; }

/* живые даты */
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.date { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.date:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand2); }
.date .when { font-family: "Playfair"; font-size: 26px; line-height: 1.15; }
.date .what { color: var(--muted); font-size: 14.5px; }
.date .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-weight: 700; color: var(--brand); }
.date .seats { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #f7e1d3; color: var(--brand); }
.date .seats.ok { background: #e5efdf; color: #3f6f34; }
.dark .date { background: var(--dark2); border-color: rgba(255, 255, 255, .1); color: var(--cream); }
.dark .date .what { color: rgba(246, 236, 226, .7); }
.dark .date .meta { color: var(--gold); }
.empty { color: var(--muted); font-size: 16px; padding: 24px; border: 1px dashed var(--line); border-radius: 18px; }

/* цитата */
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: "Playfair"; font-style: italic; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; }
.quote blockquote::before { content: "“"; display: block; font-size: 110px; line-height: .6; color: var(--brand2); margin-bottom: 10px; font-style: normal; }
.dark .quote blockquote::before { color: var(--gold); }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: 15px; color: var(--muted); }
.dark .quote cite { color: rgba(246, 236, 226, .65); }
.quote cite a { color: var(--brand2); }

/* отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.rv { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; }
.rv p { font-size: 15.5px; flex: 1; }
.rv .stars { color: var(--brand2); letter-spacing: 3px; margin-bottom: 12px; }
.rv .who { font-size: 14px; color: var(--muted); }
.rv .who a { color: var(--brand); }

/* вопросы */
.faq { max-width: 860px; margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 30px; font-weight: 300; color: var(--brand2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 760px; }

/* следующие направления */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.more a { position: relative; min-height: 230px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.more a .ph { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .6s; }
.more a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(15, 8, 3, .85)); z-index: -1; }
.more a:hover .ph { transform: scale(1.06); }
.more b { font-family: "Playfair"; font-size: 24px; display: block; }
.more span { font-size: 14px; opacity: .8; }

/* чипы */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }

/* шаги */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { counter-increment: s; padding: 28px; border-radius: 18px; background: var(--dark2); border: 1px solid rgba(255, 255, 255, .08); }
.steps li::before { content: "0" counter(s); display: block; font-family: "Playfair"; font-style: italic; font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.steps b { display: block; font-size: 18px; margin-bottom: 6px; color: #fff; }
.steps span { color: rgba(246, 236, 226, .7); font-size: 15px; }

/* команда */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; }
.member .ava { width: 84px; height: 84px; border-radius: 50%; background: var(--bg2) center / cover; display: grid; place-items: center; font-family: "Playfair"; font-style: italic; font-size: 34px; color: var(--brand); margin-bottom: 20px; border: 1px solid var(--line); }
.member h3 { margin-bottom: 4px; }
.member .role { color: var(--brand2); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.member p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* полоса-призыв */
.cta { position: relative; overflow: hidden; color: #fff; padding: 120px 0; background: #2a170d; isolation: isolate; }
.cta .ph { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 9, 4, .9), rgba(18, 9, 4, .45)); z-index: -1; }
.cta h2 { max-width: 720px; }
.cta h2 em { color: var(--gold); }
.cta p { max-width: 560px; color: rgba(255, 255, 255, .82); font-size: 18px; margin-bottom: 30px; }

/* форма */
.form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
form.lead-form { background: var(--card); color: var(--ink); border-radius: 24px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow); }
form.lead-form .full { grid-column: 1 / -1; }
form.lead-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--muted); }
form.lead-form input, form.lead-form select, form.lead-form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
form.lead-form input:focus, form.lead-form select:focus, form.lead-form textarea:focus { outline: none; border-color: var(--brand2); }
form.lead-form textarea { min-height: 96px; resize: vertical; }
form.lead-form .check { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); font-weight: 500; align-items: flex-start; }
form.lead-form .check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--brand); }
form.lead-form .check a { color: var(--brand); }
form.lead-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { font-size: 15px; font-weight: 600; min-height: 1px; }
.msg.ok { color: #3f8f4f; } .msg.err { color: #b3361b; }
.contacts { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.contacts a { text-decoration: none; font-weight: 700; font-size: 17px; display: inline-flex; gap: 12px; align-items: center; }
.contacts a i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-style: normal; border: 1px solid rgba(255, 255, 255, .15); }

/* подвал */
footer { background: #150d08; color: rgba(246, 236, 226, .7); padding: 80px 0 40px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot b { display: block; color: #fff; margin-bottom: 14px; font-size: 15px; }
.foot a { display: block; text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--gold); }
.foot .brand b { font-family: "Playfair"; font-size: 26px; }
.req { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; line-height: 1.7; }
.float-tg { position: fixed; right: 20px; bottom: 20px; z-index: 55; height: 56px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px rgba(156, 74, 34, .45); transform: translateY(120px); transition: transform .3s; }
.float-tg.show { transform: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .ph { animation: none; } }

.crumbs { font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.note-box { margin-top: 30px; padding: 22px 26px; border-radius: 16px; background: #f7e7d9; color: #6b3518; font-size: 15.5px; }
.dark .note-box { background: rgba(233, 184, 114, .12); color: var(--gold); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.levels a { text-decoration: none; padding: 30px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: .2s; }
.levels a:hover { border-color: var(--brand2); transform: translateY(-3px); box-shadow: var(--shadow); }
.levels small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand2); font-weight: 700; }
.levels h3 { margin: 10px 0 8px; }
.levels p { color: var(--muted); font-size: 15px; margin: 0; }

/* ===== корпоративы и агентства (v2) ===== */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2.5px solid var(--brand2); outline-offset: 3px; }

/* боли HR: «что слышим» -> «что делаем» */
.pains { margin-top: 46px; border-top: 1.5px solid var(--ink); }
.pain { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pain q { font-family: "Playfair"; font-style: italic; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; quotes: "«" "»"; }
.pain p { margin: 0; color: var(--muted); font-size: 16.5px; }
.pain p b { color: var(--ink); }

/* карточки без номеров */
.card .ic { font-size: 30px; line-height: 1; margin-bottom: 18px; }

/* калькулятор-смета */
.calc { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-top: 46px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); border: 1px solid var(--line); }
.calc .opts { padding: 44px 44px 40px; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.calc legend { font-weight: 700; font-size: 15px; margin-bottom: 14px; padding: 0; }
.fmt-opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.fmt-opt:hover { border-color: var(--brand2); }
.fmt-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.fmt-opt b { display: block; font-size: 16px; }
.fmt-opt small { display: block; color: var(--muted); font-size: 13.5px; }
.fmt-opt span.p { font-family: "Playfair"; font-size: 20px; color: var(--brand); white-space: nowrap; }
.fmt-opt:has(input:checked) { border-color: var(--brand); background: #fbefe5; }
.ppl { display: flex; align-items: center; gap: 18px; }
.ppl input[type=range] { flex: 1; accent-color: var(--brand); height: 28px; }
.ppl input[type=number] { width: 96px; padding: 12px 12px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; font-size: 18px; font-weight: 700; text-align: center; color: var(--ink); background: #fff; }
.ppl-hint { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.bill { background: var(--dark); color: var(--cream); padding: 44px 40px; display: flex; flex-direction: column; position: relative; }
.bill::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: radial-gradient(circle at 0 10px, var(--card) 5px, transparent 5.5px) 0 0 / 10px 20px repeat-y; }
.bill h3 { color: #fff; font-size: 26px; margin-bottom: 4px; }
.bill .sub { color: rgba(246, 236, 226, .6); font-size: 14px; margin-bottom: 22px; }
.bill .line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); font-size: 15px; }
.bill .line b { color: #fff; text-align: right; }
.bill .total { margin: 26px 0 8px; }
.bill .total small { display: block; font-size: 14px; color: var(--gold); }
.bill .total strong { display: block; font-family: "Playfair"; font-size: clamp(44px, 4.6vw, 62px); line-height: 1.05; color: #fff; font-weight: 700; }
.bill .fine { font-size: 13.5px; color: rgba(246, 236, 226, .6); margin-bottom: 24px; }
.bill .btn { margin-top: auto; }

/* безопасность */
.safe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 10px; }
.safe-grid div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.safe-grid b { display: block; font-size: 17px; margin-bottom: 4px; }
.safe-grid span { color: var(--muted); font-size: 15px; }

/* агентства */
.placeholder { background: #fff3c4; color: #7a5200; border-radius: 6px; padding: 0 6px; font-style: normal; }
.dark .placeholder, .hero .placeholder, .pricebox .placeholder { background: rgba(233, 184, 114, .22); color: var(--gold); }
.offer-list { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; }
.offer-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.offer-list b { display: block; font-family: "Playfair"; font-size: 22px; margin-bottom: 6px; }
.offer-list span { color: var(--muted); font-size: 15.5px; }

@media (max-width: 1240px) {
  .menu { position: fixed; inset: 0; background: var(--dark); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 96px 28px 40px; gap: 2px; transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .menu.open { transform: none; }
  .menu > a:not(.btn), .menu .dd > span { color: #fff !important; font-size: 20px; font-family: "Playfair"; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; display: block; }
  .dd .sub { position: static; opacity: 1; pointer-events: auto; transform: none; background: none; box-shadow: none; padding: 4px 0 10px 14px; min-width: 0; }
  .dd .sub a { color: rgba(255, 255, 255, .8); padding: 8px 0; }
  .dd .sub a small { display: none; }
  .dd .sub a:hover { background: none; }
  .menu .btn { margin: 24px 0 0; padding: 16px 24px; font-size: 16px; }
  .burger { display: block; position: relative; z-index: 70; }
  .menu.open ~ .burger, body.menu-open .burger { color: #fff !important; }
}
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .split .pic { aspect-ratio: 4 / 3; }
  .split .pic .badge { left: 16px; bottom: 16px; }
  .cols4 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .pricebox { grid-template-columns: 1fr; }
  .pricebox .r { min-height: 240px; order: -1; }
  .dirs { grid-template-columns: repeat(2, 1fr); }
  .dir, .dir.w3 { grid-column: span 1; min-height: 380px; }
  .calc { grid-template-columns: 1fr; }
  .bill::before { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .wrap { padding: 0 18px; }
  .nav { height: 66px; }
  .logo .mk { display: none; }
  .hero { padding: 120px 0 56px; }
  .hero .scroll-hint { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(18, 9, 4, .55) 0%, rgba(18, 9, 4, .35) 30%, rgba(18, 9, 4, .88) 100%); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dirs, .cols3, .cols4, .cols2, .reviews, .more, .team, .steps, .levels { grid-template-columns: 1fr; }
  .dir, .dir.w3 { min-height: 340px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .g1 { grid-column: span 2; grid-row: span 1; }
  .gallery.n6 div:last-child { grid-column: span 2; }
  .pricebox .l { padding: 36px 26px; }
  form.lead-form { grid-template-columns: 1fr; padding: 24px; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
  .day { padding: 28px 22px; }
  .tl::before { left: 52px; }
  .tl li { grid-template-columns: 52px 1fr; gap: 18px; }
  .tl li::after { left: 48px; }
  .float-tg { right: 14px; bottom: 14px; height: 52px; padding: 0 18px; }
  .btns .btn { flex: 1 1 auto; }
  .cta { padding: 90px 0; }
  .pain { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .calc .opts { padding: 28px 20px; }
  .bill { padding: 32px 22px; }
  .fmt-opt { grid-template-columns: 20px 1fr; }
  .fmt-opt span.p { grid-column: 2; font-size: 17px; }
  .safe-grid, .offer-list { grid-template-columns: 1fr; }
}
