/* ===== helimoranu.com ===== */

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

:root {
  --paper:   #f6f6f5;
  --card:    #ffffff;
  --card2:   #fbfbfa;
  --foot:    #2f3338;
  --ink:     #24282c;
  --ink2:    #464c51;
  --muted:   #6e757a;
  --line:    #e2e2e0;
  --line2:   #c9c9c6;
  --acc:     #2f3338;
  --accd:    #16191c;
  --accs:    #e8e8e6;
  --acct:    #f3f3f2;
  --warm:    #b4674f;
  --warms:   #f8e8e2;
  --ok:      #2f6b45;
  --warn:    #96651a;

  --fhead: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fbody: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r:   0px;
  --r2:  0px;
  --btn: 0px;
  --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: 60px;
}

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

body {
  min-height: 100vh;
  background: var(--paper);
  font-family: var(--fbody);
  font-size: 17px;
  line-height: 1.6;
  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: -.03em;
  color: var(--ink);
}

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

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

.hmWrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 30px); }
.hmRead { max-width: 710px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 30px); }
.hmBleed {
  max-width: 1160px;
  margin: clamp(22px, 4vw, 34px) auto 0;
  padding: 0 clamp(16px, 5vw, 30px);
}
.hmBleed > img { width: 100%; border-radius: var(--r2); background: var(--accs); }

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

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

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

.hmTop {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 246, 245, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink);
}

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

.hmBrand {
  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;
}
.hmBrandText b { color: var(--acc); }

.hmNav { display: flex; align-items: center; gap: 22px;  }
.hmNavLink {
  font-family: var(--fhead);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  white-space: nowrap;
  transition: color .18s;
  font-weight: 600;
}
.hmNavLink:hover { color: var(--acc); }
.hmNavLinkOn { color: var(--acc); font-weight: 700; background: var(--ink); color: #fff; padding: 4px 9px; }

.hmIco {
  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;
}
.hmIco:hover { background: var(--accs); color: var(--accd); }
.hmIco svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.hmCta {
  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(--warm); color: #fff;
}
.hmCta:hover { background: #9c553f; }

.hmIcoMenu { display: none; }

@media (max-width: 920px) {
  .hmNav { display: none; }
  .hmIcoMenu { display: grid; }
  .hmTopRow { gap: 8px; }
  .hmBrand { font-size: 18px; margin-right: auto; }
}
@media (max-width: 430px) { .hmCta { display: none; } }

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

.hmPanel {
  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;
}
.hmPanelOpen { transform: none; visibility: visible; }

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

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

.hmSeek {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(20, 22, 26, .5);
  backdrop-filter: blur(3px);
  padding: 11vh 16px 16px;
  display: none;
}
.hmSeekOpen { display: block; }
.hmSeekBox {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--r2);
  box-shadow: var(--s3);
  overflow: hidden;
}
.hmSeekBox 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;
}
.hmSeekList { max-height: 56vh; overflow-y: auto; }
.hmSeekList a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.hmSeekList a:hover { background: var(--acct); }
.hmSeekList a b { font-family: var(--fhead); font-weight: 600; }
.hmSeekNone { padding: 17px 20px; color: var(--muted); font-size: 15px; }

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

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

.hmKick {
  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;
}

.hmLead { position: relative; border-radius: var(--r2); overflow: hidden; background: var(--ink); }
.hmLeadPic img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hmLeadText {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 4vw, 44px);
}
.hmLeadText h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 12px; color: #fff; }
.hmLeadText > p { font-size: clamp(.95rem, 2vw, 1.1rem); color: rgba(255, 255, 255, .9); max-width: 56ch; }
.hmLeadText .hmKick { color: #fff; }
.hmLeadText .hmByline { color: rgba(255, 255, 255, .82); }
.hmLeadText .hmByline b { color: #fff; }
.hmLeadText .hmCheck { background: rgba(255, 255, 255, .17); color: #fff; }
@media (max-width: 700px) {
  .hmLead { background: none; }
  .hmLeadPic img { opacity: 1; border-radius: var(--r2); }
  .hmLeadText { position: static; padding: 18px 0 0; }
  .hmLeadText h1, .hmLeadText > p, .hmLeadText .hmKick { color: inherit; }
  .hmLeadText h1 { color: var(--ink); }
  .hmLeadText > p { color: var(--ink2); }
  .hmLeadText .hmKick { color: var(--warm); }
  .hmLeadText .hmByline { color: var(--muted); }
  .hmLeadText .hmByline b { color: var(--ink2); }
  .hmLeadText .hmCheck { background: var(--accs); color: var(--accd); }
}

.hmByline, .hmMeta {
  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);
}
.hmByline b { color: var(--ink2); font-weight: 600; }

.hmCheck {
  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;
}
.hmCheck svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; }

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

.hmBlock { margin-top: clamp(34px, 6vw, 58px); }
.hmBlockHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  
}
.hmBlockHead h2 { font-size: clamp(1.15rem, 2.6vw, 1.42rem); font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.04em; }
.hmBlockHead h2::before { content: "— "; color: var(--warm); }
.hmBlockHead a { font-family: var(--fhead); font-size: 14px; font-weight: 600; color: var(--acc); white-space: nowrap; }
.hmBlockHead a:hover { color: var(--accd); }

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

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

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

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

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

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

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

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

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

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

.hmBody blockquote { font-family: var(--fhead); font-size: clamp(1.1rem, 2.8vw, 1.34rem); font-weight: 700; line-height: 1.38; letter-spacing: -.03em; color: var(--ink); border-top: 3px solid var(--warm); border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: 1.6em; }

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

.hmTable {
  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;
}
.hmTable th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: transparent; padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.hmTable td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.hmTable tr:last-child td { border-bottom: 0; }

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

.hmNote { background: var(--card); border: 1px solid var(--ink); padding: 18px 20px; font-size: 16px; line-height: 1.65; color: var(--ink2); margin-top: 1.5em; }
.hmNote b { color: var(--ink); font-family: var(--fhead); }

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

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

.hmDoc h1 { font-size: clamp(1.75rem, 4.8vw, 2.3rem); margin-bottom: 9px; }
.hmUpd {
  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;
}
.hmPair { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: clamp(22px, 4vw, 30px) 0; }
@media (max-width: 600px) { .hmPair { grid-template-columns: 1fr; } }
.hmTile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--s1); }
.hmTile h3 { font-size: 1.04rem; margin-bottom: 7px; }
.hmTile p { font-size: 14.5px; color: var(--ink2); line-height: 1.6; }
.hmTile a { color: var(--acc); font-weight: 600; }
.hmTile a:hover { text-decoration: underline; }

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

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

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

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

.hmFootLegal {
  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;
}
.hmFootLegal b { color: var(--ink2); font-family: var(--fhead); }

.hmFootEnd {
  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);
}
.hmFootEnd a:hover { color: var(--acc); text-decoration: underline; }

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

.hmVsl { padding-top: clamp(14px, 3vw, 26px); }
.hmVslTitle { text-align: center; max-width: 840px; margin: 0 auto; padding: 0 0 clamp(18px, 3.5vw, 30px); }
.hmVslTitle h1 { font-size: clamp(1.6rem, 4.8vw, 2.6rem); line-height: 1.18; overflow-wrap: break-word; }
.hmHl {
  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(180, 103, 79, .45);
  padding: 0 .08em;
}

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

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

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

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

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

/* кнопка запуску */
.hmPosterPlay {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 6px;
  border: 3px solid #fff;
  cursor: pointer;
  background: var(--warm);
  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;
}
.hmPosterPlay::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, .6);
  animation: halo 2.6s cubic-bezier(.22, .61, .36, 1) infinite;
}
.hmPosterPlay:hover { background: #9c553f; transform: scale(1.04); }
.hmPosterPlay svg { width: 36px; height: 36px; 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; } }

.hmPosterCap {
  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;
}

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

.hmLoad {
  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;
}
.hmStageLoad .hmLoad { display: flex; }
.hmLoadRing { 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); } }
.hmLoadText { font-family: var(--fhead); font-size: 15px; font-weight: 600; }

.hmStageX {
  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;
}
.hmStageFull .hmStageX { display: grid; }
.hmStageX svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2.2; }

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

@media (prefers-reduced-motion: reduce) {
  .hmPosterPlay, .hmPosterPlay::after { animation: none; }
  .hmLoadRing { animation-duration: 1.8s; }
}

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

.hmAudio {
  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);
}
.hmAudio b { color: var(--ink); font-weight: 700; }
.hmAudio svg { width: 18px; height: 18px; fill: none; stroke: var(--acc); stroke-width: 1.9; flex-shrink: 0; }
.hmAudioOff { display: none; }

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

.hmOrder {
  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) { .hmOrder { grid-template-columns: 1fr; } }

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

.hmOrderMain { padding: clamp(20px, 3vw, 30px); }

.hmEyebrow {
  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;
}
.hmOrderMain h2 { font-size: clamp(1.22rem, 2.5vw, 1.55rem); margin-bottom: 9px; }
.hmIntro { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 19px; }

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

.hmRow { margin-bottom: 14px; }
.hmRow label { display: block; font-family: var(--fhead); font-size: 12.5px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; }
.hmRow 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;
}
.hmRow input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--accs); background: var(--card); }

.hmTel {
  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;
}
.hmTel:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px var(--accs); background: var(--card); }
.hmTelCc {
  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;
}
.hmTel 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;
}

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

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

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

.hmSubmit {
  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;
}
.hmSubmit:hover { background: var(--accd); transform: translateY(-2px); }
.hmSubmit:active { transform: translateY(0) scale(.995); }
.hmSubmit:disabled { opacity: .6; cursor: default; transform: none; }
.hmSubmit svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2.4; }

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

.hmPerks { 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) { .hmPerks { grid-template-columns: 1fr; } }
.hmPerksI { 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; }
.hmPerksI svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--acc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

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

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

.hmEnd { margin-top: clamp(32px, 5vw, 50px); }
.hmEndBox {
  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);
}
.hmEndBox::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;
}
.hmEndBox h2 { position: relative; color: #fff; font-size: clamp(1.4rem, 3.2vw, 2rem); margin-bottom: 11px; }
.hmEndBox p { position: relative; color: rgba(255, 255, 255, .92); font-size: 16px; max-width: 54ch; margin: 0 auto 23px; }

.hmEndBtn {
  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;
}
.hmEndBtn:hover { transform: translateY(-2px); background: #f3f5f7; }
.hmEndIco { width: 28px; height: 28px; border-radius: 999px; background: var(--accs); display: grid; place-items: center; }
.hmEndBtn svg { width: 15px; height: 15px; fill: none; stroke: var(--accd); stroke-width: 2.6; }

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

.hmBody p, .hmBody li, .hmTable th, .hmTable td,
.hmHead h1, .hmHub h1, .hmRubs h3, .hmTile p, .hmSources li { overflow-wrap: break-word; }

@media (max-width: 460px) {
  .hmTable { font-size: 14px; }
  .hmTable th, .hmTable td { padding: 9px 10px; }
  .hmTable td:first-child { width: 42%; }
  .hmNote { padding: 15px 16px; font-size: 15px; }
  .hmBody blockquote { padding: 15px 16px; }
  .hmPosterPlay { width: 82px; height: 82px; }
  .hmPosterPlay svg { width: 35px; height: 35px; }
  .hmPosterCap { font-size: 14px; padding: 8px 14px; }
}

/* ---------- тёмный подвал ---------- */
.hmFoot { color: #d6d7d5; }
.hmFootAbout p, .hmFootCol a, .hmFootNap a { color: #b9bbb8; }
.hmFootAbout p { color: #c5c7c4; }
.hmFootCol h4, .hmFootNap, .hmFootLegal, .hmFootEnd { color: #93968f; }
.hmFootLegal { border-top-color: #4a4e52; }
.hmFootLegal b { color: #d6d7d5; }
.hmFootCol a:hover, .hmFootNap a:hover, .hmFootEnd a:hover { color: #e8a58f; }
.hmFoot .hmBrand { color: #ffffff; }
.hmFoot .hmBrandText b { color: var(--warm); }
