/* Safar Driving School: white, road blue, L-plate red and sunshine yellow. Lexend throughout.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #EEF4FF;
  --ink: #14213D;
  --muted: #4F5B76;
  --line: #DFE6F3;
  --line-strong: #BFCBE3;
  --brand: #1F5FD6;
  --brand-hover: #174CB0;
  --brand-ink: #FFFFFF;
  --brand-text: #1A52BA;
  --red: #E0262B;
  --sun: #FFC93C;
  --eyebrow: #E0262B;
  --badge-bg: #FFC93C;
  --badge-ink: #14213D;
  --out-bg: #14213D;
  --out-ink: #FFFFFF;
  --out-accent: #FFC93C;
  --out-btn: #FFC93C;
  --out-btn-ink: #14213D;
  --head: "Lexend", system-ui, sans-serif;
  --body: "Lexend", system-ui, sans-serif;
  --fs-body: 1rem;
  --radius: 14px;
  --radius-lg: 24px;
  --btn-radius: 14px;
  --wrap: 1180px;
}
body { font-weight: 300; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
strong, b, .btn, .field > label, .field legend { font-weight: 600; }
.ic { color: var(--brand); }

.header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.logo small { font-size: .74rem; color: var(--muted); }
.nav a { font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-text); background: var(--soft); }

.hero { padding-block: clamp(32px, 6vw, 72px); background: linear-gradient(180deg, #fff 0%, #F6F9FF 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .road { max-width: 320px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); }
.hero-badge span { display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid var(--red); border-radius: 6px; color: var(--red); font-weight: 800; background: #fff; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin: 18px 0; line-height: 1.04; }
.hero mark { background: linear-gradient(transparent 60%, var(--sun) 60%); color: inherit; padding: 0 4px; }
.hero .t-actions { margin-top: 26px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--muted); font-size: .94rem; }
.hero-facts b { display: block; font-size: 1.4rem; color: var(--ink); }
.road svg { width: 100%; height: auto; }

.c-card { border-radius: 24px; }
.c-badge { border-radius: 8px; }
.journey { background: var(--soft); }
.road-steps { list-style: none; counter-reset: r; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 12px; }
.road-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 6px; background: repeating-linear-gradient(90deg, var(--brand) 0 24px, transparent 24px 40px); border-radius: 3px; }
.road-steps li { counter-increment: r; position: relative; display: grid; gap: 6px; padding: 0 12px 0 0; }
.road-steps li::before { content: counter(r); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); font-weight: 800; color: var(--brand); margin-bottom: 8px; position: relative; }
.road-steps li:last-child::before { background: var(--red); border-color: var(--red); color: #fff; }
.road-steps b { font-size: 1.05rem; }
.road-steps span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .road-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; } .road-steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: repeating-linear-gradient(180deg, var(--brand) 0 24px, transparent 24px 40px); } .road-steps li { grid-template-columns: 50px minmax(0, 1fr); column-gap: 14px; } .road-steps li::before { grid-row: span 2; margin: 0; } }
.why-list li { padding: 22px; background: var(--soft); border-radius: 24px; }
.quotes-band { background: #FFF8E4; }
.quotes li { border: 0; }

.tool-in.card { border-radius: 24px; }
.page-head { background: var(--soft); border-radius: 0 0 40px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.page-head .eyebrow::before { content: "L"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 2px solid var(--red); border-radius: 4px; background: #fff; }

.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; max-width: 56ch; color: #DCE6FB; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--sun); color: var(--ink); }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.footer { background: var(--ink); color: #C4CCDD; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #C4CCDD; }
.footer h2 { color: var(--sun); opacity: 1; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--sun); }
