/* Лендинг MOFT Snap Tripod.
   Стили только этой страницы; переменные и базовые классы - из style.css. */

.tp { --pad: clamp(64px, 9vw, 130px); }

/* появление блоков при скролле; без JS и при prefers-reduced-motion - сразу видно */
.rise { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .3, 1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
}

/* ---------- Хиро ---------- */
.tp-hero {
  position: relative; min-height: min(880px, calc(100vh - 64px));
  display: flex; align-items: flex-end; overflow: hidden; background: #2b2a22;
}
/* кадр обрезан слева так, что телефон с триподом стоит в левой трети,
   а правая часть остаётся свободной под заголовок */
.tp-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 44%;
}
/* два слоя: снизу-вверх для фактов, справа-налево - чтобы заголовок читался
   поверх светлой части кадра */
.tp-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(270deg, rgba(18,15,10,.74) 0%, rgba(18,15,10,.36) 44%, rgba(18,15,10,0) 76%),
    linear-gradient(180deg, rgba(18,15,10,.5) 0%, rgba(18,15,10,.08) 32%, rgba(18,15,10,.74) 100%);
}
.tp-hero-in {
  position: relative; z-index: 2; width: 100%; color: #fff;
  padding: 0 24px clamp(44px, 6vw, 84px);
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.tp-eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.82); margin-bottom: 18px;
}
.tp-hero h1 {
  font-size: clamp(38px, 6.6vw, 82px); line-height: 1.03; letter-spacing: -.035em;
  max-width: 15ch; text-wrap: balance;
}
.tp-hero-sub {
  margin-top: 20px; max-width: 48ch; font-size: clamp(15.5px, 1.5vw, 19px);
  color: rgba(255,255,255,.88); line-height: 1.5;
}
.tp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tp-hero .tp-cta { justify-content: flex-end; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1ede7; }
.btn-ondark { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ondark:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.tp-facts {
  display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: clamp(20px, 4vw, 54px); margin-top: 38px;
  list-style: none; border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px;
}
.tp-facts b { display: block; font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -.02em; }
.tp-facts span { font-size: 13px; color: rgba(255,255,255,.72); }

/* ---------- Общие блоки ---------- */
.tp-sec { padding: var(--pad) 0; }
.tp-sec-dark { background: var(--ink); color: #fff; }
.tp-sec-soft { background: var(--surface); }
.tp-head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.tp-head h2 {
  font-size: clamp(29px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance;
}
.tp-head p {
  margin-top: 16px; font-size: clamp(15.5px, 1.6vw, 18.5px); color: var(--muted); line-height: 1.55;
}
.tp-sec-dark .tp-head p { color: rgba(255,255,255,.68); }
.tp-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--hl); margin-bottom: 14px;
}
.tp-h2 { font-size: clamp(29px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
.tp-lead { margin-top: 18px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.tp-sec-dark .tp-lead { color: rgba(255,255,255,.72); }

.tp-figure { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.tp-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-figure-tall { aspect-ratio: 3 / 4; }
.tp-cap { margin-top: 14px; text-align: center; font-size: 15px; color: var(--muted); }
.tp-note { margin-top: clamp(18px, 2.4vw, 28px); text-align: center; }

.tp-wide { border-radius: var(--r-lg); overflow: hidden; }
.tp-wide img { width: 100%; display: block; border-radius: var(--r-lg); }
.tp-wide figcaption { margin-top: 14px; text-align: center; font-size: 15px; color: var(--muted); }

/* Текст слева, вертикальное фото справа */
.tp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tp-note-list { margin-top: 26px; display: grid; gap: 14px; }
.tp-note-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.tp-note-list li b { flex: 0 0 auto; color: var(--hl); }

/* ---------- Три режима ---------- */
.tp-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.tp-mode { border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.tp-mode-wide { grid-column: 1 / -1; }
.tp-mode img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.tp-mode-wide img { aspect-ratio: 21 / 9; }
.tp-mode figcaption { padding: 18px 22px 22px; }
.tp-mode figcaption b { display: block; font-size: 18px; letter-spacing: -.02em; }

/* ---------- Схема углов ---------- */
.tp-angles {
  display: grid; grid-template-columns: 5fr 1fr 1fr; gap: clamp(16px, 2.4vw, 34px); align-items: start;
}
.tp-group { min-width: 0; }
.tp-group-name {
  display: block; text-align: center; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 14px; margin-bottom: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--line); position: relative;
}
/* «ножка» от подписи группы к ряду предметов - как в схеме MOFT */
.tp-group-name::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 1px; height: 12px; background: var(--line);
}
.tp-group-items { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.4vw, 18px); }
.tp-group:not(.tp-group-float) .tp-group-items { grid-template-columns: 1fr; }
.tp-angle { display: flex; flex-direction: column; align-items: center; }
.tp-angle picture { display: block; width: 100%; }
.tp-angle img {
  width: 100%; height: clamp(120px, 15vw, 190px); object-fit: contain; object-position: bottom;
  display: block; mix-blend-mode: multiply;
}
.tp-angle figcaption {
  margin-top: 12px; font-size: 13px; line-height: 1.35; color: var(--muted);
  text-align: center; text-wrap: balance;
}

/* ---------- Локатор ---------- */
.tp-findmy-hero { margin-bottom: clamp(24px, 3.4vw, 44px); }
.tp-findmy-hero img { width: 100%; max-width: 940px; margin: 0 auto; display: block; mix-blend-mode: multiply; }
.tp-findmy { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tp-findmy-img { border-radius: var(--r-lg); overflow: hidden; }
.tp-findmy-img img { width: 100%; display: block; }
.tp-feats { display: grid; gap: 4px; list-style: none; }
.tp-feats li { padding: 16px 0; border-top: 1px solid var(--line); }
.tp-feats li:first-child { border-top: 0; padding-top: 0; }
.tp-feats b { font-size: clamp(20px, 2.3vw, 27px); letter-spacing: -.025em; }
.tp-feats span { margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--hl); }
.tp-feats p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- Сценарии ---------- */
.tp-life { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.tp-life-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border-radius: var(--r-md); background: rgba(255,255,255,.06);
}
.tp-life-card figcaption {
  margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.4; text-wrap: balance;
}

/* ---------- Инженерия ---------- */
.tp-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.tp-spec { background: var(--surface); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); }
.tp-spec-img { border-radius: var(--r-md); overflow: hidden; background: #fff; margin-bottom: 20px; }
.tp-spec-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; padding: 6%; }
.tp-spec b { display: block; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.025em; }
.tp-spec p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- Три версии ---------- */
.tp-vers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 30px); margin-bottom: clamp(26px, 3.4vw, 44px); }
.tp-ver {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(16px, 2.2vw, 26px); text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; width: 100%;
  transition: border-color .2s, transform .2s;
}
.tp-ver:hover { border-color: var(--ink); transform: translateY(-3px); }
.tp-ver.on { border-color: var(--hl); }
.tp-ver-img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; margin-bottom: 16px; }
.tp-ver-name { font-size: clamp(16px, 1.8vw, 19px); font-weight: 600; letter-spacing: -.02em; }
.tp-ver-tag { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.4; min-height: 2.8em; }
.tp-ver-price { margin-top: 14px; font-size: clamp(18px, 2.1vw, 23px); letter-spacing: -.02em; }
.tp-ver-price small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tp-ver-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 14px; }
.tp-ver-dots i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.tp-ver-more { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--hl); }

.tp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tp-table th, .tp-table td { padding: 15px 14px; text-align: center; border-top: 1px solid var(--line); }
.tp-table thead th { border-top: 0; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.tp-table tbody th {
  text-align: left; font-weight: 500; color: var(--muted); font-size: 14.5px; white-space: nowrap;
}
.tp-table .yes { color: var(--hl); font-weight: 500; }
.tp-table .no { color: var(--muted); opacity: .6; }

/* ---------- Брендирование ---------- */
.tp-steps { margin-top: 30px; display: grid; gap: 20px; }
.tp-step { display: flex; gap: 16px; align-items: flex-start; }
.tp-step i {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 600; font-style: normal;
}
.tp-step b { font-size: 16.5px; }
.tp-step p { margin-top: 4px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.tp-zone { margin-top: 22px; text-align: left; }

/* ---------- Финальный CTA ---------- */
.tp-final { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tp-final .tp-figure { aspect-ratio: 4 / 3; }
.tp-price { margin: 24px 0 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tp-price b { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.035em; }
.tp-price span { font-size: 14px; color: rgba(255,255,255,.6); }
.tp-final-note { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; }
.tp-spec-txt { margin-top: 26px; font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.6); }

/* ---------- Липкая панель на мобильном ---------- */
.tp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.tp-sticky .btn { flex: 1; justify-content: center; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .tp-angles { grid-template-columns: 1fr; gap: clamp(26px, 5vw, 40px); }
  .tp-group-items, .tp-group:not(.tp-group-float) .tp-group-items { grid-template-columns: repeat(5, 1fr); }
  .tp-group:not(.tp-group-float) .tp-group-items { max-width: 200px; margin: 0 auto; grid-template-columns: 1fr; }
  .tp-findmy { grid-template-columns: 1fr; }
  .tp-specs { grid-template-columns: 1fr; }
  .tp-life { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tp-hero { min-height: min(720px, calc(100vh - 56px)); }
  .tp-hero-in { align-items: flex-start; text-align: left; }
  .tp-hero .tp-cta, .tp-facts { justify-content: flex-start; }
  .tp-hero-bg { object-position: 46% 50%; }
  .tp-split, .tp-final { grid-template-columns: 1fr; }
  .tp-figure-tall { aspect-ratio: 4 / 3; }
  .tp-modes { grid-template-columns: 1fr; }
  .tp-mode-wide img { aspect-ratio: 16 / 9; }
  .tp-vers { grid-template-columns: 1fr; }
  .tp-group-items { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .tp-facts { gap: 18px 26px; }
  .tp-sticky { display: flex; }
  body.tp { padding-bottom: 74px; }
}
@media (max-width: 460px) {
  .tp-life { grid-template-columns: 1fr; }
  .tp-group-items { grid-template-columns: repeat(2, 1fr); }
}
