/* ===== ferimolaxa.com ===== */

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

:root {
  --paper:   #f5f7f6;
  --card:    #ffffff;
  --card2:   #fafcfb;
  --foot:    #e6eceb;
  --ink:     #21302e;
  --ink2:    #415250;
  --muted:   #6b7b79;
  --line:    #dde5e3;
  --line2:   #c2cecc;
  --acc:     #2f5f5c;
  --accd:    #1f4542;
  --accs:    #e0ecea;
  --acct:    #eff6f5;
  --warm:    #b06a4a;
  --warms:   #f8e9e1;
  --ok:      #2f6b45;
  --warn:    #96651a;

  --fhead: "Times New Roman", Times, "Liberation Serif", Georgia, serif;
  --fbody: "Times New Roman", Times, "Liberation Serif", Georgia, serif;

  --r:   2px;
  --r2:  6px;
  --btn: 2px;
  --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: 64px;
}

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

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

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

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

.fxWrap { max-width: 1130px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 30px); }
.fxRead { max-width: 675px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 30px); }
.fxBleed {
  max-width: 1130px;
  margin: clamp(22px, 4vw, 34px) auto 0;
  padding: 0 clamp(16px, 5vw, 30px);
}
.fxBleed > img { width: 100%; border-radius: var(--r2); background: var(--accs); }

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

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

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

.fxTop {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 247, 246, .95);
  backdrop-filter: blur(8px);
  border-bottom: 3px double var(--line2);
}

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

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

.fxNav { display: flex; align-items: center; gap: 22px;  }
.fxNavLink {
  font-family: var(--fhead);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  white-space: nowrap;
  transition: color .18s;
  font-size: 16px;
}
.fxNavLink:hover { color: var(--acc); }
.fxNavLinkOn { color: var(--acc); font-weight: 700; font-style: italic; color: var(--warm); }

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

.fxCta {
  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: transparent; color: var(--accd); border: 1px solid var(--acc);
}
.fxCta:hover { background: var(--acc); color: #fff; }

.fxIcoMenu { display: none; }

@media (max-width: 920px) {
  .fxNav { display: none; }
  .fxIcoMenu { display: grid; }
  .fxTopRow { gap: 8px; }
  .fxBrand { font-size: 18px; margin-right: auto; }
}
@media (max-width: 430px) { .fxCta { display: none; } }

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

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

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

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

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

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

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

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

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

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

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

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

.fxBlock { margin-top: clamp(34px, 6vw, 58px); }
.fxBlockHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 3px double var(--line2); padding-bottom: 8px;
}
.fxBlockHead h2 { font-size: clamp(1.15rem, 2.6vw, 1.42rem); font-variant: small-caps; letter-spacing: .06em; font-size: clamp(1.25rem, 2.8vw, 1.6rem); }

.fxBlockHead a { font-family: var(--fhead); font-size: 14px; font-weight: 600; color: var(--acc); white-space: nowrap; }
.fxBlockHead a:hover { color: var(--accd); }

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

.fxCards { display: grid; gap: 0; }
.fxCard { display: block; padding: 20px 16px 20px 0; border-top: 1px solid var(--line); transition: background .18s, padding-left .25s; }
.fxCard:last-child { border-bottom: 1px solid var(--line); }
.fxCard:hover { background: var(--card2); padding-left: 12px; }
.fxCardNo { display: block; font-family: var(--fhead); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--warm); margin-bottom: 8px; }
.fxCard h3 { font-size: clamp(1.1rem, 2.5vw, 1.28rem); margin-bottom: 8px; }
.fxCard:hover h3 { color: var(--accd); }
.fxCard p { font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 68ch; }
.fxCard .fxByline { margin-top: 10px; font-size: 12.5px; }

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

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

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

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

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

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

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

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

.fxBody blockquote { font-family: var(--fhead); font-size: clamp(1.08rem, 2.7vw, 1.3rem); font-style: italic; line-height: 1.55; color: var(--accd); text-align: center; padding: 18px 26px; border-top: 3px double var(--line2); border-bottom: 3px double var(--line2); margin-top: 1.6em; }

.fxBody ul, .fxBody ol { padding-left: 2px; list-style: none; }
.fxBody li { position: relative; padding-left: 24px; margin-top: .6em; line-height: 1.7; }
.fxBody ul > li::before { content: "\2022"; position: absolute; left: 4px; top: -.05em; color: var(--warm); font-size: 1.3em; }
.fxBody ol { counter-reset: n; }
.fxBody ol > li { counter-increment: n; }
.fxBody ol > li::before { content: counter(n) "."; position: absolute; left: 0; top: 0; color: var(--warm); font-family: var(--fhead); font-weight: 700; font-size: 17px; }

.fxTable {
  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;
}
.fxTable th { text-align: left; font-size: 14px; font-variant: small-caps; letter-spacing: .05em; color: var(--accd); background: var(--acct); padding: 11px 14px; border-bottom: 2px solid var(--acc); }
.fxTable td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.fxTable tr:last-child td { border-bottom: 0; }

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

.fxNote { background: var(--card); border: 1px solid var(--line2); border-left: 4px solid var(--warm); padding: 18px 20px; font-size: 16.5px; line-height: 1.72; color: var(--ink2); margin-top: 1.6em; }
.fxNote b { color: var(--ink); font-family: var(--fhead); }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* кнопка запуску */
.fxPosterPlay {
  position: relative;
  width: 98px; height: 98px;
  border-radius: 999px;
  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;
}
.fxPosterPlay::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;
}
.fxPosterPlay:hover { background: #95573b; transform: scale(1.04); }
.fxPosterPlay svg { width: 42px; height: 42px; 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; } }

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

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

.fxLoad {
  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;
}
.fxStageLoad .fxLoad { display: flex; }
.fxLoadRing { 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); } }
.fxLoadText { font-family: var(--fhead); font-size: 15px; font-weight: 600; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.fxBody p, .fxBody li, .fxTable th, .fxTable td,
.fxHead h1, .fxHub h1, .fxRubs h3, .fxTile p, .fxSources li { overflow-wrap: break-word; }

@media (max-width: 460px) {
  .fxTable { font-size: 14px; }
  .fxTable th, .fxTable td { padding: 9px 10px; }
  .fxTable td:first-child { width: 42%; }
  .fxNote { padding: 15px 16px; font-size: 15px; }
  .fxBody blockquote { padding: 15px 16px; }
  .fxPosterPlay { width: 82px; height: 82px; }
  .fxPosterPlay svg { width: 35px; height: 35px; }
  .fxPosterCap { font-size: 14px; padding: 8px 14px; }
}
