/* Концепція A — «Black Friday».
   Чорна сцена, великий жирний шрифт, блакитна кнопка як єдине джерело світла.
   Червоний — лише мітка акції й термін. Контраст: білий на #000 21:1; приглушений білий 10.59:1;
   #00AEFF на #000 8.50:1; білий на #B82D2D 6.08:1; білий на #434141 10.14:1. */

:root {
  --t-page: var(--color-black);
  --t-ink: var(--color-white);
  --t-muted: rgba(255, 255, 255, 0.72);
  --t-line: rgba(255, 255, 255, 0.18);
  --t-soft: var(--color-graphite);
  --t-soft-ink: var(--color-white);
  --t-header: var(--color-black);
  --t-card: var(--color-black);
  --t-field: var(--color-white);
  --t-field-ink: var(--color-graphite);
  --t-field-line: rgba(255, 255, 255, 0.4);
  --t-photo: var(--color-graphite);
  --t-photo-ink: var(--color-white);
  --t-footer: var(--color-black);
  --t-footer-ink: var(--color-white);
  --t-banner: var(--color-graphite);
  --t-banner-ink: var(--color-white);
}

.logo-on-light { display: none !important; }
.logo-on-dark { display: block !important; }
.draft-banner { border-bottom: 1px solid var(--t-line); }
.site-header { border-bottom-color: var(--t-line); }

/* ---------- головний екран ---------- */
.hero { padding: 16px 0 8px; }   /* знизу мало: у порівняння свій верхній відступ 44px */
/* Кільце навколо кнопки виходить за її межі — не даємо йому розширити сторінку */
main { overflow-x: clip; }
/* Перший екран (Вікторія 17.10), згори вниз: червона плашка → заголовок → картка членства
   (назва, 4 послуги, підрядок, ціна) → термін → кнопка → підпис «Wszystko za jedyne 499 zł» → «Mam pytania».
   Порядок = порядок у HTML. Червона плашка — єдиний червоний акцент першого екрана.
   Умова 15.12 — не тут, а у вікні вибору салону й у блоці «Szczegóły». */

/* Висота першого екрана — за вмістом (Вікторія 17.10): правило «на всю висоту вікна» було заради фото, фото прибране */

/* Плашка Black Friday — червона заливка, білий текст (6.08:1), дрібно з розрядкою */
.hero .badge {
  background: var(--color-accent-red);
  color: var(--color-white);
  border: 0;
  padding: 4px 10px;
  margin-bottom: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
/* Заголовок — великий білий */
.hero h1 {
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}

/* ---------- картка членства ---------- */
.member-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.586 / 1;          /* як банківська; якщо вміст вищий — картка росте */
  margin: 4px 0 14px;
  padding: 12px 16px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  transform: rotate(-2deg);
  isolation: isolate;
}
/* Синя картка (Вікторія 17.10): від темно-синього до брендового #00AEFF. Найсвітліша частина — в кутку без тексту. */
.member-card {
  background:
    radial-gradient(42% 34% at 100% 0%, rgba(0, 174, 255, 0.75) 0%, rgba(0, 174, 255, 0) 100%),   /* світіння лише в кутку з чипом */
    linear-gradient(150deg, #0A2E52 0%, #005C9C 60%, #00487D 100%);
  box-shadow: 0 18px 40px rgba(0, 174, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mc-logo { display: block; height: 20px; width: auto; }
.mc-chip {
  width: 34px; height: 25px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
/* Назва — головний напис картки: великі літери й розрядка лише через CSS */
.mc-name { margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.25; }
/* 5 послуг: колонки за шириною підпису, рівні проміжки між ними */
.mc-services { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 4px; }
.mc-service { display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; }
.mc-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mc-label { font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
/* Головна вигода — найпомітніший текст після ціни: ∞ + «Bez limitu wizyt», білий, стримане світіння */
.mc-unlimited { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 23px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; text-shadow: 0 0 14px rgba(255, 255, 255, 0.35); }
.mc-infinity { flex: none; width: 40px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4)); }
.motion .mc-unlimited { animation: unlimited-glow 2.4s ease-in-out 1.4s 1 both; }
@keyframes unlimited-glow { 50% { text-shadow: 0 0 22px rgba(255, 255, 255, 0.6); } }
/* Нижній ряд: «przez cały miesiąc» ліворуч (білий 80%), ціна праворуч — як раніше */
.mc-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.mc-period { margin: 0 0 4px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.hero .member-card .mc-price { margin: 0; font-size: 40px; line-height: 1; color: var(--color-white); text-align: right; white-space: nowrap; }

/* Підйом і один відблиск при завантаженні; при prefers-reduced-motion анімацій немає (style.css) */
.member-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
}
.motion .hero-text > .member-card { animation: card-rise .9s var(--ease) .15s both; }
.motion .member-card::after { animation: card-sheen 1.4s ease-out .9s 1 both; }
@keyframes card-rise { from { opacity: 0; transform: translateY(24px) rotate(-5deg); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes card-sheen { to { transform: translateX(120%); } }

/* Термін — дрібно, сірий: білий 72% на #000 — 10.59:1 */
.hero .price-block { margin: 0 0 12px; }
.hero .price-note { margin: 0; }
/* Підпис до кнопки — акцент, не примітка: білий 19px (21:1), сума жирна #00AEFF (8.50:1),
   по боках тонкі декоративні лінії. Без червоного. */
.price-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0 0; font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--color-white); text-align: center; }
.price-cta-line { flex: 1 1 0; min-width: 14px; height: 1px; background: rgba(255, 255, 255, 0.4); }
.price-cta-sum { font-weight: 700; color: var(--color-brand); white-space: nowrap; }
.hero-text > .timer { margin: 0 0 18px; }
.hero .price { font-size: 60px; color: var(--color-white); }
.hero .price-note { color: var(--t-muted); }
.sale-until {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--color-white);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timer-label { color: var(--color-white); }
.timer-label::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%;
  background: var(--color-brand);
  vertical-align: 1px;
}
.timer-num { font-size: 34px; }

/* Кнопка як світло: кільце, що розходиться від неї */
.buy-area .btn-primary { min-height: 60px; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.buy-area .btn-primary::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: inherit;
  border: 2px solid var(--color-brand);
  opacity: 0;
  pointer-events: none;
}
.motion .buy-area .btn-primary::after { animation: a-halo 2.8s var(--ease) 1.2s infinite; }
/* На першому екрані кільця немає: під кнопкою впритул стоїть підпис із ціною, кільце йшло б по ньому. */
.motion .hero .buy-area .btn-primary::after { animation: none; }
@keyframes a-halo {
  0%   { opacity: .7; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.12, 1.45); }
  100% { opacity: 0;  transform: scale(1.12, 1.45); }
}

/* Поява першого екрана */
.motion .hero-text > * { animation: a-rise .8s var(--ease) both; }
.motion .hero-text > .badge { animation-delay: .05s; }
.motion .hero-text > h1 { animation-delay: .1s; }
.motion .hero-text > .price-block { animation-delay: .26s; }
.motion .hero-text > .buy-area,
.motion .hero-text > .price-cta { animation-delay: .34s; }
.motion .hero-text > .timer,
.motion .hero-text > .btn-call { animation-delay: .44s; }
@keyframes a-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- біжучий рядок ---------- */
.marquee {
  display: block;
  overflow: hidden;
  border-top: 1px solid var(--t-line);
  border-bottom: 1px solid var(--t-line);
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; }
.marquee-part { display: inline-flex; }
.marquee-item {
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0 22px;
}
.marquee-item:nth-child(3n+2) { color: var(--color-brand); }
.motion .marquee-track { animation: a-marquee 36s linear infinite; }
@keyframes a-marquee { to { transform: translateX(-50%); } }

/* ---------- блоки ---------- */
.block h2 { text-transform: uppercase; letter-spacing: -0.02em; }

.includes { counter-reset: inc; }
.includes li { counter-increment: inc; display: grid; grid-template-columns: 44px 1fr; gap: 8px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.includes li::before { content: counter(inc, decimal-leading-zero); color: var(--color-brand); font-size: 13px; padding-top: 4px; }

.steps li::before {
  font-size: 64px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-white);
}

.salon-city { text-transform: uppercase; letter-spacing: 0.02em; }

/* «Szczegóły»: 5 умов, лінійні іконки #00AEFF у стилі картки. Усі пункти однакового кегля й ваги, п. 5 теж. */
.details { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--t-line); }
.details-item { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--t-line); font-size: 17px; font-weight: 600; line-height: 1.4; }
.details-icon { width: 26px; height: 26px; margin-top: -1px; fill: none; stroke: var(--color-brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.gift { border-top: 1px solid var(--t-line); }
.gift-lead { font-size: 22px; }

.cta { border-top: 1px solid var(--t-line); }
.cta h2 { margin-bottom: 12px; }
.cta .price { font-size: 96px; }

.form-block { background: var(--color-graphite); }
.docs { border-top: 1px solid var(--t-line); }
.site-footer { border-top: 1px solid var(--t-line); }

.chooser { border: 1px solid var(--t-line); }
.salon-card { border-color: rgba(255, 255, 255, 0.28); }
.salon-card .arrow { color: var(--color-brand); }

@media (min-width: 760px) {
  .hero { padding: 40px 0 16px; }
  .hero .badge { margin-bottom: 24px; font-size: 11.5px; }
  .hero h1 { font-size: 72px; line-height: 1; margin-bottom: 28px; }
  /* Десктоп: текст ліворуч, картка праворуч */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 72px; align-content: center; justify-items: start; }
  .hero-text > * { grid-column: 1; }
  .hero-text > .member-card { grid-column: 2; grid-row: 1 / span 7; align-self: center; margin: 0; }
  .member-card { padding: 22px 24px; border-radius: 20px; }
  .mc-logo { height: 24px; }
  .mc-name { font-size: 19px; margin-bottom: 14px; }
  .mc-icon { width: 28px; height: 28px; }
  .mc-label { font-size: 10.5px; }
  .mc-unlimited { font-size: 28px; }
  .mc-infinity { width: 48px; height: 24px; }
  .mc-period { font-size: 15px; }
  .hero-text > .btn-call { max-width: 380px; width: 100%; }
  .hero .member-card .mc-price { font-size: 56px; }
  .hero-text > .buy-area { max-width: 380px; }
  .price-cta { max-width: 380px; font-size: 20px; }
  .details { max-width: 820px; }
  .details-item { font-size: 19px; grid-template-columns: 32px 1fr; padding: 20px 0; }
  .details-icon { width: 30px; height: 30px; }
  .hero .price { font-size: 88px; }
  .marquee-item { font-size: 16px; padding: 0 32px; }
  .includes li { font-size: 22px; }
  .cta .price { font-size: 160px; letter-spacing: -0.04em; }
}

/* ---------- дві картки: один візит чи цілий місяць ----------
   Права («наша») — очевидно краща: ширша (57% ряду) і вища (виходить на 8px за ряд згори й знизу),
   заливка #00AEFF з м'яким синім світінням, чорний текст (8.50:1), жирна ціна.
   Ліва — приглушена: тонка сіра рамка, сірий текст, ціна звичайної ваги.
   Без закреслення, без «=», «→», «vs». Ціни — з config (comparison.single_price, price.amount). */
.compare { padding: 44px 0 52px; }
.compare h2 { text-transform: none; font-size: 26px; margin-bottom: 30px; }
.compare-cards { --left: 43%; --gap: 8px; position: relative; display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); gap: var(--gap); align-items: stretch; padding: 8px 0; }
.card {
  display: flex; flex-direction: column; min-width: 0;
  padding: 14px 12px 16px; border-radius: var(--radius);
}
.card p { margin: 0; }
.card-single { border: 1px solid rgba(255, 255, 255, 0.38); color: var(--t-muted); }   /* рамка 3.38:1, текст 10.59:1 */
.card-abo {
  margin: -8px 0; padding: 22px 16px 24px;
  background: var(--color-brand); color: var(--color-black);
  box-shadow: 0 0 28px rgba(0, 174, 255, 0.45), 0 0 64px rgba(0, 174, 255, 0.22);
}
.card-label { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; min-height: 26px; display: flex; align-items: center; }
.card-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--color-black); color: var(--color-white); font-size: 12px; letter-spacing: 0.04em; }
.card-desc { margin-top: 10px !important; font-size: 12.5px; line-height: 1.35; flex: 1; }
.card-abo .card-desc { font-weight: 600; }
.card-price { margin-top: 16px !important; white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.02em; }
.card-single .card-price { font-size: 28px; font-weight: 400; }
.card-abo .card-price { font-size: 40px; font-weight: 700; }
/* Довга сума (напр. «5 999 грн», київський ленд) — менший кегль, щоб не вилазила з картки. «499 zł» не зачіпає. */
.card-single .card-price.is-long { font-size: 22px; }
.card-abo .card-price.is-long { font-size: 30px; }
.card-caption { margin-top: 8px !important; font-size: 12.5px; line-height: 1.35; }
.card-abo .card-caption { font-weight: 700; }
/* «czy» — посередині проміжку між картками (ліва колонка = 43% ряду без проміжку) */
.compare-or {
  position: absolute; left: calc((100% - var(--gap)) * 0.43 + var(--gap) / 2); top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-black); color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 11px; font-weight: 700;
}
.motion .card-abo[data-reveal] { transition-delay: .15s; }

@media (min-width: 760px) {
  .compare { padding: 88px 0 96px; }
  .compare h2 { font-size: 40px; margin-bottom: 44px; }
  .compare-cards { --gap: 24px; max-width: 820px; padding: 14px 0; }
  .card { padding: 28px 26px 30px; }
  .card-abo { margin: -14px 0; padding: 40px 32px 42px; }
  .card-label { font-size: 15px; }
  .card-pill { font-size: 14px; padding: 5px 14px; }
  .card-desc { font-size: 16px; }
  .card-single .card-price { font-size: 52px; }
  .card-abo .card-price { font-size: 72px; }
  .card-single .card-price.is-long { font-size: 38px; }
  .card-abo .card-price.is-long { font-size: 54px; }
  .card-caption { font-size: 15px; }
  .compare-or { width: 40px; height: 40px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { display: none; }
}
