/* Feminine Strength — Martynova */
:root {
  --milk: #F8F4EC;
  --pink: #F3B9D3;
  --vanilla: #F5E9AE;
  --choc: #302B28;
  --sand: #D7CABE;
  --choc-soft: #5E544E;

  --serif: "Prata", Georgia, "Times New Roman", serif;
  --wide: "Unbounded", "Arial", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--milk);
  color: var(--choc);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--choc); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- star ---------- */
.star { display: inline-block; width: .7em; height: .7em; fill: currentColor; vertical-align: .05em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--milk) 92%, transparent);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.logo { font-family: var(--serif); font-size: 20px; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo .star { color: var(--pink); margin-left: 4px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-family: var(--wide); font-size: 12px; font-weight: 400;
  text-decoration: none; letter-spacing: .02em; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.nav .btn { padding: 10px 18px; }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--milk); padding: 24px var(--gutter) 32px;
    border-bottom: 1px solid var(--sand);
  }
  .nav.open a { font-size: 14px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--wide); font-size: 12px;
    background: none; border: 1px solid var(--choc); border-radius: 999px;
    padding: 8px 14px; color: var(--choc); cursor: pointer;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--wide); font-size: 13px; font-weight: 400; letter-spacing: .02em;
  background: var(--choc); color: var(--milk);
  border: 1px solid var(--choc); border-radius: 999px;
  padding: 15px 26px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--choc); }
.btn--ghost { background: transparent; color: var(--choc); }
.btn--ghost:hover { background: var(--choc); color: var(--milk); }
.btn--sm { padding: 10px 18px; font-size: 12px; }

.link {
  font-family: var(--wide); font-size: 13px; letter-spacing: .02em;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; }
h2 { font-size: clamp(38px, 6.4vw, 84px); letter-spacing: -.01em; }
h3 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
p { margin: 0 0 1em; max-width: 34em; }
.lead { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.55; }
.small { font-family: var(--wide); font-size: 12px; line-height: 1.6; letter-spacing: .01em; color: var(--choc-soft); }

/* ---------- photo placeholders ---------- */
.photo {
  position: relative; overflow: hidden;
  background: var(--sand);
  border-radius: 2px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo[data-label]::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--wide); font-size: 11px; color: var(--choc-soft);
}
.photo--pink { background: var(--pink); }
.photo--vanilla { background: var(--vanilla); }

/* ---------- cover (hero) ---------- */
.cover { padding: 8px 0 0; }
.masthead {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, min(8.6vw, 13vh), 122px);
  line-height: .95; letter-spacing: -.03em;
  margin: 0; white-space: nowrap;
}
.cover-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--choc); border-bottom: 1px solid var(--choc);
  padding: 10px 0; margin: 18px 0 28px;
}
.cover-meta span { font-family: var(--wide); font-size: 11px; letter-spacing: .02em; }
.masthead .star { width: .22em; height: .22em; color: var(--pink); vertical-align: .9em; margin-left: .04em; }

.cover-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }

/* фото на широкой панели: фон панели повторяет студийный фон снимка,
   края фото растворяются в нём — кажется, что кадр шире */
.cover-grid .photo--main {
  background: linear-gradient(#e9e4e5, #f0ebed);
  display: flex; justify-content: center; align-items: flex-end;
  aspect-ratio: 1 / 1;
}
.cover-grid .photo--main img {
  width: 100%; height: 100%; object-fit: cover;
}

.cover-side { display: flex; flex-direction: column; }

/* фраза поверх фото — в пустой светлой части кадра над головой */
.cover-grid .photo--main { position: relative; }
.cover-quote {
  position: absolute; top: 5%; right: 6%; left: 10%; margin: 0; max-width: none;
  font-family: var(--wide); font-weight: 300; font-style: italic;
  color: var(--choc-soft); text-align: right;
  font-size: clamp(10px, min(1.6vh, 2.9vw), 17px); line-height: 1.35;
}
.cover-intro { font-size: 20px; line-height: 1.55; margin-bottom: 18px; }
/* колонки «Онлайн» / «Офлайн»: заголовок сверху вровень с фото, кнопка внизу */
.cover-side, .cover-aside { display: flex; flex-direction: column; }
/* «Онлайн» / «Офлайн» — крупно и почти прозрачно, фоном за содержимым колонки */
.cover-side, .cover-aside { position: relative; isolation: isolate; }
.cover-col-title {
  position: absolute; top: -0.12em; left: -0.04em; z-index: -1;
  font-size: clamp(56px, min(5.2vw, 10.5vh), 110px); line-height: 1; letter-spacing: -.02em;
  color: var(--choc); opacity: .07;
  pointer-events: none; user-select: none; white-space: nowrap;
}
@media (max-width: 900px) {
  .cover-side, .cover-aside { padding-top: 44px; margin-top: 16px; }
}
.cover-offers .coverline:last-child { border-bottom: 0; }
.coverline { display: block; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.coverline b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; margin-bottom: 6px;
}
.coverline span { font-family: var(--wide); font-size: 12px; color: var(--choc-soft); line-height: 1.5; display: block; }
.coverline:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.cover-cta { align-self: flex-start; margin-top: 22px; }

/* «скоро» — тихий блок сбоку */
.cover-soon {
  display: grid; gap: 6px; margin-top: 28px;
  padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--vanilla) 55%, transparent);
}
.cover-soon-title { font-family: var(--wide); font-size: 11px; color: var(--choc-soft); }
.cover-soon a {
  font-family: var(--wide); font-size: 12px; line-height: 1.5; text-decoration: none;
  display: flex; gap: 8px; align-items: baseline;
}
.cover-soon a .star { width: 9px; height: 9px; color: var(--choc); flex: none; }
.cover-soon a:hover { text-decoration: underline; text-underline-offset: 4px; }


.cover-aside .coverline:last-child { border-bottom: 0; padding-bottom: 0; }
.cover-aside .coverline .btn { margin-top: 14px; }

/* анонс курса — тонкая полоса во всю ширину внизу первого экрана */
.announce {
  display: block; margin-top: 28px; background: var(--vanilla);
  text-decoration: none; color: var(--choc);
}
.announce-inner {
  display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap;
  padding-top: 13px; padding-bottom: 13px;
  font-family: var(--wide); font-size: 12px; line-height: 1.5;
}
.announce-tag { background: var(--choc); color: var(--vanilla); border-radius: 999px; padding: 3px 10px; font-size: 10px; }
.announce-text { flex: 1 1 280px; }
.announce-link { text-decoration: underline; text-underline-offset: 4px; }
.announce:hover .announce-link { text-decoration-thickness: 2px; }
.coverline--soon b .tag {
  display: inline-block; line-height: 1.4;
  font-family: var(--wide); font-size: 10px; vertical-align: middle;
  background: var(--vanilla); padding: 4px 8px; border-radius: 999px; margin-left: 6px;
}
@media (max-width: 900px) { .cover-grid .photo--main { order: -1; } }

/* на компьютере: текст слева, квадратное фото в центре, «скоро» справа — всё в один экран */
@media (min-width: 901px) {
  .cover { padding-bottom: 0; }
  .cover-meta { margin: 14px 0 22px; }
  /* обложка ровно в высоту экрана, плашка курса прижата к нижнему краю */
  .cover { min-height: calc(100svh - 64px); display: flex; flex-direction: column; }
  .announce { margin-top: auto; }
  .cover-grid { margin-bottom: 2.5vh; }
  .cover-grid { grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
  .cover-grid .photo--main {
    height: clamp(320px, calc(100svh - 64px - min(8.6vw, 13vh) - 165px - 2.5vh), 720px);
    width: auto;
  }
  .cover-side, .cover-aside { justify-content: space-between; }
  .cover-offers { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .cover-intro { font-size: clamp(16px, 2.2vh, 20px); }
  .coverline { padding: 1.4vh 0; }
  .coverline b { font-size: clamp(20px, 3vh, 28px); }
  .cover-soon { margin-top: 0; }
}



/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--pink { background: var(--pink); }
.section--vanilla { background: var(--vanilla); }
.section--choc { background: var(--choc); color: var(--milk); }
.section--choc .small { color: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 26em; }

/* ---------- doors ---------- */
.doors {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px);
  max-width: 920px; margin: 0 auto;
}
/* ширина двери привязана к высоте экрана: арка (3:4.6) + подпись помещаются в один экран */
.door {
  display: grid; gap: 22px; text-decoration: none;
  width: min(100%, max(240px, 42vh)); margin-inline: auto;
}
.door:focus-visible { outline: none; }
.door:focus-visible .doorway { outline: 2px solid var(--choc); outline-offset: 6px; }

/* проём: арка, внутри — шоколадная «комната» */
.doorway {
  position: relative; display: block;
  aspect-ratio: 3 / 4.6;
  border-radius: 999px 999px 0 0;
  background: var(--choc); color: var(--milk);
  perspective: 2600px;
  box-shadow: 0 0 0 10px var(--milk), 0 0 0 11px var(--sand);
}
.door-inside {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end;
  gap: 12px; padding: 0 9% 12%; text-align: right;
  border-radius: inherit; overflow: hidden;
}
.door-inside .small { color: var(--sand); }
.door-list { display: grid; gap: 4px; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.3; }

/* створка на петлях слева */
.door-leaf {
  position: absolute; inset: 0;
  border-radius: inherit;
  transform-origin: left center;
  transform: rotateY(0deg);
  transition: transform .9s cubic-bezier(.3,.7,.2,1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18% 12% 10%;
  box-shadow: inset -1px 0 0 color-mix(in srgb, var(--choc) 18%, transparent);
}
.door--pink .door-leaf { background: var(--pink); }
.door--vanilla .door-leaf { background: var(--vanilla); }
.door-title {
  position: relative; z-index: 1;
  font-size: clamp(17px, 2.7vh, 28px); line-height: 1.12; text-align: center; color: var(--choc);
}
/* филёнка — тонкая арка внутри створки */
.door-panel {
  position: absolute; inset: 7% 9% 6%;
  border: 1px solid color-mix(in srgb, var(--choc) 35%, transparent);
  border-radius: 999px 999px 0 0;
}
.door-knob {
  position: absolute; right: 9%; top: 56%;
  width: 18px; height: 18px; fill: var(--choc);
}

.door:hover .door-leaf,
.door:focus-visible .door-leaf,
.door.is-open .door-leaf { transform: rotateY(-76deg); }

.door-caption { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: start; }
.door-caption b { font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.door-caption .tag {
  font-family: var(--wide); font-size: 10px; vertical-align: middle;
  background: var(--vanilla); padding: 4px 8px; border-radius: 999px; margin-left: 6px;
}
.door:hover .link { text-decoration-thickness: 2px; }

@media (max-width: 640px) {
  .doors { grid-template-columns: 1fr; max-width: 340px; gap: 56px; }
}

/* секция дверей: заголовок + обе двери в один экран */
.doors-section { padding: 24px 0 clamp(72px, 10vw, 140px); scroll-margin-top: 64px; }
.doors-section h2 { font-size: clamp(32px, 6vh, 64px); }
.doors-section .lead { font-size: clamp(17px, 2.3vh, 21px); }
@media (min-width: 641px) {
  .doors-section {
    min-height: calc(100svh - 64px);
    display: flex; flex-direction: column; justify-content: center;
    padding: 3vh 0;
  }
  .doors-section .section-head { margin-bottom: 4vh; }
  .doors-section .door { width: min(100%, max(200px, 30vh)); gap: 1.8vh; }
  .doors-section .door-caption b { font-size: clamp(18px, 2.6vh, 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .door-leaf { transition: none; }
}

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story .photo { aspect-ratio: 3 / 4; }
.story blockquote {
  margin: 0 0 32px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2;
}
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* ---------- facts (who it's for) ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.fit h3 { margin-bottom: 20px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { padding: 14px 0 14px 28px; border-top: 1px solid var(--sand); position: relative; }
.fit li .star { position: absolute; left: 0; top: 1.25em; color: var(--choc); width: 12px; height: 12px; }
.fit--no li .star { color: var(--sand); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- results ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result .photo { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.result p { font-size: 16px; }
@media (max-width: 760px) {
  .results { grid-template-columns: 1fr; }
}

/* ---------- offers (work with me) ---------- */
.offers { display: grid; gap: 0; }
.offer {
  display: grid; grid-template-columns: 2fr 3fr 1.2fr; gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--choc); align-items: start;
}
.offer:last-child { border-bottom: 1px solid var(--choc); }
.offer ul { margin: 0; padding-left: 1.1em; }
.offer li { margin-bottom: 6px; }
.offer .price { font-family: var(--wide); font-size: 13px; }
.offer .price b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 6px; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--choc); padding-top: 16px; font-size: 17px; }
.steps li::before { content: counter(s); display: block; font-size: 44px; line-height: 1; margin-bottom: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--choc); }
.faq details:last-child { border-bottom: 1px solid var(--choc); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px;
  font-family: var(--wide); font-weight: 300; font-size: 24px;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; }

/* ---------- form ---------- */
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--wide); font-size: 12px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 18px; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid currentColor;
  padding: 8px 0; border-radius: 0; width: 100%;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.section--choc .btn { background: var(--pink); color: var(--choc); border-color: var(--pink); }
.section--choc .btn:hover { background: transparent; color: var(--pink); }
.form-note { min-height: 1.6em; }
@media (max-width: 760px) { .apply { grid-template-columns: 1fr; } }

/* ---------- waitlist strip ---------- */
.waitlist { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.waitlist input:not([type="checkbox"]) {
  flex: 1 1 220px; font: inherit; font-size: 17px; color: var(--choc);
  background: var(--milk); border: 1px solid var(--choc); border-radius: 999px; padding: 13px 22px;
}

/* ---------- consent checkbox ---------- */
.consent {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  font-family: var(--wide); font-size: 11px; line-height: 1.6;
}
.consent input {
  flex: none; appearance: none; width: 18px; height: 18px; margin: 1px 0 0;
  border: 1px solid currentColor; border-radius: 3px; background: transparent; cursor: pointer;
  display: grid; place-content: center;
}
.consent input::before {
  content: ""; width: 10px; height: 10px; transform: scale(0);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  background: currentColor; transition: transform .12s;
}
.consent input:checked::before { transform: scale(1); }
.consent a { text-underline-offset: 3px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.page-hero h1 { font-size: clamp(52px, 10vw, 148px); line-height: .92; letter-spacing: -.03em; margin-bottom: 32px; }
.page-hero h1 .star { width: .2em; height: .2em; color: var(--pink); vertical-align: .85em; }
.page-hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero-grid .photo { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- policy ---------- */
.policy .wrap { max-width: 820px; }
.policy h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 48px 0 16px; }
.policy p { font-size: 17px; max-width: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--choc); color: var(--milk); padding: 56px 0 40px; border-top: 1px solid color-mix(in srgb, var(--milk) 14%, transparent); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .logo { font-size: 28px; }
.site-footer .logo .star { color: var(--pink); }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer nav a { font-family: var(--wide); font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .small { color: var(--sand); }
.site-footer .legal {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--milk) 18%, transparent);
}
.site-footer .legal p { margin: 0; }
.site-footer .legal a { color: var(--milk); text-underline-offset: 3px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- one load moment: masthead letters rise ---------- */
@media (prefers-reduced-motion: no-preference) {
  .masthead, .page-hero h1 { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
}

/* ---------- курсор: обычный, а над кнопками и ссылками — объёмная розовая гантелька ---------- */
@media (hover: hover) and (pointer: fine) {
  html body :is(a, button, summary, label, select, .btn, .consent, .consent input, .nav-toggle, .door) {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cfilter id='s' x='-40%' y='-40%' width='180%' height='180%'%3E%3CfeGaussianBlur stdDeviation='1.2'/%3E%3C/filter%3E%3ClinearGradient id='p' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23FBDCEA'/%3E%3Cstop offset='.35' stop-color='%23F3B9D3'/%3E%3Cstop offset='1' stop-color='%23D6729D'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%239A8F89'/%3E%3Cstop offset='.5' stop-color='%234A423E'/%3E%3Cstop offset='1' stop-color='%236E6560'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(1.3 1.9)' filter='url(%23s)' opacity='.38'%3E%3Cg transform='translate(16 16) scale(.86) translate(-16 -16) rotate(45 16 16)'%3E%3Crect x='9' y='14.6' width='14' height='2.8' rx='1.4' fill='%23302B28'/%3E%3Crect x='3' y='9' width='7' height='14' rx='2.6' fill='%23302B28'/%3E%3Crect x='22' y='9' width='7' height='14' rx='2.6' fill='%23302B28'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(16 16) scale(.86) translate(-16 -16) rotate(45 16 16)'%3E%3Crect x='9' y='14.6' width='14' height='2.8' rx='1.4' fill='url(%23b)'/%3E%3Crect x='3' y='9' width='7' height='14' rx='2.6' fill='url(%23p)'/%3E%3Crect x='22' y='9' width='7' height='14' rx='2.6' fill='url(%23p)'/%3E%3Crect x='4.2' y='10.5' width='1.3' height='11' rx='.65' fill='%23fff' opacity='.55'/%3E%3Crect x='23.2' y='10.5' width='1.3' height='11' rx='.65' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3C/svg%3E") 7 7, pointer;
  }
  html body :is(input:not([type="checkbox"]), textarea) { cursor: text; }
}


/* кнопка листа ожидания у Дубая — в одну строку */
.cover-aside .cover-cta { white-space: nowrap; padding-left: 20px; padding-right: 20px; font-size: 12px; }

/* =========================================================
   Вариант обложки 2: текст слева, фото во всю высоту справа
   ========================================================= */
.cover--split { padding: 0; }
.split { display: grid; grid-template-columns: 1fr; }
.split-text { padding: 8px var(--gutter) 32px; }
.split-photo { position: relative; order: -1; aspect-ratio: 4 / 5; background: #ece7e9; overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 70%; }
.split-quote {
  position: absolute; top: 5%; right: 6%; margin: 0; max-width: none; text-align: right;
  font-family: var(--wide); font-weight: 300; font-style: italic; color: var(--choc-soft);
  font-size: clamp(10px, 2.9vw, 15px); line-height: 1.4;
}
.cover--split .masthead { white-space: normal; line-height: .92; font-size: clamp(48px, 14vw, 140px); margin-top: 16px; }
.cover--split .masthead { position: relative; }
.cover--split .masthead .star { position: absolute; vertical-align: 0; margin-left: .08em; margin-top: .05em; }
.split-sub {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; max-width: none;
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--choc);
  font-family: var(--wide); font-size: 12px; letter-spacing: .02em;
}
.split-sub .star { width: 10px; height: 10px; color: var(--pink); }
.split-cols { display: grid; gap: 36px; margin-top: 28px; }
.split-col { display: flex; flex-direction: column; }
.split-col-title {
  font-size: clamp(30px, 4.4vh, 44px); line-height: 1; color: var(--choc); opacity: .14;
  margin-bottom: 4px;
}
.split-col .coverline:last-of-type { border-bottom: 0; }
.split-cta { align-self: flex-start; margin-top: 18px; white-space: nowrap; }
.split-col .btn--ghost.split-cta { padding-left: 20px; padding-right: 20px; font-size: 12px; }

@media (min-width: 901px) {
  .cover--split { height: calc(100svh - 64px); min-height: 560px; display: flex; flex-direction: column; }
  .split { flex: 1; grid-template-columns: 1fr 42vw; min-height: 0; }
  .split-text {
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 2vh clamp(28px, 4vw, 64px) 3vh max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .split-photo { order: 0; aspect-ratio: auto; height: auto; }
  .split-photo img { position: absolute; inset: 0; }
  .split-quote { font-size: clamp(11px, 1.6vh, 16px); }
  .cover--split .masthead { font-size: clamp(52px, min(7vw, 11vh), 140px); margin-top: 0; }
  .split-cols { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: 0; }
  .split-col .coverline { padding: 1.2vh 0; }
  .split-col .coverline b { font-size: clamp(19px, 2.8vh, 26px); }
  .cover--split .announce { margin-top: 0; }
}

/* =========================================================
   Вариант обложки 3: фото в арке, голова выходит за край
   ========================================================= */
.split-photo--arch { background: transparent; display: flex; align-items: center; justify-content: center; overflow: visible; padding: 12px 0; }
.breakout { position: relative; height: 100%; aspect-ratio: 1122 / 1402; max-width: 100%; }
.breakout img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* арка-окно: фото видно только внутри */
.breakout-photo { clip-path: inset(34% 8% 0 8% round 1000px 1000px 0 0); }
/* розовая арка-тень со сдвигом */
.breakout-bg {
  position: absolute; top: 37%; left: 3%; right: 13%; bottom: 0;
  border-radius: 1000px 1000px 0 0; background: var(--pink);
}
/* вырезанный силуэт показываем только сверху — голова и волосы выходят над аркой */
.breakout-cut { clip-path: inset(0 0 38% 0); }
.split-photo--arch .split-quote { top: 17%; right: 5%; }
@media (max-width: 900px) {
  .split-photo--arch { aspect-ratio: 4 / 5; padding: 24px 0 0; }
}


/* ---------- кнопка «написать в Telegram» вместо формы ---------- */
.tg-cta { display: grid; gap: 14px; justify-items: start; align-content: center; }
.tg-cta .small { max-width: 30em; margin: 0; }
.btn--tg { font-size: 14px; padding: 18px 30px; }

/* мобильная обложка: сначала имя и подпись, потом фото, потом онлайн/офлайн */
@media (max-width: 900px) {
  .split-text { display: contents; }
  .cover--split .masthead { order: 1; margin: 12px var(--gutter) 0; }
  .split-sub { order: 2; margin: 14px var(--gutter) 0; }
  .split-photo { order: 3; }
  .split-cols { order: 4; margin: 8px 0 0; padding: 0 var(--gutter) 32px; }
}
@media (max-width: 900px) {
  .split-photo--arch { margin-top: -24px; }
  .split-photo--arch .split-quote { top: 9%; }
}


/* метка «скоро» в меню у «Сам себе тренер» */
.nav-tag {
  display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px;
  background: var(--vanilla); color: var(--choc);
  font-family: var(--wide); font-size: 9px; line-height: 1.2; letter-spacing: .02em;
  vertical-align: 2px; text-decoration: none;
}

/* двери одинакового размера; метка «скоро» справа от названия, а не под ним */
.door { grid-template-columns: minmax(0, 1fr); }
.doorway { width: 100%; min-width: 0; }
.door-inside, .door-leaf { min-width: 0; }
.door-caption b { display: flex; align-items: center; gap: 8px; }
.door-caption .tag { margin-left: 0; flex: none; white-space: nowrap; }
.door-name { white-space: nowrap; }
@media (min-width: 641px) { .doors-section .door-caption b { font-size: clamp(17px, 2.4vh, 23px); } }

/* «Две двери…» и подзаголовок — одно под другим, а не в две колонки */
.doors-section .section-head { display: block; }
.doors-section .section-head .lead { margin-top: 16px; max-width: 34em; }
@media (min-width: 1101px) and (max-width: 1280px) { .nav { gap: 20px; } }

/* ---------- «Работа со мной»: альбом с клиентками ---------- */
.album {
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
  aspect-ratio: 5 / 5.4;
}
.album-frame { margin: 0; position: relative; overflow: hidden; background: var(--sand); border-radius: 4px; }
.album-frame--tall { grid-row: 1 / 3; }
.album-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album--bw .album-frame img { filter: grayscale(1) contrast(1.05); }
.album-frame[data-label]::after {
  content: attr(data-label); position: absolute; left: 12px; bottom: 10px;
  font-family: var(--wide); font-size: 11px; color: var(--choc-soft);
}

/* ---------- «Работа со мной»: три плашки форматов ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 36px); border-radius: 24px; position: relative;
}
.plan--pink { background: var(--pink); }
.plan--vanilla { background: var(--vanilla); }
.plan--choc { background: var(--choc); color: var(--milk); }
.plan h3 { font-size: clamp(22px, 1.85vw, 30px); line-height: 1.1; white-space: nowrap; }
.plan-desc { font-size: 17px; line-height: 1.5; margin: 0; }
.plan-label { font-family: var(--wide); font-size: 11px; margin: 8px 0 0; opacity: .7; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li {
  position: relative; padding: 10px 0 10px 24px; font-size: 16px; line-height: 1.45;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.plan li .star { position: absolute; left: 0; top: 1.05em; width: 11px; height: 11px; }
.plan--choc li .star { color: var(--pink); }
.plan-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 14px; justify-items: start; }
.plan-price { margin: 0; font-family: var(--wide); font-size: 13px; }
.plan-price b { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-right: 4px; }
.plan-tag {
  align-self: flex-start; font-family: var(--wide); font-size: 10px; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px; background: var(--milk); color: var(--choc);
}
.plan--choc .plan-tag { background: var(--pink); }
.plan--choc .btn { background: var(--pink); color: var(--choc); border-color: var(--pink); }
.plan--choc .btn:hover { background: transparent; color: var(--pink); }
.plan .btn { white-space: nowrap; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}

/* цены в плашках форматов */
.plan-prices { display: grid; gap: 6px; }
.plan-prices p { margin: 0; font-family: var(--wide); font-size: 12px; line-height: 1.3; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-prices b { font-family: var(--serif); font-weight: 400; font-size: 28px; white-space: nowrap; }
.plan--choc .plan-prices p { color: var(--milk); }
.plan-prices .plan-rate { font-size: 10px; opacity: .65; margin-top: 2px; }
.door-text { display: block; width: 66%; font-size: clamp(12px, 1.6vh, 15px); line-height: 1.4; }
/* содержимое за дверью не заходит под открытую створку */
.door-inside { padding-left: 30%; }
.door-text { width: 100%; }
.door-list { font-size: clamp(14px, 2vh, 19px); }

/* ---------- карусель фото «тогда → сейчас» (листается пальцем и стрелками) ---------- */
.carousel { display: grid; gap: 14px; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  aspect-ratio: 3 / 4; border-radius: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 2px solid var(--choc); outline-offset: 4px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; background: var(--sand); }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide[data-label]::after { content: attr(data-label); position: absolute; left: 14px; bottom: 12px; font-family: var(--wide); font-size: 11px; color: var(--choc-soft); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--choc);
  background: transparent; color: var(--choc); font-size: 22px; line-height: 1; cursor: pointer;
}
.carousel-btn:hover { background: var(--choc); color: var(--milk); }
.carousel-btn:disabled { opacity: .3; pointer-events: none; }
.carousel-count { font-family: var(--wide); font-size: 12px; min-width: 3.5em; text-align: center; }

/* цены: крупно за тренировку / месяц, мелко — условия и итог */
.price-opt { display: grid; gap: 2px; }
.price-opt b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; white-space: nowrap; }
.price-opt .per { font-family: var(--wide); font-size: 12px; }
.price-opt small { font-family: var(--wide); font-size: 11px; line-height: 1.4; opacity: .75; }
.plan-prices { gap: 12px; }
.slide--fit img { object-fit: contain; }
.carousel-track { aspect-ratio: 1 / 1; }
