:root {
  --ivory: #F6F2EC;
  --paper: #FFFDF9;
  --wash: #EFE4DE;
  --ink: #3A3A3A;
  --ink-soft: #6E6862;
  --cherry: #5D0A1C;
  --cherry-dark: #470715;
  --line: #E4DBD0;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
section { padding: 88px 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -0.5px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 16px; }

.eyebrow {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cherry); font-weight: 600; margin-bottom: 18px;
}
.lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Кнопки */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--cherry);
  transition: background .2s, color .2s;
}
.btn-main { background: var(--cherry); color: #fff; }
.btn-main:hover { background: var(--cherry-dark); }
.btn-ghost { color: var(--cherry); background: transparent; }
.btn-ghost:hover { background: var(--cherry); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Метка «уточнить» — убрать перед публикацией */
.todo {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--cherry); border: 1px dashed var(--cherry); border-radius: 6px;
  padding: 0 6px; vertical-align: middle; letter-spacing: .3px;
}

/* Шапка */
.header { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { font-family: var(--serif); font-size: 22px; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--cherry); }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--cherry); }
.header .btn { padding: 10px 20px; font-size: 15px; }

/* Первый экран */
.hero { padding: 64px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--cherry); }
.hero .lead { margin-top: 24px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); }
.trust { margin: 22px 0 0; font-size: 14px; color: var(--ink-soft); letter-spacing: .2px; }
.collage { position: relative; padding: 0 0 70px 60px; }
.collage::before {
  content: ""; position: absolute; inset: 40px -30px 20px 0;
  background: var(--wash); border-radius: 50% 44% 48% 40%; z-index: 0;
}
.collage .big { position: relative; z-index: 1; width: 82%; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.collage .small {
  position: absolute; z-index: 2; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4;
  object-fit: cover; border: 8px solid var(--paper); border-radius: 6px;
  box-shadow: 0 18px 40px rgba(58, 58, 58, .12);
}

/* Цифры */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.facts b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--cherry); line-height: 1.1; }
.facts span { font-size: 15px; color: var(--ink-soft); }

/* С чем приходят */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px 24px; font-family: var(--serif); font-size: 20px; line-height: 1.4;
}
.quote::before { content: "«"; }
.after-quotes { margin-top: 36px; font-size: 19px; }

/* Обо мне + видео */
.about, .tint { background: var(--paper); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.video-box { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(58, 58, 58, .12); }
.video-box img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 76%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 253, 249, .92); display: grid; place-items: center;
}
.play::after { content: ""; border-left: 22px solid var(--cherry); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video-note { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.about h2 { margin-bottom: 24px; }
.pull {
  font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--cherry);
  border-left: 2px solid var(--cherry); padding-left: 20px; margin: 28px 0 0;
}

.about-grid { align-items: start !important; }
.about-grid .video-box { position: sticky; top: 100px; }
.tv { margin: 6px 0 22px; }
.tv img { width: 100%; border-radius: 12px; }
.tv figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.worry-title { font-size: 22px; margin: 30px 0 14px; }
.worry { counter-reset: w; list-style: none; padding: 0; margin: 0 0 20px; }
.worry li { counter-increment: w; position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--line); }
.worry li::before {
  content: counter(w); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cherry); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center;
}

/* Дипломы */
.diplomas { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 44px; }
.diplomas a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.diplomas a:hover { border-color: var(--cherry); }
.diplomas a { text-decoration: none; }
.diplomas img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.diplomas span { display: block; font-size: 13px; line-height: 1.35; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.zoom { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.zoom::backdrop { background: rgba(30, 20, 22, .8); }
.zoom img { max-width: 94vw; max-height: 90vh; border-radius: 6px; }
.zoom-close {
  position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--ivory); color: var(--cherry); font-size: 28px; cursor: pointer; line-height: 1;
}

/* Об отзывах */
.note-box { max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--cherry); border-radius: 14px; padding: 34px 38px; }
.note-box p { font-size: 18px; margin: 0; }

/* Цены */
.prices { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 22px; margin-top: 52px; align-items: center; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.card h3 { margin-bottom: 10px; }
.card .muted { color: var(--ink-soft); font-size: 15px; }
.card.main { border: 1.5px solid var(--cherry); padding: 42px 36px; box-shadow: 0 24px 50px rgba(93, 10, 28, .08); position: relative; }
.badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .5px;
  background: var(--cherry); color: #fff; border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}
.badge.soft { background: var(--wash); color: var(--cherry); }
.price { font-family: var(--serif); font-size: 52px; color: var(--cherry); line-height: 1; margin: 18px 0 6px; }
.price small { font-family: var(--sans); font-size: 16px; color: var(--ink-soft); }
.list { list-style: none; padding: 0; margin: 22px 0 28px; }
.list li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); font-size: 16px; }
.list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--cherry); }
.card .btn { width: 100%; text-align: center; }
.link-more { color: var(--cherry); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 18px; }
.link-more:hover { text-decoration: underline; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: start; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px; min-height: 210px; }
.review:nth-child(2) { margin-top: 44px; }
.review:nth-child(3) { margin-top: 88px; }
.review .mark { font-family: var(--serif); font-size: 46px; color: var(--cherry); line-height: .6; }
.review p { color: var(--ink-soft); margin-top: 14px; }
.review .who { font-weight: 600; font-size: 15px; color: var(--ink); margin: 0; }
.placeholder { border-style: dashed; }

/* Журнал */
.journal { background: var(--paper); }
.journal .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.journal img { border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.rubrics { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.rubrics span { border: 1px solid var(--line); background: var(--ivory); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Вопросы */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--cherry); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }
.faq .answer { color: var(--ink-soft); padding-bottom: 8px; }
.faq .answer p { padding-bottom: 14px; }
.faq .answer ul { margin: 0 0 14px; padding-left: 22px; }
.faq .answer li { margin-bottom: 10px; }
.link-inline { color: var(--cherry); font-weight: 600; }
.ask {
  max-width: 760px; margin: 40px auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.ask b { display: block; }
.ask span { color: var(--ink-soft); font-size: 15px; }

/* Низ сайта */
.footer { background: var(--cherry); color: #F3E7E3; padding: 72px 0 30px; }
.footer a { color: #F3E7E3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-top h2 { color: #fff; }
.footer-top p { margin-top: 14px; opacity: .85; }
.footer .btn-light { background: var(--ivory); color: var(--cherry); border-color: var(--ivory); }
.footer .btn-light:hover { background: #fff; text-decoration: none; }
.stack { position: relative; width: 250px; height: 290px; margin-left: auto; }
.stack img { position: absolute; width: 210px; height: 260px; object-fit: cover; border: 6px solid var(--ivory); border-radius: 6px; }
.stack img:first-child { right: 36px; top: 20px; transform: rotate(-6deg); }
.stack img:last-child { right: 0; top: 0; transform: rotate(4deg); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 46px 0; }
.footer-cols h4 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 14px; color: #fff; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 8px; font-size: 15px; }
.footer .logo { color: #fff; font-size: 24px; }
.footer .logo span { color: #F3E7E3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; font-size: 13px; opacity: .8; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .todo { color: #fff; border-color: #fff; }

/* Страницы продуктов */
.product .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.product .price { margin-top: 28px; }

/* Журнал */
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.socials a {
  text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 20px; min-width: 150px; transition: border-color .2s;
}
.socials a:hover { border-color: var(--cherry); }
.socials b { display: block; color: var(--cherry); font-size: 16px; }
.socials span { font-size: 14px; color: var(--ink-soft); }
.rubric-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.rubric-nav .wrap { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center; padding: 18px 0; }
.rubric-nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.rubric-nav a:hover { color: var(--cherry); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.post { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.post h3 { margin: 12px 0 8px; font-size: 22px; }
.post .muted { color: var(--ink-soft); font-size: 15px; margin: 0; }
.tint .post { background: var(--ivory); }

.prices-one { grid-template-columns: minmax(0, 520px); justify-content: center; }

/* Документы */
.doc { padding: 56px 0 80px; }
.doc-wrap { max-width: 820px; }
.doc h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.doc h2 { font-size: 22px; margin: 34px 0 12px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .doc-sub { color: var(--ink-soft); margin: 0; }
.doc a { color: var(--cherry); }

/* Телефоны и планшеты */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .nav { display: none; }
  .hero { padding-top: 36px; }
  .hero .wrap, .about .wrap, .journal .wrap, .product .wrap, .footer-top, .split { grid-template-columns: 1fr; gap: 40px; }
  .collage { padding-left: 30px; }
  .quotes, .reviews, .prices { grid-template-columns: 1fr; }
  .review:nth-child(2), .review:nth-child(3) { margin-top: 0; }
  .facts .wrap { grid-template-columns: 1fr; gap: 18px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stack { margin: 0 auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .header .btn { padding: 8px 14px; font-size: 14px; }
  .logo { font-size: 19px; }
  .footer-cols { grid-template-columns: 1fr; }
  .card, .card.main { padding: 28px 22px; }
}
