/* ============================================================
   creators — landing  (точные значения из Figma)
   ============================================================ */
:root {
  --bg:      #121212;
  --accent:  #dbec60;
  --purple:  #bdb4fe;
  --pink:    #fec0e6;
  --ink:     #363636;   /* текст на цветных карточках */
  --faq:     #383636;   /* фон FAQ-карточек */
  --tariffs-bg: #ffffff;   /* блок тарифов — белый */
  --faq-bg:     #feb7e3;   /* блок FAQ — розовый */
  --footer-bg:  #383636;   /* подвал — тёмно-серый */

  --maxw:    1440px;
  --pad:     52px;       /* боковые поля → контент 1336px */
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ===================== HERO ===================== */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 812px;
  padding: 36px var(--pad) 40px;
}

.hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 44.8%;
  background: url('assets/hero.png') no-repeat right center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%);
          mask-image: linear-gradient(to right, transparent, #000 18%);
  pointer-events: none;
  z-index: 0;
}

.hero__bar { position: relative; z-index: 3; min-height: 78px; }
.bar__logo { position: absolute; top: 0; left: 0; width: 612px; display: flex; justify-content: center; }
.bar__logo img { height: 78px; width: auto; }
.bar__metarow { display: none; }
.bar__meta { display: none; font-size: 14px; color: rgba(255,255,255,.85); }

/* «Дарья by Богачук» — SVG из Figma, поверх фото */
.hero__script {
  position: absolute; z-index: 2;
  top: 110px; left: 458px;
  width: 330px; height: auto;
  pointer-events: none;
}

/* левая колонка — выравнивание по центру, как в макете (центр ≈ x362) */
.hero__content {
  position: relative; z-index: 2;
  width: 520px;
  margin: 150px 0 0 50px;
  text-align: center;
}
.hero__title {
  font-weight: 800;
  font-size: 47.45px;
  line-height: 53.79px;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__text {
  margin: 30px auto 0;
  max-width: 520px;
  font-weight: 500;
  font-size: 25.3px;
  line-height: 28.48px;
  color: #fff;
}
.badge {
  background: rgba(189, 180, 254, 0.72);
  color: #fff;
  font-weight: 500;
  border-radius: 0;
  padding: 2px 9px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.42;
}
.hero__cta { margin-top: 32px; }
/* стрелка — точный SVG из Figma, по координатам макета (@601,529) */
.hero__arrow { position: absolute; left: 601px; top: 529px; width: 49px; height: 76px; z-index: 2; pointer-events: none; }

.hero__meta {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}
.hero__meta span { margin: 0 6px; opacity: .6; }

.hero-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 357px; height: 68px;
  background: var(--accent);
  color: #121212;
  font-weight: 700;
  font-size: 19px;
  line-height: 29.43px;
  text-transform: uppercase;
  border-radius: 999px;
  transition: filter .2s ease, transform .15s ease;
}
.hero-btn:hover { filter: brightness(1.05); }
.hero-btn:active { transform: translateY(1px); }

/* ===================== SECTION TITLE ===================== */
.section-title {
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
}

/* ===================== TARIFFS (серый блок 2) ===================== */
.tariffs {
  position: relative;
  background: var(--tariffs-bg);
  padding: 52px 0 90px;
}
.tariffs .section-title { color: #121212; }
/* фиолетовый огонёк на стыке 1-го и 2-го экранов */
.tariffs__flame {
  position: absolute;
  top: -34px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 60px;
  z-index: 2;
  pointer-events: none;
}
.tariffs .section-title { margin-bottom: 40px; }
.tariffs__nav { display: none; }

.tariffs__track {
  display: grid;
  grid-template-columns: repeat(2, 429px);
  gap: 24px;
  justify-content: center;
  align-items: start;
}

/* ---- card ---- */
.card {
  position: relative;
  width: 429px;
  border: 2px solid #fff;
  border-radius: 15.6px;
  padding: 38px 22.8px 26.96px;
  display: flex;
  flex-direction: column;
}
.card--purple { background: var(--purple); }
.card--pink   { background: var(--pink); }

.card__tag {
  position: absolute; top: 38px; right: 20px;
  display: inline-flex; align-items: center;
  height: 21.84px;
  background: #fff;
  color: #3d3d3d;
  font-weight: 700; font-size: 9.88px; line-height: 14.82px;
  text-transform: uppercase;
  border-radius: 3.28px;
  padding: 0 8.32px;
  white-space: nowrap;
}
.card__name {
  font-weight: 800; font-size: 20.8px; line-height: 31.2px;
  text-transform: uppercase; color: #fff;
  padding-right: 70px;
}

/* desc quote box */
.quote {
  margin-top: 16.64px;
  background: rgba(255,255,255,.43);
  border-left: 7px solid #fff;
  border-radius: 6.24px;
  padding: 12.48px 29.12px 12.48px 29.12px;
}
.quote p {
  font-style: italic; font-weight: 400;
  font-size: 16.64px; line-height: 19.76px;
  color: var(--ink);
}
.quote b { font-weight: 600; font-style: italic; }

/* ribbon (card 3) */
.ribbon {
  align-self: flex-start;
  margin-top: 16px;
  background: var(--pink);
  color: #5a2b46;
  font-weight: 700; font-size: 12.48px; line-height: 18.72px;
  letter-spacing: .25px; text-transform: uppercase;
  border-radius: 8px;
  padding: 6px 14.55px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}

/* section headings inside card */
.card__h {
  font-weight: 800; font-size: 20.8px; line-height: 31.2px;
  text-transform: uppercase; color: #fff;
  margin-top: 18.72px;
}

/* program block: tab + white body */
.pblock { margin-top: 12.48px; }
.pblock__tab {
  display: inline-block;
  background: var(--accent);
  color: #434343;
  font-weight: 700; font-size: 12.48px; line-height: 18.72px;
  letter-spacing: .25px; text-transform: uppercase;
  padding: 9px 14.55px;
  border-radius: 10.4px 10.4px 0 0;
}
.pblock__body {
  background: #fff;
  border-radius: 0 10.4px 10.4px 10.4px;
  padding: 14.56px 14.56px 4.16px;
}

/* bullet list inside white body */
.blist li {
  position: relative;
  padding-left: 22.32px;
  font-weight: 500; font-size: 14.56px; line-height: 18.72px;
  color: var(--ink);
  margin-bottom: 10.4px;
}
.blist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 14px; height: 14px;
  background: url('assets/bullet.png') center/contain no-repeat;
}

/* included list (on colored card) */
.ilist { margin-top: 14.56px; margin-bottom: 24.96px; }
.ilist li {
  position: relative;
  padding-left: 0;
  font-weight: 600; font-size: 14.56px; line-height: 19.76px;
  color: #fff;
  margin-bottom: 10.4px;
}
.ilist li::before { display: none; }
.ilist--lead b { display: block; color: var(--accent); font-weight: 700; }

/* card CTA */
.card-btn {
  display: flex; align-items: center; justify-content: center;
  height: 45.76px;
  margin-top: auto;        /* прижата к низу карточки */
  padding-top: 0;
  flex: none;
  background: var(--accent);
  color: #121212;
  font-weight: 700; font-size: 14.56px;
  letter-spacing: .58px; text-transform: uppercase;
  border-radius: 31.2px;
  transition: filter .2s ease, transform .15s ease;
}
.card-btn:hover { filter: brightness(1.05); }
.card-btn:active { transform: translateY(1px); }


/* ===================== FAQ ===================== */
.faq { background: var(--faq-bg); padding: 60px 0 72px; }
.faq .section-title { margin-bottom: 40px; color: #383636; }

.faq__grid { display: flex; gap: 36px; align-items: flex-start; }
.faq__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 19.5px; }

.faq__item { background: var(--faq); border-radius: 15px; }
.faq__item summary {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 27px;
  padding-right: 78px;
  min-height: 148.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num {
  display: block;
  color: var(--accent);
  font-weight: 700; font-size: 24px; line-height: 27px;
  margin-bottom: 13.5px;
}
.faq__q {
  display: block;
  color: #fff;
  font-weight: 600; font-size: 24px; line-height: 27px;
}
.faq__toggle {
  position: absolute; top: 27px; right: 27px;
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 3px;
}
.faq__toggle::before,
.faq__toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2.4px; background: #121212;
  transform: translate(-50%,-50%);
  transition: transform .25s ease;
}
.faq__toggle::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%,-50%) rotate(0); }

.faq__a {
  padding: 0 27px 27px;
  margin-top: -6px;
  font-weight: 400; font-size: 16px; line-height: 1.5;
  color: #c9c9c9;
}
.faq__a em { color: var(--accent); font-style: normal; }

/* ===================== FOOTER ===================== */
.footer { background: var(--footer-bg); padding: 40px 0 50px; }
.footer__line { height: 1px; background: rgba(255,255,255,.14); margin-bottom: 40px; }
.footer__cols { display: flex; justify-content: space-between; gap: 40px; }
.footer__col p { font-size: 15px; line-height: 1.45; color: #d6d6d6; margin-bottom: 14px; }
.footer__col a { color: var(--accent); }
.footer__col p a { text-decoration: underline; }
.footer__col--links { display: flex; flex-direction: column; gap: 14px; text-align: right; }
.footer__col--links a { color: rgba(255,255,255,.55); }
.footer__col--links a:hover { color: #fff; }

/* соцсети — две белые иконки одинакового размера */

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1180px) {
  .tariffs__track { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .card { width: 100%; }
}

@media (max-width: 960px) {
  .hero__photo { width: 72%; }
}

/* ----- MOBILE ----- */
@media (max-width: 760px) {
  :root { --pad: 18px; }

  /* ===== HERO: фото на весь фон, текст центрирован поверх (как в макете) ===== */
  .hero__inner {
    position: relative;
    min-height: 720px;
    max-width: none;
    padding: 22px 16px 40px;
    display: flex;
    flex-direction: column;
  }
  /* фон-фото */
  .hero__photo {
    position: absolute; inset: 0;
    width: auto; height: auto;
    background: url('assets/hero-mobile.png') no-repeat center top;
    background-size: cover;
    -webkit-mask-image: none; mask-image: none;
    z-index: 0;
  }
  .hero__photo::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 42%, rgba(18,18,18,.55) 70%, rgba(18,18,18,.92) 100%);
  }

  /* верхняя панель: строка 1 — старт + длительность (с линией), строка 2 — лого */
  .hero__bar {
    position: relative; z-index: 3;
    display: block; min-height: 0;
  }
  .bar__metarow {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }
  .bar__meta { display: block; font-size: 11px; font-weight: 700; color: #fff; }
  .bar__meta--right { text-align: right; }
  .bar__logo { position: static; width: auto; display: flex; justify-content: center; margin-top: 14px; }
  .bar__logo img { height: 36px; }

  /* скрипт «Дарья by Богачук» — по координатам макета (x10, y80) */
  .hero__script {
    position: absolute; z-index: 2;
    left: 8px; top: 76px;
    width: 152px; height: auto;
    margin: 0;
  }

  /* блок текста прижат к низу экрана, по центру */
  .hero__content {
    position: relative; z-index: 2;
    width: 100%; margin: auto 0 0;
    text-align: center;
  }
  .hero__title { font-size: 30px; line-height: 34px; }
  .hero__text {
    margin: 14px auto 0; max-width: 340px;
    font-size: 16px; line-height: 18px;
  }
  .hero__meta { display: none; }            /* на мобиле — в верхней панели */

  .hero__cta { position: relative; margin-top: 22px; }
  .hero-btn {
    width: 226px; height: 43px;
    margin: 0 auto;
    font-size: 15px;
  }
  .hero__arrow {
    display: block;
    position: absolute; left: auto; top: auto; right: 40px; bottom: 54px;
    width: 31px; height: 48px;
  }

  /* section titles — Unbounded, как в макете */
  .section-title { font-size: 24px; line-height: 1.2; }

  /* ===== TARIFFS: серый блок, свайп по одной карточке ===== */
  .tariffs { padding: 44px 0 52px; }
  .tariffs__flame { width: 50px; height: 50px; top: -28px; }
  .tariffs .section-title { margin-bottom: 18px; }
  .tariffs__nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 22px; }
  /* стрелки — тёмные на белом фоне блока тарифов */
  .navbtn {
    width: 50px; height: 50px; border-radius: 50%;
    border: 1.5px solid rgba(18,18,18,.35); background: transparent; color: #121212;
    display: grid; place-items: center; cursor: pointer;
    transition: background .2s;
  }
  .navbtn:active { background: rgba(18,18,18,.06); }
  .navbtn svg { width: 22px; height: 22px; }

  .tariffs__track {
    display: flex; grid-template-columns: none; max-width: none;
    justify-content: flex-start; margin: 0;
    gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    align-items: flex-start;
    padding: 14px 3.5vw 16px;
  }
  .tariffs__track::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 93vw; width: auto; scroll-snap-align: center; border-color: var(--accent); }

  /* faq single column */
  .faq { padding: 30px 0 50px; }
  .faq .section-title { margin-bottom: 26px; }
  .faq__grid { flex-direction: column; gap: 14px; }
  .faq__col { gap: 14px; }
  .faq__item summary { padding: 22px 56px 22px 22px; min-height: 0; }
  .faq__num { font-size: 20px; line-height: 23px; margin-bottom: 10px; }
  .faq__q { font-size: 19px; line-height: 23px; }
  .faq__toggle { top: 22px; right: 22px; }
  .faq__a { padding: 0 22px 22px; font-size: 15px; }

  /* ===== FOOTER: по центру, одной колонкой ===== */
  .footer { padding-bottom: 40px; }
  .footer__line { margin-bottom: 28px; }
  .footer__cols { flex-direction: column; align-items: center; gap: 22px; text-align: center; }
  .footer__col p { font-size: 13px; }
  .footer__col--links { text-align: center; align-items: center; }
}
