/* ===== VERA MEZINA — Design tokens =====
   Единый источник цветов, шрифтов, размеров, отступов, радиусов и брейкпоинтов.
   Breakpoints (используются в styles.css): sm 600px · md 900px · lg 1200px · xl 1600px */
:root {
  /* Цвета бренда: бордо + беж + белый.
     Имена ролей: --c-navy = тёмная поверхность (бордо), --c-gold = акцент на светлом (бордо);
     на тёмных секциях акцент = --c-champagne (светлый беж). */
  --c-wine: #6B1424;
  --c-wine-deep: #4A0C18;
  --c-champagne: #E3CDB0;
  --c-navy: #5A1120;
  --c-navy-2: #6B1A2A;
  --c-graphite: #3D0A14;
  --c-gold: #7A1A2B;
  --c-gold-soft: rgba(122, 26, 43, .22);
  --c-gold-line: rgba(122, 26, 43, .40);
  --c-gold-bright: #8A2234;
  --c-beige: #E9DCCA;
  --c-beige-2: #EFE5D7;
  --c-paper: #F7F1E8;
  --c-card: #FFFFFF;
  --c-white: #FFFFFF;
  --c-grey: #7B6A64;
  --c-text: #2A1719;
  --c-text-light: rgba(255, 250, 244, .95);
  --c-text-dim: rgba(250, 242, 232, .70);
  --c-line: rgba(74, 12, 24, .14);
  --c-line-light: rgba(250, 242, 232, .18);
  --c-error: #A3322A;

  /* Шрифты */
  --f-head: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;  /* заголовки, цифры, цитаты */
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;                        /* текст */
  --f-script: "Cormorant Garamond", Georgia, serif;                               /* акцентный курсив */
  --f-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif;                  /* название VERA MEZINA: логотип и заставка */
  --f-ui: "Inter", "Helvetica Neue", Arial, sans-serif;                          /* кнопки, подписи, навигация */

  /* Типографическая шкала (fluid) */
  --fs-h1: clamp(2.7rem, 1.6rem + 4.4vw, 5.6rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.6vw, 3.7rem);
  --fs-h3: clamp(1.45rem, 1.25rem + .6vw, 1.8rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-micro: .75rem;
  --lh-tight: 1.12;
  --lh-body: 1.65;
  --tracking-wide: .18em;

  /* Отступы */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, .8rem + 2vw, 2.5rem);

  /* Радиусы */
  --r-sm: 2px; --r-md: 4px; --r-lg: 8px; --r-pill: 999px;

  /* Кнопки */
  --btn-h: 3.25rem;
  --btn-h-sm: 2.6rem;
  --btn-px: 1.75rem;

  /* Карточки */
  --card-pad: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  --card-shadow: 0 1px 0 rgba(74, 12, 24, .04), 0 24px 48px -32px rgba(74, 12, 24, .32);

  /* Движение */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .6s;
  --header-h: 76px;
}

/* ===== VERA MEZINA — styles (использует tokens.css) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-text); background: var(--c-paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-color: var(--c-gold-line); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--c-gold); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; line-height: var(--lh-tight); font-weight: 500; letter-spacing: 0; }
.h4, .sub-title { font-family: var(--f-ui); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--c-gold); color: var(--c-navy); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 900px; }
.center { text-align: center; margin-top: var(--sp-7); }
.muted { color: var(--c-grey); }
.muted-light { color: var(--c-text-dim); font-size: var(--fs-small); }

/* Surfaces */
.dark, .site-header, .form-card, .unique-quote, .consent, .badge { --c-gold: var(--c-champagne); --c-gold-soft: rgba(227, 205, 176, .28); --c-gold-line: rgba(227, 205, 176, .5); }
.dark { background: var(--c-navy); color: var(--c-text-light); }
.light { background: var(--c-paper); }
.beige { background: var(--c-beige-2); }
.section { padding: var(--section-y) 0; position: relative; }

/* Typography */
.h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -.005em; max-width: 22ch; }
.h1 em, .h2 em { font-style: italic; }
.h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: .01em; margin-bottom: var(--sp-4); }
.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 62ch; color: inherit; opacity: .86; }
.lead-strong { opacity: 1; font-weight: 500; }
.eyebrow { font-family: var(--f-ui); font-size: var(--fs-micro); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: 600; color: var(--c-grey); margin: 0 0 var(--sp-5); display: flex; align-items: center; gap: .9rem; }
.eyebrow-num { color: var(--c-gold); }
.eyebrow-num::after { content: ""; display: inline-block; width: 2.25rem; height: 1px; background: var(--c-gold); vertical-align: middle; margin-left: .9rem; }
.eyebrow-gold, .on-dark .eyebrow { color: var(--c-gold); }
.section-head { margin-bottom: var(--sp-8); }
.section-head .lead { margin-top: var(--sp-5); }
.sub-title { margin: var(--sp-8) 0 var(--sp-5); text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-micro); color: var(--c-grey); }
.dark .sub-title { color: var(--c-gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: var(--btn-h); padding: 0 var(--btn-px); font-family: var(--f-ui); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: var(--r-sm); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); text-align: center; line-height: 1.2; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: var(--btn-h-sm); padding: 0 1.15rem; font-size: .72rem; }
.header-actions .btn { white-space: nowrap; }
.btn-block { width: 100%; }
.btn-gold { background: var(--c-gold); color: var(--c-paper); }
.dark .btn-gold, .form-card .btn-gold, .site-header .btn-gold, .drawer .btn-gold { color: var(--c-wine-deep); }
.btn-gold:hover { background: var(--c-wine-deep); color: var(--c-paper); }
.dark .btn-gold:hover, .form-card .btn-gold:hover, .site-header .btn-gold:hover, .drawer .btn-gold:hover { background: #F1E2CC; color: var(--c-wine-deep); }
.btn-dark { background: transparent; color: var(--c-wine); border-color: var(--c-wine); }
.btn-dark:hover { background: var(--c-wine); color: var(--c-paper); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: var(--c-white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* Icons */
.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ===== Header ===== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--c-white); transition: background .4s var(--ease), box-shadow .4s var(--ease), height .3s var(--ease); }
.site-header.is-solid { background: rgba(42, 6, 13, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--c-line-light); --header-h: 64px; height: 64px; }
.site-header .container { max-width: 1480px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.nav-desktop { display: none; align-items: center; gap: var(--sp-6); }
.nav-list { display: flex; gap: 1.6rem; }
.nav-list a { white-space: nowrap; font-size: .8125rem; text-decoration: none; color: var(--c-text-light); position: relative; padding: .4rem 0; transition: color .25s; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-list a:hover { color: var(--c-white); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list-special { padding-left: var(--sp-6); border-left: 1px solid var(--c-line-light); gap: 1.25rem; }
.nav-special { color: var(--c-gold) !important; font-weight: 500; }
.nav-special.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--sp-5); }
.lang-switch { display: flex; align-items: center; gap: .45rem; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .1em; font-weight: 600; }
.lang-switch a { text-decoration: none; color: var(--c-text-dim); padding: .5rem .15rem; transition: color .2s; }
.lang-switch a:hover, .lang-switch a.is-active { color: var(--c-gold); }
.lang-sep { color: var(--c-line-light); }
.hide-md { display: none; }
@media (max-width: 359px) { .hide-sm { display: none; } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + var(--sp-7)) 0 0; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #7A2032 0%, var(--c-navy) 50%, var(--c-graphite) 100%); }
.hero-lines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(90deg, transparent calc(50% - .5px), rgba(227,205,176,.10) 50%, transparent calc(50% + .5px)); }
.hero-lines::before { content: ""; position: absolute; right: -10vw; top: 12%; width: 55vw; aspect-ratio: 1; border: 1px solid rgba(227,205,176,.16); border-radius: 50%; }
.hero-grid { position: relative; display: grid; gap: var(--sp-8); align-items: center; padding-bottom: var(--sp-8); }
.hero-copy .h1 { max-width: 14ch; margin-bottom: var(--sp-6); }
.hero-message { font-family: var(--f-head); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .9vw, 2rem); line-height: 1.35; color: var(--c-gold); font-weight: 400; max-width: 30ch; padding-left: var(--sp-5); border-left: 1px solid var(--c-gold); margin-bottom: var(--sp-5); }
.hero-desc { max-width: 54ch; color: var(--c-text-dim); font-size: 1.0625rem; margin-bottom: var(--sp-6); }
.hero-stat { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-7); }
.hero-stat-num { font-family: var(--f-head); font-size: 4.5rem; font-weight: 400; color: var(--c-gold); line-height: 1; }
.hero-stat-label { font-size: var(--fs-small); color: var(--c-text-dim); max-width: 18ch; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.hero-directions { position: relative; border-top: 1px solid var(--c-line-light); padding: var(--sp-5) 0; }
.hero-directions ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-family: var(--f-ui); font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-dim); }
.hero-directions li::before { content: "◆"; color: var(--c-gold); font-size: .5rem; margin-right: .8rem; vertical-align: middle; }
.hero-sub { min-height: auto; padding: calc(var(--header-h) + var(--sp-9)) 0 var(--sp-9); }
.hero-sub .h1 { margin-bottom: var(--sp-5); max-width: 18ch; }
.hero-mini { padding-bottom: var(--sp-8); }
.h1-event { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem); max-width: 20ch; overflow-wrap: anywhere; }
.hero-sub-grid { display: grid; gap: var(--sp-7); align-items: end; }
.hero-card { border: 1px solid var(--c-gold-soft); padding: var(--card-pad); background: rgba(255,255,255,.03); }
.hero-card p:last-child { margin: 0; }
.hero-card-price { font-family: var(--f-head); font-size: 2.6rem; font-weight: 300; color: var(--c-gold); margin-bottom: var(--sp-5); }

/* Portrait */
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.portrait-hero { max-width: 460px; margin-left: auto; width: 100%; }
.portrait-hero::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--c-gold-line); z-index: 0; }
.portrait-hero img, .portrait-hero .portrait-frame { position: relative; z-index: 1; }
.portrait-empty { aspect-ratio: 4/5; display: grid; place-items: center; background: linear-gradient(160deg, var(--c-navy-2), var(--c-graphite)); color: var(--c-text-dim); }
.light .portrait-empty, .beige .portrait-empty { background: linear-gradient(160deg, var(--c-beige), #DCC8AE); color: var(--c-grey); }
.portrait-frame { position: absolute; inset: 14px; border: 1px solid var(--c-gold-soft); }
.portrait-mono { font-family: var(--f-head); font-style: italic; font-size: 5.5rem; font-weight: 300; letter-spacing: .1em; color: var(--c-gold); opacity: .7; }
.portrait-empty figcaption { position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; padding: 0 2rem; }

/* ===== About / Expertise ===== */
.about-grid { display: grid; gap: var(--sp-7); }
.about-visual { max-width: 420px; }
.about-copy > p { max-width: 60ch; }
.about-cols { display: grid; gap: var(--sp-6); margin: var(--sp-7) 0; }
.line-list li { padding: .7rem 0; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.line-list li:first-child { border-top: 1px solid var(--c-line); }
.qual-list { display: grid; gap: var(--sp-4); }
.qual-list li { padding: var(--sp-5); background: var(--c-beige-2); border-left: 2px solid var(--c-gold); }
.qual-list strong { display: block; font-family: var(--f-head); font-size: 1.2rem; font-weight: 600; margin-bottom: .35rem; }
.qual-list span { font-size: var(--fs-small); color: var(--c-grey); }
.unique-quote { margin: var(--sp-9) 0 var(--sp-8); padding: var(--sp-7) var(--card-pad); background: var(--c-navy); color: var(--c-white); position: relative; }
.unique-quote::before { content: "“"; position: absolute; top: -.1em; right: .3em; font-family: var(--f-head); font-size: 11rem; color: var(--c-gold); opacity: .3; line-height: 1; }
.unique-quote p:last-child { font-family: var(--f-head); font-style: italic; font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.3rem); line-height: 1.35; font-weight: 400; max-width: 48ch; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--c-line); }
.facts li { padding: var(--sp-6) var(--sp-4) var(--sp-6) 0; border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; gap: .4rem; }
.fact-value { font-family: var(--f-head); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.6rem); font-weight: 500; color: var(--c-wine); overflow-wrap: anywhere; hyphens: manual; }
.fact-label { font-size: var(--fs-small); color: var(--c-grey); }

/* ===== Problems ===== */
.problems { display: grid; border-top: 1px solid var(--c-line-light); }
.problems li { display: flex; gap: var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--c-line-light); transition: padding .4s var(--ease); }
.problems li:hover { padding-left: var(--sp-3); }
.problems p { margin: 0; font-size: 1.0625rem; }
.problem-num { font-family: var(--f-head); font-style: italic; color: var(--c-gold); font-size: 1.1rem; padding-top: .2rem; min-width: 1.8rem; }
.light .problems, .beige .problems { border-color: var(--c-line); }
.light .problems li, .beige .problems li { border-color: var(--c-line); }

/* ===== Method ===== */
.levels { position: relative; display: grid; gap: var(--sp-6); align-items: center; }
.levels-rings { width: min(280px, 70%); margin: 0 auto; }
.levels-rings circle { fill: none; stroke: var(--c-gold); stroke-width: 1; }
.levels-rings circle:nth-child(2) { stroke-opacity: .7; }
.levels-rings circle:nth-child(3) { fill: rgba(122,26,43,.10); }
.levels-list { display: grid; gap: var(--sp-4); }
.levels-list li { background: var(--c-card); padding: var(--card-pad); box-shadow: var(--card-shadow); position: relative; }
.levels-list h4 { font-size: calc(var(--fs-h3) * 1.15); font-weight: 500; margin: .4rem 0 .5rem; }
.levels-list p { margin: 0; color: var(--c-grey); }
.level-num { font-family: var(--f-ui); font-size: var(--fs-micro); color: var(--c-gold); letter-spacing: .15em; }
.stages { display: grid; gap: 0; counter-reset: s; border-left: 1px solid var(--c-gold-line); margin-left: .9rem; }
.stages li { position: relative; padding: .75rem 0 .75rem 2rem; font-family: var(--f-head); font-size: 1.2rem; line-height: 1.25; }
.stages li span { position: absolute; left: -.9rem; top: .7rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--c-beige-2); border: 1px solid var(--c-gold); display: grid; place-items: center; font-size: .9rem; color: var(--c-wine); }
.method-note { margin-top: var(--sp-7); padding: var(--sp-5); border: 1px solid var(--c-gold-line); font-size: var(--fs-small); color: var(--c-grey); max-width: 80ch; }

/* ===== Services ===== */
.service-path { margin-bottom: var(--sp-7); padding: var(--sp-5) 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.service-path ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0; }
.service-path li { font-family: var(--f-head); font-size: 1.1rem; font-style: italic; display: flex; align-items: center; gap: .5rem; }
.service-path li:not(:last-child)::after { content: "→"; color: var(--c-gold); }
.path-note { margin: 0; font-size: var(--fs-small); color: var(--c-grey); }
.services-grid { display: grid; gap: var(--sp-5); }
.service-card { display: flex; flex-direction: column; padding: var(--card-pad); background: var(--c-card); border: 1px solid var(--c-line); transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.service-card:hover { border-color: var(--c-gold-line); box-shadow: var(--card-shadow); transform: translateY(-3px); }
.service-card.is-featured { border-color: var(--c-gold); box-shadow: inset 0 3px 0 var(--c-wine); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); min-height: 1.6rem; }
.card-num { font-family: var(--f-ui); font-size: var(--fs-micro); color: var(--c-gold); letter-spacing: .15em; }
.badge { font-family: var(--f-ui); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: var(--c-wine); color: var(--c-gold); padding: .35rem .7rem; }
.card-title { font-size: var(--fs-h3); margin-bottom: var(--sp-5); }
.card-block { padding: var(--sp-4) 0; border-top: 1px solid var(--c-line); font-size: .93rem; }
.card-block p:last-child { margin: 0; }
.card-result p { font-weight: 500; }
.card-label { display: block; font-family: var(--f-ui); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-grey); margin-bottom: .4rem; font-weight: 600; }
.dark .card-label { color: var(--c-gold); }
.card-list { display: grid; gap: .35rem; }
ol.card-list { counter-reset: c; }
ol.card-list li { counter-increment: c; padding-left: 1.5rem; position: relative; }
ol.card-list li::before { content: counter(c) "."; position: absolute; left: 0; color: var(--c-gold); font-family: var(--f-head); font-size: .85rem; }
.card-note { margin-top: .7rem !important; font-size: var(--fs-small); color: var(--c-grey); font-style: italic; }
.card-bottom { margin-top: auto; padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.card-price { font-family: var(--f-head); font-size: 2.2rem; font-weight: 500; color: var(--c-gold); margin-bottom: var(--sp-4); letter-spacing: -.01em; }

/* ===== Steps ===== */
.steps { display: grid; gap: var(--sp-5); counter-reset: st; }
.steps li { position: relative; padding-top: var(--sp-5); border-top: 1px solid var(--c-gold-line); }
.step-num { font-family: var(--f-head); font-style: italic; font-size: 2.8rem; font-weight: 400; color: var(--c-gold); display: block; margin-bottom: var(--sp-3); }
.steps h3 { font-size: 1.45rem; margin-bottom: .5rem; color: var(--c-white); }
.steps p { color: var(--c-text-dim); font-size: .93rem; margin: 0; }

/* ===== Cases, testimonials ===== */
.cases-grid, .testimonials-grid { display: grid; gap: var(--sp-5); }
.case-card { background: var(--c-card); padding: var(--card-pad); border-top: 2px solid var(--c-wine); display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.case-card:hover { box-shadow: 0 18px 40px -24px rgba(74,12,24,.35); transform: translateY(-3px); }
.case-head { display: flex; gap: 1rem; align-items: center; }
.case-photo { width: 76px; height: 76px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-gold-line); padding: 3px; background: var(--c-card); }
.case-photo.is-illustration { border-radius: 50%; padding: 0; }
.case-who { min-width: 0; }
.case-who p { margin: 0; }
.case-tag { font-family: var(--f-ui); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-grey); font-weight: 600; }
.case-name { font-family: var(--f-head); font-size: 1.3rem; font-weight: 500; color: var(--c-wine); line-height: 1.2; margin-top: .2rem !important; }
.case-role { font-size: .8rem; color: var(--c-grey); line-height: 1.4; margin-top: .25rem !important; }
.case-link { display: inline-block; margin-top: .35rem; font-size: .8rem; color: var(--c-wine); text-decoration: none; border-bottom: 1px solid var(--c-gold-line); }
.case-link:hover { border-color: var(--c-wine); }
.case-result { font-family: var(--f-head); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); font-weight: 500; color: var(--c-text); line-height: 1.2; margin: 0; }
.case-metrics { display: grid; gap: .8rem; margin: 0; padding: var(--sp-4) 0; border-block: 1px solid var(--c-line); }
.case-metrics div { display: grid; grid-template-columns: minmax(0, 7.2rem) minmax(0, 1fr); gap: .8rem; align-items: baseline; }
.case-metrics dt { font-family: var(--f-head); font-size: 1.45rem; font-weight: 600; color: var(--c-wine); line-height: 1.1; }
.case-metrics dd { margin: 0; font-size: .82rem; color: var(--c-grey); line-height: 1.4; }
.case-quote { margin: 0; font-family: var(--f-head); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--c-text); padding-left: 1rem; border-left: 2px solid var(--c-gold-line); }
.case-more { margin-top: auto; }
.case-more summary { list-style: none; cursor: pointer; font-family: var(--f-ui); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-wine); display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 0; }
.case-more summary::-webkit-details-marker { display: none; }
.case-more summary::after { content: ""; width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.case-more[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.case-more .when-open, .case-more[open] .when-closed { display: none; }
.case-more[open] .when-open { display: inline; }
.case-more[open] > *:not(summary) { animation: vm-case-in .45s var(--ease) both; }
@keyframes vm-case-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.case-period { font-size: .8rem; color: var(--c-grey); margin: .4rem 0 0; }
.case-sec h4 { font-family: var(--f-ui); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-wine); margin: 1.1rem 0 .4rem; font-weight: 600; }
.case-sec p { margin: 0; font-size: .92rem; }
.case-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.case-list li { position: relative; padding-left: 1.1rem; font-size: .92rem; line-height: 1.5; }
.case-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: 1px; background: var(--c-wine); }
.cases-grid { align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) and (max-width: 1099px) { .case-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sp-6); } .case-head, .case-result, .case-more { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.testimonial { margin: 0; padding: var(--card-pad); padding-top: calc(var(--card-pad) + 1.6rem); background: var(--c-beige-2); position: relative; break-inside: avoid; margin-bottom: var(--sp-5); border-top: 2px solid var(--c-wine); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(74,12,24,.35); }
.testimonial::before { content: "“"; position: absolute; top: .4rem; left: calc(var(--card-pad) - .2rem); font-family: var(--f-head); font-size: 4.2rem; line-height: 1; color: var(--c-wine); opacity: .35; }
.testimonial blockquote { margin: 0 0 var(--sp-5); font-family: var(--f-head); font-style: italic; font-weight: 400; font-size: 1.18rem; line-height: 1.55; }
.testimonial figcaption { display: grid; gap: .2rem; font-size: var(--fs-small); color: var(--c-grey); }
.testimonial figcaption strong { color: var(--c-wine); font-family: var(--f-head); font-weight: 500; }
.t-format { color: var(--c-gold); }
.placeholder-note { border: 1px dashed var(--c-gold-line); padding: var(--sp-6); color: var(--c-grey); background: rgba(255,255,255,.6); max-width: 760px; }
.placeholder-note p { margin: 0; }
.placeholder-tag { display: inline-block; font-family: var(--f-ui); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold); margin-bottom: .6rem; }
.prose .placeholder-note { display: block; margin-bottom: var(--sp-6); }
.prose .placeholder-tag { display: block; }

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--sp-5); align-items: flex-start; padding: var(--sp-5) 0; font-family: var(--f-head); font-size: 1.4rem; font-weight: 500; line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-wine); }
.faq-icon { color: var(--c-gold); transition: transform .35s var(--ease); margin-top: .15rem; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 2.5rem var(--sp-5) 0; color: #4E3A38; }
.faq-answer p { margin: 0; }

/* ===== Forms ===== */
.form-grid { display: grid; gap: var(--sp-7); align-items: start; }
.form-card { background: var(--c-navy-2); padding: var(--card-pad); border: 1px solid var(--c-line-light); position: relative; }
.beige .form-card, .light .form-card { background: var(--c-navy); color: var(--c-text-light); }
.lead-form { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: .45rem; }
.field label { font-size: var(--fs-small); color: var(--c-text-light); }
.req { color: var(--c-gold); }
.opt { color: var(--c-text-dim); font-size: var(--fs-micro); }
.field input[type=text], .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--c-white); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; padding: .7rem 0; transition: border-color .25s; -webkit-appearance: none; appearance: none; }
.field textarea { border: 1px solid rgba(255,255,255,.22); padding: .75rem; resize: vertical; min-height: 6.5rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-gold); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--c-gold); border-bottom: 1px solid var(--c-gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select option { color: var(--c-text); }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--c-gold); }
.field-check label { font-size: var(--fs-small); color: var(--c-text-dim); }
.field-check .field-hint { margin: 0; font-size: var(--fs-micro); color: var(--c-text-dim); }
.field-error { grid-column: 1 / -1; }
.field-hint { margin: 0; font-size: var(--fs-micro); color: var(--c-text-dim); }
.field-error { margin: 0; font-size: var(--fs-micro); color: #F2B8A8; min-height: 0; }
.field.has-error input, .field.has-error textarea { border-color: #F2B8A8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: var(--fs-small); min-height: 1.2em; }
.form-status.is-error { color: #F7D2C6; padding: .8rem 1rem; border: 1px solid rgba(242,184,168,.45); }
.form-success { text-align: left; padding: var(--sp-5) 0; }
.form-success:focus { outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid var(--c-gold); color: var(--c-gold); margin-bottom: var(--sp-5); }
.form-success h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); color: var(--c-white); }
.form-success p { color: var(--c-text-dim); }

/* ===== Contacts / Footer ===== */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.contact-list a { display: grid; grid-template-columns: auto 8rem 1fr; gap: var(--sp-4); align-items: center; padding: var(--sp-5) 0; border-bottom: 1px solid var(--c-line); text-decoration: none; transition: padding .3s var(--ease); }
.contact-list a:hover { padding-left: .5rem; }
.contact-list .icon { color: var(--c-gold); }
.c-label { font-family: var(--f-ui); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .14em; color: var(--c-grey); }
.c-value { font-family: var(--f-head); font-size: 1.35rem; overflow-wrap: anywhere; }
.site-footer { padding: var(--sp-9) 0 var(--sp-6); border-top: 1px solid var(--c-gold-soft); }
.footer-grid { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-7); }
.footer-brand p { color: var(--c-text-dim); max-width: 38ch; margin-top: var(--sp-5); font-size: var(--fs-small); }
.footer-nav { display: grid; gap: .6rem; }
.footer-nav a, .footer-legal a { text-decoration: none; color: var(--c-text-light); font-size: var(--fs-small); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--c-gold); }
.footer-social { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.footer-social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--c-line-light); border-radius: 50%; color: var(--c-gold); }
.footer-legal { display: grid; gap: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; padding-top: var(--sp-5); border-top: 1px solid var(--c-line-light); font-size: var(--fs-micro); color: var(--c-text-dim); }
.footer-bottom p { margin: 0; }
.footer-lang a { text-decoration: none; letter-spacing: .1em; }
.footer-lang a[aria-current] { color: var(--c-gold); }
.consent { position: fixed; z-index: 60; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); max-width: 560px; background: var(--c-graphite); color: var(--c-text-light); border: 1px solid var(--c-gold-soft); padding: var(--sp-5); font-size: var(--fs-small); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.consent-actions { display: flex; gap: var(--sp-3); justify-content: flex-end; }

/* ===== School / Conferences ===== */
.two-col { display: grid; gap: var(--sp-8); }
.two-col .section-head { margin-bottom: var(--sp-6); }
.check-list { display: grid; gap: var(--sp-4); }
.check-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.check-list .icon { color: var(--c-gold); margin-top: .15rem; }
.problems-compact li { padding: var(--sp-4) 0; }
.modules { display: grid; gap: var(--sp-4); }
.modules li { background: var(--c-card); padding: var(--card-pad); border-top: 2px solid var(--c-gold); }
.modules h3 { font-size: var(--fs-h3); margin-top: .5rem; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: var(--sp-4) var(--sp-3) var(--sp-4) 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.info-table th { font-family: var(--f-ui); font-weight: 500; font-size: var(--fs-small); color: var(--c-grey); width: 40%; }
.dark .info-table th, .dark .info-table td { border-color: var(--c-line-light); }
.schedule th { color: var(--c-wine); white-space: nowrap; width: 9rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-list li { border: 1px solid var(--c-gold); padding: .5rem 1.1rem; font-family: var(--f-head); font-style: italic; font-size: 1.2rem; }
.price-panel { display: grid; gap: var(--sp-7); align-items: center; }
.price-panel .h2 { max-width: 20ch; }
.price-box { border: 1px solid var(--c-gold-soft); padding: var(--card-pad); }
.price-big { font-family: var(--f-head); font-size: 3.4rem; font-weight: 300; color: var(--c-gold); margin-bottom: .4rem; line-height: 1.1; }
.event-meta { display: grid; gap: var(--sp-5); margin: var(--sp-7) 0 var(--sp-6); padding: var(--sp-6) 0; border-top: 1px solid var(--c-line-light); border-bottom: 1px solid var(--c-line-light); }
.event-meta > div { display: grid; grid-template-columns: auto 1fr; column-gap: var(--sp-3); align-content: start; }
.event-meta .icon { grid-row: span 2; color: var(--c-gold); }
.event-meta dt { font-family: var(--f-ui); font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; color: var(--c-text-dim); }
.event-meta dd { margin: .2rem 0 0; font-family: var(--f-head); font-size: 1.3rem; line-height: 1.3; }
.event-venue { color: var(--c-text-dim); margin-bottom: var(--sp-6); }
.event-venue a { color: var(--c-gold); }
.pending { padding: var(--sp-5); border: 1px dashed var(--c-gold-line); color: var(--c-grey); font-size: var(--fs-small); margin: 0 0 var(--sp-7); }
.dark .pending { color: var(--c-text-dim); }
.people, .partners, .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--sp-5); margin-bottom: var(--sp-7); }
.tickets li { display: flex; justify-content: space-between; padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line-light); }
.event-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.prose h2 { margin-top: var(--sp-6); }

/* ===== Reveal animation ===== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Breakpoints ===== */
@media (min-width: 600px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .testimonials-grid, .modules { grid-template-columns: repeat(2, 1fr); }
  .about-cols { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .event-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .problems { grid-template-columns: 1fr 1fr; column-gap: var(--sp-7); }
  .problems-compact { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1.25fr .9fr; }
  .about-grid { grid-template-columns: .8fr 1.2fr; gap: var(--sp-8); }
  .about-visual { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .levels { grid-template-columns: 300px 1fr; gap: var(--sp-8); }
  .levels-rings { width: 100%; }
  .stages { grid-template-columns: repeat(7, 1fr); border-left: 0; border-top: 1px solid var(--c-gold-line); margin: 1rem 0 0; }
  .stages li { padding: 1.75rem .75rem 0 0; font-size: .92rem; }
  .stages li span { top: -.9rem; left: 0; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .form-grid { grid-template-columns: .9fr 1.1fr; gap: var(--sp-8); }
  .form-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .two-col { grid-template-columns: 1fr 1fr; gap: var(--sp-9); }
  .hero-sub-grid { grid-template-columns: 1.6fr .8fr; }
  .price-panel { grid-template-columns: 1.2fr .8fr; }
  .modules { grid-template-columns: repeat(4, 1fr); }
  .event-meta { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid, .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(6, 1fr); }
  .facts li { padding-right: var(--sp-5); }
}
@media (min-width: 1280px) {
  .nav-desktop { display: flex; }
  .hide-md { display: inline-flex; }
}
@media (min-width: 1280px) and (max-width: 1500px) {
  .nav-list { gap: 1.1rem; }
  .nav-desktop { gap: var(--sp-5); }
  .nav-list-special { padding-left: var(--sp-5); }
  .header-actions { gap: var(--sp-4); }
}
@media (min-width: 1600px) {
  :root { --container: 1400px; }
}
@media (max-width: 420px) {
  .header-actions { gap: var(--sp-3); }
  .logo { letter-spacing: .2em; font-size: .85rem; }
  .contact-list a { grid-template-columns: auto 1fr; }
  .contact-list .c-value { grid-column: 2; }
  .btn-row .btn { width: 100%; }
  .faq-answer { padding-right: 0; }
}

/* ===== Рукописный логотип и подпись ===== */
.logo { display: inline-block; text-decoration: none; color: var(--c-champagne); line-height: 1; padding: .2em .35em .25em 0; white-space: nowrap; }
.logo-script { display: inline-block; font-family: var(--f-brand); font-weight: 400; text-transform: uppercase; font-size: clamp(.95rem, .85rem + .4vw, 1.2rem); letter-spacing: .32em; padding: .2em .1em; }
.logo-footer .logo-script { font-size: 1.35rem; }
.logo-drawer .logo-script { font-size: 1.1rem; }
@keyframes vm-write {
  0%   { clip-path: inset(-20% 100% -30% 0); opacity: 0; filter: blur(3px); }
  15%  { opacity: 1; }
  100% { clip-path: inset(-20% -5% -30% 0); opacity: 1; filter: blur(0); }
}
.js .site-header .logo-script, .js .hero-signature { animation: vm-write 2.2s cubic-bezier(.45,.05,.25,1) .25s both; }
.js .hero-signature { animation-duration: 3s; animation-delay: .9s; }
.hero-visual { position: relative; }
.hero-signature { position: absolute; z-index: 2; left: -1.5rem; bottom: -2.2rem; margin: 0; font-family: var(--f-script); font-size: clamp(3.4rem, 2.2rem + 4vw, 6.2rem); line-height: 1; color: var(--c-champagne); text-shadow: 0 2px 30px rgba(42,6,13,.55); pointer-events: none; padding: .1em .3em .2em .1em; white-space: nowrap; }
@media (max-width: 899px) { .hero-visual { margin-bottom: 2.5rem; } .hero-signature { left: .5rem; } }

/* ===== Бургер (на всех экранах) ===== */
.burger { position: relative; width: 46px; height: 46px; margin-right: -8px; background: none; border: 1px solid transparent; border-radius: 50%; display: inline-grid; place-content: center; gap: 6px; color: var(--c-champagne); transition: border-color .3s var(--ease); }
.burger:hover { border-color: rgba(227,205,176,.45); }
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s var(--ease), width .35s var(--ease); }
.burger span:nth-child(2) { width: 16px; margin-left: auto; }
.burger:hover span:nth-child(2) { width: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Боковая панель меню ===== */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(42, 6, 13, .55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.drawer { --c-gold: var(--c-champagne); --c-gold-line: rgba(227,205,176,.5); position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: linear-gradient(170deg, var(--c-navy) 0%, var(--c-graphite) 100%); color: var(--c-text-light); display: flex; flex-direction: column; padding: 1.25rem clamp(1.5rem, 1rem + 2vw, 2.5rem) 2rem; overflow-y: auto; overflow-x: hidden; transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; box-shadow: -30px 0 80px rgba(42,6,13,.35); border-left: 1px solid rgba(227,205,176,.18); }
.drawer::before { content: ""; position: absolute; right: -140px; top: 30%; width: 360px; aspect-ratio: 1; border: 1px solid rgba(227,205,176,.12); border-radius: 50%; pointer-events: none; }
body.menu-open .drawer { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
body.menu-open .drawer-backdrop { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
body.menu-open { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 1.5rem; }
.drawer-close { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid rgba(227,205,176,.3); border-radius: 50%; color: var(--c-champagne); margin-right: -6px; transition: transform .4s var(--ease), border-color .3s; }
.drawer-close:hover { transform: rotate(90deg); border-color: var(--c-champagne); }
.drawer-nav { flex: 1; display: grid; align-content: start; gap: 1.5rem; }
.m-nav li { opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.12s + var(--i, 0) * .05s); }
body.menu-open .m-nav li { opacity: 1; transform: none; }
.m-nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--f-head); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.15; padding: .55rem 0; text-decoration: none; color: var(--c-text-light); border-bottom: 1px solid rgba(227,205,176,.14); transition: color .25s, padding .35s var(--ease); }
.m-nav a:hover { color: var(--c-champagne); padding-left: .4rem; }
.m-num { font-family: var(--f-ui); font-size: .7rem; letter-spacing: .14em; color: var(--c-champagne); opacity: .8; }
.m-nav-special a { font-style: italic; color: var(--c-champagne); border-bottom-color: transparent; padding: .3rem 0; }
.m-nav a[aria-current] { color: var(--c-champagne); }
.drawer-bottom { display: grid; gap: 1.5rem; padding-top: 2rem; }
.drawer-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ===== Соцсети ===== */
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-link { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--c-gold-line); color: var(--c-gold); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.social-link .icon { width: 1.15rem; height: 1.15rem; }
a.social-link:hover { background: var(--c-gold); color: var(--c-navy); border-color: var(--c-gold); transform: translateY(-2px); }
.light a.social-link:hover, .beige a.social-link:hover { color: var(--c-paper); }
.social-link.is-pending { opacity: .55; cursor: default; }
.footer-follow { font-family: var(--f-ui); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-dim); margin-bottom: .8rem; }
.social-footer { margin-bottom: 1.5rem; }
.contacts-social { margin-top: var(--sp-7); }
.contacts-social .card-label { margin-bottom: .9rem; }

@media (prefers-reduced-motion: reduce) {
  .js .site-header .logo-script, .js .hero-signature { animation: none; }
  .m-nav li { opacity: 1; transform: none; }
}

/* Компактная шапка: узкие экраны и 1280–1359 */
@media (max-width: 1359px) { .nav-desktop { display: none !important; } }
@media (min-width: 1280px) and (max-width: 1359px) { .hide-md { display: inline-flex; } }
@media (max-width: 440px) {
  .header-inner { gap: .5rem; }
  .header-actions { gap: .6rem; }
  .logo-script { font-size: .82rem; letter-spacing: .24em; }
  .lang-switch { gap: .3rem; }
  .burger { margin-right: -4px; width: 44px; height: 44px; }
}

.portrait-hero.portrait-empty figcaption { bottom: auto; top: 2.2rem; }

/* ===== Заставка при открытии ===== */
.intro { display: none; }
.has-intro .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; cursor: pointer; background: radial-gradient(90% 70% at 50% 45%, #7A2032 0%, var(--c-navy) 55%, var(--c-graphite) 100%); transition: opacity 1.1s cubic-bezier(.6,0,.2,1) .35s, backdrop-filter 1.1s; }
body.intro-lock { overflow: hidden; }
.intro-inner { text-align: center; padding: 0 1rem; }
.intro-name { margin: 0; font-family: var(--f-brand); font-weight: 300; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(1.7rem, .9rem + 5vw, 5.6rem); line-height: 1.15; color: var(--c-champagne); white-space: nowrap; padding: .1em .2em; text-shadow: 0 0 40px rgba(227,205,176,.18); }
.intro-ch, .intro-space { display: inline-block; }
.intro-space { width: .5em; }
.intro-ch { opacity: 0; filter: blur(14px); transform: translateY(.18em) scale(.96); animation: vm-ink .9s cubic-bezier(.3,.6,.2,1) both; animation-delay: calc(.15s + var(--i) * .085s); }
@keyframes vm-ink { to { opacity: 1; filter: blur(0); transform: none; } }
.intro-line { display: block; height: 1px; width: min(240px, 50vw); margin: .6rem auto 1rem; background: linear-gradient(90deg, transparent, var(--c-champagne), transparent); transform: scaleX(0); animation: vm-line 1.1s cubic-bezier(.3,.6,.2,1) 1s both; }
@keyframes vm-line { to { transform: scaleX(1); } }
.intro-sub { margin: 0; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .5em; text-transform: uppercase; color: var(--c-text-dim); opacity: 0; animation: vm-fade .9s ease 1.25s both; padding-left: .5em; }
@keyframes vm-fade { to { opacity: 1; } }
/* уход: буквы расплываются и разлетаются, фон растворяется */
.intro.is-leaving { opacity: 0; pointer-events: none; }
.intro.is-leaving .intro-ch { animation: vm-scatter 1.15s cubic-bezier(.55,0,.35,1) both; animation-delay: calc(var(--i) * .035s); }
@keyframes vm-scatter {
  from { opacity: 1; filter: blur(0); transform: none; }
  to { opacity: 0; filter: blur(18px); transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1.6); }
}
.intro.is-leaving .intro-line, .intro.is-leaving .intro-sub { animation: vm-out .6s ease both; }
@keyframes vm-out { from { opacity: 1; } to { opacity: 0; transform: scaleX(1.4); } }
/* сайт мягко «проявляется» под заставкой */
.has-intro main, .has-intro .site-header { filter: blur(6px); }
.intro-revealing main, .intro-revealing .site-header, html:not(.has-intro) main { transition: filter 1.2s ease .2s; filter: none; }
html.has-intro { overflow: hidden; }
/* анимации шапки и подписи стартуют после заставки */
.has-intro .site-header .logo-script, .has-intro .hero-signature { animation-play-state: paused; }
.intro-revealing .site-header .logo-script, .intro-revealing .hero-signature { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }

/* =====================================================================
   ЛЕНДИНГ (стиль «event landing»): бегущая строка, огромное имя,
   прописные заголовки-антиква, фото на всю ширину, золото на синем.
   ===================================================================== */
.eyebrow-num { display: none; }
.h1, .h2, .dh2, .dname { font-family: var(--f-head); text-transform: uppercase; font-weight: 500; letter-spacing: .02em; line-height: 1.08; }
.h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.9rem); max-width: 26ch; }
.center-head { text-align: center; } .center-head .h2, .center-head .lead { margin-left: auto; margin-right: auto; } .center-head .eyebrow { justify-content: center; }
.center-text { text-align: center; }
.cream { background: var(--c-paper); }
.cream-2 { background: var(--c-beige-2); }
.navy { background: var(--c-navy); color: var(--c-text-light); }
.navy-deep { background: var(--c-graphite); color: var(--c-text-light); }
.gold { background: linear-gradient(135deg, #F1E6D6 0%, #E7D6BF 55%, #DCC6A8 100%); color: var(--c-wine); }
.navy, .navy-deep, .lhero { --c-gold: var(--c-champagne); --c-gold-soft: rgba(227,205,176,.28); --c-gold-line: rgba(227,205,176,.5); }
.lsec { padding: var(--section-y) 0; position: relative; overflow: hidden; }
.dh2 { font-size: clamp(1.8rem, 1.2rem + 2.3vw, 3.3rem); max-width: 30ch; margin: 0 auto var(--sp-6); }
.dh2-xl { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem); max-width: 24ch; }
.ltag { font-family: var(--f-head); font-style: italic; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); text-align: center; max-width: 46ch; margin: 0 auto var(--sp-7); opacity: .85; }
.lkicker { font-family: var(--f-ui); font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-4); }
.script-lead { font-family: var(--f-head); font-style: italic; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); color: var(--c-gold); text-align: center; margin: 0 0 .2em; line-height: 1.1; }

/* --- Бегущая строка --- */
.marquee { position: relative; z-index: 3; overflow: hidden; white-space: nowrap; padding: .9rem 0; border-bottom: 1px solid rgba(227,205,176,.22); }
.marquee-hero { position: absolute; left: 0; right: 0; top: var(--header-h); background: rgba(42,6,13,.35); backdrop-filter: blur(2px); }
.marquee-track { display: inline-flex; align-items: center; gap: 1.6rem; animation: vm-marquee 40s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--f-ui); font-size: clamp(.95rem, .8rem + .6vw, 1.45rem); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--c-white); }
.marquee-track i { font-style: normal; color: var(--c-champagne); }
@keyframes vm-marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --- Первый экран --- */
.lhero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--c-white); background: var(--c-graphite); overflow: hidden; }
.lhero-media { position: absolute; inset: 0; }
.lhero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transform: scale(1.08); animation: vm-zoom 2.6s cubic-bezier(.2,.7,.2,1) .2s forwards; }
@keyframes vm-zoom { to { transform: scale(1); } }
.lhero-media.is-empty { background: radial-gradient(60% 70% at 70% 35%, #8A2A3C 0%, var(--c-navy) 45%, var(--c-graphite) 100%); }
.lhero-media.is-empty::after { content: ""; position: absolute; left: 50%; top: 18%; width: min(420px, 60vw); aspect-ratio: 3/4; transform: translateX(-10%); border: 1px solid rgba(227,205,176,.25); border-radius: 220px 220px 0 0; }
.lhero-ph { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 4.5rem); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-text-dim); }
.lhero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,6,13,.55) 0%, rgba(42,6,13,.15) 30%, rgba(42,6,13,.55) 62%, rgba(42,6,13,.96) 100%); }
.lhero-content { position: relative; z-index: 2; text-align: center; padding-top: calc(var(--header-h) + 7rem); padding-bottom: 1rem; }
.lhero-kicker { font-family: var(--f-ui); font-size: clamp(.8rem, .7rem + .4vw, 1.15rem); letter-spacing: .12em; text-transform: uppercase; margin: 0 auto 1.2rem; max-width: 60ch; }
.lhero-title { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); letter-spacing: .04em; line-height: 1.15; margin: 0 auto .8rem; color: var(--c-champagne); }
.lhero-line { font-family: var(--f-head); font-size: clamp(1.1rem, .95rem + .6vw, 1.5rem); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.lhero-desc { max-width: 58ch; margin: 0 auto 1.8rem; color: var(--c-text-dim); }
.lhero-btns { justify-content: center; }
.lhero-name { position: relative; z-index: 2; margin: 0; padding: 0 1vw; text-align: center; white-space: nowrap; font-family: var(--f-head); font-weight: 500; text-transform: uppercase; line-height: .82; letter-spacing: -.01em; font-size: clamp(3rem, 13.2vw, 15rem); background: linear-gradient(180deg, #FBF1E3 0%, #E8D2B3 50%, #CFAE89 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(.08em); }
.hn-ch, .hn-space { display: inline-block; }
.hn-space { width: .25em; }
.js .hn-ch { opacity: 0; transform: translateY(60%); filter: blur(10px); animation: vm-rise 1.3s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.35s + var(--i) * .06s); }
.has-intro .hn-ch { animation-play-state: paused; }
@keyframes vm-rise { to { opacity: 1; transform: none; filter: none; } }

/* --- Intro + 3 уровня --- */
.lintro { text-align: center; }
.lintro-text { max-width: 62ch; margin: 0 auto var(--sp-8); color: #4E3A38; font-size: 1.06rem; }
.ltrio { display: grid; gap: var(--sp-5); text-align: left; }
.ltrio li { padding: var(--card-pad); background: var(--c-white); border-top: 2px solid var(--c-gold-bright); box-shadow: var(--card-shadow); }
.ltrio-num, .lsteps-num, .lo-num { font-family: var(--f-head); font-size: 2.4rem; line-height: 1; color: var(--c-gold); }
.ltrio h3 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; margin: .8rem 0 .5rem; }
.ltrio p { margin: 0; color: var(--c-grey); }

/* --- 7 шагов --- */
.lsteps { display: grid; gap: 0; max-width: 980px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.lsteps li { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--c-line); }
.lsteps p { margin: 0; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); }
.lnote { max-width: 760px; margin: var(--sp-7) auto 0; text-align: center; color: var(--c-grey); font-size: var(--fs-small); }

/* --- Цитата-призыв --- */
.lquote { padding: calc(var(--section-y) * 1.1) 0; }
.lquote-mark { display: block; font-family: var(--f-head); font-size: 9rem; line-height: .6; color: var(--c-champagne); opacity: .5; margin-bottom: 1rem; }
.lquote .dh2 { color: var(--c-white); }
.lquote .ltag { color: var(--c-text-dim); }

/* --- О Вере --- */
.lhost { display: grid; gap: var(--sp-7); align-items: center; }
.lhost-photo .portrait { max-width: 520px; }
.lhost-photo .portrait img, .lhost-photo .portrait-empty { border-radius: 260px 260px 0 0; }
.dname { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); color: var(--c-navy); margin-bottom: var(--sp-5); }
.lhost-lead { font-family: var(--f-head); font-size: 1.45rem; line-height: 1.4; }
.lbullets { display: grid; gap: .9rem; margin: var(--sp-6) 0; }
.lbullets li { padding-left: 1.6rem; position: relative; }
.lbullets li::before { content: "/"; position: absolute; left: 0; color: var(--c-gold); font-weight: 600; }
.lbullets span { display: block; font-size: var(--fs-small); color: var(--c-grey); }
.lhost-unique { font-family: var(--f-head); font-style: italic; font-size: 1.3rem; padding-left: 1.2rem; border-left: 1px solid var(--c-gold-bright); }
.lfacts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: var(--sp-8); border-top: 1px solid var(--c-line); }
.lfacts li { padding: var(--sp-5) var(--sp-3); text-align: center; border-bottom: 1px solid var(--c-line); }
.lfacts-v { display: block; font-family: var(--f-head); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.8rem); text-transform: uppercase; color: var(--c-gold); line-height: 1.1; overflow-wrap: anywhere; }
.lfacts-l { font-size: var(--fs-small); color: var(--c-grey); }

/* --- Результаты --- */
.loutcomes { display: grid; gap: 1px; background: rgba(227,205,176,.25); border: 1px solid rgba(227,205,176,.25); margin-bottom: var(--sp-7); }
.loutcomes li { background: var(--c-navy); padding: var(--card-pad); }
.loutcomes p { margin: .8rem 0 0; font-size: 1.05rem; color: var(--c-text-light); }

/* --- Фотолента --- */
.lgallery .dh2 { color: var(--c-navy); }
.lg-strip { display: flex; gap: 1rem; overflow-x: auto; padding: 0 var(--gutter) .5rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lg-strip::-webkit-scrollbar { display: none; }
.lg-item { flex: 0 0 clamp(200px, 22vw, 300px); aspect-ratio: 3/4; margin: 0; scroll-snap-align: start; overflow: hidden; background: rgba(74,12,24,.12); }
.lg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lg-item:hover img { transform: scale(1.05); }
.lg-ph { display: grid; place-items: center; border: 1px solid rgba(74,12,24,.25); }
.lg-ph span { font-family: var(--f-head); font-style: italic; font-size: 3rem; color: rgba(74,12,24,.35); }
.lg-note { margin-top: var(--sp-5); font-size: var(--fs-small); color: rgba(74,12,24,.75); }
.lg-strip > :first-child { margin-left: auto; } .lg-strip > :last-child { margin-right: auto; }

/* --- Услуги как «тарифы» --- */
.tiers-section .section-head { margin-bottom: var(--sp-7); }
.tiers-section .service-path { border-color: var(--c-line-light); }
.tiers-section .service-path li, .tiers-section .path-note { color: var(--c-text-dim); }
.tiers .service-card { background: linear-gradient(180deg, var(--c-navy-2), var(--c-navy)); border: 1px solid rgba(227,205,176,.25); color: var(--c-text-light); }
.tiers .service-card:hover { border-color: var(--c-champagne); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tiers .service-card.is-featured { border-color: var(--c-champagne); box-shadow: inset 0 3px 0 var(--c-champagne); }
.tiers .card-title { text-transform: uppercase; letter-spacing: .03em; font-size: 1.45rem; color: var(--c-white); }
.tiers .card-block, .tiers .card-bottom { border-color: rgba(255,255,255,.12); }
.tiers .card-label { color: var(--c-champagne); }
.tiers .card-note { color: var(--c-text-dim); }
.tiers .card-price { color: var(--c-champagne); font-size: 2.4rem; }
.tiers .badge { background: var(--c-champagne); color: var(--c-navy); }
.tiers .btn-dark { border-color: var(--c-champagne); color: var(--c-champagne); }
.tiers .btn-dark:hover { background: var(--c-champagne); color: var(--c-navy); }
.tiers .card-num { color: var(--c-champagne); }

/* --- общие правки под новый стиль --- */
.hero-sub .h1, .hero .h1 { font-weight: 500; letter-spacing: .02em; }
.hero-sub .marquee-hero, .hero .marquee-hero { top: var(--header-h); }
.hero-sub { padding-top: calc(var(--header-h) + var(--sp-9) + 3rem); }
.btn-gold { background: linear-gradient(180deg, #F0E1CB, #DFC6A3); color: var(--c-wine-deep); }
.btn-gold:hover { background: #F6EBDC; color: var(--c-wine-deep); }
.light .btn-gold, .cream .btn-gold, .beige .btn-gold, .cream-2 .btn-gold, .gold .btn-gold { background: var(--c-wine); color: var(--c-paper); }
.light .btn-gold:hover, .cream .btn-gold:hover, .beige .btn-gold:hover, .cream-2 .btn-gold:hover { background: var(--c-wine-deep); color: var(--c-paper); }
.faq-item summary { text-transform: none; }
[data-reveal-img] { clip-path: inset(0 0 0 0); }
.js [data-reveal-img] { clip-path: inset(12% 0 12% 0); transition: clip-path 1.3s cubic-bezier(.2,.7,.2,1), opacity .8s, transform .8s; }
.js [data-reveal-img].is-in { clip-path: inset(0 0 0 0); }

@media (min-width: 700px) {
  .ltrio { grid-template-columns: repeat(3, 1fr); }
  .loutcomes { grid-template-columns: repeat(2, 1fr); }
  .lfacts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lhost { grid-template-columns: .9fr 1.1fr; gap: var(--sp-9); }
  .loutcomes { grid-template-columns: repeat(3, 1fr); }
  .lfacts { grid-template-columns: repeat(6, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .hn-ch { opacity: 1; transform: none; filter: none; animation: none; }
  .lhero-media img { transform: none; animation: none; }
  .js [data-reveal-img] { clip-path: none; }
}
.intro-revealing .hn-ch { animation-play-state: running; }
.lhost .portrait-frame { display: none; }
.lhero-kicker { color: var(--c-text-light); }

/* --- Первый экран с реальным фото Веры --- */
.lhero.has-photo .lhero-media img { object-position: 50% 28%; }
.lhero.has-photo .lhero-shade { background: linear-gradient(180deg, rgba(42,6,13,.55) 0%, rgba(42,6,13,0) 22%, rgba(42,6,13,0) 38%, rgba(61,10,20,.82) 58%, var(--c-graphite) 82%); }
.lhero.has-photo .lhero-content { padding-top: 52vh; }
@media (min-width: 900px) {
  .lhero.has-photo .lhero-media { left: auto; width: 52%; }
  .lhero.has-photo .lhero-media img { object-position: 50% 30%; }
  .lhero.has-photo .lhero-shade { background:
      linear-gradient(90deg, var(--c-graphite) 0%, var(--c-graphite) 44%, rgba(61,10,20,.55) 54%, rgba(61,10,20,0) 70%),
      linear-gradient(180deg, rgba(42,6,13,.45) 0%, rgba(42,6,13,0) 25%, rgba(42,6,13,0) 70%, var(--c-graphite) 96%); }
  .lhero.has-photo { background: radial-gradient(70% 90% at 20% 40%, #6B1A2A 0%, var(--c-graphite) 70%); }
  .lhero.has-photo .lhero-content { text-align: left; padding-top: calc(var(--header-h) + 7rem); margin-left: 0; max-width: none; }
  .lhero.has-photo .lhero-content > * { max-width: 560px; margin-left: 0; margin-right: 0; }
  .lhero.has-photo .lhero-btns { justify-content: flex-start; }
  .lhero.has-photo .lhero-content { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
}
@media (min-width: 1440px) { .lhero.has-photo .lhero-media { width: 50%; } }
.lhost-photo .portrait img { aspect-ratio: 3/4; object-position: 50% 22%; }
/* уточнение раскладки фото */
@media (max-width: 899px) {
  .lhero.has-photo .lhero-media { bottom: auto; height: 74svh; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .lhero.has-photo .lhero-media img { object-position: 50% 18%; }
  .lhero.has-photo .lhero-shade { background: linear-gradient(180deg, rgba(42,6,13,.5) 0%, rgba(42,6,13,0) 18%, rgba(42,6,13,0) 45%, rgba(61,10,20,.75) 66%, var(--c-graphite) 78%); }
  .lhero.has-photo .lhero-content { padding-top: 64svh; }
}
@media (min-width: 900px) {
  .lhero.has-photo .lhero-media { width: 60%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 38%); }
  .lhero.has-photo .lhero-shade { background: linear-gradient(180deg, rgba(42,6,13,.5) 0%, rgba(42,6,13,0) 22%, rgba(42,6,13,0) 68%, var(--c-graphite) 97%); }
}
@media (min-width: 1440px) { .lhero.has-photo .lhero-media { width: 58%; } }
@media (min-width: 1440px) { .lhero.has-photo .lhero-media { width: min(58%, 880px); } }

/* ===== ТЗ 11.11: новые блоки ===== */
/* До → после */
.ba { max-width: 1000px; margin: 0 auto; }
.ba-head { display: none; }
.ba-row { display: grid; gap: .35rem; padding: 1.1rem 0; border-bottom: 1px solid var(--c-line); }
.ba-row:first-of-type { border-top: 1px solid var(--c-line); }
.ba-now { color: var(--c-grey); text-decoration: line-through; text-decoration-color: rgba(122,26,43,.35); }
.ba-arrow { display: none; color: var(--c-gold); font-family: var(--f-head); font-size: 1.6rem; }
.ba-target { font-family: var(--f-head); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.55rem); color: var(--c-wine); line-height: 1.3; }
@media (min-width: 760px) {
  .ba-head, .ba-row { grid-template-columns: 1fr 3rem 1.2fr; align-items: center; display: grid; }
  .ba-head { padding-bottom: .8rem; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-gold); }
  .ba-head span:last-child { color: var(--c-wine); }
  .ba-arrow { display: block; text-align: center; }
  .ba-now { text-decoration: none; }
}
/* Доказательства 28 / 150 / 45 */
.proof-list { display: grid; gap: 0; max-width: 1100px; margin: 0 auto; }
.proof-list li { text-align: center; padding: 1.6rem 1rem; border-top: 1px solid var(--c-line-light); }
.proof-v { display: block; font-family: var(--f-head); font-size: clamp(3.4rem, 2.4rem + 4vw, 6rem); line-height: 1; color: var(--c-champagne); }
.proof-l { display: block; max-width: 30ch; margin: .6rem auto 0; color: var(--c-text-dim); }
@media (min-width: 760px) { .proof-list { grid-template-columns: repeat(3, 1fr); } .proof-list li { border-top: 0; border-left: 1px solid var(--c-line-light); } .proof-list li:first-child { border-left: 0; } }
/* Три услуги */
.tiers-3 { max-width: 1180px; margin: 0 auto; }
.card-text { font-size: 1.02rem; line-height: 1.6; color: var(--c-text-light); margin-bottom: 1rem; }
.tiers .card-note { font-style: normal; font-size: .85rem; border-left: 1px solid rgba(227,205,176,.4); padding-left: .8rem; }
.tiers-note { text-align: center; color: var(--c-text-dim); max-width: 60ch; margin: var(--sp-6) auto 0; font-size: var(--fs-small); }
@media (min-width: 900px) { .tiers-3 { grid-template-columns: repeat(3, 1fr); } }
/* Метод */
.ltrio-col { font-family: var(--f-ui); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold) !important; margin: 0 0 .3rem !important; }
.lpsy { max-width: 760px; margin: var(--sp-7) auto 0; text-align: center; font-family: var(--f-head); font-style: italic; font-size: 1.25rem; color: var(--c-text); }
/* Анонс школы и мероприятий */
.ann-grid { display: grid; gap: var(--sp-5); max-width: 1100px; margin: 0 auto; }
.ann-card { display: block; padding: var(--card-pad); background: var(--c-white); border-top: 2px solid var(--c-wine); text-decoration: none; box-shadow: var(--card-shadow); transition: transform .35s var(--ease); }
.ann-card:hover { transform: translateY(-3px); }
.ann-card h3 { font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em; color: var(--c-wine); margin-bottom: .6rem; }
.ann-card p { color: var(--c-grey); }
.ann-cta { font-family: var(--f-ui); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-wine); font-weight: 600; }
@media (min-width: 760px) { .ann-grid { grid-template-columns: 1fr 1fr; } }
/* Форма: способ связи + контакт в одну строку */
.field-row { display: grid; gap: var(--sp-5); }
@media (min-width: 560px) { .field-row { grid-template-columns: .8fr 1.2fr; } }
/* Мобильный первый экран: CTA ближе к началу (ТЗ, п. 7, 23) */
@media (max-width: 899px) {
  .lhero.has-photo .lhero-media { height: 56svh; }
  .lhero.has-photo .lhero-content { padding-top: 46svh; }
  .lhero-title { font-size: clamp(1.45rem, 1.1rem + 2.4vw, 2rem); }
  .lhero-desc { font-size: .95rem; margin-bottom: 1rem; }
  .lhero-line { font-size: .95rem; letter-spacing: .03em; margin-bottom: 1.2rem; }
  .lsec, .section { padding: clamp(3.5rem, 2.5rem + 4vw, 5rem) 0; }
}
/* первый экран: компактнее строка опыта, кнопки в ряд */
.lhero-line { font-family: var(--f-ui); text-transform: none; letter-spacing: .01em; font-size: .98rem; color: var(--c-champagne); line-height: 1.55; }
.lhero-kicker { font-size: .8rem; letter-spacing: .2em; }
@media (min-width: 900px) {
  .lhero.has-photo .lhero-content > * { max-width: 640px; }
  .lhero-title { font-size: clamp(1.9rem, 1.2rem + 1.5vw, 2.7rem); }
  .lhero.has-photo .lhero-content { padding-top: calc(var(--header-h) + 6rem); }
}
@media (max-width: 899px) {
  .lhero.has-photo .lhero-media { height: 50svh; }
  .lhero.has-photo .lhero-content { padding-top: 37svh; }
  .lhero-kicker { font-size: .68rem; margin-bottom: .6rem; }
  .lhero-title { font-size: clamp(1.3rem, 1rem + 2.2vw, 1.8rem); margin-bottom: .6rem; }
  .lhero-desc { font-size: .9rem; line-height: 1.5; margin-bottom: .7rem; }
  .lhero-line { font-size: .82rem; line-height: 1.45; margin-bottom: 1rem; }
  .lhero-btns { gap: .6rem; }
  .lhero .btn { min-height: 2.9rem; }
}
@media (max-width: 380px), (max-height: 700px) and (max-width: 899px) { .lhero-kicker { display: none; } .lhero.has-photo .lhero-media { height: 46svh; } .lhero.has-photo .lhero-content { padding-top: 33svh; } }
/* Огромное имя: сплошной цвет вместо градиентного клипа (градиент + анимация букв ломались в части браузеров) */
.lhero-name { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--c-champagne); -webkit-text-fill-color: currentColor; text-shadow: 0 2px 40px rgba(42,6,13,.35); overflow: hidden; max-width: 100%; }
.js .hn-ch { filter: none; animation-name: vm-rise-simple; }
@keyframes vm-rise-simple { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }

/* =====================  ТЗ №4: компактная главная и страницы услуг  ===================== */
/* hero */
.lhero-note { font-size: .82rem; color: var(--c-text-dim); margin: .8rem 0 0; }
/* проблемы: переход — не отдельная полноэкранная секция */
.ptransition { margin-top: var(--sp-7); padding: var(--sp-6) var(--card-pad); border: 1px solid var(--c-line-light); display: grid; gap: var(--sp-5); align-items: center; }
.ptransition p { margin: 0; font-family: var(--f-head); font-style: italic; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.4; }
@media (min-width: 900px) { .ptransition { grid-template-columns: 1fr auto; } }
#problems .h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
#problems .problems li { padding: 1rem 0; }
/* Сейчас / После: без зачёркивания; на телефоне — пара-карточка */
.ba-now { text-decoration: none !important; }
.ba-lbl { display: block; font-style: normal; font-family: var(--f-ui); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-grey); margin-bottom: .25rem; }
.ba-target .ba-lbl { color: var(--c-gold); }
@media (max-width: 759px) {
  .ba-row { background: var(--c-white); border: 0 !important; padding: 1rem 1.1rem; margin-bottom: .7rem; box-shadow: var(--card-shadow); gap: .7rem; }
  .ba-target { padding-top: .7rem; border-top: 1px solid var(--c-line); }
}
@media (min-width: 760px) { .ba-lbl { display: none; } }
.ba-benefit { text-align: center; font-family: var(--f-head); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.7rem); color: var(--c-wine); margin: var(--sp-6) auto 0; max-width: 40ch; }
/* 28 / 150 / 45: на телефоне 28 сверху, 150 и 45 рядом */
.lproof { padding: clamp(3rem, 2rem + 4vw, 6rem) 0; }
@media (max-width: 759px) {
  .proof-list { grid-template-columns: 1fr 1fr; }
  .proof-list li:first-child { grid-column: 1 / -1; }
  .proof-list li { padding: 1.1rem .5rem; }
  .proof-list li:nth-child(3) { border-left: 1px solid var(--c-line-light); }
  .proof-v { font-size: 3rem; }
  .proof-l { font-size: .85rem; }
}
/* карточки услуг: сопоставимая высота и плотность */
.tiers .service-card { padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.card-name { font-family: var(--f-ui); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-champagne); text-align: right; }
.tiers .card-title { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.65rem); text-transform: none; letter-spacing: 0; font-style: italic; margin-bottom: .8rem; }
.card-facts { margin: 0 0 1rem; display: grid; gap: .7rem; }
.card-facts dt { font-family: var(--f-ui); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-champagne); }
.card-facts dd { margin: .15rem 0 0; font-size: .95rem; }
.tiers .card-price { margin-bottom: .5rem; }
.per { font-size: .5em; margin-left: .15em; letter-spacing: 0; }
.tiers .card-note { margin: 0 0 1rem; font-size: .8rem; }
.card-more { display: inline-block; margin-top: .9rem; font-family: var(--f-ui); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; text-decoration: none; color: var(--c-gold); }
.tiers .card-more { color: var(--c-champagne); }
.card-more:hover { text-decoration: underline; }
/* метод: уплотнён */
.lmethod .ltrio li { padding: 1.3rem 1.4rem; }
.lmethod .ltrio h3 { margin: .4rem 0 .3rem; font-size: 1.35rem; }
.lmethod .lpsy { margin-top: var(--sp-6); font-size: 1.1rem; }
/* обо мне (кратко) */
.lhost-short .lhost-photo .portrait { max-width: 420px; }
.lhost-short .dname { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
@media (max-width: 1023px) { .lhost-short .lhost-photo .portrait { max-width: 300px; margin: 0 auto; } }
/* этапы: компактно */
#process .steps li { padding-top: 1rem; }
#process .step-num { font-size: 2rem; margin-bottom: .3rem; }
@media (max-width: 599px) { #process .steps { gap: .9rem; } #process .steps li { display: grid; grid-template-columns: 3rem 1fr; column-gap: .6rem; } #process .step-num { grid-row: span 2; } }
/* форма */
.form-after { margin-top: var(--sp-5); font-size: var(--fs-small); color: var(--c-text-dim); max-width: 46ch; }
/* страницы услуг */
.svc-hero .hero-card-v { font-family: var(--f-head); font-size: 1.3rem; line-height: 1.3; margin-bottom: 1rem; }
.hero-card-note { font-size: .82rem; color: var(--c-text-dim); margin: .4rem 0 0; }
.crumb { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(227,205,176,.4); }
.svc-grid { display: grid; gap: var(--sp-5); }
.svc-block { background: var(--c-white); padding: var(--card-pad); border-top: 2px solid var(--c-wine); box-shadow: var(--card-shadow); }
.svc-num { font-family: var(--f-head); font-size: 1.6rem; color: var(--c-gold); }
.svc-h { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); margin: .3rem 0 .9rem; }
.svc-list { display: grid; gap: .55rem; }
.svc-list li { display: flex; gap: .6rem; align-items: flex-start; }
.svc-list .icon { color: var(--c-gold); width: 1.05rem; height: 1.05rem; margin-top: .25rem; }
.svc-note { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--c-grey); font-style: italic; }
.svc-others-grid { display: grid; gap: var(--sp-5); max-width: 1000px; margin: 1rem auto 0; }
@media (min-width: 760px) { .svc-grid, .svc-others-grid { grid-template-columns: 1fr 1fr; } }
.btn-outline { border: 1px solid var(--c-wine); color: var(--c-wine); background: transparent; }
.btn-outline:hover { background: var(--c-wine); color: var(--c-paper); }
.footer-sub a { padding-left: .8rem; opacity: .8; font-size: .8rem; }
/* мобильная плотность: −15–20% вертикальной длины */
@media (max-width: 899px) {
  :root { --section-y: clamp(3rem, 2.4rem + 3vw, 4.2rem); }
  .section-head { margin-bottom: var(--sp-6); }
  .dh2 { font-size: clamp(1.5rem, 1.15rem + 2vw, 2.2rem); margin-bottom: var(--sp-5); }
  .h2 { font-size: clamp(1.45rem, 1.15rem + 1.8vw, 2.1rem); }
  .lsec, .section { padding: var(--section-y) 0; }
  .faq-item summary { font-size: 1.2rem; padding: 1rem 0; }
  .ltrio { gap: .8rem; }
}
#problems .h2 { max-width: 34ch; } .card-top { gap: 1rem; align-items: baseline; }
@media (min-width: 1024px) { .lhost-full { align-items: start; } .lhost-full .lhost-photo { position: sticky; top: calc(var(--header-h) + 2rem); } }
.svc-hero .h1 { font-size: clamp(1.9rem, 1rem + 4.5vw, 5rem); overflow-wrap: anywhere; hyphens: auto; }
.svc-others-grid, .ann-grid { grid-template-columns: minmax(0, 1fr); } @media (min-width: 760px) { .svc-others-grid, .ann-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } } .ann-card { min-width: 0; overflow-wrap: anywhere; }

/* =====================  ТЗ 15.11: точечные правки  ===================== */
/* Переносы заголовков услуг: без рубки слов, размер подбирается под узкий экран */
.svc-hero .h1, .hero-sub .h1 { hyphens: manual !important; -webkit-hyphens: manual !important; overflow-wrap: normal !important; word-break: normal; }
.svc-hero .h1 { font-size: clamp(1.55rem, .4rem + 7.2vw, 5rem); }
@media (max-width: 899px) { .hero-sub .h1 { font-size: clamp(1.6rem, .5rem + 7.4vw, 3.2rem); } }
/* Контраст CTA внутри формы на бордовой карточке (страница мероприятия и др.) — всегда светлый акцент */
.form-card .btn-gold, .beige .form-card .btn-gold, .light .form-card .btn-gold, .cream .form-card .btn-gold { background: linear-gradient(180deg, #F0E1CB, #DFC6A3) !important; color: var(--c-wine-deep) !important; }
.form-card .btn-gold:hover { background: #F6EBDC !important; }
/* Формы: компактнее вертикальные интервалы */
.lead-form { gap: 1rem; }
.field { gap: .3rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .field select { padding: .55rem 0; }
.field input[type=email], .field input[type=tel] { width: 100%; font: inherit; font-size: 1rem; color: var(--c-white); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; -webkit-appearance: none; appearance: none; }
.field input[type=email]:focus, .field input[type=tel]:focus { outline: none; border-color: var(--c-gold); }
.field textarea { min-height: 5rem; padding: .6rem; }
.field-row { gap: 1rem; }
.form-privacy { margin: 0; font-size: var(--fs-micro); color: var(--c-text-dim); line-height: 1.5; }
.form-privacy a { color: var(--c-champagne); }
@media (max-width: 899px) { .form-card { padding: 1.3rem 1.1rem; } .form-grid { gap: var(--sp-5); } .form-section .section-head { margin-bottom: 0; } }
/* Мероприятие: пометки и прошедшее событие */
.event-facts-note { font-size: var(--fs-small); color: var(--c-text-dim); margin: -.5rem 0 1.2rem; }
.event-past-note { display: none; }
.event-root.is-past .event-past-note { display: block; font-family: var(--f-ui); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-champagne); }
.ann-next.is-past { display: none; }
.ann-next { display: block; margin-top: .4rem; color: var(--c-text); font-weight: 500; }
/* Контакты и футер */
.footer-email a { color: var(--c-champagne); text-decoration: none; border-bottom: 1px solid rgba(227,205,176,.4); }
.contacts-section .contact-list a { grid-template-columns: auto 6rem 1fr; }
.hero-sub .h1, .svc-hero .h1 { max-width: 100%; } .hero-mini .h1 { font-size: clamp(1.5rem, .6rem + 6vw, 4rem); }
.hero-mini .h1 { font-size: clamp(1.25rem, .1rem + 5.4vw, 4rem); }
.svc-hero .h1 { font-size: clamp(1.4rem, .15rem + 7vw, 5rem); }
@media (max-width: 599px) {
  .contacts-section .contact-list a { grid-template-columns: auto 1fr; row-gap: .4rem; }
  .contacts-section .c-value { grid-column: 1 / -1; font-size: 1.25rem; overflow-wrap: normal; word-break: normal; }
}

/* =====================  ТЗ 16.11  ===================== */
/* Первый экран на телефоне: фото и текст не конкурируют — лицо открыто, текст начинается под фото */
@media (max-width: 899px) {
  .lhero.has-photo .lhero-media { height: 52svh; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .lhero.has-photo .lhero-media img { object-position: 50% 16%; }
  .lhero.has-photo .lhero-shade { background: linear-gradient(180deg, rgba(42,6,13,.45) 0%, rgba(42,6,13,0) 16%, rgba(42,6,13,0) 40%, rgba(61,10,20,.55) 50%, var(--c-graphite) 56%); }
  .lhero.has-photo .lhero-content { padding-top: 50svh; }
  .lhero-title { text-shadow: none; }
}
@media (max-width: 380px), (max-height: 700px) and (max-width: 899px) {
  .lhero.has-photo .lhero-media { height: 46svh; }
  .lhero.has-photo .lhero-content { padding-top: 44svh; }
}
/* Мероприятие: контакты организатора и получатель формы */
.org-list { display: grid; gap: .8rem; margin-top: 1rem; }
.org-list li { display: grid; gap: .2rem; }
.org-list a { font-family: var(--f-head); font-size: 1.3rem; color: var(--c-wine); overflow-wrap: anywhere; }
.form-recipient { color: var(--c-champagne); }

/* Новое главное фото (20.11): лицо ниже бегущей строки на телефонах */
@media (max-width: 899px) { .lhero.has-photo .lhero-media img { object-position: 60% 2%; } }

/* Отзывы: 3 ровные колонки на компьютере, 2 — на планшете, 1 — на телефоне */
.testimonials-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
.t-col { display: contents; }
.testimonials-grid .testimonial { margin-bottom: 0; }
@media (min-width: 700px) and (max-width: 1099px) { .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .t-col { display: grid; gap: var(--sp-5); align-content: start; } }
.testimonial blockquote p { margin: 0 0 .8em; }
.testimonial blockquote p:last-child { margin-bottom: 0; }

/* «Обо мне» → «В работе»: живые фото со смещением и плавным появлением */
.about-work .h2 { max-width: 22ch; margin-bottom: var(--sp-7); }
.aw-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aw-item { margin: 0; overflow: hidden; background: var(--c-beige-2); }
.aw-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.aw-item:hover img { transform: scale(1.04); }
.aw-1 { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.aw-1 img { object-position: 45% 8%; }
.aw-2 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.aw-3 { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.js .aw-item[data-reveal] { transition-delay: calc(var(--i) * 140ms); }
@media (min-width: 700px) {
  .aw-grid { grid-template-columns: 1.05fr 1.45fr .9fr; align-items: start; gap: var(--sp-5); }
  .aw-1, .aw-2, .aw-3 { grid-column: auto; }
  .aw-1 { aspect-ratio: 4 / 5; }
  .aw-2 { aspect-ratio: 4 / 3; margin-top: var(--sp-8); }
  .aw-3 { aspect-ratio: 3 / 4; margin-top: calc(var(--sp-8) * 2); }
}

/* 20.11: надпись VERA MEZINA приподнята — отступ снизу до следующего блока */
.lhero-name { transform: none; line-height: 1; padding-bottom: clamp(1.2rem, 3.5vw, 3rem); }

/* Слайдер «В работе» */
.vm-slider { position: relative; }
.vm-track { display: flex; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 calc((100% - min(86%, 760px)) / 2); outline: none; }
.vm-track::-webkit-scrollbar { display: none; }
.vm-slide { flex: 0 0 auto; margin: 0; height: clamp(320px, 62vh, 600px); max-width: 86%; scroll-snap-align: center; overflow: hidden; background: var(--c-beige-2); opacity: .45; transform: scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.vm-slide.is-current { opacity: 1; transform: none; }
.vm-slide img { height: 100%; width: auto; max-width: 100%; object-fit: cover; display: block; }
.vm-slider-nav { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-5); }
.vm-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-gold-line); background: transparent; color: var(--c-wine); font-size: 1.1rem; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.vm-arrow:hover { background: var(--c-wine); color: var(--c-white); }
.vm-count { font-family: var(--f-ui); font-size: .75rem; letter-spacing: .14em; color: var(--c-grey); min-width: 3.5rem; text-align: center; }
.vm-dots { display: flex; gap: .5rem; }
.vm-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--c-gold-line); cursor: pointer; transition: background .3s, transform .3s; }
.vm-dot.is-active { background: var(--c-wine); transform: scale(1.3); }
@media (max-width: 699px) { .vm-slide { height: 64vh; max-height: 520px; } .vm-dots { display: none; } .vm-track { padding: 0 7%; } }

@media (max-width: 699px) { .vm-dots { display: none; } }
@media (min-width: 700px) { .vm-dots { flex-wrap: wrap; max-width: 260px; } }

/* «Обо мне»: дипломы и сертификат маленькими карточками */
.creds { margin-top: var(--sp-7); }
.creds-title { font-family: var(--f-ui); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-champagne); opacity: .85; margin: 0 0 var(--sp-4); }
.creds-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.6rem); max-width: 720px; }
.creds-list li { display: flex; flex-direction: column; align-items: center; gap: .6rem; animation: vm-cred-float 5s ease-in-out calc(var(--i) * -1.2s) infinite; }
.cred { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 4px; border: 0; background: #FBF4EA; border-radius: 3px; cursor: zoom-in; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); transform: rotate(var(--r, -3deg)); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.creds-list li:nth-child(2) .cred { --r: 2.5deg; } .creds-list li:nth-child(3) .cred { --r: -1.5deg; } .creds-list li:nth-child(4) .cred { --r: 3.5deg; }
.cred img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 2px; }
.cred:hover, .cred:focus-visible { transform: rotate(0) translateY(-6px) scale(1.06); box-shadow: 0 22px 40px -16px rgba(0,0,0,.7); }
.cred-label { font-size: .68rem; line-height: 1.35; text-align: center; color: var(--c-text-dim); max-width: 18ch; }
@keyframes vm-cred-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .creds-list li { animation: none; } }
@media (max-width: 599px) { .cred-label { display: none; } .creds-list { gap: .7rem; } }
.cred-dialog { border: 0; padding: var(--sp-4); max-width: min(92vw, 900px); max-height: 92vh; background: #FBF4EA; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.cred-dialog::backdrop { background: rgba(30,6,12,.78); backdrop-filter: blur(3px); }
.cred-dialog img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; }
.cred-dialog p { margin: .8rem 0 0; text-align: center; font-size: .85rem; color: var(--c-grey); }
.cred-close { position: absolute; top: .3rem; right: .5rem; width: 40px; height: 40px; border: 0; background: rgba(251,244,234,.9); border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--c-wine); cursor: pointer; }

/* Телефон: фото в слайдере целиком, без обрезки */
@media (max-width: 699px) { .vm-track { align-items: center; } .vm-slide { height: auto; max-height: none; width: 86%; max-width: 86%; } .vm-slide img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; } }

/* Заголовки над слайдерами — по центру, ровнее по ширине */
.about-work .eyebrow { justify-content: center; text-align: center; }
.about-work .h2 { max-width: 30ch; margin-left: auto; margin-right: auto; text-align: center; text-wrap: balance; }
@media (max-width: 599px) { .about-work .h2 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); max-width: none; } }

/* Слайдер: текущее фото всегда по центру (отступы ставит JS по ширине трека) */
.vm-track.is-centered { padding-left: var(--vm-pad); padding-right: var(--vm-pad); }
.vm-slide { max-width: min(80vw, 900px); }
@media (max-width: 699px) { .vm-slide { width: 78vw; max-width: 78vw; } }
