/* ============================================================
   Lena — «Один крок до зрушення» (Bottleneck Breaking)
   1:1 rebuild of the Figma frame "web" (1922 × 19412)
   Scale system: 1rem = 10 design px  (html font-size = 100vw/192.2)
   ============================================================ */

:root {
  --bg: #f6f8f8;
  --ink: #1d2b3a;
  --ink-soft: #37475a;
  --muted: #8e959b;
  --line: #d8dddf;
  --grey-card: #b9b8b4;
  --serif: "Merriweather", Georgia, serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: max(calc(100vw / 192.2), 4px); }
@media (min-width: 1990px) { html { font-size: 10.35px; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.9rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; }

/* ---------- shared ---------- */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 2.6rem;
  padding: 2.1rem 4.6rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s ease;
  border-radius: .6rem;
  letter-spacing: .02em;
}
.btn:hover { opacity: .88; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 6.4rem;
  letter-spacing: .06em;
  line-height: 1.15;
}

.muted { color: var(--muted); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: 122rem;
}
.hero__left {
  width: 51%;
  padding: 10rem 0 0 8rem;
}
.nav {
  display: flex;
  gap: 6.4rem;
  font-family: var(--mono);
  font-size: 2.5rem;
}
.nav a:hover { opacity: .65; }

.hero__title {
  margin-top: 24rem;
  font-weight: 400;
  font-size: 14rem;
  line-height: 1.04;
  letter-spacing: .015em;
}
.hero__title span { font-size: 9rem; font-weight: 400; }

.hero__sub {
  margin-top: 17rem;
  font-size: 3.4rem;
  line-height: 1.5;
  color: #7d848a;
}

.hero__left .btn { margin-top: 9rem; }

.hero__photo {
  position: absolute;
  left: 51%;
  right: 9rem;
  top: 8rem;
  height: 114rem;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-btn {
  position: absolute;
  top: 8.5rem;
  right: 5rem;
}

/* ---------- intro ---------- */

.intro { padding: 26rem 0 10rem; }
.intro__text {
  margin-left: 66rem;
  max-width: 103rem;
  font-size: 3rem;
  line-height: 1.5;
}
.intro__text p + p { margin-top: 1.8rem; }

/* ---------- anons ---------- */

.anons {
  display: flex;
  align-items: flex-start;
  gap: 9rem;
  padding: 16rem 0 14rem;
}
.anons__photo { width: 41.5%; flex: none; }
.anons__photo img { width: 100%; aspect-ratio: 795/787; object-fit: cover; }
.anons__body { padding-top: 4rem; padding-right: 8rem; }
.anons__body .h2 { margin-bottom: 8rem; }

.anons__item + .anons__item { margin-top: 10rem; }
.anons__date { font-weight: 700; font-size: 3rem; margin-bottom: 2rem; }
.anons__item h3 { font-weight: 700; font-size: 3.4rem; margin-bottom: 2.4rem; }
.anons__item p { font-size: 2.5rem; max-width: 78rem; color: var(--ink-soft); }
.anons__left {
  margin-top: 2.8rem;
  font-size: 3.2rem;
  letter-spacing: .08em;
}

/* ---------- ty tezh ---------- */

.ty-tezh { padding: 14rem 8rem 10rem; }
.ty-tezh__title { font-size: 8rem; letter-spacing: .02em; margin-left: 9rem; }

.ty-tezh__grid {
  margin: 10rem auto 0;
  max-width: 152rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.ty-tezh__cell {
  padding: 9rem 10rem;
  font-size: 3rem;
  line-height: 1.55;
}
.ty-tezh__cell:nth-child(odd) { border-right: 1px solid #c6ccd0; }
.ty-tezh__cell:nth-child(1),
.ty-tezh__cell:nth-child(2) { border-bottom: 1px solid #c6ccd0; }
.ty-tezh__cell p { max-width: 52rem; }
.ty-tezh__cell:nth-child(odd) p { margin-left: auto; margin-right: 6rem; }

/* ---------- duo photos ---------- */

.duo-photos {
  position: relative;
  margin-top: 14rem;
  height: 100rem;
}
.duo-photos__left {
  position: absolute;
  left: 0; top: 38rem;
  width: 62rem; height: 62rem;
}
.duo-photos__right {
  position: absolute;
  right: 0; top: 0;
  width: 108rem; height: 100rem;
}
.duo-photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- program ---------- */

.program { padding: 20rem 8rem 10rem; }
.program .h2 { margin-left: 9rem; }

.program__list { max-width: 150rem; margin: 12rem auto 0; }

.program__item { border-bottom: 1px solid var(--line); }
.program__item:first-child { border-top: 0; }

.program__head {
  display: flex;
  align-items: baseline;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 5.4rem 2rem 5.4rem 0;
  position: relative;
}
.program__num {
  font-size: 5.6rem;
  font-weight: 400;
  width: 9.4rem;
  flex: none;
}
.program__title {
  display: block;
  font-size: 4rem;
  font-weight: 400;
}
.program__sub {
  display: block;
  margin-top: 1.6rem;
  font-size: 3rem;
  color: var(--ink-soft);
}
.program__chevron {
  width: 4rem; height: 1.4rem;
  margin-left: auto;
  align-self: center;
  color: var(--muted);
  transition: transform .3s ease;
  flex: none;
}
.program__item.is-open .program__chevron { transform: rotate(180deg); }

.program__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s ease;
}
.program__content {
  padding: 0 18rem 6rem 9.4rem;
  font-size: 2.9rem;
  line-height: 1.55;
}
.program__content p + p { margin-top: 2rem; }

/* ---------- shift ---------- */

.shift {
  display: flex;
  gap: 10rem;
  padding: 18rem 0 8rem;
  align-items: flex-start;
}
.shift__photo { width: 24%; flex: none; }
.shift__photo img { width: 100%; aspect-ratio: 455/500; object-fit: cover; }
.shift__body { padding-top: 2rem; padding-right: 8rem; }
.shift__body .h2 { margin-bottom: 7rem; }

.shift__list { list-style: none; font-size: 2.9rem; line-height: 1.5; }
.shift__list li + li { margin-top: 2.6rem; }
.shift__list b { font-weight: 700; }
.shift__list .arr { font-family: var(--mono); padding: 0 .6rem; }
.shift__list .min { font-family: var(--mono); font-size: 2.2rem; }

/* ---------- mentor ---------- */

.mentor {
  display: flex;
  gap: 12rem;
  padding: 16rem 0 6rem;
  align-items: flex-start;
}
.mentor__photo { width: 38.5%; flex: none; }
.mentor__photo img { width: 100%; aspect-ratio: 740/1105; object-fit: cover; }
.mentor__body { max-width: 76rem; padding-top: 10rem; }
.mentor__body .h2 { margin-bottom: 7rem; }
.mentor__body p { font-size: 2.9rem; line-height: 1.55; margin-top: 3.4rem; }
.mentor__lead { margin-top: 0 !important; }

/* ---------- quote ---------- */

.quote { padding: 20rem 0 12rem; }
.quote__inner {
  margin: 0 auto;
  max-width: 152rem;
  font-size: 3rem;
  line-height: 1.55;
}
.quote__inner p + p { margin-top: 2.2rem; }
.quote__sign { margin-top: 6rem; font-weight: 700; font-size: 2.8rem; }

/* ---------- format ---------- */

.format { padding: 14rem 8rem 12rem; }
.format__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8rem;
}
.format__info { padding-left: 9rem; }
.format__online {
  margin-top: 5.4rem;
  font-size: 3rem;
}
.format__list {
  list-style: none;
  margin-top: 9rem;
  font-size: 2.9rem;
  line-height: 1.68;
}
.format__photo { width: 33%; flex: none; margin-top: 1rem; }
.format__photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

.format__levels-title {
  margin: 12rem 0 0 9rem;
  font-weight: 700;
  font-size: 3.8rem;
}
.format__levels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 7rem 0 0 9rem;
  max-width: 152rem;
}
.format__level { padding-right: 12rem; }
.format__level:first-child { border-right: 1px solid #c6ccd0; }
.format__level:last-child { padding-left: 6rem; padding-right: 0; }
.format__level h4 { font-weight: 700; font-size: 3.4rem; margin-bottom: 2.4rem; }
.format__level p { font-size: 2.9rem; }
.format__level .muted { font-size: 2.5rem; margin-top: 1rem; color: #6f7a82; }
.format__level--textured {
  background: var(--grey-card) url("../img/site/texture.jpg");
  background-size: cover;
  padding: 5rem 6rem !important;
  margin: -5rem 0;
}

/* ---------- contact ---------- */

.contact {
  display: flex;
  gap: 16rem;
  padding: 22rem 8rem 16rem 17rem;
}
.contact__name {
  font-weight: 400;
  font-size: 6.2rem;
  letter-spacing: .02em;
}
.contact__links {
  list-style: none;
  margin-top: 7rem;
  font-size: 2.5rem;
}
.contact__links li {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-top: 3rem;
}
.contact__links svg { width: 3.2rem; height: 3.2rem; color: var(--ink); flex: none; }
.contact__links a:hover { opacity: .65; }

.contact__form { width: 60rem; }
.field { display: block; }
.field + .field { margin-top: 4.6rem; }
.field__label { display: block; font-size: 3rem; }
.field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #b8bfc4;
  background: transparent;
  padding: 1.4rem 0 1.2rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--ink);
  border-radius: 0;
}
.field input::placeholder { color: #adb4ba; }
.field input:focus { outline: none; border-bottom-color: var(--ink); }

.contact__note {
  margin-top: 5rem;
  font-size: 2.5rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.contact__form .btn { margin-top: 4.6rem; }

/* ---------- cases ---------- */

.cases { padding: 10rem 0 6rem; }
.cases__head { padding-left: 26rem; }
.cases__head .h2 { font-size: 7.6rem; letter-spacing: .02em; }
.cases__sub { margin-top: 2.4rem; font-size: 3rem; color: var(--ink-soft); }

.cases__track {
  display: flex;
  gap: 8.6rem;
  margin-top: 12rem;
  padding: 0 0 4rem 17rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.cases__track::-webkit-scrollbar { display: none; }

.case { width: 71rem; flex: none; font-size: 2.9rem; line-height: 1.5; }
.case__photo { width: 100%; height: 71rem; margin-bottom: 6rem; }
.case__photo img { width: 100%; height: 100%; object-fit: cover; }
.case__name { font-weight: 400; font-size: 6rem; margin-bottom: 3.6rem; letter-spacing: .02em; }
.case__intro { margin-bottom: 5.6rem; }
.case__label {
  font-family: var(--mono);
  font-size: 3rem;
  margin: 5.6rem 0 3rem;
}
.case p + p { margin-top: 1.6rem; }
.case__result {
  margin-top: 5.4rem;
  background: var(--grey-card) url("../img/site/texture.jpg");
  background-size: cover;
  padding: 4rem 4.4rem 4.6rem;
}
.case__result-title { font-family: var(--mono); font-size: 3rem; margin-bottom: 2.6rem; }

.cases__note {
  margin-top: 10rem;
  text-align: center;
  font-size: 2.9rem;
  line-height: 1.55;
}
.cases__cta { text-align: center; margin-top: 7rem; }

/* ---------- faq ---------- */

.faq { padding: 18rem 8rem 8rem; }
.faq__title {
  margin-left: 13rem;
  font-weight: 400;
  font-size: 6.6rem;
  letter-spacing: .02em;
}
.faq__sub { margin-left: 13rem; margin-top: 2.4rem; font-size: 2.9rem; color: var(--ink-soft); }

.faq__list { max-width: 143rem; margin: 8rem 0 0 13rem; }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 4.8rem 1rem 4.8rem 0;
}
.faq__q { font-size: 3rem; font-weight: 700; }
.faq__chevron {
  width: 4rem;
  height: 1.4rem;
  color: var(--muted);
  flex: none;
  transition: transform .3s ease;
}
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }

.faq__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s ease;
}
.faq__content {
  padding: 0 14rem 5.4rem 0;
  font-size: 2.8rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.faq__content p + p { margin-top: 2rem; }

/* ---------- final ---------- */

.final { text-align: center; padding: 14rem 8rem 16rem; }
.final__text { font-size: 3rem; line-height: 1.6; }
.final .btn { margin-top: 8rem; }

/* ---------- footer ---------- */

.footer__pano { position: relative; height: 40rem; }
.footer__pano img { width: 100%; height: 100%; object-fit: cover; }
.footer__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 3rem 8rem;
  font-family: var(--mono);
  font-size: 2rem;
  color: rgba(255, 255, 255, .85);
  background: linear-gradient(transparent, rgba(10, 16, 22, .55));
}

/* ---------- sticky bar ---------- */

.sticky-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5rem;
  width: 152rem;
  max-width: calc(100vw - 4rem);
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 2.4rem 3rem 2.4rem 6.4rem;
  border-radius: .8rem;
  gap: 4rem;
  box-shadow: 0 1.2rem 4rem rgba(15, 25, 35, .35);
  z-index: 50;
}
.sticky-bar[hidden] { display: none; }
.sticky-bar__text {
  font-family: var(--mono);
  font-size: 2.9rem;
  margin-right: auto;
}
.sticky-bar__btn { padding: 1.7rem 3.6rem; font-size: 2.4rem; }
.sticky-bar__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 1rem;
}
.sticky-bar__close svg { width: 2.4rem; height: 2.4rem; display: block; }

/* ---------- mobile fallback ---------- */

@media (max-width: 760px) {
  html { font-size: calc(100vw / 76); }

  .hero { flex-direction: column; min-height: 0; }
  .hero__left { width: auto; padding: 6rem 4rem 0; }
  .nav { flex-wrap: wrap; gap: 3rem 4rem; }
  .hero__title { margin-top: 10rem; }
  .hero__photo { position: static; margin-top: 8rem; height: auto; }
  .hero__photo img { height: 90rem; }

  .intro__text { margin: 0 4rem; }
  .anons { flex-direction: column; padding: 10rem 0; }
  .anons__photo { width: 100%; }
  .anons__body { padding: 0 4rem; }

  .ty-tezh { padding: 8rem 4rem; }
  .ty-tezh__title { margin-left: 0; }
  .ty-tezh__grid { grid-template-columns: 1fr; }
  .ty-tezh__cell { border: none !important; border-bottom: 1px solid #c6ccd0 !important; padding: 5rem 0; }
  .ty-tezh__cell:nth-child(odd) p { margin: 0; }

  .duo-photos { height: auto; margin-top: 6rem; }
  .duo-photos__left { display: none; }
  .duo-photos__right { position: static; width: 100%; height: 60rem; }

  .program { padding: 10rem 4rem; }
  .program .h2 { margin-left: 0; }
  .program__content { padding: 0 2rem 5rem 0; }

  .shift, .mentor { flex-direction: column; padding: 8rem 4rem; gap: 6rem; }
  .shift__photo, .mentor__photo { width: 70%; }
  .shift__body, .mentor__body { padding: 0; }

  .quote__inner { padding: 0 4rem; }

  .format { padding: 8rem 4rem; }
  .format__info { padding-left: 0; }
  .format__top { flex-direction: column; }
  .format__photo { width: 80%; }
  .format__levels-title,
  .format__levels { margin-left: 0; }
  .format__levels { grid-template-columns: 1fr; gap: 6rem; }
  .format__level { border: none !important; padding: 0; }
  .format__level--textured { padding: 5rem !important; margin: 0; }

  .contact { flex-direction: column; padding: 10rem 4rem; gap: 8rem; }
  .contact__form { width: 100%; }

  .cases__head { padding-left: 4rem; }
  .cases__track { padding-left: 4rem; gap: 5rem; }
  .case { width: 84vw; }

  .faq { padding: 10rem 4rem; }
  .faq__title, .faq__sub, .faq__list { margin-left: 0; }
  .faq__content { padding-right: 0; }

  .sticky-bar { flex-wrap: wrap; padding: 2.4rem 3rem; }
}
