/* =========================================================
   Первое путешествие с ИИ — лендинг
   Дизайн-система: глубокий navy, молочный, тёплый золотой.
   ========================================================= */

:root {
  --navy-950: #0a1420;
  --navy-900: #0d1a2b;
  --navy-800: #152a42;
  --navy-700: #1f3a58;

  --cream-50: #faf6ec;
  --cream-100: #f4ecdc;
  --cream-200: #ece0c8;

  --gold-300: #e2bd7c;
  --gold-500: #c8963e;
  --gold-600: #a97a2e;

  --ink: #22314a;
  --ink-soft: #4b5a71;
  --cream-text: #f3ecdd;
  --cream-text-soft: #c9d2de;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --radius: 18px;

  --shadow-soft: 0 20px 60px -25px rgba(10, 20, 32, .45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--font-head);
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: .75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Заголовки блоков / киккеры ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-600);
}

.eyebrow--light {
  color: var(--gold-300);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
}

.section-kicker__num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold-500);
  line-height: 1;
}

.section-kicker__num--gold {
  color: var(--gold-300);
}

.section-kicker__line {
  width: 34px;
  height: 1px;
  background: var(--gold-500);
  opacity: .6;
}

.section-kicker__label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.change .section-kicker__label,
.final .section-kicker__label {
  color: var(--cream-text-soft);
}

.h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-bottom: .6rem;
}

.h2--light {
  color: var(--cream-text);
}

.accent-text {
  color: var(--gold-500);
}

.h2--light .accent-text {
  color: var(--gold-300);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2.75rem;
}

.section-closing {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  text-align: center;
  margin-top: 3rem;
  color: var(--ink);
}

.section-closing--left {
  text-align: left;
  margin-top: 2.5rem;
}

.section-closing--gold {
  color: var(--cream-text);
  margin-top: 3.5rem;
}

.section-closing .accent-text {
  color: var(--gold-500);
}

.section-closing--gold .accent-text {
  color: var(--gold-300);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .03em;
  border-radius: 10px;
  padding: 1rem 1.9rem;
  font-size: .95rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 14px 30px -12px rgba(200, 150, 62, .55);
}

.btn--gold:hover {
  box-shadow: 0 18px 36px -12px rgba(200, 150, 62, .7);
}

.btn--ghost {
  background: transparent;
  color: var(--cream-text);
  border: 1px solid rgba(243, 236, 221, .45);
  padding: .7rem 1.3rem;
}

.btn--ghost:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.btn--small {
  font-size: .72rem;
  padding: .65rem 1.2rem;
}

.btn--large {
  padding: 1.2rem 2.6rem;
  font-size: 1rem;
}

.btn__arrow {
  transition: transform .2s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ---------- Хедер ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: transparent;
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 20, 32, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: .75rem 0;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--cream-text);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .02em;
}

.brand__mark {
  color: var(--gold-300);
}

.brand__text {
  white-space: nowrap;
}

@media (max-width:560px) {
  .brand__text {
    font-size: .85rem;
  }
}

/* ================= БЛОК 01 — HERO ================= */
.block {
  position: relative;
}

.hero {
  min-height: 100vh; /* фолбэк для браузеров без поддержки svh */
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 22, .92) 0%, rgba(8, 14, 22, .72) 32%, rgba(8, 14, 22, .25) 62%, rgba(8, 14, 22, .05) 100%),
    linear-gradient(0deg, rgba(8, 14, 22, .55) 0%, rgba(8, 14, 22, 0) 30%);
}

.hero__content {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  max-width: 760px;
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--cream-text);
  margin: 1rem 0 1.4rem;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--cream-text-soft);
  max-width: 32ch;
  margin-bottom: 2.4rem;
  padding-left: .9rem;
  border-left: 2px solid var(--gold-500);
}

.hero__actions {
  display: flex;
}

.scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(243, 236, 221, .55);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--gold-300);
  border-radius: 3px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  60% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@media (max-width:700px) {
  .scroll-hint {
    display: none;
  }
}

/* ================= БЛОК 02 — СТРАХ ================= */
.fear {
  display: flex;
  flex-direction: column;
  background: var(--cream-100);
}

.fear__photo {
  height: 52vh;
  min-height: 340px;
  overflow: hidden;
  background-image: url('../assets/8d1fc6a4-1d76-47d4-b2a1-bbd818561c45.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 20%;
}

.fear__content {
  padding: 3.2rem clamp(1.25rem, 6vw, 4.5rem) 3.6rem;
}

.fear__list {
  margin: 1.6rem 0 2rem;
  max-width: 44ch;
}

.fear__list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: .6rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.fear__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

.lead-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-600);
  max-width: 32ch;
}

@media (min-width:900px) {
  .fear {
    flex-direction: row;
    min-height: 100vh;
  }

  .fear__photo {
    width: 47%;
    height: auto;
    min-height: 0;
  }

  .fear__content {
    width: 53%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem clamp(2rem, 5vw, 5rem);
  }
}

/* ================= БЛОК 03 — КАРТА ПУТЕШЕСТВИЯ ================= */
.map {
  background: var(--cream-50);
  padding: 5.5rem 0 6rem;
}

.map__stages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.6rem 1.8rem;
  counter-reset: stage;
}

.map__stage {
  position: relative;
  padding-top: .4rem;
}

.map__icon {
  display: block;
  width: 100%;
  aspect-ratio: 307.2 / 220;
  min-height: 60px;
  background-image: url('../assets/014669ca-a5e3-40e6-9860-b1247cfaae45.webp');
  background-repeat: no-repeat;
  background-size: 500% 465.45%;
  background-position-y: 28.86%;
  margin-bottom: .6rem;
}

.map__icon--0 {
  background-position-x: 0%;
}

.map__icon--1 {
  background-position-x: 25%;
}

.map__icon--2 {
  background-position-x: 50%;
}

.map__icon--3 {
  background-position-x: 75%;
}

.map__icon--4 {
  background-position-x: 100%;
}

.map__dot {
  display: none;
}

.map__name {
  font-size: 1.2rem;
  margin-bottom: .35rem;
}

.map__desc {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.5;
  max-width: 30ch;
}

@media (min-width:700px) {
  .map__stages {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1100px) {
  .map__stages {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.6rem;
    position: relative;
  }

  .map__stages::before {
    content: "";
    position: absolute;
    top: calc(307.2px / 4.6545 * 1 + .6rem + 6px);
    left: 4%;
    right: 4%;
    height: 1px;
    background: var(--gold-500);
    opacity: .35;
  }
}

/* ================= БЛОК 04 — КАК ПРОХОДИТ ================= */
.steps {
  background: var(--cream-100);
  padding: 5.5rem 0 6rem;
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
}

.steps__photo {
  aspect-ratio: 1.32 / 1;
  min-height: 150px;
  border-radius: var(--radius);
  background-repeat: no-repeat;
  margin-bottom: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.steps__photo--0 {
  background-image: url('../assets/70a09caf-5454-4cde-855b-8b55df0ae6d2.webp');
  background-size: 316.7% 290.08%;
  background-position: 3.05% 37.71%;
}

.steps__photo--1 {
  background-image: url('../assets/block-04-experiment.webp');
  background-size: cover;
  background-position: center center;
}

.steps__photo--2 {
  background-image: url('../assets/70a09caf-5454-4cde-855b-8b55df0ae6d2.webp');
  background-size: 347.5% 290.08%;
  background-position: 90.49% 37.71%;
}

.steps__num {
  font-family: var(--font-head);
  color: var(--gold-500);
  font-size: 1.5rem;
  display: block;
  margin-bottom: .3rem;
}

.steps__name {
  font-size: 1.35rem;
  margin-bottom: .5rem;
}

.steps__desc {
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 36ch;
}

@media (min-width:900px) {
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ================= БЛОК 05 — О ПРОВОДНИКЕ ================= */
.guide {
  background: var(--navy-900);
  padding: 5.5rem 0 6rem;
  color: var(--cream-text);
}

.guide .section-kicker__label {
  color: var(--cream-text-soft);
}

.guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.guide__content .h2 {
  color: var(--cream-text);
  margin-bottom: 1.6rem;
}

.guide__p {
  color: var(--cream-text-soft);
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.guide__p--muted {
  margin-top: 1.6rem;
}

.guide__get-title {
  font-size: 1.1rem;
  color: var(--gold-300);
  margin: 2.1rem 0 1rem;
}

.guide__get-list {
  margin-bottom: .5rem;
}

.guide__get-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  color: var(--cream-text-soft);
}

.guide__get-list li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-500);
  font-size: .7rem;
  line-height: 1.6;
}

.guide .section-closing {
  color: var(--cream-text);
}

.guide__photo-wrap {
  position: relative;
  max-width: 480px;
}

.guide__photo {
  aspect-ratio: 690 / 710;
  min-height: 180px;
  border-radius: var(--radius);
  background-image: url('../assets/1142648c-cbdc-47ab-adec-a5f17b175609.webp');
  background-repeat: no-repeat;
  background-size: 222.6% 144.23%;
  background-position: 94.56% 19.11%;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 189, 124, .35);
}

.guide__badge {
  background: var(--cream-100);
  color: var(--ink);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  max-width: 340px;
  margin: -2.2rem auto 0;
  position: relative;
  box-shadow: var(--shadow-soft);
  font-size: .92rem;
  line-height: 1.5;
}

.guide__badge p span {
  display: block;
  color: var(--ink-soft);
  font-size: .85rem;
  margin-top: .15rem;
}

.guide__badge-check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

@media (min-width:960px) {
  .guide__grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 4rem;
  }

  .guide__badge {
    margin: -2.5rem 0 0 2rem;
  }
}

/* ================= БЛОК 06 — ЧТО ИЗМЕНИТСЯ ================= */
.change {
  background: var(--navy-950);
  color: var(--cream-text);
  padding: 5.5rem 0 6rem;
}

.change__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.change__intro {
  color: var(--cream-text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 36ch;
}

.change__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem 1.5rem;
}

.change__item h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--cream-text);
  margin-bottom: .4rem;
}

.change__item p {
  color: var(--cream-text-soft);
  font-size: .92rem;
  line-height: 1.5;
}

.change__icon {
  display: block;
  width: 78px;
  aspect-ratio: 307.2 / 165;
  min-height: 30px;
  background-image: url('../assets/1cd12448-5717-4725-aa4a-095f6115499f.webp');
  background-repeat: no-repeat;
  background-size: 500% 620.6%;
  background-position-y: 26.78%;
  margin-bottom: .9rem;
}

.change__icon--0 {
  background-position-x: 0%;
}

.change__icon--1 {
  background-position-x: 25%;
}

.change__icon--2 {
  background-position-x: 50%;
}

.change__icon--3 {
  background-position-x: 75%;
}

.change__icon--4 {
  background-position-x: 100%;
}

@media (min-width:700px) {
  .change__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .change__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1100px) {
  .change__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.6rem;
  }
}

/* ================= БЛОК 07 — ФИНАЛЬНЫЙ CTA ================= */
.final {
  background: var(--navy-900);
  color: var(--cream-text);
  display: flex;
  flex-direction: column-reverse;
  min-height: 100vh; /* фолбэк для браузеров без поддержки svh */
  min-height: 100svh;
}

.final__photo-wrap {
  position: relative;
  height: 44vh;
  min-height: 280px;
  overflow: hidden;
}

.final__photo {
  position: absolute;
  inset: 0;
  background-image: url('../assets/1ea819ba-d99a-428b-81ac-b80c911a6eab.webp');
  background-repeat: no-repeat;
  background-size: 262.1% auto;
  background-position: 100% 50%;
}

.final__photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--navy-900) 0%, rgba(13, 26, 43, 0) 35%);
}

.final__content {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  justify-content: center;
}

.final .h2 {
  margin-bottom: 1.1rem;
}

.final__subtitle {
  color: var(--cream-text-soft);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 32ch;
}

.final__note {
  color: var(--cream-text-soft);
  font-size: .88rem;
  margin-top: 1.4rem;
  line-height: 1.5;
}

@media (min-width:900px) {
  .final {
    flex-direction: row;
    align-items: stretch;
  }

  .final__photo-wrap {
    width: 46%;
    height: auto;
    min-height: 0;
  }

  .final__photo-fade {
    background: linear-gradient(90deg, var(--navy-900) 0%, rgba(13, 26, 43, 0) 22%);
  }

  .final__content {
    width: 54%;
    padding: 0 clamp(2rem, 5vw, 5rem);
  }
}

/* ================= ФУТЕР ================= */
.site-footer {
  background: var(--navy-950);
  color: var(--cream-text-soft);
  padding: 2rem 0;
  font-size: .82rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid rgba(226, 189, 124, .18);
  padding-top: 1.6rem;
}

/* ================= Общие секции: воздух ================= */
.block>.container {
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width:1100px) {

  .map,
  .steps,
  .guide,
  .change {
    padding-top: 7rem;
    padding-bottom: 7.5rem;
  }
}