/* ===== torenuliva.com ===== */

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

:root {
  --paper:   #f7f4f0;
  --card:    #ffffff;
  --card2:   #fcfaf7;
  --foot:    #ece6df;
  --ink:     #2a241f;
  --ink2:    #4c443c;
  --muted:   #756c62;
  --line:    #e3dcd3;
  --line2:   #cbc2b6;
  --acc:     #6f5440;
  --accd:    #523d2e;
  --accs:    #ece3da;
  --acct:    #f6f1ec;
  --warm:    #4e7f78;
  --warms:   #e2efed;
  --ok:      #2f6b45;
  --warn:    #96651a;

  --fhead: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --fbody: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r:   5px;
  --r2:  9px;
  --btn: 5px;
  --s1: 0 1px 2px rgba(0, 0, 0, .05);
  --s2: 0 8px 22px rgba(0, 0, 0, .09);
  --s3: 0 18px 44px rgba(0, 0, 0, .15);

  --head-h: 66px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: var(--paper);
  font-family: var(--fbody);
  font-size: 17px;
  line-height: 1.63;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--fhead);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -.012em;
  color: var(--ink);
}

::selection { background: var(--accs); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ===== сітка ===== */

.tr-wrap { max-width: 1090px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 30px); }
.tr-read { max-width: 705px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 30px); }
.tr-bleed {
  max-width: 1090px;
  margin: clamp(22px, 4vw, 34px) auto 0;
  padding: 0 clamp(16px, 5vw, 30px);
}
.tr-bleed > img { width: 100%; border-radius: var(--r2); background: var(--accs); }

.tr-rule { border: 0; border-top: 1px solid var(--line); margin: clamp(26px, 5vw, 42px) 0; }

[data-tr-rise].tr-pre { opacity: 0; transform: translateY(10px); }
[data-tr-rise].tr-in {
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.32, .72, 0, 1);
}

/* ===== ШАПКА ===== */

.tr-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 240, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line2);
}

.tr-top-row { height: var(--head-h); display: flex; align-items: center; gap: 16px; }

.tr-brand {
  font-family: var(--fhead);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: auto;
}
.tr-brand-text b { color: var(--acc); }

.tr-nav { display: flex; align-items: center; gap: 22px;  }
.tr-nav-link {
  font-family: var(--fhead);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  white-space: nowrap;
  transition: color .18s;
  font-size: 15px;
}
.tr-nav-link:hover { color: var(--acc); }
.tr-nav-link-on { color: var(--acc); font-weight: 700; border-bottom: 2px solid var(--warm); padding-bottom: 3px; }

.tr-ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink2);
  transition: background .18s, color .18s;
}
.tr-ico:hover { background: var(--accs); color: var(--accd); }
.tr-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.tr-cta {
  flex-shrink: 0;
  font-family: var(--fhead);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 17px;
  border-radius: var(--btn);
  transition: background .18s, color .18s, transform .18s;
  background: var(--acc); color: #fff;
}
.tr-cta:hover { background: var(--accd); }

.tr-ico-menu { display: none; }

@media (max-width: 920px) {
  .tr-nav { display: none; }
  .tr-ico-menu { display: grid; }
  .tr-top-row { gap: 8px; }
  .tr-brand { font-size: 18px; margin-right: auto; }
}
@media (max-width: 430px) { .tr-cta { display: none; } }

/* ===== бокова панель ===== */

.tr-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: 0 clamp(16px, 5vw, 30px) 30px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.32, .72, 0, 1), visibility .32s;
  overflow-y: auto;
}
.tr-panel-open { transform: none; visibility: visible; }

.tr-panel-head {
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.tr-panel > a {
  font-family: var(--fhead);
  font-size: 19px;
  font-weight: 600;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.tr-panel > a:last-child { color: var(--acc); }

/* ===== пошук ===== */

.tr-seek {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(20, 22, 26, .5);
  backdrop-filter: blur(3px);
  padding: 11vh 16px 16px;
  display: none;
}
.tr-seek-open { display: block; }
.tr-seek-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--r2);
  box-shadow: var(--s3);
  overflow: hidden;
}
.tr-seek-box input {
  width: 100%;
  height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
  font-family: var(--fhead);
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  outline: none;
}
.tr-seek-list { max-height: 56vh; overflow-y: auto; }
.tr-seek-list a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.tr-seek-list a:hover { background: var(--acct); }
.tr-seek-list a b { font-family: var(--fhead); font-weight: 600; }
.tr-seek-none { padding: 17px 20px; color: var(--muted); font-size: 15px; }

/* ===== ГОЛОВНА ===== */

main { padding: clamp(26px, 5vw, 46px) 0 clamp(40px, 7vw, 72px); }

.tr-kick {
  display: inline-block;
  font-family: var(--fhead);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 13px;
}

.tr-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(22px, 4vw, 44px); align-items: center; }
@media (max-width: 880px) { .tr-lead { grid-template-columns: 1fr; gap: 22px; } }
.tr-lead-pic { order: -1; }
@media (max-width: 880px) { .tr-lead-pic { order: 0; } }
.tr-lead-text h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin-bottom: 14px; }
.tr-lead-text > a:hover h1 { color: var(--accd); }
.tr-lead-text > p { font-size: clamp(1rem, 2.2vw, 1.12rem); color: var(--ink2); }
.tr-lead-pic img { width: 100%; border-radius: var(--r2); background: var(--accs); box-shadow: var(--s2); }

.tr-byline, .tr-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 17px;
  font-family: var(--fhead);
  font-size: 13.5px;
  color: var(--muted);
}
.tr-byline b { color: var(--ink2); font-weight: 600; }

.tr-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accs);
  color: var(--accd);
  padding: 4px 11px;
  border-radius: var(--btn);
  font-weight: 600;
  font-size: 12.5px;
}
.tr-check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; }

/* ===== секції ===== */

.tr-block { margin-top: clamp(34px, 6vw, 58px); }
.tr-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line2); padding-bottom: 10px;
}
.tr-block-head h2 { font-size: clamp(1.15rem, 2.6vw, 1.42rem);  }
.tr-block-head h2::before { content: "\25A0  "; color: var(--warm); font-size: .7em; vertical-align: middle; }
.tr-block-head a { font-family: var(--fhead); font-size: 14px; font-weight: 600; color: var(--acc); white-space: nowrap; }
.tr-block-head a:hover { color: var(--accd); }

/* рубрики */
.tr-rubs { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .tr-rubs { grid-template-columns: 1fr; } }
.tr-rubs a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--warm);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--s1);
  transition: box-shadow .2s, transform .2s;
}
.tr-rubs a:hover { box-shadow: var(--s2); transform: translateY(-3px); }
.tr-rubs h3 { font-size: 1.14rem; margin-bottom: 8px; }
.tr-rubs p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.tr-cards { display: grid; gap: 4px; }
.tr-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 14px; border-radius: var(--r); transition: background .18s; }
.tr-card:hover { background: var(--card); }
.tr-card-no {
  font-family: var(--fhead); font-size: 26px; font-weight: 700; line-height: 1;
  color: var(--line2); letter-spacing: -.04em; padding-top: 2px;
}
.tr-card:hover .tr-card-no { color: var(--warm); }
.tr-card h3 { font-size: clamp(1.08rem, 2.4vw, 1.24rem); margin-bottom: 7px; }
.tr-card:hover h3 { color: var(--accd); }
.tr-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; max-width: 66ch; }
.tr-card .tr-byline { margin-top: 9px; font-size: 12.5px; }
@media (max-width: 520px) { .tr-card { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; } .tr-card-no { font-size: 20px; } }

/* плашка фахівця */
.tr-expert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--acct);
  border: 1px solid var(--line);
  border-left: 3px solid var(--warm);
  border-radius: var(--r);
  padding: 19px;
}
.tr-expert img { width: 58px; height: 58px; border-radius: 999px; object-fit: cover; flex-shrink: 0; background: var(--accs); }
.tr-expert h3 { font-size: 1.04rem; margin-bottom: 5px; }
.tr-expert p { font-size: 14.5px; color: var(--ink2); line-height: 1.55; }
.tr-expert a { color: var(--acc); font-weight: 600; text-decoration: underline; }

/* ===== сторінка рубрики ===== */

.tr-hub h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 12px; }
.tr-hub p { font-size: clamp(1rem, 2.3vw, 1.1rem); color: var(--ink2); max-width: 58ch; }

/* ===== СТАТТЯ ===== */

.tr-crumbs { font-family: var(--fhead); font-size: 13px; color: var(--muted); margin-bottom: 15px; }
.tr-crumbs a { color: var(--acc); }
.tr-crumbs a:hover { text-decoration: underline; }

.tr-head h1 { font-size: clamp(1.65rem, 4.6vw, 2.4rem); margin-bottom: 15px; }
.tr-stand { font-size: clamp(1rem, 2.3vw, 1.14rem); color: var(--ink2); max-width: 60ch; }

.tr-figcap { font-family: var(--fhead); font-size: 13px; color: var(--muted); line-height: 1.5; padding-top: 10px; max-width: 70ch; }

.tr-body { margin-top: clamp(24px, 4vw, 36px); }
.tr-body > * + * { margin-top: 1.1em; }
.tr-body p { font-size: 17.5px; line-height: 1.76; }
.tr-body h2 { font-size: clamp(1.2rem, 3vw, 1.45rem); margin-top: 1.9em; color: var(--accd); }
.tr-body h3 { font-size: 1.1rem; margin-top: 1.6em; }
.tr-body a { color: var(--acc); text-decoration: underline; }

.tr-body blockquote { font-family: var(--fhead); font-size: clamp(1.08rem, 2.7vw, 1.28rem); font-style: italic; line-height: 1.5; color: var(--accd); border-left: 3px solid var(--warm); padding: 6px 0 6px 20px; margin-top: 1.5em; }

.tr-body ul, .tr-body ol { padding-left: 2px; list-style: none; }
.tr-body li { position: relative; padding-left: 24px; margin-top: .6em; line-height: 1.7; }
.tr-body ul > li::before { content: ""; position: absolute; left: 3px; top: .64em; width: 8px; height: 8px; background: var(--warm); }
.tr-body ol { counter-reset: n; }
.tr-body ol > li { counter-increment: n; }
.tr-body ol > li::before { content: counter(n) "."; position: absolute; left: 0; top: 0; color: var(--acc); font-family: var(--fhead); font-weight: 700; font-size: 16px; }

.tr-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--fhead);
  font-size: 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.tr-table th { text-align: left; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--accd); background: var(--acct); padding: 11px 14px; border-bottom: 2px solid var(--warm); }
.tr-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.tr-table tr:last-child td { border-bottom: 0; }

.tr-table td:first-child { font-weight: 600; color: var(--ink); width: 38%; }

.tr-note { background: var(--warms); border-left: 3px solid var(--warm); border-radius: var(--r); padding: 18px 20px; font-size: 16px; line-height: 1.68; color: var(--ink2); margin-top: 1.5em; }
.tr-note b { color: var(--ink); font-family: var(--fhead); }

.tr-sources { margin-top: clamp(28px, 5vw, 42px); padding-top: 17px; border-top: 2px solid var(--line); }
.tr-sources h4 {
  font-family: var(--fhead);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 11px;
}
.tr-sources ul { list-style: none; }
.tr-sources li {
  font-family: var(--fhead);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 15px;
  position: relative;
  margin-top: 7px;
}
.tr-sources li::before { content: "·"; position: absolute; left: 4px; color: var(--line2); font-weight: 700; }

/* ===== ТЕКСТОВІ СТОРІНКИ ===== */

.tr-doc h1 { font-size: clamp(1.75rem, 4.8vw, 2.3rem); margin-bottom: 9px; }
.tr-upd {
  display: inline-block;
  font-family: var(--fhead);
  font-size: 12.5px;
  color: var(--accd);
  background: var(--accs);
  border-radius: var(--btn);
  padding: 4px 13px;
  margin-bottom: 6px;
}
.tr-pair { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: clamp(22px, 4vw, 30px) 0; }
@media (max-width: 600px) { .tr-pair { grid-template-columns: 1fr; } }
.tr-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--s1); }
.tr-tile h3 { font-size: 1.04rem; margin-bottom: 7px; }
.tr-tile p { font-size: 14.5px; color: var(--ink2); line-height: 1.6; }
.tr-tile a { color: var(--acc); font-weight: 600; }
.tr-tile a:hover { text-decoration: underline; }

/* ===== ПОДВАЛ ===== */

.tr-foot { background: var(--foot); border-top: 1px solid var(--line2); padding: clamp(32px, 5vw, 46px) 0 26px; margin-top: clamp(32px, 6vw, 58px); }
.tr-foot-cols { display: grid; gap: 28px; grid-template-columns: 1.7fr 1fr 1fr 1fr; }
@media (max-width: 880px) { .tr-foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tr-foot-cols { grid-template-columns: 1fr; gap: 22px; } }

.tr-foot-about p { font-size: 14px; color: var(--ink2); line-height: 1.6; margin-top: 11px; max-width: 44ch; }
.tr-foot-nap { font-family: var(--fhead); font-size: 13px; color: var(--muted); line-height: 1.75; margin-top: 13px; }
.tr-foot-nap a { color: var(--ink2); }
.tr-foot-nap a:hover { color: var(--acc); }

.tr-foot-col h4 {
  font-family: var(--fhead);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.tr-foot-col a { display: block; font-family: var(--fhead); font-size: 14.5px; color: var(--ink2); padding: 5px 0; }
.tr-foot-col a:hover { color: var(--acc); }

.tr-foot-legal {
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid var(--line2);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 92ch;
}
.tr-foot-legal b { color: var(--ink2); font-family: var(--fhead); }

.tr-foot-end {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  font-family: var(--fhead);
  font-size: 12.5px;
  color: var(--muted);
}
.tr-foot-end a:hover { color: var(--acc); text-decoration: underline; }

/* ===== ЦІЛЬОВА СТОРІНКА ===== */

.tr-vsl { padding-top: clamp(14px, 3vw, 26px); }
.tr-vsl-title { text-align: center; max-width: 840px; margin: 0 auto; padding: 0 0 clamp(18px, 3.5vw, 30px); }
.tr-vsl-title h1 { font-size: clamp(1.6rem, 4.8vw, 2.6rem); line-height: 1.18; overflow-wrap: break-word; }
.tr-hl {
  display: inline-block;
  background-image: linear-gradient(180deg, transparent 56%, var(--warms) 56%, var(--warms) 95%, transparent 95%);
  box-shadow: inset 0 -2px 0 rgba(78, 127, 120, .45);
  padding: 0 .08em;
}

/* ===== плеєр ===== */

.tr-stage { max-width: 980px; margin: 0 auto; transition: max-width .5s cubic-bezier(.32, .72, 0, 1); }
.tr-stage-full { max-width: 100%; }

.tr-stage-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r2);
  background: #1b2025;
  box-shadow: var(--s3);
}
.tr-stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #1b2025;
  cursor: pointer;
}

.tr-poster { position: absolute; inset: 0; z-index: 5; cursor: pointer; }
.tr-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tr-poster-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 26, .28), rgba(18, 22, 26, .6)); }
.tr-poster-off { opacity: 0; pointer-events: none; transition: opacity .45s ease; }

.tr-poster-mid {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 90%;
}

/* кнопка запуску */
.tr-poster-play {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 999px;
  border: 3px solid #fff;
  cursor: pointer;
  background: var(--acc);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .44);
  transition: background .22s, transform .35s cubic-bezier(.32, .72, 0, 1);
  animation: pulse 2.6s ease-in-out infinite;
}
.tr-poster-play::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .6);
  animation: halo 2.6s cubic-bezier(.22, .61, .36, 1) infinite;
}
.tr-poster-play:hover { background: var(--accd); transform: scale(1.04); }
.tr-poster-play svg { width: 41px; height: 41px; fill: #fff; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes halo { 0% { transform: scale(1); opacity: .65; } 80% { transform: scale(1.55); opacity: 0; } 100% { opacity: 0; } }

.tr-poster-cap {
  font-family: var(--fhead);
  background: rgba(18, 22, 26, .66);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
  border-radius: var(--btn);
  max-width: 24ch;
}

.tr-again { position: absolute; inset: 0; z-index: 7; display: none; place-items: center; background: rgba(18, 22, 26, .3); pointer-events: none; }
.tr-stage-hold .tr-again { display: grid; }
.tr-again span {
  width: 84px; height: 84px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(111, 84, 64, .8);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.tr-again svg { width: 34px; height: 34px; fill: #fff; }

.tr-load {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(18, 22, 26, .82);
  color: #fff;
  text-align: center;
  padding: 18px;
}
.tr-stage-load .tr-load { display: flex; }
.tr-load-ring { width: 48px; height: 48px; border-radius: 999px; border: 4px solid rgba(255, 255, 255, .22); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tr-load-text { font-family: var(--fhead); font-size: 15px; font-weight: 600; }

.tr-stage-x {
  position: absolute;
  z-index: 8;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: none;
  place-items: center;
  background: rgba(18, 22, 26, .6);
  color: #fff;
}
.tr-stage-full .tr-stage-x { display: grid; }
.tr-stage-x svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2.2; }

/* телефон: на всю ширину */
@media (max-width: 767px) {
  .tr-stage-full {
    max-width: none;
    margin-left: calc(-1 * clamp(16px, 5vw, 30px));
    margin-right: calc(-1 * clamp(16px, 5vw, 30px));
  }
  .tr-stage-full .tr-stage-frame { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tr-poster-play, .tr-poster-play::after { animation: none; }
  .tr-load-ring { animation-duration: 1.8s; }
}

/* ===== Підказка про звук ===== */

.tr-audio {
  max-width: 620px;
  margin: 15px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  text-align: center;
  font-family: var(--fhead);
  font-size: 14.5px;
  color: var(--ink2);
}
.tr-audio b { color: var(--ink); font-weight: 700; }
.tr-audio svg { width: 18px; height: 18px; fill: none; stroke: var(--acc); stroke-width: 1.9; flex-shrink: 0; }
.tr-audio-off { display: none; }

/* ===== Картка заявки ===== */

.tr-order {
  margin-top: clamp(20px, 3.5vw, 30px);
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  box-shadow: var(--s2);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
}
@media (max-width: 760px) { .tr-order { grid-template-columns: 1fr; } }

.tr-order-pic {
  position: relative;
  background: linear-gradient(165deg, #f2eee8 0%, #e5ded5 54%, #fbf9f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  min-height: 236px;
  border-right: 1px solid var(--line);
}
@media (max-width: 760px) { .tr-order-pic { border-right: 0; border-bottom: 1px solid var(--line); min-height: 200px; } }
.tr-order-pic::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111, 84, 64, .14), transparent 64%);
  top: -40px; left: -40px;
}
.tr-order-pic img { position: relative; max-height: 290px; width: auto; filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .2)); }

.tr-order-main { padding: clamp(20px, 3vw, 30px); }

.tr-eyebrow {
  display: block;
  font-family: var(--fhead);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 10px;
}
.tr-order-main h2 { font-size: clamp(1.22rem, 2.5vw, 1.55rem); margin-bottom: 9px; }
.tr-intro { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 19px; }

/* ===== поля ===== */

.tr-row { margin-bottom: 14px; }
.tr-row label { display: block; font-family: var(--fhead); font-size: 12.5px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; }
.tr-row input {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--line2);
  border-radius: var(--r);
  padding: 0 14px;
  font-family: var(--fhead);
  font-size: 16px;
  color: var(--ink);
  background: var(--card2);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.tr-row input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--accs); background: var(--card); }

.tr-tel {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line2);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.tr-tel:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px var(--accs); background: var(--card); }
.tr-tel-cc {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-family: var(--fhead);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink2);
  border-right: 1.5px solid var(--line);
  white-space: nowrap;
}
.tr-tel input {
  border: 0;
  box-shadow: none;
  background: transparent;
  height: 52px;
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  font-family: var(--fhead);
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.tr-flag { width: 17px; height: 12px; overflow: hidden; flex-shrink: 0; display: block; border-radius: 1px; }
.tr-flag i { display: block; height: 50%; }
.tr-flag .tr-flag-b { background: #0057b7; }
.tr-flag .tr-flag-y { background: #ffd700; }

.tr-tel-hint { font-family: var(--fhead); font-size: 13px; margin-top: 6px; min-height: 18px; color: var(--muted); transition: color .15s; }
.tr-tel-hint-ok { color: var(--ok); font-weight: 600; }
.tr-tel-hint-ok::before { content: "\2713\00a0"; }
.tr-tel-hint-bad { color: var(--warn); font-weight: 600; }

/* ===== Кнопка ===== */

.tr-submit {
  width: 100%;
  height: 56px;
  margin-top: 6px;
  border: 0;
  border-radius: var(--btn);
  cursor: pointer;
  font-family: var(--fhead);
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  background: var(--acc);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s, transform .25s cubic-bezier(.32, .72, 0, 1), box-shadow .25s;
}
.tr-submit:hover { background: var(--accd); transform: translateY(-2px); }
.tr-submit:active { transform: translateY(0) scale(.995); }
.tr-submit:disabled { opacity: .6; cursor: default; transform: none; }
.tr-submit svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2.4; }

.tr-agree { font-family: var(--fhead); font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; margin-top: 14px; }
.tr-agree a { color: var(--acc); text-decoration: underline; }

.tr-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 380px) { .tr-perks { grid-template-columns: 1fr; } }
.tr-perks-i { display: flex; align-items: center; gap: 8px; font-family: var(--fhead); font-size: 13.5px; font-weight: 600; color: var(--ink2); line-height: 1.25; }
.tr-perks-i svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--acc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.tr-done { display: none; text-align: center; padding: 24px 8px; }
.tr-done-ico { width: 62px; height: 62px; border-radius: 999px; background: var(--accs); display: grid; place-items: center; margin: 0 auto 14px; }
.tr-done-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--acc); stroke-width: 2.4; }
.tr-done h3 { font-size: 1.3rem; margin-bottom: 6px; }
.tr-done p { color: var(--muted); font-size: 15px; }

/* ===== Фінальний блок ===== */

.tr-end { margin-top: clamp(32px, 5vw, 50px); }
.tr-end-box {
  position: relative;
  overflow: hidden;
  background: var(--acc);
  border-radius: var(--r2);
  padding: clamp(26px, 4.5vw, 44px);
  text-align: center;
  color: #fff;
  box-shadow: var(--s2);
}
.tr-end-box::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 64%);
  top: -130px; right: -80px;
}
.tr-end-box h2 { position: relative; color: #fff; font-size: clamp(1.4rem, 3.2vw, 2rem); margin-bottom: 11px; }
.tr-end-box p { position: relative; color: rgba(255, 255, 255, .92); font-size: 16px; max-width: 54ch; margin: 0 auto 23px; }

.tr-end-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  color: var(--accd);
  font-family: var(--fhead);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 27px;
  border-radius: var(--btn);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .45);
  transition: transform .25s cubic-bezier(.32, .72, 0, 1), background .2s;
}
.tr-end-btn:hover { transform: translateY(-2px); background: #f3f5f7; }
.tr-end-ico { width: 28px; height: 28px; border-radius: 999px; background: var(--accs); display: grid; place-items: center; }
.tr-end-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--accd); stroke-width: 2.6; }

/* ===== ВУЗЬКІ ЕКРАНИ ===== */

.tr-body p, .tr-body li, .tr-table th, .tr-table td,
.tr-head h1, .tr-hub h1, .tr-rubs h3, .tr-tile p, .tr-sources li { overflow-wrap: break-word; }

@media (max-width: 460px) {
  .tr-table { font-size: 14px; }
  .tr-table th, .tr-table td { padding: 9px 10px; }
  .tr-table td:first-child { width: 42%; }
  .tr-note { padding: 15px 16px; font-size: 15px; }
  .tr-body blockquote { padding: 15px 16px; }
  .tr-poster-play { width: 82px; height: 82px; }
  .tr-poster-play svg { width: 35px; height: 35px; }
  .tr-poster-cap { font-size: 14px; padding: 8px 14px; }
}
