/* ============================================================
   Александр Верников — коуч
   Реализация макета «Сайт коуча.dc.html»
   ============================================================ */

:root {
  /* Палитра */
  --paper:        #F5F0E3;
  --cream:        #F1EBDC;
  --ink:          #241F1A;
  --ink-soft:     #3A342D;
  --muted:        #4A443C;
  --muted-2:      #6E675C;
  --sand:         #8A8175;
  --sand-light:   #B3A18E;
  --forest:       #14432F;
  --forest-dark:  #0C2E20;
  --blush:        #F0A9B0;
  --blush-light:  #F5BEC4;
  --maroon:       #3E1E21;
  --maroon-deep:  #2A1416;

  /* Шрифты */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Literata', Georgia, 'Times New Roman', serif;
  --font-ui:      'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Ритм */
  --header-h:  74px;
  --max-w:     1400px;
  --gutter:    clamp(24px, 4.5vw, 72px);
  /* Внешний отступ: прижимается к краю, пока контент не упрётся в --max-w */
  --pad-x:     max(var(--gutter), calc((100% - var(--max-w)) / 2));

  --ease:      cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--forest); }

img { display: block; max-width: 100%; }

::selection { background: var(--blush); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 14px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  color: var(--paper);
}


/* ── Общие элементы ──────────────────────────────────────── */

.eyebrow {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}
.eyebrow--on-blush { color: rgba(42, 20, 22, 0.6); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease,
              color 220ms ease, transform 220ms ease;
}
.btn--sm { padding: 10px 18px; font-size: 13px; letter-spacing: 0.01em; }

.btn--forest { background: var(--forest); color: var(--paper); }
.btn--forest:hover { background: var(--forest-dark); color: var(--paper); transform: translateY(-2px); }
.btn--sm.btn--forest:hover { transform: translateY(-1px); }

.btn--ghost { border-color: rgba(36, 31, 26, 0.28); color: var(--ink); }
.btn--ghost:hover { border-color: var(--forest); background: rgba(20, 67, 47, 0.06); color: var(--forest); }

.btn--blush { background: var(--blush); color: var(--ink); font-size: 14px; padding: 14px 22px; justify-content: center; }
.btn--blush:hover { background: var(--blush-light); color: var(--ink); transform: translateY(-2px); }

/* Заголовок секции с подписью справа */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(36, 31, 26, 0.16);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.1;
}
.section-head__meta {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}
.section-head--rule {
  border-bottom: 0;
  border-top: 1px solid rgba(36, 31, 26, 0.16);
  padding-bottom: 0;
  padding-top: clamp(24px, 3.4vh, 40px);
  margin-top: clamp(8px, 1.4vh, 16px);
}


/* ── Шапка ───────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(clamp(20px, 4vw, 56px), calc((100% - var(--max-w)) / 2));
  background: rgba(245, 240, 227, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 31, 26, 0.1);
  font-family: var(--font-ui);
}

.brand {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.site-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
.site-nav a:hover { border-bottom-color: var(--forest); color: var(--forest); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sand);
}
.lang__current { color: var(--ink); border-bottom: 1px solid var(--ink); }
.lang__soon { opacity: 0.55; }


/* ── Секции ──────────────────────────────────────────────── */

section { position: relative; }

.snap { scroll-snap-align: start; }


/* ── Герой ───────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  align-items: stretch;
  column-gap: 0;
  padding-inline: max(0px, calc((100% - var(--max-w)) / 2));
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  left: -6%;
  bottom: -14%;
  width: clamp(240px, 30vw, 460px);
  aspect-ratio: 1 / 1;
  background: var(--blush);
  border-radius: 58% 42% 46% 54% / 52% 56% 44% 48%;
  opacity: 0.9;
  pointer-events: none;
}

.hero__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 120px var(--pad-x) 56px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 51px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-wrap: pretty;
  max-width: min(100%, 9.1em);
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(27, 99, 73, 0.92);
}

.hero__lede {
  margin: 0;
  max-width: 58ch;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__note {
  margin: 0;
  max-width: 54ch;
  padding-top: 6px;
  border-top: 1px solid rgba(36, 31, 26, 0.14);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-2);
}

.hero__media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 110px clamp(24px, 3.5vw, 56px) 48px 0;
}

.portrait {
  position: relative;
  margin: 0;
  width: min(100%, 560px);
  aspect-ratio: 7 / 8;
  max-height: 78vh;
  border-radius: 240px 240px 20px 20px;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
}
.portrait__badge {
  position: absolute;
  left: 0;
  bottom: clamp(18px, 4vh, 42px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(13px, 1.4vw, 18px) clamp(16px, 1.8vw, 24px);
  background: rgba(245, 240, 227, 0.94);
  color: var(--ink);
  border-radius: 0 6px 6px 0;
}
.portrait__badge-title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.15;
  color: var(--forest);
}
.portrait__badge-meta {
  font-family: var(--font-ui);
  font-size: clamp(12px, 0.9vw, 13px);
  letter-spacing: 0.02em;
  color: var(--muted);
}


/* ── С чем можно прийти ──────────────────────────────────── */

.topics {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 3.5vw, 48px);
  padding: clamp(96px, 9vh, 130px) var(--pad-x) clamp(56px, 7vh, 90px);
}

.topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(24px, 3vw, 56px);
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: 10px;
}
.topic-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 45px);
  line-height: 1.1;
  color: inherit;
}
.topic-card--forest { background: var(--forest); color: var(--cream); }
.topic-card--blush  { background: var(--blush);  color: var(--maroon); }

.topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.topic-list li {
  padding: 12px 4px;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.5;
  transition: background 200ms ease, padding-left 200ms ease;
}
.topic-card--forest .topic-list li { border-top: 1px solid rgba(241, 235, 220, 0.2); }
.topic-card--forest .topic-list li:last-child { border-bottom: 1px solid rgba(241, 235, 220, 0.2); }
.topic-card--forest .topic-list li:hover { background: rgba(241, 235, 220, 0.08); padding-left: 12px; }

.topic-card--blush .topic-list li { border-top: 1px solid rgba(62, 30, 33, 0.18); }
.topic-card--blush .topic-list li:last-child { border-bottom: 1px solid rgba(62, 30, 33, 0.18); }
.topic-card--blush .topic-list li:hover { background: rgba(62, 30, 33, 0.06); padding-left: 12px; }


/* ── Цитата ──────────────────────────────────────────────── */

.quote {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: clamp(96px, 9vh, 130px) max(clamp(24px, 6vw, 110px), calc((100% - var(--max-w)) / 2));
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.quote__mark {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 56px;
  line-height: 1;
  color: var(--blush);
}
.quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 68px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 30ch;
  text-wrap: pretty;
}
.quote__text em {
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--blush);
}


/* ── Как мы будем работать ───────────────────────────────── */

.formats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vh, 46px);
  padding: clamp(96px, 9vh, 130px) var(--pad-x) clamp(56px, 7vh, 90px);
}

.formats__lede {
  margin: 0;
  max-width: 52ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 29px);
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--forest);
  text-wrap: pretty;
}

.formats__offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.formats__intro { display: flex; flex-direction: column; gap: 22px; }
.formats__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.formats__intro p {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.6;
  color: var(--muted-2);
  text-wrap: pretty;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.6vw, 38px);
  background: var(--forest);
  color: var(--cream);
  border-radius: 10px;
}
.price-card__eyebrow {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 169, 176, 0.9);
}
.price-card__amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.9;
}
.price-card__meta {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(241, 235, 220, 0.82);
}
.price-card .btn { margin-top: 8px; }

.includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(18px, 2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.includes__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px solid var(--forest);
}
.includes__num {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sand-light);
}
.includes__item h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.18;
  color: var(--forest);
}
.includes__item p {
  margin: 0;
  font-size: clamp(12.5px, 0.9vw, 14px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}


/* ── Мой путь и подход ───────────────────────────────────── */

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 3vh, 30px);
  padding: clamp(64px, 8vh, 96px) var(--pad-x) clamp(18px, 2.4vh, 28px);
}
.about--second {
  padding-top: clamp(18px, 2.4vh, 28px);
  padding-bottom: clamp(32px, 5vh, 56px);
}

.about__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 24ch;
  text-wrap: pretty;
}
.about__title em { font-style: italic; color: var(--forest); }

.about__body {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.6vw, 44px);
  align-items: stretch;
  border-top: 1px solid rgba(36, 31, 26, 0.16);
  padding-top: clamp(14px, 2vh, 24px);
}
.about__body--reverse { border-top: 0; padding-top: 0; }

.notes {
  flex: 1 1 320px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vh, 26px);
}
.notes--reverse { justify-content: center; }
.notes--ruled {
  flex: 1 1 320px;
  max-width: none;
  justify-content: center;
  border-top: 1px solid rgba(36, 31, 26, 0.16);
  padding-top: clamp(14px, 2vh, 24px);
}

.note { display: flex; gap: 14px; }
.note__num {
  flex: 0 0 auto;
  padding-top: 4px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blush);
}
.note p {
  margin: 0;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.about__photo {
  flex: 0 1 340px;
  min-width: 260px;
  border-radius: 12px;
  overflow: hidden;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__photo--wide {
  aspect-ratio: 3 / 2;
  max-height: 34vh;
  align-self: flex-start;
}
.about__photo--wide img { object-position: 50% 30%; filter: saturate(0.9) contrast(1.03); }

.about__photo--tall {
  aspect-ratio: 3 / 4;
  max-height: 56vh;
}
.about__photo--tall img { object-position: 60% 20%; filter: saturate(0.85) contrast(1.02); }

.credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  margin: 0;
  padding-top: clamp(20px, 3vh, 36px);
  border-top: 1px solid rgba(36, 31, 26, 0.16);
  font-family: var(--font-ui);
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.credentials__logo {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: 0;
  color: var(--ink);
  transition: color 200ms ease;
}
.credentials__logo:hover { color: var(--forest); }


/* ── Попробовать коучинг ─────────────────────────────────── */

.cta {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(36px, 6vh, 80px);
  padding: clamp(88px, 11vh, 150px) var(--pad-x) clamp(48px, 6vh, 80px);
  background: var(--blush);
  color: var(--maroon-deep);
  overflow: hidden;
}

.cta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 4vw, 72px) clamp(36px, 5vw, 90px);
  align-items: start;
}

.cta__title {
  margin: -0.26em 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 20ch;
  text-wrap: pretty;
}
.cta__title em { font-style: italic; }

.cta__col { display: flex; flex-direction: column; gap: 22px; }
.cta__text {
  margin: 0;
  max-width: 466px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--maroon);
  text-wrap: pretty;
}
.cta__meta {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 20, 22, 0.7);
}
.cta__col .btn { align-self: flex-start; padding: 16px 28px; }

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 2px;
  border-top: 1px solid rgba(42, 20, 22, 0.28);
}
.contacts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(20px, 3.4vh, 34px) 4px;
  border-bottom: 1px solid rgba(42, 20, 22, 0.28);
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.05vw, 16px);
  transition: padding-left 220ms ease, background 220ms ease;
}
.contacts a:hover {
  padding-left: 16px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--maroon-deep);
}


/* ── Подвал ──────────────────────────────────────────────── */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--pad-x);
  background: var(--forest);
  color: rgba(241, 235, 220, 0.75);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.03em;
}


/* ── Появление при скролле ───────────────────────────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   700ms var(--ease) var(--reveal-delay, 0ms),
    transform 700ms var(--ease) var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }


/* ── Адаптив ─────────────────────────────────────────────── */

/* Скролл-снап только на больших экранах */
@media (min-width: 901px) {
  html { scroll-snap-type: y proximity; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  section { min-height: 0; }

  .hero { min-height: 0; }
  .hero__text { padding-top: 108px; }
  .hero__media { padding: 0 var(--gutter) 56px; justify-content: center; }
  .portrait { max-height: none; }

  .about__photo,
  .about__photo--wide,
  .about__photo--tall { max-height: none; flex-basis: 100%; }
}

@media (max-width: 700px) {
  /* Ручные переносы в заголовках рассчитаны на широкий экран */
  .hero__title br,
  .topic-card h3 br { display: none; }

  .hero__title { letter-spacing: -0.03em; max-width: 100%; }
  .about__body--reverse { flex-direction: column-reverse; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .btn { width: 100%; justify-content: center; }
  .cta__col .btn { align-self: stretch; }
}


/* ── Уважение к настройкам движения ──────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ── Печать ──────────────────────────────────────────────── */

@media print {
  .site-header, .skip-link, .hero__blob, .contacts { display: none; }
  body { background: #fff; }
  section { min-height: 0 !important; page-break-inside: avoid; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
