/* ===== falunoremi.com ===== */

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

:root {
  --paper:   #f7f6f4;
  --card:    #ffffff;
  --card2:   #fbfaf8;
  --foot:    #edeaf0;
  --ink:     #25262e;
  --ink2:    #474a56;
  --muted:   #6f7280;
  --line:    #e1dfe4;
  --line2:   #c8c5ce;
  --acc:     #474d7d;
  --accd:    #333863;
  --accs:    #e6e8f1;
  --acct:    #f2f3f8;
  --warm:    #a8762f;
  --warms:   #f7eeda;
  --ok:      #2f6b45;
  --warn:    #96651a;

  --fhead: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --fbody: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;

  --r:   3px;
  --r2:  14px;
  --btn: 999px;
  --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: 68px;
}

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

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

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

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

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

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

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

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

.fl-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 246, 244, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

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

.fl-nav { display: flex; align-items: center; gap: 22px;  }
.fl-nav__link {
  font-family: var(--fhead);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  white-space: nowrap;
  transition: color .18s;
  font-size: 15px;
}
.fl-nav__link:hover { color: var(--acc); }
.fl-nav__link--on { color: var(--acc); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

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

.fl-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;
}
.fl-cta:hover { background: var(--accd); transform: translateY(-1px); }

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

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

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

.fl-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;
}
.fl-panel--open { transform: none; visibility: visible; }

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

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

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

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

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

.fl-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;
}

.fl-lead__text { text-align: center; max-width: 760px; margin: 0 auto; }
.fl-lead__text h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); margin-bottom: 15px; }
.fl-lead__text > a:hover h1 { color: var(--accd); }
.fl-lead__text > p { font-size: clamp(1rem, 2.3vw, 1.15rem); color: var(--ink2); max-width: 60ch; margin: 0 auto; }
.fl-lead__text .fl-byline, .fl-lead__text .fl-meta { justify-content: center; }
.fl-lead__pic { margin-top: clamp(22px, 4vw, 36px); }
.fl-lead__pic img { width: 100%; border-radius: var(--r2); background: var(--accs); box-shadow: var(--s2); }

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

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

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

.fl-block { margin-top: clamp(34px, 6vw, 58px); }
.fl-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  justify-content: center; text-align: center; flex-direction: column; gap: 6px;
}
.fl-block__head h2 { font-size: clamp(1.15rem, 2.6vw, 1.42rem); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.8vw, 1.7rem); }
.fl-block__head { border-bottom: 1px solid var(--line2); padding-bottom: 14px; } .fl-block__head h2::after { content: ""; display: block; width: 54px; height: 1px; background: var(--warm); margin: 12px auto 0; }
.fl-block__head a { font-family: var(--fhead); font-size: 14px; font-weight: 600; color: var(--acc); white-space: nowrap; }
.fl-block__head a:hover { color: var(--accd); }

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

.fl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 760px) { .fl-cards { grid-template-columns: 1fr; gap: 0; } }
.fl-card { display: block; padding: 18px 0; border-bottom: 1px dashed var(--line2); transition: opacity .18s; }
.fl-card:hover { opacity: .78; }
.fl-card__no { 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; }
.fl-card h3 { font-size: 1.08rem; margin-bottom: 7px; }
.fl-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.fl-card .fl-byline { margin-top: 10px; font-size: 12.5px; }

/* плашка фахівця */
.fl-expert {
  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;
}
.fl-expert img { width: 58px; height: 58px; border-radius: 999px; object-fit: cover; flex-shrink: 0; background: var(--accs); }
.fl-expert h3 { font-size: 1.04rem; margin-bottom: 5px; }
.fl-expert p { font-size: 14.5px; color: var(--ink2); line-height: 1.55; }
.fl-expert a { color: var(--acc); font-weight: 600; text-decoration: underline; }

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

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

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

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

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

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

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

.fl-body blockquote { font-family: var(--fhead); font-size: clamp(1.1rem, 2.8vw, 1.3rem); font-style: italic; line-height: 1.5; color: var(--accd); text-align: center; padding: 20px 24px; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); margin-top: 1.6em; }

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

.fl-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;
}
.fl-table th { text-align: left; font-size: 13px; letter-spacing: .04em; font-style: italic; color: var(--accd); background: var(--acct); padding: 12px 14px; border-bottom: 1px solid var(--line2); }
.fl-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.fl-table tr:last-child td { border-bottom: 0; }
.fl-table tr:nth-child(even) td { background: var(--card2); }
.fl-table td:first-child { font-weight: 600; color: var(--ink); width: 38%; }

.fl-note { background: var(--acct); border: 1px solid var(--accs); border-radius: var(--r2); padding: 20px 22px; font-size: 16px; line-height: 1.7; color: var(--ink2); margin-top: 1.6em; }
.fl-note b { color: var(--ink); font-family: var(--fhead); }

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

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

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

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

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

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

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

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

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

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

.fl-vsl { padding-top: clamp(14px, 3vw, 26px); }
.fl-vsl__title { text-align: center; max-width: 840px; margin: 0 auto; padding: 0 0 clamp(18px, 3.5vw, 30px); }
.fl-vsl__title h1 { font-size: clamp(1.6rem, 4.8vw, 2.6rem); line-height: 1.18; overflow-wrap: break-word; }
.fl-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(168, 118, 47, .4);
  padding: 0 .08em;
}

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

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

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

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

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

/* кнопка запуску */
.fl-poster__play {
  position: relative;
  width: 100px; height: 100px;
  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;
}
.fl-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;
}
.fl-poster__play:hover { background: #8c6226; transform: scale(1.04); }
.fl-poster__play 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; } }

.fl-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;
}

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

.fl-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;
}
.fl-stage--load .fl-load { display: flex; }
.fl-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); } }
.fl-load__text { font-family: var(--fhead); font-size: 15px; font-weight: 600; }

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

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

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

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

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

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

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

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

.fl-order__main { padding: clamp(20px, 3vw, 30px); }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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