/* ===== Дизайн-токены ===== */
:root {
  --bg:        #ffffff;
  --ink:       #14130f;       /* почти чёрный текст */
  --muted:     #9c9b92;       /* приглушённый серо-оливковый подзаголовок */
  --accent:    #c2922f;       /* золото/янтарь — «денежный» акцент */
  --card:      #e9e8e2;       /* светлая карточка */
  --card-sage: #b8baa4;       /* оливковая карточка */
  --line:      #ececec;

  --radius:    22px;
  --radius-lg: 32px;
  --maxw:      560px;
  --pad:       20px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== База ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.accent { color: var(--accent); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: none;
  border-radius: 100px;
  padding: 17px 28px;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
  text-align: center;
}
.btn:active { transform: scale(.97); }

.btn--white { background: #fff; color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.btn--dark  { background: var(--ink); color: #fff; }
.btn--glass {
  background: rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.28);
}
.btn--sm    { padding: 11px 18px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

/* ===== Шапка ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 8px 16px 8px 8px;
}
.logo__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  border-radius: 50%;
  font-weight: 800;
}
.logo__text { font-weight: 800; letter-spacing: 1px; font-size: 16px; }

/* ===== Блок 1 — Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) 36px;
  color: #fff;
  background: #2b2b26 url('../assets/img/hero.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.75) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(38px, 11vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero__card {
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.hero__subtitle {
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.4;
}
.hero__subtitle b { font-weight: 800; }

/* ===== Блок 2 — Создатель ===== */
.creator { padding: 64px 0; }
.creator__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.creator__name { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.creator__role { font-size: 18px; color: var(--muted); font-weight: 400; max-width: 320px; }
.creator__photo {
  flex: 0 0 96px;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
}
.creator__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.creator__photo--empty { position: relative; }
.creator__photo--empty::after {
  content: 'фото';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--muted); font-size: 12px;
}
.creator__goal {
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.5px;
  text-align: center;
  margin-bottom: 36px;
}

/* ===== Блок 3 — Преимущества ===== */
.features { padding: 8px 0 56px; }
.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  margin-bottom: 18px;
}
.feature-card:nth-child(even) { background: #ededea; }
.feature-card__icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: clamp(80px, 22vw, 130px);
}
.feature-card__title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-card__text {
  font-size: 24px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
}

/* ===== Секция-заголовок «Асель даёт больше пользы» ===== */
.section-lead { padding: 40px 0 8px; }
.section-lead__eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-lead__title {
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
}

/* ===== Блок «Работай, где удобно» ===== */
.flexible { padding: 48px 0 56px; }
.flexible__title {
  font-size: clamp(32px, 8.5vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.flexible__title .accent { color: var(--accent); }
.flexible__sub {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.3;
}
.flexible__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #d8d9cf url('../assets/img/flexible.jpg') center/cover no-repeat;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 36px 24px;
  color: #fff;
}
.flexible__media::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 40%, rgba(0,0,0,.35));
}
.flexible__media-inner { position: relative; z-index: 2; }
.flexible__tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 10px 22px;
  margin-bottom: 12px;
}
.flexible__media-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.flexible__media-text { font-size: 18px; font-weight: 500; opacity: .92; }

/* ===== Форматы (Дом / Совмещай с работой) ===== */
.formats { padding: 8px 0 48px; }
.format-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  margin-bottom: 18px;
  background: #cfd0c6 center top/cover no-repeat;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 24px 32px;
}
.format-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.7) 100%);
}
.format-card > * { position: relative; z-index: 2; }
.format-card__title { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.format-card__text  { font-size: 18px; font-weight: 500; opacity: .92; line-height: 1.35; max-width: 360px; margin: 0 auto; }
.format-card--home    { background-image: url('../assets/img/format-home.jpg'); }
.format-card--combine { background-image: url('../assets/img/format-combine.jpg'); }

/* ===== Результаты — коллаж как на референсе ===== */
.results { padding: 40px 0 48px; overflow: hidden; }
.results__stage {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  height: 760px;
}
.results__title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  text-align: center;
  font-size: clamp(30px, 8.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.5px;
  z-index: 5;
}
/* Разбросанные фото */
.rphoto {
  position: absolute;
  border-radius: 16px;
  background: var(--card) center/cover no-repeat;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  z-index: 2;
}
.rphoto--1 { top: 2%;  left: 4%;   width: 39%; height: 27%; transform: rotate(-3deg); background-image: url('../assets/img/result-1.webp'); }
.rphoto--2 { top: 1%;  left: 47%;  width: 24%; height: 15%; transform: rotate(4deg);  background-image: url('../assets/img/result-2.webp'); }
.rphoto--3 { top: 16%; left: 0;    width: 20%; height: 14%; transform: rotate(2deg);  background-image: url('../assets/img/result-3.webp'); }
.rphoto--4 { bottom: 16%; left: 14%; width: 33%; height: 24%; transform: rotate(2deg);  background-image: url('../assets/img/result-4.webp'); }
.rphoto--5 { bottom: 9%;  right: 2%; width: 42%; height: 30%; transform: rotate(-3deg); background-image: url('../assets/img/result-5.webp'); }
.rphoto--6 { bottom: 12%; left: 50%; width: 22%; height: 15%; transform: rotate(3deg);  background-image: url('../assets/img/result-6.webp'); }
.rphoto--7 { bottom: 0;   left: 6%;  width: 34%; height: 24%; transform: rotate(-2deg); background-image: url('../assets/img/result-7.webp'); }

/* ===== Футер ===== */
.footer { padding: 40px 0 56px; }
.footer__copy {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
}

/* ===== Анимация появления ===== */
.feature-card, .format-card, .creator__goal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.is-visible { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .feature-card, .format-card, .creator__goal {
    opacity: 1; transform: none; transition: none;
  }
}

/* ===== Десктоп ===== */
@media (min-width: 640px) {
  .feature-card__icon { margin-bottom: 110px; }
}
