/* Спільний шаблон лендінгів Анжеліки Рибак.
   Структура блоків — шаблони Анжеліки (Drive, «структура лендинга»).
   Візуальна система — «візуал брендбук/брендбук.md»: Prata для заголовків, Montserrat для тексту, червоний #E00016 точково.
   Сторінка темна (Анжеліка, 04.11.2026: «не хочу білий фон»). */

:root {
  --red: #E00016;
  --red-dark: #B80012;
  --red-text: #FF4D5E; /* червоний для дрібного тексту на темному — контраст ≥ 4.5 */
  --white: #FFFFFF;
  --ink: #111111;
  --graphite: #181818;
  --deep: #0C0C0C;
  --black: #000000;
  --muted-on-dark: rgba(255, 255, 255, .72);
  --line-on-dark: rgba(255, 255, 255, .38);
  --card-on-dark: rgba(255, 255, 255, .06);
  --card-line: rgba(255, 255, 255, .14);

  --serif: "Prata", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --radius-card: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 40px; } }

/* ---------- типографіка ---------- */

.display {
  font: 400 clamp(56px, 15vw, 128px)/.92 var(--serif);
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-top: 20px;
}
.title {
  font: 400 clamp(38px, 7vw, 68px)/1.02 var(--serif);
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.title--center { text-align: center; }
.lead { font-size: clamp(18px, 2.2vw, 20px); line-height: 1.5; max-width: 760px; }
.lead--center { margin: 0 auto; text-align: center; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted-on-dark); }

/* ---------- фірмова червона плашка ---------- */

.plaque {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font: 600 13px/1.25 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 2px;
}
.plaque-wide {
  background: var(--red);
  color: var(--white);
  font: 600 clamp(18px, 2.4vw, 23px)/1.35 var(--sans);
  padding: 20px 26px;
  border-radius: 3px;
  margin-top: 44px;
  max-width: 900px;
}
.plaque-wide--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- кнопки ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 28px;
  font: 600 16px/1.2 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color .15s ease;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover, .btn--red:focus-visible { background: var(--red-dark); }
.btn--ghost { border: 1.5px solid currentColor; color: inherit; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255, 255, 255, .12); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
@media (max-width: 520px) { .actions .btn { width: 100%; } }

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

.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section--dark { background: var(--ink); }
.section--light { background: var(--graphite); }
.section--soft { background: var(--deep); }

/* ---------- перший екран ---------- */

.hero { position: relative; background: var(--ink); overflow: hidden; }
/* На вузькому екрані фото стоїть окремим блоком і не збільшується: у низькому вікні воно стає вужчим, а не обрізає голову. */
.hero__photo { position: relative; display: block; width: min(100%, calc(66svh * .8)); aspect-ratio: 4 / 5; margin: 0 auto; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to bottom, rgba(17,17,17,0), var(--ink)); }
.hero__shade { display: none; }
.hero__body { position: relative; margin-top: -48px; padding-bottom: 90px; }
.hero .plaque { font-size: 12px; letter-spacing: .1em; padding: 9px 12px; }
.hero__lead { margin-top: 18px; max-width: 560px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45; }

@media (min-width: 900px) {
  .hero { display: flex; align-items: center; min-height: 100svh; }
  .hero__photo { position: absolute; inset: 0 0 0 auto; width: 52%; height: auto; aspect-ratio: auto; margin: 0; }
  .hero__photo img { object-position: 50% 18%; }
  .hero__photo::after { display: none; }
  .hero .plaque { font-size: 13px; letter-spacing: .14em; padding: 10px 16px; }
  .hero__shade { display: block; position: absolute; inset: 0; background: linear-gradient(to right, var(--ink) 48%, rgba(17,17,17,.6) 56%, rgba(17,17,17,0) 72%); }
  .hero__body { margin-top: 0; padding-top: 120px; padding-bottom: 120px; }
  .hero__body > * { max-width: 620px; }
}

/* ---------- чи знайома ситуація: 3 картки, номер у кружку на верхньому краї ---------- */

.pains { display: grid; gap: 52px; margin-top: 62px; }
@media (min-width: 900px) { .pains { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.pain {
  position: relative;
  background: var(--card-on-dark);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 50px 26px 30px;
}
.pain h3 { font: 400 24px/1.2 var(--serif); margin-bottom: 12px; }
.pain .num {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px;
  border: 4px solid var(--graphite);
  box-sizing: content-box;
}
.num {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--red); color: var(--white);
  font: 600 22px/1 var(--sans);
}

/* ---------- текст + фото ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .split { gap: 64px; }
  .split--rev { grid-template-columns: 7fr 5fr; }
  .split--gallery { grid-template-columns: 7fr 5fr; align-items: start; }
}
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.prose p + p { margin-top: 14px; }

.figures { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 600px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures li { border-top: 1px solid var(--line-on-dark); padding-top: 14px; font-size: 15px; line-height: 1.4; color: var(--muted-on-dark); }
.figures b { display: block; white-space: nowrap; font: 400 clamp(34px, 3.6vw, 46px)/1.05 "Playfair Display", var(--serif); font-variant-numeric: lining-nums; color: var(--white); margin-bottom: 8px; } /* у Prata цифра 1 схожа на l */
@media (min-width: 600px) { .figures--two { grid-template-columns: 3fr 2fr; } }
.figures--stack { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 8px; }
.figures--stack b { font-size: clamp(52px, 7vw, 72px); }
.figures--trust { margin-top: 36px; }
.figures--trust b { font-size: clamp(52px, 7vw, 72px); }
.cases-title { margin: 72px 0 24px; text-align: center; font: 400 clamp(30px, 4vw, 44px)/1.1 var(--serif); letter-spacing: -.01em; text-transform: uppercase; }

/* ---------- програма: акордеон ---------- */

.acc { max-width: 820px; margin: 36px auto 0; display: grid; gap: 10px; }
.acc details { background: var(--card-on-dark); border: 1px solid var(--card-line); border-radius: 10px; overflow: hidden; }
.acc details[open] { background: rgba(255, 255, 255, .09); }
.acc summary {
  position: relative;
  list-style: none; cursor: pointer;
  padding: 18px 60px 18px 24px;
  display: grid; gap: 4px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 400 32px/1 var(--sans); color: var(--white);
}
.acc details[open] summary::after { content: "−"; }
.acc summary:focus-visible { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: -2px; border-radius: 10px; }
/* Усередині карток — один шрифт (Montserrat) і один колір тексту; Prata лишається тільки в заголовках секцій (Анжеліка, 05.11.2026: «месиво»). */
.acc__when { font: 500 14px/1.4 var(--sans); color: var(--red-text); }
.acc__name { font: 600 clamp(18px, 2.2vw, 21px)/1.35 var(--sans); }
.acc__body { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; }
.acc__body p + p { margin-top: 12px; }
.acc__result b { font-weight: 600; }
/* Подарунок у бонусах: той самий шрифт, що й у решті карток; акцент — рамка, плашка, розмір (Анжеліка, 05.11.2026). */
.gift {
  padding: 24px 24px 26px;
  background: var(--ink);
  border: 1px solid var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
  border-radius: 10px;
}
.gift .plaque { font-size: 12px; letter-spacing: .1em; padding: 8px 12px; }
.gift h3 { margin: 16px 0 10px; font: 600 clamp(22px, 3vw, 30px)/1.25 var(--sans); }
.gift p { font-size: 16px; line-height: 1.6; }
.gift ul { margin: 12px 0 0; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; }
.gift li { position: relative; padding-left: 24px; }
.gift li::before { content: "—"; position: absolute; left: 0; color: var(--red-text); }
.gift .gift__note { margin-top: 14px; }
.acc__label { margin: 30px 0 8px; text-align: center; font: 400 clamp(30px, 4vw, 44px)/1.1 var(--serif); letter-spacing: -.01em; text-transform: uppercase; }

/* ---------- що в результаті ---------- */

.results { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 700px) { .results { grid-template-columns: 1fr 1fr; gap: 18px; } }
.result {
  background: var(--card-on-dark);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 28px 26px;
}
.result h3 { font: 400 24px/1.2 var(--serif); margin-bottom: 12px; }


/* ---------- мені довіряють: галерея відгуків ---------- */

.gallery { display: grid; gap: 12px; }
@media (min-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } }
.rev { background: var(--card-on-dark); border: 1px solid var(--card-line); border-radius: var(--radius-card); padding: 20px; font-size: 15px; line-height: 1.45; color: var(--muted-on-dark); }
.rev h3 { font: 600 16px/1.35 var(--sans); color: var(--white); margin-bottom: 6px; }
.rev--wide { grid-column: 1 / -1; display: grid; gap: 12px; }
.rev--wide blockquote p { font: 400 clamp(19px, 2.2vw, 23px)/1.4 var(--serif); color: var(--white); }
.tag {
  justify-self: start;
  display: inline-block; font: 600 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  border: 1px solid var(--line-on-dark); border-radius: 30px; padding: 7px 12px;
}

/* ---------- тарифи: назва, що входить (чого немає — закреслено), ціна, кнопка ---------- */

.tariffs { display: grid; gap: 18px; margin: 40px auto 0; max-width: 960px; }
@media (min-width: 800px) { .tariffs { grid-template-columns: 1fr 1fr; gap: 22px; } }
.tariffs--one { max-width: 560px; }
@media (min-width: 800px) { .tariffs--one { grid-template-columns: 1fr; } }
.tariff {
  background: var(--graphite);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  display: flex; flex-direction: column;
}
.tariff--accent { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.tariff h3 { font: 400 30px/1.15 var(--serif); text-align: center; }
.tariff__seats { display: inline-block; vertical-align: middle; margin-left: 6px; background: var(--red); padding: 5px 9px; border-radius: 2px; font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.tariff__label { margin: 20px 0 10px; font-weight: 500; }
.incl { display: grid; gap: 9px; font-size: 16px; line-height: 1.4; }
.incl li { position: relative; padding-left: 24px; }
.incl li::before { content: "✓"; position: absolute; left: 0; color: var(--red-text); font-weight: 700; }
.incl .incl__head { padding-left: 0; margin-top: 6px; font-weight: 600; }
.incl .incl__head::before { content: none; }
.incl .no { color: rgba(255, 255, 255, .42); }
.incl .no::before { content: "—"; color: rgba(255, 255, 255, .42); font-weight: 400; }
.tariff__price { margin: auto 0 0; padding-top: 24px; text-align: center; font: 400 clamp(42px, 5vw, 52px)/1.1 var(--serif); }
.tariff .btn { margin-top: 16px; width: 100%; }
.upgrade { margin: 22px auto 0; text-align: center; font: 500 16px/1.45 var(--sans); max-width: 760px; }
.terms { margin: 22px auto 0; max-width: 760px; text-align: center; }
.terms a { color: var(--white); }

/* ---------- футер і закріплена кнопка ---------- */

.footer { background: var(--black); color: var(--muted-on-dark); padding: 40px 0 120px; font-size: 14px; }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.footer a { color: var(--white); }

.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20;
  display: flex; justify-content: center; align-items: center; min-height: 56px;
  background: var(--red); color: var(--white); text-decoration: none;
  font: 600 16px/1.2 var(--sans); letter-spacing: .04em; border-radius: 3px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
@media (min-width: 900px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Розпроданий тариф і спливаюче вікно (17.11.2026) */
.tariff--soldout { position: relative; border-color: rgba(255, 255, 255, .12); cursor: pointer; }
.tariff--soldout > :not(.tariff__stamp) { opacity: .45; }
.tariff__stamp { position: absolute; top: -14px; right: 20px; background: var(--red); color: var(--white); font: 700 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 2px; }
.soldout { width: calc(100% - 32px); max-width: 520px; padding: 34px 26px 26px; background: var(--graphite); color: var(--white); border: 1px solid var(--red); box-shadow: inset 0 0 0 1px var(--red), 0 20px 60px rgba(0, 0, 0, .5); border-radius: var(--radius-card); }
.soldout::backdrop { background: rgba(0, 0, 0, .72); }
.soldout .plaque { font-size: 11px; letter-spacing: .1em; padding: 7px 10px; }
.soldout h3 { margin: 16px 0 10px; font: 400 clamp(26px, 4vw, 34px)/1.15 var(--serif); text-transform: uppercase; }
.soldout p { font-size: 16px; line-height: 1.55; }
.soldout ul { margin: 12px 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.soldout li { position: relative; padding-left: 24px; }
.soldout li::before { content: "✓"; position: absolute; left: 0; color: var(--red-text); font-weight: 700; }
.soldout .btn { width: 100%; }
.soldout__x { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; background: none; border: 0; color: var(--white); font: 400 32px/1 var(--sans); cursor: pointer; }
.soldout__x:focus-visible { outline: 2px solid var(--white); }
.tariff__note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted-on-dark); text-align: center; }
.tariff__note a { color: var(--white); }
