.a1-page {
    --a1-bg: var(--color-gray-800, #1f2937);
    --a1-surface: #28343f;
    --a1-ink: #f8fafc;
    --a1-muted: #bac4ce;
    --a1-line: rgb(255 255 255 / 14%);
    --a1-yellow: #f09400;
    --a1-yellow-bright: #ffb02e;
    --a1-layout-width: 1280px;
    --a1-section-gap: 80px;
    --a1-heading-to-lead: 20px;
    background: var(--a1-bg);
    color: var(--a1-ink);
}

.a1-page * { box-sizing: border-box; }
.a1-shell { width: min(var(--a1-layout-width), calc(100% - 40px)); margin: auto; }
.a1-page > section:not(.a1-hero) { margin-top: var(--a1-section-gap); }
.a1-page > section.a1-tariffs { margin-top: 0; }
.a1-page > section.performance-deferred { margin-top: 0; margin-bottom: var(--a1-section-gap); }
.a1-page > .performance-deferred h2 { margin-top: 0; }
.a1-hero { padding: 54px 0 0; background: var(--a1-bg); }
.a1-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center; }
.a1-kicker { margin: 0 0 13px; color: var(--a1-yellow); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.a1-hero h1, .a1-intro h2, .a1-section-heading h2, .a1-license h2, .a1-cabinet h2, .a1-tariffs h2 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -1.75px; }
.a1-hero h1 { font-size: clamp(38px, 5.15vw, 56px); }
.a1-hero h1 span { color: var(--a1-ink); }
.a1-tariffs h2 span { color: var(--a1-ink); }
.a1-lead { max-width: 570px; margin: var(--a1-heading-to-lead) 0 30px; color: var(--a1-muted); font-size: 18px; line-height: 1.625; }
.a1-button, .a1-tariff button, .a1-callback button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--a1-yellow); border-radius: 8px; background: var(--a1-yellow); color: #20242a; font: inherit; font-weight: 700; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.a1-button { padding: 14px 20px; }
.a1-button:hover, .a1-tariff button:hover, .a1-callback button:hover { background: transparent; color: var(--a1-yellow-bright); transform: translateY(-1px); }
.a1-button:focus-visible, .a1-tariff button:focus-visible, .a1-callback button:focus-visible, .a1-cabinet button:focus-visible, details summary:focus-visible { outline: 2px solid var(--a1-yellow); outline-offset: 3px; }
.a1-hero__note { display: flex; align-items: center; gap: 7px; margin: 21px 0 0; color: #dce3e9; font-size: 14px; }
.a1-hero__note i { color: var(--a1-yellow); font-size: 18px; }
.a1-hero__moto { position: relative; margin: 0; display: flex; align-items: center; justify-content: flex-end; overflow: visible; padding: 16px 0 30px; }
.a1-hero__moto > img:first-child { width: min(100%, 620px); height: auto; }

.a1-callback { padding: 28px; border: 1px solid var(--a1-line); border-radius: 12px; background: var(--a1-surface); box-shadow: 0 18px 38px rgb(7 12 18 / 20%); }
.a1-callback__eyebrow { margin: 0 0 8px; color: var(--a1-yellow); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.a1-callback h2 { margin: 0; font-size: 27px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.a1-callback > p:not(.a1-callback__eyebrow) { margin: 12px 0 22px; color: var(--a1-muted); font-size: 15px; line-height: 1.5; }
.a1-callback__field { margin-top: 15px; }
.a1-callback label { display: block; margin-bottom: 7px; color: #eef2f5; font-size: 14px; font-weight: 600; }
.a1-callback input, .a1-callback select { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 8px; background: #202a33; color: #f8fafc; font: inherit; }
.a1-callback input::placeholder { color: #9ba8b4; }
.a1-callback input:focus, .a1-callback select:focus { border-color: var(--a1-yellow); outline: 2px solid rgb(240 148 0 / 30%); outline-offset: 1px; }
.a1-callback button { width: 100%; min-height: 48px; margin-top: 20px; padding: 12px 16px; color: #fff; font-weight: 500; }
.a1-callback__privacy { margin: 14px 0 0 !important; color: #9ba8b4 !important; font-size: 12px !important; line-height: 1.45 !important; }
.a1-callback__privacy a { color: #dce3e9; text-decoration: underline; }
.a1-callback--wide { display: block; margin-bottom: 0; padding: 32px 34px; }
.a1-callback--wide .a1-callback__intro { max-width: 100%; margin-bottom: 26px; }
.a1-callback--wide .a1-callback__intro > p:last-child { margin-bottom: 0; }
.a1-callback--wide .callback-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }
.a1-callback--wide .a1-callback__field { margin-top: 0; }
.a1-callback--wide .a1-callback__privacy { grid-column: 1 / -1; margin: 0 !important; }
.a1-callback--wide .callback-form button { width: auto; margin-top: 0; min-height: 46px; padding: 11px 18px; }

.a1-section-lead { max-width: 760px; margin: var(--a1-heading-to-lead) 0 0; padding-left: 18px; border-left: 3px solid var(--a1-yellow); color: var(--a1-muted); font-size: 16px; line-height: 1.625; }

.a1-intro { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; padding: 0; }
.a1-intro h2, .a1-section-heading h2, .a1-license h2, .a1-cabinet h2, .a1-tariffs h2 { font-size: clamp(31px, 4vw, 50px); }
.a1-intro__copy { max-width: 570px; margin-top: 28px; color: var(--a1-muted); font-size: 16px; line-height: 1.7; }
.a1-intro__copy p:first-child { margin-top: 0; }
.a1-intro__helmet { margin: 0; overflow: hidden; border-radius: 12px; }
.a1-intro__helmet img { display: block; width: 100%; height: auto; }

.a1-course-route { padding: 0; }
.a1-section-heading { max-width: 680px; margin-bottom: 38px; }
.a1-course-route__steps { --a1-route-marker-size: 46px; --a1-route-marker-center: 23px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.a1-course-route__steps::before { content: ""; position: absolute; top: var(--a1-route-marker-center); right: calc(25% - var(--a1-route-marker-center)); left: var(--a1-route-marker-center); height: 1px; background: var(--a1-line); }
.a1-course-route__step { position: relative; min-width: 0; padding: 66px 34px 0 0; }
.a1-course-route__number { position: absolute; top: 0; left: 0; z-index: 1; display: grid; width: var(--a1-route-marker-size); height: var(--a1-route-marker-size); place-items: center; border: 1px solid var(--a1-yellow); border-radius: 50%; background: var(--a1-bg); color: var(--a1-yellow); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.a1-course-route__step strong { display: block; margin-bottom: 9px; font-size: 22px; }
.a1-course-route__step p { max-width: 235px; margin: 0; color: var(--a1-muted); line-height: 1.55; }

.a1-program { padding: 0; }
.a1-learning-route { --a1-route-marker-size: 47px; --a1-route-marker-center: 23.5px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.a1-learning-route::before { content: ""; position: absolute; top: var(--a1-route-marker-center); right: calc(33.333333% - var(--a1-route-marker-center)); left: var(--a1-route-marker-center); height: 1px; background: var(--a1-line); }
.a1-learning-route__step { position: relative; min-height: 225px; padding: 63px 30px 0 0; }
.a1-learning-route__step:not(:last-child) { padding-right: 52px; }
.a1-learning-route__marker { position: absolute; top: 0; left: 0; z-index: 1; display: grid; width: var(--a1-route-marker-size); height: var(--a1-route-marker-size); place-items: center; border: 1px solid var(--a1-yellow); border-radius: 50%; background: var(--a1-bg); color: var(--a1-yellow); font-size: 16px; font-weight: 700; }
.a1-program h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.a1-learning-route__step p { margin: 0; color: var(--a1-muted); line-height: 1.55; }

.a1-license { padding: 0; }
.a1-license__grid { display: grid; grid-template-columns: 1fr .86fr; gap: 72px; align-items: center; padding: 0; }
.a1-license p:last-child { max-width: 510px; }
.a1-license figure { position: relative; isolation: isolate; margin: 0; padding: 18px; border: 1px solid var(--a1-line); border-radius: 12px; background: #202a33; box-shadow: 0 24px 45px rgb(0 0 0 / 18%); }
.a1-license figure::before { content: "A1"; position: absolute; top: -44px; left: -55px; z-index: 0; color: rgb(240 148 0 / 11%); font-size: clamp(92px, 12vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.a-category-page .a1-license figure::before { content: "A"; }
.training-category-page .a1-license figure[data-license-category]::before { content: attr(data-license-category); }
.training-category-page .a1-hero__moto > img:first-child { width: min(100%, 700px); max-height: 470px; object-fit: contain; }
.training-category-page .a1-intro__helmet { display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 0; overflow: visible; border-radius: 0; background: transparent; }
.training-category-page .a1-intro__helmet img { max-height: 340px; object-fit: contain; }
.a1-license img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 8px; }

.a1-cabinet { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .68fr); gap: clamp(48px, 7vw, 96px); align-items: center; padding: 0; }
.a1-cabinet__content { min-width: 0; }
.a1-cabinet__content > .a1-section-lead { max-width: 650px; }
.a1-cabinet__panels { min-height: 182px; margin-top: 42px; }
.a1-cabinet__panel[hidden] { display: none; }
.a1-cabinet__panel { max-width: 640px; animation: a1-cabinet-copy-in .34s ease both; }
.a1-cabinet__index { margin: 0 0 11px; color: var(--a1-yellow); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.a1-cabinet__panel h3 { max-width: 600px; margin: 0 0 13px; font-size: clamp(23px, 2.3vw, 31px); font-weight: 700; line-height: 1.2; letter-spacing: -.65px; }
.a1-cabinet__panel > p:last-child { max-width: 610px; margin: 0; color: var(--a1-muted); font-size: 16px; line-height: 1.65; }
.a1-cabinet__navigation { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 24px; }
.a1-cabinet__tabs { display: flex; flex: 1; gap: 8px; }
.a1-cabinet__tabs button { position: relative; min-height: 42px; padding: 0 5px 10px; border: 0; border-bottom: 1px solid var(--a1-line); background: transparent; color: #9eabb6; font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; transition: color .18s ease, border-color .18s ease; }
.a1-cabinet__tabs button::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--a1-yellow); transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.a1-cabinet__tabs button:hover { color: var(--a1-ink); }
.a1-cabinet__tabs button.is-active { border-color: rgb(240 148 0 / 35%); color: var(--a1-ink); }
.a1-cabinet__tabs button.is-active::after { transform: scaleX(1); }
.a1-cabinet__arrows { display: flex; gap: 8px; }
.a1-cabinet__arrows button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--a1-line); border-radius: 50%; background: transparent; color: var(--a1-ink); font: inherit; font-size: 19px; cursor: pointer; transition: border-color .18s ease, color .18s ease, transform .18s ease; }
.a1-cabinet__arrows button:hover { border-color: var(--a1-yellow); color: var(--a1-yellow); transform: translateY(-1px); }
.a1-cabinet__phone { position: relative; width: min(100%, 350px); margin: 0 auto; padding: 9px; border: 2px solid #080a0c; border-radius: 45px; background: #080a0c; box-shadow: 0 26px 54px rgb(0 0 0 / 26%); }
.a1-cabinet__speaker { position: absolute; top: 15px; left: 50%; z-index: 3; width: 48px; height: 5px; border-radius: 999px; background: #11171d; transform: translateX(-50%); }
.a1-cabinet__screen { position: relative; overflow: hidden; aspect-ratio: 497 / 860; border-radius: 36px; background: #f5f7f9; }
.a1-cabinet__screen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateX(10px); transition: opacity .32s ease, transform .32s ease; }
.a1-cabinet__screen img.is-active { z-index: 1; opacity: 1; transform: translateX(0); }

@keyframes a1-cabinet-copy-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.a1-tariffs { padding: var(--a1-section-gap) 0; background: var(--a1-bg); }
.a1-tariffs__heading { margin-bottom: 35px; }
.a1-tariffs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 360px)); justify-content: start; gap: 16px; }
.a1-tariff { display: flex; min-height: 336px; flex-direction: column; justify-content: space-between; padding: 27px; border: 1px solid var(--a1-line); border-radius: 12px; background: var(--a1-surface); }
.a1-tariff__top p { margin: 0 0 9px; color: var(--a1-yellow); font-size: 13px; font-weight: 700; }
.a1-tariff h3 { margin: 0; font-size: 24px; font-weight: 700; }
.a1-tariff dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.a1-tariff dt { color: #9eabb6; font-size: 13px; }
.a1-tariff dd { margin: 4px 0 0; font-size: 16px; font-weight: 700; }
.a1-tariff__footer { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.a1-tariff small { display: block; margin-bottom: 4px; color: #9eabb6; }
.a1-tariff strong { font-size: 27px; }
.a1-tariff button { padding: 12px 16px; }
.a1-empty { max-width: 670px; margin: 0; color: var(--a1-muted); font-size: 17px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
    .a1-button, .a1-tariff button, .a1-callback button, .a1-cabinet button, .a1-cabinet__screen img { transition: none; }
    .a1-cabinet__panel { animation: none; }
}

@media (max-width: 900px) {
    .a1-hero__grid { grid-template-columns: 1fr; }
    .a1-callback--wide .callback-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .a1-intro { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .a1-page { --a1-section-gap: 56px; }
    .a1-shell { width: min(var(--a1-layout-width), calc(100% - 32px)); }
    .a1-hero { padding: 35px 0 0; }
    .a1-hero__grid, .a1-intro, .a1-license__grid, .a1-cabinet { grid-template-columns: 1fr; gap: 31px; }
    .a1-hero h1 { font-size: 43px; }
    .a-category-page .a1-hero__city { white-space: nowrap; font-size: .82em; }
    .a1-lead { font-size: 17px; }
    .a1-hero__moto { min-height: auto; }
    .a1-course-route__steps, .a1-learning-route { grid-template-columns: 1fr; }
    .a1-course-route__steps { gap: 32px; }
    .a1-course-route__steps::before { display: none; }
    .a1-course-route__step { min-height: auto; padding: 0 0 0 70px; }
    .a1-course-route__step:not(:last-child)::after { content: ""; position: absolute; top: 46px; bottom: -32px; left: 22.5px; width: 1px; background: var(--a1-line); }
    .a1-learning-route { gap: 36px; }
    .a1-learning-route::before { top: var(--a1-route-marker-center); bottom: var(--a1-route-marker-center); left: var(--a1-route-marker-center); width: 1px; height: auto; }
    .a1-learning-route__step, .a1-learning-route__step:not(:last-child) { min-height: auto; padding: 0 0 0 76px; }
    .a1-learning-route__marker { top: 0; left: 0; }
    .a1-license__grid { padding: 0; }
    .a1-cabinet__panels { min-height: 205px; margin-top: 34px; }
    .a1-cabinet__navigation { align-items: stretch; flex-direction: column; gap: 15px; }
    .a1-cabinet__tabs { min-width: 0; }
    .a1-cabinet__tabs button { flex: 1 1 0; min-width: 0; padding-inline: 2px; font-size: 11px; text-align: center; }
    .a1-cabinet__arrows { align-self: flex-end; flex: 0 0 auto; }
    .a1-cabinet__phone { width: min(100%, 325px); }
    .a1-callback--wide { padding: 26px 22px; }
    .a1-callback--wide .callback-form { grid-template-columns: 1fr; gap: 0; }
    .a1-callback--wide .callback-form button { width: 100%; margin-top: 20px; }
    .a1-tariffs__heading { display: block; }
    .a1-tariffs__grid { grid-template-columns: 1fr; }
    .a1-tariff { min-height: 300px; }
}
