/* Short webinar landing — mobile-first, one column, six blocks.
   Every colour comes from the :root variables index.php prints from content.php, so the three
   landings share this file and still look distinct. */

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

/* Після прийнятої заявки checkout-lead.js ховає поля через [hidden]; без цього правила власні
   display: block/flex нижче перебивають атрибут, і форма лишається на екрані поруч із подякою. */
[hidden], .form [hidden] { display: none !important; }   /* .consent має display: flex !important, тому потрібна вища специфічність */

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--accent-deep);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

.box { padding: 0 22px; }

/* ---------- typography ---------- */
.h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 7.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 6.2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}
.h2--light { color: #fff; }
.hl { color: var(--gold); }
.h2 .hl { color: var(--accent); }
.h2--light .hl { color: var(--gold); }

/* ---------- 1. hero ---------- */
.hero {
  background-size: cover;
  background-position: center;
  padding: 44px 0 34px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 18px;
}
.sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}
.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.facts li {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 100px;
  padding: 7px 13px;
}
.hero__note {   /* дрібний сірий підпис під кнопкою (Сергій, 2026-09-26) */
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  text-align: center;
}

/* ---------- buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:active { transform: scale(0.985); }
.btn--hero,
.btn--submit {
  background: var(--gold);
  color: #1a1206;
  box-shadow: var(--shadow);
}
.btn--hero b {
  background: rgba(0, 0, 0, 0.14);
  border-radius: 100px;
  padding: 3px 11px;
  font-size: 15px;
}
.btn--ghost {
  margin-top: 22px;
  background: var(--accent);
  color: #fff;
}
.btn--submit { margin-top: 16px; }
.btn[disabled] { filter: grayscale(0.4); cursor: default; }

/* ---------- sections ---------- */
.sec { padding: 40px 0; }
.sec--soft { background: var(--soft); }
.sec--offer { background: var(--accent-deep); padding: 38px 0 42px; }

/* ---------- 2. programme ---------- */
.prog { list-style: none; display: grid; gap: 12px; }
.prog li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 26px -20px rgba(0, 0, 0, 0.5);
}
.prog__n {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
}
.prog b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
/* Scoped to the text column: a bare `.prog span` would also hit .prog__n and wash out the number. */
.prog div span { display: block; font-size: 14px; color: var(--ink-soft); }

/* ---------- 3. audience ---------- */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: var(--accent);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21'%3E%3Cpath d='M5.5 11l3.2 3.2L15.5 7.4' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- 3.5 speaker ---------- */
.speaker {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.55);
}
.speaker img {
  flex: 0 0 128px;
  width: 128px;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}
.speaker__name { font-family: "Montserrat", sans-serif; font-size: 21px; font-weight: 800; }
.speaker__role { color: var(--accent); font-weight: 700; font-size: 14px; margin: 3px 0 7px; }
.speaker__text { font-size: 14px; color: var(--ink-soft); }

/* ---------- 4. offer + form ---------- */
.offer { text-align: center; margin-bottom: 22px; }
.price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 12px 20px;
  margin-bottom: 20px;
}
.price b {
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}
.price span { font-size: 13px; color: rgba(255, 255, 255, 0.85); }
/* 2026-09-22: звичайна ціна в день зустрічі — закреслена поруч із ціною за передоплатою */
.price s { font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, 0.62); text-decoration-thickness: 2px; }
.incl { list-style: none; display: grid; gap: 9px; text-align: left; }
.incl li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #fff;
}
.incl li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.form {
  background: #fff;
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.7);
}
.form__title {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 14px;
  text-align: center;
}
.form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form input[type="text"],
.form input[type="tel"] {
  width: 100%;
  height: 52px;
  border: 1.5px solid #e2e0e6;
  border-radius: 12px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
  background: #fbfbfd;
}
.form input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 2026-09-22: картка «коли / скільки» на першому екрані — дві колонки з великими цифрами, все по центру */
.deal {
  margin: 18px 0 6px;
  padding: 16px 14px 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(240, 192, 90, 0.55);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  text-align: center;
}
.deal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deal__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}
.deal__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.deal__big {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 6.4vw, 30px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--gold);
  white-space: nowrap;
}
/* стара ціна — окремим рядком над великою цифрою, інакше «500 грн 300 грн» не влазить у колонку на телефоні */
.deal__big s {
  display: block;
  font-size: 0.55em;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.6);
  text-decoration-thickness: 2px;
}
.deal__cell { min-width: 0; }
.deal__sub { font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, 0.9); }
.deal__free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(46, 204, 113, 0.18);
  border: 1px solid rgba(46, 204, 113, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.deal__free::before { content: "✓"; color: #5ee29a; font-weight: 900; }
/* одна колонка «коли», коли ціну сховано (show_price => false): картка на всю ширину, не пів-рядка */
.deal__row--one { grid-template-columns: 1fr; }
/* слово замість суми («Безкоштовно», Сергій 2026-09-27): довше за «500 грн», інакше вилазить за пів-рядка на 390 px */
.deal__big--word { font-size: clamp(17px, 5vw, 26px); }
.deal__row--one .deal__big { font-size: clamp(26px, 8vw, 36px); }
@media (max-width: 360px) { .deal__row { grid-template-columns: 1fr; } }

.consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  font-weight: 500 !important;
  color: var(--ink-soft) !important;
  margin-bottom: 0 !important;
}
.consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.consent a { color: var(--accent); }

.form__err {
  margin-top: 12px;
  background: #fff1ee;
  color: #b42318;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
}
.form__ok {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 0;
}
.form__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- 5. faq ---------- */
.faq { display: grid; gap: 8px; }
.faq details {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px -22px rgba(0, 0, 0, 0.55);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 9px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 6. footer ---------- */
.foot {
  background: var(--accent-deep);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 30px 0 34px;
  font-size: 13px;
}
.foot__title { font-weight: 700; color: #fff; margin-bottom: 10px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 12px; }
.foot a { color: rgba(255, 255, 255, 0.85); }
.foot__copy { opacity: 0.6; font-size: 12px; }

/* ---------- sticky call to action ---------- */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky.is-on { transform: translateY(0); }
.sticky .btn { padding: 13px 18px; font-size: 16px; }
.sticky__inner { max-width: 600px; margin: 0 auto; }

/* ---------- legal page ---------- */
.legal { padding: 34px 22px 50px; background: var(--bg); }
.legal h1 { font-family: "Montserrat", sans-serif; font-size: 24px; margin-bottom: 16px; }
.legal p { margin-bottom: 12px; font-size: 15px; color: var(--ink-soft); }
.legal a { color: var(--accent); }

@media (min-width: 601px) {
  .wrap { box-shadow: 0 0 60px rgba(0, 0, 0, 0.35); }
  .hero { padding: 56px 0 44px; }
  .box { padding: 0 34px; }
  .sec { padding: 52px 0; }
}

/* 2026-09-22: докази (реальні відгуки й цифри) + рядок найближчого ефіру */
.hero__next { margin: 10px 0 0; font-weight: 700; color: var(--gold); font-size: 1.02rem; }
.facts--dark li { color: var(--ink); background: #fff; border: 1px solid var(--soft); }
.proof { display: grid; gap: 14px; margin-top: 18px; }
.proof__item { margin: 0; padding: 16px 18px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.proof__item p { margin: 0 0 8px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.proof__item footer { font-size: 0.86rem; color: var(--ink-soft); font-weight: 600; }

/* ---- webinar_tg (2026-09-27): two lines under the H1 and the Telegram button ---- */
.tg-lines { margin: 18px 0 22px; display: grid; gap: 8px; }
.tg-lines__row { font-size: 17px; line-height: 1.4; font-weight: 600; color: #fff; }
.btn--tg { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 19px; padding: 20px 18px; }
.btn__tg { width: 26px; height: 26px; flex: none; }
.hero--tg .h1 { margin-bottom: 4px; }
.sec .btn--tg { margin-top: 22px; }
.faq details[open] summary { margin-bottom: 6px; }
