/* Публичные страницы водителя /drive и /upload — в стиле основного сайта lionkingtransport.com (01.12):
   только светлая тема, белая шапка с логотипом, золотые «таблетки» над заголовками, одно слово заголовка золотом,
   белые карточки с тонкой рамкой и мягкой тенью, золотые кнопки, разделы чередуются белый / #f7f6f2, подвал как на сайте.
   Токены — те же, что в CSS основного сайта. Без внешних шрифтов и скриптов: системный шрифт, похожий на Inter.
   Золото #c9a227 — для крупных заголовков и кнопок; мелкий золотой текст — --gold-text (контраст ≥ 4.5:1). Сначала телефон. */
:root {
  --bg: #fff; --bg2: #f7f6f2; --bgCard: #fff; --border: #e5e2d9; --borderLight: #eeece8;
  --gold: #c9a227; --gold-bright: #e8b830; --gold-dark: #9a7a15; --gold-text: #8a6d12; --gold-soft: #faf3dc; --gold-line: #eedfa8;
  --text: #111; --text2: #666; --text3: #aaa; --body: #3a3a3a;
  --red: #b42318; --red-soft: #fdecea; --green: #1e7b4a; --green-soft: #e7f4ec;
  --radius: 10px; --radiusLg: 16px; --radiusXl: 24px;
  --shadow: 0 4px 24px #00000012; --shadowGold: 0 6px 28px #c9a22747;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --navH: 72px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--navH) + 8px); }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.1; letter-spacing: -.03em; margin: 0; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { flex: none; }
.gold { color: var(--gold); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 600px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* шапка: белая, логотип слева, золотая кнопка-контур справа */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--navH); }
.logo-link { display: block; flex: none; border-radius: 6px; }
.logo { height: 48px; width: auto; }

/* «таблетка» над заголовком и золотая черта под ним */
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 16px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-line);
  color: var(--gold-text); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.rule { display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--gold); margin: 18px 0 20px; }
.center .rule, .sec-head.center .rule { margin-left: auto; margin-right: auto; }

/* кнопки (как .btnPrimary / .btnOutlineGold основного сайта) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  font: 700 16px/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; text-align: center;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-gold, .btn-primary { background: var(--gold); border-color: var(--gold); color: #000; }
.btn-gold:hover, .btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: var(--shadowGold); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold-text); }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn-block, .btn-primary { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; box-shadow: none; }

/* первый экран /drive — тёплый светлый фон с мягким золотым свечением, как «Drive With Lion King.» на /careers */
.hero { background: radial-gradient(90% 60% at 20% 55%, #fbf3d9 0%, rgba(251, 243, 217, 0) 70%), var(--bg2); padding: 40px 0 44px; border-bottom: 1px solid var(--borderLight); }
.hero h1 { font-size: clamp(2.6rem, 11vw, 4.4rem); margin: 18px 0 0; max-width: 12ch; }
.hero .sub { color: var(--text2); font-size: 17px; line-height: 1.75; max-width: 46ch; }
.hero .cta-row { display: grid; gap: 12px; margin-top: 26px; }
.stats { display: grid; gap: 18px; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column-reverse; margin: 0; }
.stat dd { margin: 0; color: var(--gold); font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat dt { color: var(--text2); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

/* разделы */
.section { padding: 56px 0; }
.section.soft { background: var(--bg2); }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.9rem, 7.6vw, 2.6rem); margin-top: 14px; }
.sec-head .rule { margin: 16px 0 16px; }
.sec-head.center .rule { margin: 16px auto; }
.sec-head .lead { color: var(--text2); max-width: 52ch; }
.sec-head.center .lead { margin: 0 auto; }
.note { color: var(--text2); font-size: 14px; margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; justify-content: center; }
.note svg { color: var(--gold-dark); margin-top: 3px; }

/* карточки (белые, тонкая рамка, мягкая тень, золотые линейные иконки) */
.card { background: var(--bgCard); border: 1px solid var(--border); border-radius: var(--radiusLg); box-shadow: var(--shadow); }
.ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); flex: none; }
.programs { display: grid; gap: 16px; }
.program { padding: 24px 22px; display: grid; gap: 10px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.program:hover { border-color: var(--gold-line); box-shadow: var(--shadowGold); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-soft); border: 1px solid var(--gold-line);
  border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.program .pay { color: var(--text); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.program .detail { color: var(--text2); font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--gold-text); font-weight: 700; font-size: 15px; text-decoration: none; justify-self: start; min-height: 44px; }
.more:hover { color: var(--text); }

.benefits { display: grid; gap: 14px; }
.benefit { padding: 22px 20px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.benefit p { color: var(--text); font-weight: 600; font-size: 16px; line-height: 1.45; }
.req-block { margin-top: 48px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--text); font-weight: 600; }
.tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-dark); margin-top: 1px; }

/* форма */
.page-main { min-height: calc(100dvh - var(--navH)); }
.form-card { background: var(--bgCard); border: 1px solid var(--border); border-radius: var(--radiusXl); padding: 26px 18px; box-shadow: var(--shadow); }
.form-card > .pill { margin-bottom: 14px; }
.form-card h1, .form-card h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); margin-bottom: 10px; }
.form-card .lead { color: var(--text2); margin-bottom: 22px; }
.form { display: grid; gap: 18px; }
.row2 { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-weight: 600; color: var(--text); font-size: 15px; }
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; height: 52px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; color: var(--text);
  font: 400 max(16px, 1rem) var(--font); transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder { color: var(--text3); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.field.invalid input { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; }
.field .hint { color: var(--text2); font-size: 13px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; display: flex; align-items: center; min-height: 52px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text); background: #fff; line-height: 1.25; transition: border-color .15s ease, background .15s ease; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: var(--gold-line); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset: 2px; }
.field.invalid .choice { border-color: var(--red); }
/* одно короткое согласие: галочка + строка текста + «Details · Terms» */
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--borderLight); border-radius: var(--radius); background: var(--bg2); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.consent span { font-size: 13px; line-height: 1.55; color: var(--text2); }
.consent label { cursor: pointer; }
.consent a { color: var(--gold-text); font-weight: 600; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--red-soft); color: var(--red); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; }

/* «спасибо» */
.thanks { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 12px 4px; }
.thanks .ok { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-dark); border: 1px solid var(--gold-line); }
.thanks h2 { font-size: 28px; }
.thanks p { color: var(--text2); max-width: 40ch; }
.thanks .btn { max-width: 360px; }

/* подвал как у основного сайта */
.foot { background: var(--bg2); border-top: 1px solid var(--border); color: var(--text2); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-top: 44px; padding-bottom: 36px; }
.foot-brand { grid-column: 1 / -1; }
.foot-logo { height: 52px; width: auto; margin-bottom: 14px; }
.foot-brand p { max-width: 300px; line-height: 1.75; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-col a { color: var(--text2); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.foot-col a:hover { color: var(--gold-text); }
.foot-bottom { border-top: 1px solid var(--border); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); font-size: 13px; color: #777; }
.foot-bottom .wrap { display: grid; gap: 8px; justify-items: center; text-align: center; }
.foot-legal { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.foot-legal a { color: #777; text-decoration: none; }
.foot-legal a:hover { color: var(--gold-text); }

@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 72px 0 80px; }
  .hero .cta-row { display: flex; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; }
  .section { padding: 80px 0; }
  .programs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .benefit { grid-template-columns: 1fr; align-items: start; padding: 28px 24px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 36px; }
  .choices { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; padding-top: 64px; padding-bottom: 48px; }
  .foot-brand { grid-column: auto; }
  .foot-bottom .wrap { display: flex; justify-content: space-between; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .program, .choice { transition: none; } }
