/* ============================================================
   Travel Mary — Сюрприз трип
   Premium dark-jungle travel-quest landing
   Single typeface: Manrope. Systematic, calm, cinematic.
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #07110C;
  --bg-soft:   #0A150F;
  --surface:   #0F1D16;
  --surface-2: #14271E;
  --line:      rgba(190, 210, 195, 0.10);
  --line-strong: rgba(190, 210, 195, 0.18);

  /* text */
  --text:       #EAF0EA;
  --text-dim:   #9BAA9F;
  --text-faint: #61716A;

  /* accent — muted brass, used sparingly */
  --gold:        #C8A877;
  --gold-bright: #E2C896;
  --gold-deep:   #8C7448;
  --jade:        #6FA888;

  --maxw: 1240px;
  --gutter: 40px;

  --font: "Manrope", "Satoshi", "Inter", system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --ease: cubic-bezier(.22, .7, .2, 1);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

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

/* film grain + vignette */
.tm-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.tm-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 8000;
  box-shadow: inset 0 0 300px 80px rgba(0,0,0,.7);
}

/* ============ TYPE SCALE ============ */
.tm-display {
  font-size: clamp(44px, 7.4vw, 116px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  background: none;
}
.tm-h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.tm-h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.tm-h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.tm-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-dim);
}
.tm-body { font-size: 17px; color: var(--text-dim); line-height: 1.7; }
.tm-small { font-size: 14px; color: var(--text-dim); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.gold  { color: var(--gold); }
.gold-b { color: var(--gold-bright); }

/* ============ LAYOUT ============ */
.tm-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.tm-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }

.tm-section { position: relative; padding: 120px 0; }
.tm-section.tight { padding: 88px 0; }

/* hairline divider between sections */
.tm-divider {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

.tm-sec-head { margin-bottom: 56px; }
.tm-sec-head .eyebrow { display: block; margin-bottom: 18px; }
.tm-sec-head.center { text-align: center; }
.tm-sec-head.center .eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; }
.tm-sec-head.center .eyebrow::before,
.tm-sec-head.center .eyebrow::after {
  content: ""; width: 40px; height: 1px; background: var(--gold); opacity: .5;
}

/* block index marker e.g. "Блок 3." */
.tm-block-tag {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-faint);
}
.tm-block-tag b { color: var(--gold); font-weight: 700; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  padding: 16px 28px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(5px); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 70%, var(--gold-deep));
  color: #14110A;
  border-color: rgba(226,200,150,.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 30px -12px rgba(200,168,119,.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 18px 40px -12px rgba(200,168,119,.65), 0 0 30px -8px rgba(200,168,119,.4);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255,255,255,.02);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(200,168,119,.06); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 20px 38px; font-size: 16px; }

/* ============ NAV ============ */
.tm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.tm-nav.scrolled {
  background: rgba(7,17,12,.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 14px var(--gutter);
}
.tm-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--text);
  text-decoration: none;
}
.tm-logo .mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  position: relative; flex-shrink: 0;
}
.tm-logo .mark::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px var(--gold);
}
.tm-logo .mark::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px solid rgba(200,168,119,.3);
}
.tm-logo small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--text-faint); margin-top: 1px; }
.tm-logo-img { height: 38px; width: auto; display: block; filter: drop-shadow(0 1px 8px rgba(0,0,0,.6)); }
.tm-footer .tm-logo-img { height: 42px; }
.tm-nav-links { display: flex; align-items: center; gap: 30px; }
.tm-nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none;
  transition: color .25s; letter-spacing: -0.005em; text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.tm-nav.scrolled .tm-nav-links a { text-shadow: none; }
.tm-nav-links a:hover { color: var(--gold-bright); }
@media (max-width: 920px) { .tm-nav-links .hide-sm { display: none; } }
@media (max-width: 600px) { .tm-nav-links .nav-cta { display: none; } }

/* floating mobile CTA (appears on scroll) */
.tm-fab {
  position: fixed; z-index: 1200;
  left: 50%; bottom: 18px;
  transform: translate(-50%, 140%);
  display: none; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  color: #14110A;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 70%, var(--gold-deep));
  border: 1px solid rgba(226,200,150,.5);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 34px -10px rgba(0,0,0,.6), 0 0 24px -8px rgba(200,168,119,.5);
  opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.tm-fab .arr { transition: transform .35s var(--ease); }
.tm-fab.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (max-width: 600px) { .tm-fab { display: inline-flex; } }

/* responsive two-column story blocks (Legend / Зачем это нужно) */
.tm-twocol { display: grid; gap: 56px; align-items: center; }
.tm-twocol--legend { grid-template-columns: 1fr 1.1fr; }
.tm-twocol--zachem { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 860px) {
  .tm-twocol { grid-template-columns: 1fr; gap: 22px; }
  .tm-twocol .tm-story-card { border-left: 0; padding: 0; }
}

/* ============ HERO ============ */
.tm-hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; overflow: hidden;
  padding: 140px var(--gutter) 120px;
}
.tm-hero-bg {
  position: absolute; inset: -8% -4%;
  background-size: cover; background-position: center 40%;
  filter: saturate(.96) contrast(1.02);
  z-index: 0;
}
.tm-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 74%, var(--bg));
}
/* top scrim so the logo + nav links always read clearly over the bright sky */
.tm-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 240px; z-index: 1;
  background: linear-gradient(180deg, rgba(7,17,12,.9) 0%, rgba(7,17,12,.5) 42%, rgba(7,17,12,0) 100%);
  pointer-events: none;
}
.tm-hero-inner { position: relative; z-index: 5; max-width: 1000px; }
.tm-hero .tm-display { margin: 26px 0 0; }
.tm-hero-subs {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 30px;
}
.tm-hero-subs .s1 { font-size: clamp(18px,1.8vw,24px); font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.tm-hero-subs .s2 { font-size: clamp(14px,1.2vw,17px); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.tm-hero-subs .s3 { font-size: clamp(16px,1.3vw,19px); color: var(--text-dim); max-width: 560px; margin: 12px auto 0; line-height: 1.5; }
.tm-hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

.tm-hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-faint);
}
.tm-hero-scroll .ln { width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), transparent); animation: tmDrip 2.4s var(--ease) infinite; }
@keyframes tmDrip { 0%,100%{opacity:.3; transform:scaleY(.7) translateY(-4px);} 50%{opacity:1; transform:scaleY(1) translateY(4px);} }

.layer { position: absolute; inset: 0; will-change: transform; pointer-events: none; }

/* ============ TRIP DETAILS PLASHKI ============ */
.tm-plashki {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.tm-plashka {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .35s var(--ease);
}
.tm-plashka:last-child { border-right: 0; }
.tm-plashka:hover { background: var(--surface-2); }
.tm-plashka .k { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.tm-plashka .v { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.15; }
.tm-plashka .v small { display: block; font-size: 13px; font-weight: 500; color: var(--text-dim); margin-top: 4px; letter-spacing: 0; }
@media (max-width: 880px) {
  .tm-plashki { grid-template-columns: repeat(2, 1fr); }
  .tm-plashka { border-bottom: 1px solid var(--line); }
  .tm-plashka:nth-child(2n) { border-right: 0; }
  .tm-plashka:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .tm-plashki { grid-template-columns: 1fr; }
  .tm-plashka { border-right: 0; padding: 22px 24px; }
  .tm-plashka:last-child { grid-column: auto; }
}

/* ============ FORM ============ */
.tm-form-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.tm-form-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5;
}
.tm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: end; }
.tm-form-grid .tm-form-submit { grid-column: 1 / -1; width: 100%; justify-content: center; margin-top: 6px; }
@media (max-width: 760px) { .tm-form-grid { grid-template-columns: 1fr; } }

.tm-field { display: flex; flex-direction: column; gap: 8px; }
.tm-field label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.tm-input {
  background: rgba(0,0,0,.3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font); font-size: 16px;
  padding: 15px 16px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.tm-input::placeholder { color: var(--text-faint); }
.tm-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,168,119,.12); }
.tm-input.err { border-color: #c2615a; }
.tm-field .hint { font-size: 12px; color: #c2887f; min-height: 14px; }

/* ============ STORY / QUOTE ============ */
.tm-story {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(200,168,119,.06), transparent 55%),
    var(--bg-soft);
}
.tm-story-card {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 40px;
}
.tm-narrative p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.6; color: var(--text); font-weight: 400; margin: 0 0 24px; }
.tm-narrative p:last-child { margin-bottom: 0; }
.tm-narrative .accent { color: var(--gold-bright); }

.tm-bigquote {
  text-align: center;
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}
.tm-bigquote em { font-style: normal; color: var(--gold-bright); }

/* ============ ROUTE ============ */
.tm-route { background: var(--bg); }
.tm-route-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 940px) { .tm-route-grid { grid-template-columns: 1fr; gap: 40px; } }

.tm-map-stage { position: relative; }
.tm-map-stage svg { width: 100%; height: auto; display: block; overflow: visible; }
.tm-map-cap { margin: 18px 2px 0; font-size: 13px; line-height: 1.5; color: var(--text-faint); letter-spacing: .01em; }

/* ===== route reveal stage (map centered, photo cards around) ===== */
.tm-rv-lead { margin: 16px auto 0; max-width: 540px; font-size: 15px; line-height: 1.5; color: var(--text-dim); }
.tm-rv-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(290px, 1.05fr) 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
  min-height: 560px;
}
.tm-rv-stage.locked { cursor: pointer; }
.tm-rv-col { display: flex; flex-direction: column; justify-content: center; gap: 26px; position: relative; z-index: 2; }
.tm-rv-mapwrap { position: relative; z-index: 3; padding: 0 4px; }
.tm-rv-mapwrap svg { width: 100%; height: auto; display: block; overflow: visible; aspect-ratio: 204 / 274; }

.tm-rv-card {
  position: relative;
  margin: 0; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.tm-rv-card .ph {
  height: 132px;
  background-size: cover; background-position: center;
  transition: filter .6s var(--ease), transform .6s var(--ease);
}
.tm-rv-stage.locked .tm-rv-card .ph { filter: blur(16px) brightness(.52) saturate(.85); transform: scale(1.12); }
.tm-rv-stage.unlocked .tm-rv-card:hover { border-color: var(--gold); transform: translateY(-3px); }

/* caption — hidden while locked */
.tm-rv-card figcaption { padding: 13px 16px 15px; transition: opacity .5s ease .1s, max-height .5s var(--ease); }
.tm-rv-card figcaption .t { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.tm-rv-card figcaption .d { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; line-height: 1.45; }
.tm-rv-stage.locked .tm-rv-card figcaption { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }

/* "нажми, чтобы узнать" hint over the blurred photo */
.tm-rv-lockhint {
  position: absolute; left: 0; right: 0; top: 0; height: 132px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .02em; color: var(--gold-bright);
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .45s var(--ease); pointer-events: none;
}
.tm-rv-lockhint .lk {
  width: 13px; height: 13px; border-radius: 3px;
  border: 1.5px solid var(--gold-bright); position: relative; margin-top: 5px;
}
.tm-rv-lockhint .lk::before {
  content: ""; position: absolute; left: 50%; top: -6px; transform: translateX(-50%);
  width: 8px; height: 8px; border: 1.5px solid var(--gold-bright); border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.tm-rv-stage.locked .tm-rv-lockhint { opacity: .92; }

/* freeform hand-drawn connectors */
.tm-conn { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: visible; }
.tm-conn path {
  stroke: var(--gold-bright); stroke-width: 1.5; stroke-opacity: .45;
  fill: none; stroke-linecap: round;
  transition: stroke-opacity .5s var(--ease);
}
.tm-conn .src { fill: var(--gold-bright); opacity: .8; }
.tm-conn .dst { fill: var(--gold-bright); opacity: 1; }
.tm-conn .dst-ring { stroke: var(--gold-bright); stroke-width: 1.1; stroke-opacity: .7; }
.tm-rv-stage.unlocked .tm-conn path { stroke-opacity: .72; }
.tm-rv-stage.unlocked .tm-conn .dst-ring { stroke-opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .tm-rv-stage.unlocked .tm-conn .dst-ring { animation: tmDstPulse 2.8s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes tmDstPulse { 0%, 100% { stroke-opacity: .8; } 50% { stroke-opacity: .25; } }

.tm-rv-foot { margin-top: 34px; display: flex; flex-direction: column; gap: 18px; }
.tm-unlock-bar {
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  background: rgba(255,255,255,.015); flex-wrap: wrap;
}
.tm-unlock-bar .txt { font-size: 14px; color: var(--text-dim); max-width: 62%; line-height: 1.5; }
.tm-rv-foot .tm-map-cap { margin: 0; max-width: 620px; }

@media (max-width: 760px) {
  .tm-rv-stage { grid-template-columns: 1fr; min-height: 0; gap: 16px; }
  .tm-rv-mapwrap { order: -1; max-width: 440px; margin: 0 auto 6px; }
  .tm-conn { display: none; }
  .tm-rv-card .ph, .tm-rv-lockhint { height: 170px; }
  .tm-unlock-bar .txt { max-width: 100%; }
}

/* cartographic contour map */
.tm-grat line { stroke: var(--gold); stroke-width: 0.4; stroke-opacity: 0.14; stroke-dasharray: 1.5 6; }
.tm-land path {
  fill: url(#tmLandFill);
  stroke: var(--gold-bright); stroke-width: 0.7; stroke-opacity: 0.95;
  stroke-linejoin: round; stroke-linecap: round;
}
.tm-leader line { stroke: var(--gold); stroke-width: 0.5; stroke-opacity: 0.7; }
.tm-mlabels text {
  fill: var(--gold-bright);
  font-family: 'Manrope', sans-serif; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  paint-order: stroke; stroke: var(--bg); stroke-width: 1.1px; stroke-linejoin: round;
}
.tm-compass .tm-comp-ring { fill: none; stroke: var(--gold); stroke-width: 0.4; stroke-opacity: 0.5; }
.tm-compass .tm-comp-n { fill: var(--gold-bright); }
.tm-compass .tm-comp-s { fill: var(--gold); opacity: 0.4; }
.tm-compass .tm-comp-lbl { fill: var(--gold); font-family: 'Manrope', sans-serif; font-size: 3.4px; font-weight: 700; letter-spacing: 0.08em; }

/* ============ EPISODES / MEDIA CARDS ============ */
.tm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .tm-grid-3 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.tm-media {
  display: block;
  position: relative; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .5s var(--ease), border-color .5s;
}
.tm-media:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.tm-media .thumb { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; filter: saturate(.85) brightness(.78); }
.tm-media .thumb::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(7,17,12,.85)); }
.tm-media .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 50%; z-index: 2;
  background: rgba(7,17,12,.5); border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: all .35s var(--ease);
}
.tm-media:hover .play { background: var(--gold); border-color: var(--gold); transform: translate(-50%,-50%) scale(1.08); }
.tm-media .play svg { fill: var(--text); margin-left: 3px; transition: fill .35s; }
.tm-media:hover .play svg { fill: #14110A; }
.tm-media .meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 20px; z-index: 2; }
.tm-media .meta .ep { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tm-media .meta .ti { font-size: 17px; font-weight: 600; color: var(--text); margin-top: 4px; }

/* ============ TESTIMONIALS ============ */
.tm-quotes-stack { display: flex; flex-direction: column; gap: 22px; max-width: 820px; margin: 0 auto; }
.tm-quote-card.wide { padding: 34px 38px; }
.tm-quote-card.wide .q { display: flex; flex-direction: column; gap: 14px; }
.tm-quote-card.wide .q p { margin: 0; font-size: 17px; line-height: 1.62; color: var(--text); text-wrap: pretty; }
.tm-monogram {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--gold-bright);
  background: var(--surface-2); border: 1px solid var(--gold-deep);
}
@media (max-width: 600px) { .tm-quote-card.wide { padding: 26px 22px; } }
.tm-quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px; display: flex; flex-direction: column; gap: 20px; height: 100%;
  transition: border-color .4s, transform .4s var(--ease);
}
.tm-quote-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tm-quote-card .q { font-size: 17px; line-height: 1.6; color: var(--text); flex: 1; }
.tm-quote-card .who { display: flex; align-items: center; gap: 14px; }
.tm-avatar { width: 46px; height: 46px; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; border: 1px solid var(--line-strong); }
.tm-avatar.lg { width: 58px; height: 58px; border: 1px solid var(--gold-deep); }
.tm-quote-card .who .nm { font-size: 15px; font-weight: 600; color: var(--text); }
.tm-quote-card .who .rl { font-size: 12px; color: var(--text-faint); }
.tm-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }

/* ===== YouTube Shorts shelf (Со мной путешествуют) — horizontal scroll ===== */
.tm-shorts {
  display: flex; gap: 16px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent;
}
.tm-shorts::-webkit-scrollbar { height: 6px; }
.tm-shorts::-webkit-scrollbar-track { background: var(--line); border-radius: 999px; }
.tm-shorts::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 999px; }
.tm-shorts > * { flex: 0 0 200px; scroll-snap-align: start; }
.tm-short {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
}
.tm-short-face {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  border: 0; background: none; cursor: pointer; display: block;
}
.tm-short-face .thumb {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .6s var(--ease);
}
.tm-short-face::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,17,12,.15), rgba(7,17,12,0) 32%, rgba(7,17,12,.55));
}
.tm-short-face:hover .thumb { transform: scale(1.06); }
.tm-short-face .tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-bright); background: rgba(7,17,12,.6); border: 1px solid var(--line-strong);
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.tm-short-face .tag.review { color: var(--jade); }
.tm-short-face .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(7,17,12,.5); backdrop-filter: blur(4px);
  border: 1px solid rgba(226,200,150,.5);
  display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.tm-short-face .play svg { fill: var(--gold-bright); margin-left: 3px; transition: fill .3s; }
.tm-short-face:hover .play { background: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.tm-short-face:hover .play svg { fill: #14110A; }
.tm-short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .tm-shorts > * { flex-basis: 168px; } }

/* ============ HOW IT WORKS TIMELINE ============ */
.tm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 880px) { .tm-steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 480px) { .tm-steps { grid-template-columns: 1fr; } }
.tm-step { padding: 0 28px; position: relative; }
.tm-step:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; right: 0; width: 100%; height: 1px;
  background: var(--line-strong);
}
@media (max-width: 880px) { .tm-step::after { display: none !important; } }
.tm-step .dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  position: relative; z-index: 2; margin-bottom: 24px;
}
.tm-step .st-t { font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.tm-step .st-d { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ============ PRICING ============ */
.tm-price-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 880px) { .tm-price-grid { grid-template-columns: 1fr; } }
.tm-price-left {
  padding: 48px; background: linear-gradient(160deg, var(--surface-2), var(--surface));
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--line-strong);
}
@media (max-width: 880px) { .tm-price-left { border-right: 0; border-bottom: 1px solid var(--line-strong); } }
.tm-price-amount { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.tm-price-amount .cur { color: var(--gold); }
.tm-price-per { font-size: 14px; color: var(--text-dim); margin-top: 12px; }
.tm-price-note { font-size: 13px; color: var(--text-faint); margin-top: 20px; line-height: 1.5; }
.tm-price-right { padding: 40px 48px; }
.tm-incl-h { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.tm-incl-h.yes { color: var(--jade); }
.tm-incl-h.no { color: #E0613A; margin-top: 28px; }
.tm-incl { display: flex; flex-direction: column; gap: 11px; }
.tm-incl li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); list-style: none; }
.tm-incl li .ic { flex-shrink: 0; margin-top: 3px; }
.tm-incl li > span { flex: 1; min-width: 0; }
.tm-incl.no li { color: var(--text-faint); }

/* ============ ABOUT ============ */
.tm-about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
@media (max-width: 940px) { .tm-about-grid { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin: 0 auto; } }
.tm-about-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.tm-about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.tm-about-photo .badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(7,17,12,.7); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 10px 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.tm-values { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.tm-value { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.tm-value .vi { color: var(--gold); margin-top: 2px; }
.tm-value .vt { font-size: 16px; font-weight: 600; color: var(--text); }
.tm-value .vd { font-size: 14px; color: var(--text-dim); margin-top: 2px; }

/* ============ FAQ ============ */
.tm-faq { max-width: 820px; margin: 0 auto; }
.tm-faq-item { border-bottom: 1px solid var(--line); }
.tm-faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; color: var(--text); font-family: var(--font);
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -0.01em;
  transition: color .25s;
}
.tm-faq-q:hover { color: var(--gold-bright); }
.tm-faq-ic { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.tm-faq-ic::before, .tm-faq-ic::after { content:""; position:absolute; background: var(--gold); transition: transform .35s var(--ease), opacity .35s; }
.tm-faq-ic::before { top: 10px; left: 0; width: 22px; height: 2px; }
.tm-faq-ic::after  { left: 10px; top: 0; width: 2px; height: 22px; }
.tm-faq-item.open .tm-faq-ic::after { transform: rotate(90deg); opacity: 0; }
.tm-faq-a { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.tm-faq-a .inner { padding: 0 4px 28px; font-size: 16px; color: var(--text-dim); line-height: 1.7; max-width: 680px; }

/* ============ FINAL CTA ============ */
.tm-final {
  position: relative; overflow: hidden; text-align: center;
  padding: 160px var(--gutter) 150px;
}
.tm-final-bg { position: absolute; inset: -8% -4%; background-size: cover; background-position: center; filter: brightness(.42) saturate(.85); z-index: 0; }
.tm-final-bg::after { content:""; position:absolute; inset:0; background: radial-gradient(ellipse at center, rgba(7,17,12,.18) 35%, rgba(7,17,12,.6) 85%, var(--bg)); }
.tm-final-inner { position: relative; z-index: 5; max-width: 880px; margin: 0 auto; }

/* ============ FOOTER / SOCIALS ============ */
.tm-footer { border-top: 1px solid var(--line); padding: 64px var(--gutter) 48px; background: var(--bg-soft); }
.tm-footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.tm-socials { display: flex; gap: 12px; }
@media (max-width: 720px) {
  .tm-footer-social { text-align: left !important; }
  .tm-footer-social .tm-socials { justify-content: flex-start !important; }
}
.tm-social {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  color: var(--text-dim); text-decoration: none; transition: all .3s var(--ease);
}
.tm-social:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(200,168,119,.06); transform: translateY(-3px); }
.tm-foot-bottom { max-width: var(--maxw); margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-faint); }

/* media-slot placeholder look (user fills) */
.tm-slot-note { font-size: 11px; color: var(--text-faint); letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; }

/* responsive gutter */
@media (max-width: 600px) { :root { --gutter: 22px; } .tm-section { padding: 80px 0; } .tm-form-card { padding: 30px; } .tm-price-left, .tm-price-right { padding: 32px; } }
