/* ============================================================
   MOSTBET CHILE — style.css
   Палитра по бренду: тёмно-синий + оранжевый CTA + золото
   ============================================================ */

:root {
  --navy-900: #07182e;   /* самый тёмный фон */
  --navy-800: #0b2240;   /* основной тёмный */
  --navy-700: #103156;   /* карточки на тёмном */
  --navy-600: #16406e;   /* ховеры */
  --blue:     #1a5dc8;   /* фирменный синий */
  --blue-soft:#2e79e6;
  --orange:   #ff7a00;   /* CTA */
  --orange-2: #ff9633;
  --gold:     #ffc233;
  --ink:      #14233a;   /* текст на светлом */
  --ink-soft: #44546b;
  --paper:    #f4f7fc;   /* светлый фон секций */
  --paper-2:  #e9eff8;   /* tint-секции */
  --line:     #d8e2f0;
  --white:    #ffffff;
  --r: 14px;
  --shadow: 0 10px 30px rgba(7, 24, 46, .12);
  --font-head: 'Saira Condensed', sans-serif;
  --font-body: 'Onest', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }

/* ---------- КНОПКИ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px;
  padding: 12px 26px; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--orange {
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(255, 122, 0, .45);
}
.btn--orange:hover { box-shadow: 0 8px 26px rgba(255, 122, 0, .65); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(26, 93, 200, .4); }
.btn--blue:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); }
.btn--xl { padding: 16px 38px; font-size: 18px; }

.center { text-align: center; margin-top: 36px; }

/* ---------- ШАПКА ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo {
  font-family: var(--font-head); font-weight: 800; font-size: 26px;
  color: var(--white); text-decoration: none; letter-spacing: .03em;
  display: flex; align-items: center; gap: 2px; white-space: nowrap;
}
.logo img { height: 26px; width: auto; display: block; }
.logo--footer img { height: 22px; }
.logo__star { color: var(--orange); font-size: 20px; transform: translateY(-1px); }
.logo__geo { color: var(--gold); font-size: 14px; margin-left: 8px; letter-spacing: .2em; align-self: center; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: #c4d3e8; text-decoration: none; font-weight: 600; font-size: 14.5px;
  text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-head);
  transition: color .15s;
}
.nav a:hover { color: var(--orange-2); }

.header__actions { display: flex; gap: 10px; }
.header__actions .btn { padding: 9px 20px; font-size: 14px; }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; }

/* ---------- ПРОМО-ЛЕНТА ---------- */
.promo-strip {
  background: linear-gradient(90deg, var(--blue) 0%, var(--navy-600) 100%);
  color: var(--white); padding: 9px 0; font-size: 15px;
}
.promo-strip__inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.promo-code {
  background: var(--white); color: var(--navy-800);
  border: 2px dashed var(--orange); border-radius: 8px;
  padding: 4px 14px; font-weight: 700; cursor: pointer; font-size: 15px;
  font-family: var(--font-body);
}
.promo-code small { color: var(--ink-soft); font-weight: 500; margin-left: 8px; font-size: 12px; }
.promo-code.is-copied { border-color: #2fa84f; }
.promo-strip__bonus { color: var(--gold); font-weight: 700; }

/* ---------- ПРОМО-БОКС В СЕКЦИИ ПРОМОКОДА ---------- */
.promo-box {
  background: var(--white); border: 2px dashed var(--orange); border-radius: var(--r);
  padding: 26px 30px; margin: 26px 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; box-shadow: var(--shadow);
}
.promo-box__label {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  font-size: 14px; font-weight: 700; color: var(--ink-soft);
}
.promo-code--big {
  font-size: 26px; padding: 10px 30px; letter-spacing: .06em;
  border-width: 2px; background: var(--paper-2);
}
.promo-code--big small { display: block; font-size: 12px; letter-spacing: 0; margin: 2px 0 0; }
.promo-box__desc { color: var(--orange); font-weight: 700; font-size: 17px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 70% -10%, #16406e 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--white);
  padding: 64px 0 72px;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.hero__glow--1 { width: 420px; height: 420px; background: var(--blue); top: -120px; right: 5%; }
.hero__glow--2 { width: 320px; height: 320px; background: var(--orange); bottom: -160px; left: -80px; opacity: .25; }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.hero__badge {
  display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; letter-spacing: .04em;
  margin-bottom: 20px; color: #cfe0f5;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-bottom: 18px; }
.hero__sub { font-size: 19px; color: #d4e2f4; margin-bottom: 28px; }
.hero__sub strong { color: var(--gold); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero__stats { display: flex; gap: 34px; list-style: none; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--font-head); font-size: 30px; color: var(--gold); line-height: 1; }
.hero__stats span { font-size: 13px; color: #9fb6d4; margin-top: 4px; }

/* ---------- ПЛЕЙСХОЛДЕРЫ КАРТИНОК ---------- */
.img-frame {
  position: relative; border-radius: var(--r); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(26,93,200,.08) 0 14px, rgba(26,93,200,.16) 14px 28px),
    var(--paper-2);
  border: 2px dashed #aebfd8;
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.img-frame::after {
  content: '🖼 место для картинки';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #7b8ca6; font-size: 14px; font-weight: 600; pointer-events: none;
}
.img-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* когда картинка подставлена и загрузилась — JS добавит .has-img */
.img-frame.has-img { border-style: solid; border-color: transparent; background: none; }
.img-frame.has-img::after { display: none; }

.img-frame--hero { min-height: 360px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.img-frame--wide { min-height: 300px; margin: 26px 0; }
.img-frame--tall { min-height: 420px; }
.img-frame--card { min-height: 170px; border-radius: var(--r) var(--r) 0 0; border-width: 0 0 2px; }
.img-frame--sm { min-height: 160px; margin-top: 18px; }
.img-frame--contain img { object-fit: contain; }
.img-frame--on-dark {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.09) 14px 28px), var(--navy-600);
  border-color: rgba(255,255,255,.2);
}
.img-frame--on-dark::after { color: #8aa3c4; }
.img-stack { display: flex; flex-direction: column; gap: 16px; }
.img-stack .img-frame { min-height: 200px; }

/* ---------- СЕКЦИИ ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--paper-2); }
.section--dark {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #dbe7f6;
}
.section--dark p { color: #c2d3ea; }

.lead { font-size: 20px; font-weight: 500; }

.sec-title {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; color: var(--navy-800);
  margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.sec-title--light { color: var(--white); }
.sec-num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px;
  background: var(--orange); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(255,122,0,.4);
}
.sec-sub { font-size: 18px; margin-bottom: 30px; }

/* ---------- ТАБЛИЦЫ ---------- */
.table-wrap { overflow-x: auto; margin: 10px 0 20px; border-radius: var(--r); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
table td, table th { padding: 13px 18px; text-align: left; font-size: 15.5px; }

.facts td:first-child { font-weight: 700; width: 38%; background: #f2f6fd; white-space: nowrap; }
.facts tr { border-bottom: 1px solid var(--line); }
.facts tr:last-child { border-bottom: none; }

.pay { min-width: 560px; }
.pay thead th {
  background: var(--navy-800); color: var(--white);
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
}
.pay tbody tr { border-bottom: 1px solid var(--line); }
.pay tbody tr:nth-child(even) { background: #f6f9fe; }
.pay tbody tr:last-child { border-bottom: none; }

/* ---------- ШАГИ РЕГИСТРАЦИИ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0; }
.step {
  background: var(--white); border-radius: var(--r); padding: 24px 20px;
  box-shadow: var(--shadow); border-top: 4px solid var(--blue);
  transition: transform .2s;
}
.step:hover { transform: translateY(-4px); }
.step__n {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: var(--white); font-family: var(--font-head); font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  box-shadow: 0 5px 14px rgba(255,122,0,.4);
}
.step h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- ВРЕЗКИ ---------- */
.callout {
  border-radius: var(--r); padding: 18px 22px; margin: 22px 0; font-size: 16px;
}
.callout--warn {
  background: #fff6e8; border: 1px solid #ffd9a3; border-left: 5px solid var(--orange);
}

/* ---------- ДВЕ КОЛОНКИ ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; margin: 24px 0; }

.list { list-style: none; margin: 0 0 16px; }
.list li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.list li::before {
  content: '●'; position: absolute; left: 4px; top: 1px; color: var(--orange); font-size: 13px;
}
.list--check li::before { content: '✔'; color: var(--blue); font-size: 15px; left: 0; }

.num-list { margin: 0 0 16px 22px; }
.num-list li { margin-bottom: 8px; }

/* ---------- CTA-БАНД ---------- */
.cta-band {
  margin-top: 34px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue));
  border-radius: var(--r); padding: 26px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--white); box-shadow: var(--shadow);
}
.cta-band b { font-family: var(--font-head); font-size: 24px; text-transform: uppercase; display: block; }
.cta-band span { color: #c8dbf3; font-size: 15px; }

/* ---------- БОНУСЫ ---------- */
.bonus-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.bonus-tab {
  background: var(--navy-700); color: #b9cce6; border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 9px 24px; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; transition: all .15s;
}
.bonus-tab:hover { color: var(--white); }
.bonus-tab.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.bonus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bonus-card {
  background: var(--navy-700); border-radius: var(--r); overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.bonus-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.bonus-card.is-hidden { display: none; }
.bonus-card__img { border-radius: 0; min-height: 160px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.09) 14px 28px), var(--navy-600); border-color: rgba(255,255,255,.2); }
.bonus-card__img::after { color: #8aa3c4; }
.bonus-card__tag {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 6px;
}
.bonus-card h3 { font-size: 18px; color: var(--white); padding: 16px 18px 8px; }
.bonus-card p { font-size: 14px; color: #aec3de; padding: 0 18px 20px; margin: 0; }

/* ---------- ФИЧИ КАЗИНО ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0; }
.feature {
  background: var(--white); border-radius: var(--r); padding: 24px 20px;
  box-shadow: var(--shadow); text-align: center;
}
.feature__icon { font-size: 38px; margin-bottom: 12px; }
.feature h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

.aviator {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  background: linear-gradient(115deg, #d6261f 0%, #8f1014 60%, #5a090c 100%);
  border-radius: var(--r); padding: 34px; color: var(--white);
  box-shadow: 0 16px 40px rgba(143,16,20,.35); margin-top: 30px;
}
.aviator h3 { font-size: 26px; margin-bottom: 12px; }
.aviator p { color: #ffd9d6; margin: 0; }
.aviator .img-frame { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 14px, rgba(255,255,255,.12) 14px 28px), rgba(0,0,0,.25); border-color: rgba(255,255,255,.35); }
.aviator .img-frame::after { color: #f3b9b5; }

/* ---------- ПРИЛОЖЕНИЕ ---------- */
.app-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 28px; align-items: start; }
.app-col { background: var(--navy-700); border-radius: var(--r); padding: 26px; border: 1px solid rgba(255,255,255,.08); }
.app-col__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.app-col__os {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.app-col__os img { width: 26px; height: 26px; }
.app-col h3 { font-size: 21px; color: var(--white); }
.app-col p, .app-col li { font-size: 15px; color: #c2d3ea; }
.app-note { font-size: 13.5px !important; color: #8aa3c4 !important; }
.app-bonus {
  margin-top: 16px; background: rgba(255,194,51,.12); border: 1px solid rgba(255,194,51,.4);
  border-radius: 10px; padding: 12px 16px; color: var(--gold); font-weight: 600; font-size: 14.5px;
}
.app-media { background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.09) 14px 28px), var(--navy-600); border-color: rgba(255,255,255,.2); }
.app-media::after { color: #8aa3c4; }

/* ---------- ПЛЮСЫ / МИНУСЫ ---------- */
.pros-cons { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.pc { border-radius: var(--r); padding: 26px 28px; background: var(--white); box-shadow: var(--shadow); }
.pc h3 { font-size: 22px; margin-bottom: 14px; }
.pc--pros { border-top: 5px solid #2fa84f; }
.pc--pros h3 { color: #1f7a39; }
.pc--cons { border-top: 5px solid #d6453d; }
.pc--cons h3 { color: #b02e27; }
.pc ul { list-style: none; }
.pc li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 15.5px; }
.pc--pros li::before { content: '✔'; position: absolute; left: 0; color: #2fa84f; }
.pc--cons li::before { content: '✖'; position: absolute; left: 0; color: #d6453d; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white); border-radius: var(--r); box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid var(--line);
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
  font-family: var(--font-head); font-size: 19px; font-weight: 700;
  text-transform: uppercase; color: var(--navy-800); position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- ФУТЕР ---------- */
.footer { background: var(--navy-900); color: #93a9c6; padding: 40px 0 30px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.logo--footer { font-size: 22px; }
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a { color: #93a9c6; text-decoration: none; font-size: 14px; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }
.footer__nav a:hover { color: var(--orange-2); }
.footer__rg { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 20px; opacity: .9; }
.footer__rg img { height: 32px; width: auto; }
.footer__legal { font-size: 13.5px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin: 0; }
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #d6453d; color: #ff8d87; font-weight: 800; font-size: 12px;
  margin-left: 10px; vertical-align: middle;
}

/* ---------- КНОПКА НАВЕРХ ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: var(--white); border: none;
  font-size: 22px; cursor: pointer; box-shadow: 0 8px 22px rgba(255,122,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- АНИМАЦИЯ ПОЯВЛЕНИЯ ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1080px) {
  .bonus-grid { grid-template-columns: repeat(3, 1fr); }
  .steps, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: 1fr 1fr; }
  .app-media { grid-column: 1 / -1; min-height: 280px; }
}

@media (max-width: 860px) {
  .nav, .header__actions { display: none; }
  .burger { display: flex; margin-left: auto; }
  .nav.is-open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--navy-800);
    border-bottom: 1px solid rgba(255,255,255,.1); padding: 10px 0;
  }
  .nav.is-open a { padding: 13px 24px; }
  .hero__inner { grid-template-columns: 1fr; }
  .two-col, .aviator, .pros-cons { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .steps, .feature-grid, .bonus-grid, .app-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 50px; }
  .hero__stats { gap: 22px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .btn--xl { width: 100%; }

  /* ===== ТАБЛИЦА ФАКТОВ → ВЕРТИКАЛЬНЫЕ КАРТОЧКИ =====
     На мобиле каждая строка складывается: заголовок сверху,
     значение снизу — таблица всегда влазит целиком. */
  .facts,
  .facts tbody,
  .facts tr,
  .facts td { display: block; width: 100%; }
  .facts td:first-child {
    width: 100%; white-space: normal;
    padding: 12px 16px 4px;
    background: #f2f6fd;
    font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
    color: var(--ink-soft);
    font-family: var(--font-head);
  }
  .facts td:last-child {
    padding: 8px 16px 14px;
    font-size: 15.5px; font-weight: 500;
  }
  .facts tr { border-bottom: 1px solid var(--line); }
  .facts tr:last-child { border-bottom: none; }

  /* ===== ТАБЛИЦА ПЛАТЕЖЕЙ → КАРТОЧКИ С МЕТКАМИ =====
     thead прячем, каждая ячейка = строка «метка: значение»
     через data-label. */
  .pay { min-width: 0; }
  .pay thead { display: none; }
  .pay,
  .pay tbody,
  .pay tr,
  .pay td { display: block; width: 100%; }
  .pay tr {
    border-bottom: none;
    border-top: 3px solid var(--blue);
    margin-bottom: 0;
  }
  .pay tr + tr { border-top: 3px solid var(--blue); }
  .pay td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
    padding: 9px 16px;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
  }
  .pay td:last-child { border-bottom: none; padding-bottom: 14px; }
  .pay td::before {
    content: attr(data-label);
    font-weight: 700; color: var(--ink-soft); font-size: 13px;
    text-transform: uppercase; letter-spacing: .04em;
    font-family: var(--font-head);
    flex-shrink: 0;
  }
  .pay td:first-child {
    display: block; font-weight: 700; font-size: 16px;
    background: #f2f6fd; padding: 11px 16px;
  }
  .pay td:first-child::before { display: none; }
  .pay tbody tr:nth-child(even) { background: var(--white); }
}

/* ---------- БЛОК АВТОРА ---------- */
.author {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 30px; box-shadow: var(--shadow);
}
.author__photo img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--blue);
}
.author__eyebrow {
  display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 4px;
}
.author__name { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--navy-800); }
.author__role { display: block; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 10px; }
.author__bio { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.author__date { font-size: 13px; color: #7b8ca6; }
.author__date time { font-weight: 600; color: var(--ink-soft); }
 
.expert-quote {
  margin-top: 22px; padding: 24px 28px 24px 34px;
  background: var(--paper-2); border-left: 5px solid var(--orange);
  border-radius: 0 var(--r) var(--r) 0; position: relative;
}
.expert-quote p { font-size: 16.5px; line-height: 1.75; font-style: italic; color: var(--ink); margin-bottom: 10px; }
.expert-quote cite { font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
 
@media (max-width: 560px) {
  .author { flex-direction: column; align-items: center; text-align: center; }
}