/* /partners — партнёрская программа (10.11.2026). Разметка: templates/partners.php.
   Макет: design_handoff_xskill/partners.dc.html. Префикс пт-. Блок проверки сайта клиента —
   свои стили в proverka-sajta.css. Крупный текст макета (60/44/64 px) — через clamp. */
.пт { font-family: 'Manrope', system-ui, sans-serif; color: #14202B; background: #fff; }
.пт *, .пт *::before, .пт *::after { box-sizing: border-box; }
.пт a { text-decoration: none; }
.пт button, .пт input { font-family: inherit; }
.пт input::placeholder { color: #97A3AF; }
.пт h1, .пт h2 { margin: 0; color: inherit; }
.пт-в { max-width: 1280px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.пт-две { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: center; }
.пт-колонка { display: flex; flex-direction: column; gap: 24px; }
.пт-голубая { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #1A9FDB; }
.пт-лайм { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #D7F23A; }

/* первый экран */
.пт-герой { background: #F3F7FB; }
.пт-герой .пт-в { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.пт-пилюля { align-self: flex-start; padding: 8px 18px; border: 1px solid #DCE6F0; border-radius: 999px; background: #fff;
             font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.пт h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.пт h1 span { color: #5E9A12; border-bottom: 4px solid #D7F23A; white-space: nowrap; }
.пт-лид { margin: 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: #4A5764; max-width: 540px; text-wrap: pretty; }
.пт-кнопки { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.пт-кнопка { padding: 18px 32px; border-radius: 999px; background: #D7F23A; color: #14202B !important; font-weight: 700; font-size: 17px; transition: background .15s; }
.пт-кнопка:hover { background: #CBE62C; }
.пт-ссылка { font-weight: 700; font-size: 16px; color: #1A9FDB !important; }
.пт-ссылка:hover { color: #127FB2 !important; }
.пт-ступени-карта { background: #fff; border-radius: 28px; box-shadow: 0 20px 50px -20px rgba(20,32,43,.18); padding: 32px;
                    display: flex; flex-direction: column; gap: 24px; }
.пт-ступени-верх { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.пт-ступени-верх b { font-size: 18px; font-weight: 800; }
.пт-ступени-верх span { font-size: 13px; color: #8A96A2; }
.пт-ступени { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; height: 300px; }
.пт-ступень { background: #F3F7FB; color: #14202B; border-radius: 20px; padding: 20px 16px; display: flex; flex-direction: column;
              justify-content: space-between; transition: background .2s, color .2s; min-width: 0; }
.пт-ступень b { font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.пт-ступень span { font-size: 15px; font-weight: 600; line-height: 1.3; }
.пт-ступень.пройдена { background: #E4F0F9; }
.пт-ступень.сейчас { background: #14202B; color: #fff; }
.пт-сноска { margin: 0; font-size: 14px; color: #6B7884; line-height: 1.5; }

/* секции */
.пт-секция { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 40px; }
.пт-заголовок { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.пт h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.пт h2 span { color: #1A9FDB; }
.пт-заголовок p { margin: 0; font-size: clamp(16px, 1.5vw, 18px); color: #5B6875; }
.пт-по-центру { text-align: center; }

/* калькулятор */
.пт-калькулятор { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.пт-ползунки { background: #F4F8FC; border: 1px solid #E2EAF2; border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 36px; }
.пт-ползунки label { display: flex; flex-direction: column; gap: 14px; }
.пт-ползунки label > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; color: #4A5764; }
.пт-ползунки label b { font-size: 22px; color: #14202B; white-space: nowrap; }
.пт-ползунки input[type=range] { width: 100%; accent-color: #1A9FDB; }
.пт-чипы { display: flex; gap: 8px; flex-wrap: wrap; }
.пт-чип { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #fff; color: #6B7884; }
.пт-чип.сейчас { background: #D7F23A; color: #14202B; }
.пт-доход { background: #14202B; color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 28px; }
.пт-сумма { display: flex; flex-direction: column; gap: 6px; }
.пт-сумма b { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.пт-сумма > span, .пт-год > span { font-size: 17px; color: #C7D0D8; }
.пт-год { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #2C3A47; font-size: 17px; gap: 12px; flex-wrap: wrap; }
.пт-год b { font-weight: 800; }
.пт-дальше { font-size: 15px; color: #D7F23A; }

/* блок проверки внутри страницы */
.пт-проверка { margin-top: 48px; }

/* четыре карточки */
.пт-четыре { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.пт-карта { background: #F4F8FC; border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.пт-карта b { font-size: clamp(22px, 2.2vw, 26px); font-weight: 800; line-height: 1.2; }
.пт-карта p { margin: 0; font-size: 16px; line-height: 1.55; color: #4A5764; }
.пт-тёмная { background: #14202B; color: #fff; }
.пт-тёмная p { color: #C7D0D8; }

/* кабинет */
.пт-кабинет { background: #F3F7FB; border: 1px solid #E2EAF2; border-radius: 28px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.пт-кабинет-верх { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.пт-кабинет-верх b { font-size: 18px; font-weight: 800; }
.пт-кабинет-верх span { font-size: 13px; color: #8A96A2; }
.пт-метрики { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.пт-метрики > div { background: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.пт-метрики span { font-size: 13px; color: #6B7884; }
.пт-метрики b { font-size: 30px; font-weight: 800; }
.пт-метрики i { display: block; height: 8px; background: #EEF3F7; border-radius: 99px; overflow: hidden; margin: 4px 0; }
.пт-метрики em { display: block; height: 100%; background: #D7F23A; }
.пт-метрики strong { font-size: 14px; font-weight: 700; }
.пт-таблица { background: #fff; border-radius: 18px; overflow: hidden; }
.пт-строка { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 12px; padding: 16px 20px; font-size: 15px; align-items: center;
             border-bottom: 1px solid #F3F6F9; }
.пт-строка-шапка { padding: 14px 20px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #8A96A2; border-bottom-color: #EEF2F6; }
.пт-строка b, .пт-строка strong { font-weight: 800; }
.пт-строка b { font-weight: 700; }
.пт-строка em { font-style: normal; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.пт-работает { background: #F4FADC; color: #5E9A12; }
.пт-демо { background: #E4F0F9; color: #1A9FDB; }

/* как это работает */
.пт-фон { background: #F3F7FB; margin-top: clamp(40px, 5vw, 48px); }
.пт-фон .пт-секция { padding-bottom: clamp(56px, 8vw, 96px); }
.пт-шаг { background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.пт-шаг b { font-size: 20px; font-weight: 800; line-height: 1.25; }
.пт-шаг.пт-тёмная { background: #14202B; }

/* форма */
.пт-форма-секция { padding: clamp(56px, 8vw, 96px) 24px; }
.пт-форма-карта { max-width: 1280px; margin: 0 auto; background: #14202B; color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 64px);
                  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.пт-форма-карта .пт-колонка { gap: 16px; }
.пт-форма-карта p { margin: 0; font-size: 18px; line-height: 1.55; color: #C7D0D8; }
.пт-поля { display: flex; flex-direction: column; gap: 12px; }
.пт-поля input { height: 58px; padding: 0 20px; border: 1px solid #2C3A47; border-radius: 16px; background: #1C2A36; color: #fff; font-size: 17px; outline: none; }
.пт-поля input:focus { border-color: #D7F23A; }
.пт-поля button { height: 58px; border: 0; border-radius: 999px; background: #D7F23A; color: #14202B; font-size: 17px; font-weight: 700; cursor: pointer; transition: background .15s; }
.пт-поля button:hover { background: #CBE62C; }
.пт-поля button:disabled { opacity: .6; cursor: wait; }
.пт-ошибка { margin: 0; font-size: 14px; font-weight: 600; color: #FF8A80 !important; }
.пт-принято { display: none; }
.пт-форма[data-sent="1"] .пт-поля { display: none; }
.пт-форма[data-sent="1"] .пт-принято { display: flex; align-items: center; gap: 16px; padding: 24px; background: #1C2A36; border-radius: 18px; }
.пт-принято span { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #D7F23A; color: #14202B; display: flex;
                   align-items: center; justify-content: center; font-weight: 800; }
.пт-принято b { font-size: 18px; font-weight: 600; }

@media (max-width: 640px) {
  .пт-в { padding-left: 16px; padding-right: 16px; }
  .пт-две { gap: 32px; }
  .пт-ступени-карта { padding: 20px; }
  .пт-ступени { height: 240px; gap: 8px; }
  .пт-ступень { padding: 14px 10px; border-radius: 16px; }
  .пт-ступень span { font-size: 13px; }
  .пт-кнопка { width: 100%; text-align: center; }
  /* таблица кабинета: на телефоне 4 колонки не влезают — прячем «счёт» */
  .пт-строка { grid-template-columns: 1.5fr 1.3fr 1fr; padding: 14px; font-size: 14px; }
  .пт-строка > :nth-child(3) { display: none; }
  .пт-форма-секция { padding-left: 16px; padding-right: 16px; }
}
