@font-face {
  font-family: "Medeo Sans";
  src: url("MedeoSansVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f6f8fb;
  --paper: #fff;
  --ink: #102238;
  --muted: #42556d;
  --line: #dce5ef;
  --accent: #1553a1;
  --accent-hover: #103f81;
  --dark: #0d3767;
  --focus: #1c65b6;
  --radius: 16px;
  --large-radius: 24px;
  --ease: cubic-bezier(.2,.75,.3,1);
  font: 100%/1.55 "Medeo Sans", system-ui, sans-serif;
  background: var(--page);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.icon { flex: none; display: inline-block; width: 22px; height: 22px; color: var(--accent); }
.control-icon { width: 18px; height: 18px; color: inherit; }
.skip { position: fixed; z-index: 30; left: 12px; top: 12px; padding: 10px 16px; border-radius: 8px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fffffff5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { position: relative; display: flex; align-items: center; gap: clamp(12px, 1.45vw, 22px); min-height: 69px; }
.header { transition: box-shadow 180ms ease; }
.header.is-scrolled { box-shadow: 0 5px 18px #1022381f; }
.header-top { background: #f3f6fa; border-bottom: 1px solid var(--line); }
.header-top-nav { display: flex; align-items: center; gap: 28px; min-height: 36px; }
.header-top-nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: .875rem; white-space: nowrap; transition: color 180ms ease; }
.header-top-nav a:hover, .header-top-nav a[aria-current="page"] { color: var(--accent); }
.header-top-nav a:last-child { margin-left: auto; margin-right: 20px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 9px; min-height: 44px; }
.brand-mark { width: 40px; height: 47px; overflow: hidden; display: block; mix-blend-mode: multiply; }
.brand-mark img { width: 124px; max-width: none; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 1.17rem; font-weight: 760; letter-spacing: -.035em; }
.brand small, .header-phone small { margin-top: 4px; color: var(--muted); }
.brand small { font-size: 16px; }
.header-phone small { font-size: .8125rem; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 2.5vw, 38px); flex: 1; }
.nav-group { display: contents; }
.nav-group-title, .nav-group-secondary { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 580; white-space: nowrap; transition: color 180ms ease; }
.nav a:hover, .nav a[aria-current="page"], .header-phone:hover { color: var(--accent); }
.header-phone { flex: none; display: grid; align-content: center; min-height: 44px; line-height: 1.15; white-space: nowrap; transition: color 180ms ease; }
.header-phone small { margin-top: 0; }
.header-phone strong { margin-top: 4px; font-size: .94rem; }
.menu-toggle { display: none !important; }
.menu-toggle .control-icon { width: 20px; height: 20px; }
.menu-toggle[aria-expanded="false"] .menu-close-glyph,
.menu-toggle[aria-expanded="true"] .menu-open-glyph { display: none; }

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  min-height: 49px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: .97rem;
  font-weight: 660;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}
.button .icon { width: 19px; height: 19px; }
@media (hover: hover) {
  .button:hover { background-color: var(--accent-hover); }
  .text-link:hover .icon { transform: translate(3px, -3px); }
}
.button:active { background-color: var(--accent-hover); color: white; }
.button-small { min-height: 46px; padding: 9px 17px; font-size: .88rem; }
.button-outline { color: var(--dark); background: var(--paper); border-color: #9db6d4; }
@media (hover: hover) {
  .button-outline:hover { color: white; }
}
.icon-button { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); transition: background-color 180ms ease, color 180ms ease; }
@media (hover: hover) {
  .icon-button:hover { background-color: var(--ink); color: white; }
}
.icon-button:active { background-color: var(--ink); color: white; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(440px, 37vw, 520px);
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #edf3f8;
}
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 27%;
}
.hero-art::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #edf3f8 0%, #edf3f8e8 15%, #edf3f86b 31%, transparent 56%); pointer-events: none; }
.hero-car-group { position: absolute; z-index: 2; right: max(2.5%, calc((100vw - 1400px) / 2)); bottom: -1%; width: min(84%, 755px); }
.hero-car { width: 100%; }
.hero-copy { width: min(50%, 565px); padding-block: clamp(34px, 4.25vw, 65px); }
.hero-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; padding: 5px 10px; border: 1px solid #b8cde0; border-radius: 999px; font-size: .83rem; font-weight: 620; color: var(--dark); background: #f9fcffbd; }
.hero-label .icon { width: 17px; height: 17px; color: var(--accent); }
.hero-label span { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
h1, h2 { line-height: 1.08; letter-spacing: -.025em; font-weight: 650; }
.hero h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); }
.hero h1 span { color: var(--accent); }
.hero-copy > p { max-width: 36ch; margin-top: 15px; color: #24384f; font-size: clamp(1.01rem, 1.5vw, 1.22rem); }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 19px; }
.hero-price strong { font-size: 1.17rem; }
.hero-price span { color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 20px; }
.hero-link { background: #f8fbffe8; }

.quick-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 5px 17px #193d6710; }
.quick-facts > * { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 11px clamp(12px, 2.5vw, 27px); }
.quick-facts > * + * { border-left: 1px solid var(--line); }
.quick-facts a { transition: color 180ms ease; }
.quick-facts a:hover { color: var(--accent); }
.card-illustration { display: block; flex: none; color: var(--accent); }
.quick-facts .card-illustration { width: 40px; height: 40px; }
.quick-facts small { display: block; color: var(--muted); font-size: .85rem; }

.section { margin-top: clamp(44px, 5.4vw, 72px); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.05rem); }
h3 { font-size: clamp(1.16rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.024em; }
.section-heading { margin-bottom: 20px; }
.section-heading h2::before { content: ""; display: inline-block; width: .36em; height: .56em; margin-right: .27em; border-inline: .09em solid var(--accent); transform: skew(-22deg); vertical-align: .06em; }
.section-heading p, .about-copy p, .document-copy p, .apply-section p { color: var(--muted); margin-top: 12px; max-width: 62ch; }
#fleet .section-heading p { max-width: 100%; }
.about { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; gap: clamp(24px, 5vw, 70px); }
.about-copy .lead { margin-top: 20px; color: var(--ink); font-size: 1.11rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent); font-weight: 650; }
.text-link .icon { width: 17px; height: 17px; transition: transform 220ms var(--ease); }
.about-copy .text-link, .team > .text-link { margin-top: 10px; }

.benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.benefit { display: flex; gap: 16px; min-height: 114px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.benefit h3 { font-size: 1.11rem; }
.benefit p { margin-top: 6px; color: var(--muted); font-size: .91rem; }

.plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(20px, 2.4vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-featured { background: #ecf5ff; border-color: #82acd9; }
.plan-tag { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: .79rem; font-weight: 640; }
.plan-tag .icon { width: 21px; height: 21px; }
.plan-price { margin: 5px 0 2px; font-weight: 750; font-size: clamp(2.25rem, 3.8vw, 3.7rem); letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: .67em; color: var(--accent); }
.plan-summary { min-height: 2.8em; color: var(--muted); line-height: 1.4; font-size: .94rem; }
.plan-details { display: grid; gap: 8px; padding: 0; margin: 3px 0 12px; list-style: none; font-size: .9rem; }
.plan-details li { display: flex; align-items: flex-start; gap: 8px; }
.plan-details .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }
.plan .button { margin-top: auto; width: 100%; min-height: 44px; }

.included { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(14px, 2.8vw, 38px); margin-top: 18px; padding: clamp(18px, 3vw, 34px); border-radius: var(--large-radius); background: var(--dark); color: white; }
.included h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); }
.included p, .included ul { margin: 12px 0 0; color: #e6f1ff; }
.included ul { display: grid; gap: 7px; padding-inline-start: 1.2em; }
.included strong { color: white; }
.included-payment { padding-inline-start: clamp(14px, 2.8vw, 38px); border-inline-start: 1px solid #ffffff47; }

.route-section { padding: clamp(22px, 3.7vw, 44px); border-radius: var(--large-radius); background: #e9f2fb; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; min-width: 0; padding: 20px 20px 0 0; border-top: 2px solid #a6bfd8; }
.steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border: 2px solid var(--accent); border-radius: 50%; background: #e9f2fb; }
.step-number { display: block; margin-bottom: 8px; color: var(--accent); font-size: .92rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin-top: 7px; color: var(--muted); font-size: .94rem; line-height: 1.45; }

.team-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 14px; }
.team-photo { display: grid; align-content: center; gap: 20px; min-height: 230px; padding: clamp(18px, 3vw, 35px); border-radius: var(--radius); background: #e8f0fa; }
.portrait-row { display: flex; gap: clamp(5px, 1vw, 15px); }
.portrait-row img { width: min(30%, 112px); aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.team-photo p { color: var(--muted); font-size: .88rem; }
.team-list { margin: 0; padding: 10px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); list-style: none; }
.team-list li { display: flex; align-items: center; min-height: 48px; gap: 10px; }
.team-list li + li { border-top: 1px solid var(--line); }
.team-list .icon { width: 20px; height: 20px; }
.team-list span { color: var(--muted); margin-left: auto; font-size: .84rem; }

.fleet-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.fleet-grid figure { overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.fleet-grid img { width: 100%; height: clamp(215px, 30vw, 340px); object-fit: cover; }
.fleet-grid figcaption { padding: 12px 17px; color: var(--muted); font-size: .91rem; }

.document-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center; padding: clamp(23px, 5vw, 64px); border-radius: var(--large-radius); border: 1px solid var(--line); background: var(--paper); }
.document-icon { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 15px; border-radius: 15px; color: var(--accent); background: #e7f0fa; }
.document-copy p { margin-bottom: 17px; }
.document-copy .text-link { margin-left: 13px; }
.license-image { display: block; width: min(58%, 187px); margin: 0 auto; padding: 7px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 11px 30px #3223271c; transition: transform 240ms var(--ease); }
.license-image:hover { transform: translateY(-4px) rotate(-2deg); }
.license-image img { width: 100%; border-radius: 7px; }

.faq { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: 18px 25px; }
.faq .section-heading { grid-column: 1/-1; margin-bottom: 0; }
.questions { display: grid; gap: 7px; }
details { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 3px 10px #193d670a; transition: border-color 180ms ease; }
details:hover, details[open] { border-color: #9bb9dc; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline-offset: -4px; }
.questions .control-icon { width: 16px; height: 16px; color: var(--accent); transition: transform 180ms var(--ease); }
.questions details[open] .control-icon { transform: rotate(180deg); }
details p { padding: 0 14px 13px; color: var(--muted); font-size: .94rem; }

.contact-section { padding: clamp(19px, 3.8vw, 44px); border: 1px solid var(--line); border-radius: var(--large-radius); background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: stretch; gap: clamp(20px, 4vw, 52px); }
.contact-line { display: flex; align-items: flex-start; gap: 10px; font-style: normal; }
.contact-line strong { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.contact-numbers { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; margin-block: 10px 12px; }
.contact-numbers .contact-phone { flex-basis: 100%; }
.button.contact-route { gap: 7px; }
.contact-route .icon { width: 16px; height: 16px; }
.travel-options { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.travel-options h3 { font-size: 1.04rem; }
.travel-options ul { display: flex; flex-wrap: wrap; gap: 5px 18px; margin: 5px 0; padding: 0; list-style: none; }
.travel-options li, .travel-options a { display: inline-flex; align-items: center; gap: 6px; }
.travel-options a { min-height: 44px; color: var(--accent); font-weight: 660; }
.travel-options a:hover { text-decoration: underline; }
.travel-options .icon { width: 16px; height: 16px; }
.travel-options p { color: var(--muted); font-size: .9rem; }
.map-wrap { position: relative; min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #edf3f8; }
.map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.contact-line .icon { margin-top: 2px; color: var(--accent); }
.contact-line p, .contact-secondary { color: var(--muted); }
.contact-phone, .contact-secondary { display: flex; align-items: center; min-height: 44px; width: max-content; max-width: 100%; }
.contact-phone { font-size: clamp(1.15rem, 2.5vw, 1.8rem); font-weight: 700; }
.contact-phone:hover, .contact-secondary:hover { color: var(--accent); }
.apply-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.91fr); align-items: center; gap: clamp(18px, 5vw, 66px); padding: clamp(19px, 3.3vw, 42px); border-radius: var(--large-radius); background: linear-gradient(100deg,#092a55 9%,#0a3262f0 51%,#1553a1c9), url("city-boulevard.webp") 50% 78% / cover; }
.apply-copy { color: white; }
.apply-copy h2 { max-width: 12ch; }
.apply-section .apply-copy p { color: #e6f1ff; }
.apply-phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 7px; font-weight: 660; text-decoration: underline; text-underline-offset: 4px; }
.apply-card { padding: clamp(15px, 2vw, 24px); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 30px #071e4340; }
.apply-card h3 { margin-bottom: 12px; font-size: 1.23rem; }
.apply-card form, .apply-card label { display: grid; gap: 8px; }
.apply-card label { gap: 4px; font-size: .86rem; font-weight: 620; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.apply-card input, .apply-card select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #bacbde; border-radius: 8px; color: var(--ink); background: #f6faff; font-weight: 450; }
.select-field { position: relative; }
.select-field select { appearance: none; padding-inline-end: 32px; }
.select-field .control-icon { position: absolute; inset: 50% 10px auto auto; width: 16px; height: 16px; color: var(--accent); transform: translateY(-50%); pointer-events: none; }
.apply-card .button { width: 100%; min-height: 44px; }
.apply-card .form-note, .apply-card .form-status { margin-top: 0; font-size: .79rem; }

.footer { margin-top: clamp(26px, 4vw, 54px); padding: 30px 0 23px; color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .94fr 1.15fr; gap: 18px; }
.footer p { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.footer h3 { margin: 4px 0 4px; font-size: .98rem; }
.footer nav, .footer-contact { display: grid; align-content: start; justify-items: start; }
.footer nav a, .footer-contact a { display: flex; align-items: center; gap: 6px; min-height: 32px; color: var(--muted); font-size: .9rem; }
.footer-contact .footer-mobile-phone { display: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--accent); }
.footer-bottom { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.to-top { position: fixed; z-index: 7; right: clamp(12px, 2vw, 30px); bottom: 16px; box-shadow: 0 7px 24px #39242d30; }

.dialog { width: min(calc(100% - 28px), 490px); max-height: 90dvh; overflow: auto; border: 1px solid var(--line); border-radius: 25px; padding: 25px; color: var(--ink); background: var(--paper); box-shadow: 0 18px 70px #21182155; }
.dialog::backdrop { background: #211821aa; }
.dialog[open] { animation: dialog-enter 190ms var(--ease) both; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog h2 { font-size: 1.75rem; }
.form-status:empty { display: none; }
.form-status { color: #285b37; font-weight: 600; }
.license-dialog img { width: min(100%, 340px); margin: 10px auto 0; }
.scan-links { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 8px; }
.scan-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); gap: 3px; }
.scan-links .icon { width: 16px; height: 16px; }

@media (max-width: 1130px) {
  :root { scroll-padding-top: 86px; }
  .header:has(.nav.is-open) { z-index: 21; }
  .header-top { display: none; }
  .header-inner { gap: 13px; }
  .brand { margin-right: auto; }
  .nav { display: none; position: absolute; top: calc(100% + 3px); right: 0; width: min(100%, 300px); max-height: calc(100dvh - 100% - 12px); overflow-y: auto; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 13px 28px #193d6722; }
  .nav.is-open { display: grid; justify-content: stretch; gap: 5px; }
  .nav-group, .nav-group-secondary { display: grid; }
  .nav-group-secondary { padding-top: 8px; border-top: 1px solid var(--line); }
  .nav-group-title { display: block; padding: 5px 0 1px; color: var(--muted); font-size: .8125rem; font-weight: 650; }
  .menu-toggle { display: inline-grid !important; flex: none; }
}
@media (max-width: 800px) {
  :root { scroll-padding-top: 80px; }
  .container { width: min(100% - 32px, 1240px); }
  .header-inner { min-height: 67px; }
  .hero-copy { width: 54%; padding-block: 30px; }
  .hero { min-height: 418px; }
  .hero-car-group { width: 75%; }
  .hero h1 { font-size: clamp(2.6rem, 6.3vw, 4.65rem); }
  .about, .team-grid, .faq { gap: 17px; }
  .benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 24px); }
  :root { --large-radius: 18px; --radius: 14px; }
  .header-inner { gap: 8px; }
  .brand { gap: 4px; }
  .brand-mark { width: 30px; height: 39px; }
  .brand-mark img { width: 101px; }
  .brand strong { font-size: .97rem; }
  .header-phone strong { font-size: .83rem; margin-top: 0; }
  .hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .hero-inner { grid-row: 2; }
  .hero-copy { width: 100%; padding: 23px 6px 4px; }
  .hero h1 { font-size: clamp(2.55rem, 10.8vw, 4.5rem); }
  .hero-copy > p { margin-top: 13px; }
  .hero-label { margin-bottom: 12px; }
  .hero-price { margin-top: 15px; }
  .hero-actions { margin-top: 15px; }
  .hero-actions .button { padding-inline: 11px; font-size: .86rem; gap: 7px; }
  .hero-actions .icon { width: 16px; height: 16px; }
  .hero-art { grid-row: 1; position: relative; z-index: 0; inset: auto; min-height: clamp(218px, 62vw, 350px); }
  .hero-art::before { background: linear-gradient(0deg, #edf3f8 0%, #edf3f887 17%, transparent 40%); }
  .hero-car-group { width: min(84%, 510px); right: 8%; bottom: 0; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts > * { min-height: 56px; }
  .quick-facts > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .section { margin-top: 42px; }
  .about, .plans, .included, .team-grid, .fleet-grid, .document-section, .faq, .apply-section { grid-template-columns: minmax(0,1fr); }
  .about-copy { grid-row: 1; }
  .benefits { grid-template-columns: 1fr; gap: 8px; }
  .benefit { min-height: 0; }
  .plan-summary { min-height: 0; }
  .document-copy .text-link { margin-left: 0; }
  .license-image { width: min(54%, 175px); margin-top: 6px; }
  .form-row { grid-template-columns: minmax(0,1fr); }
  .footer-intro, .footer-contact { grid-column: 1/-1; }
  .footer nav a, .footer-contact a { min-height: 36px; }
  .footer-contact .footer-mobile-phone { display: flex; }
  .footer-contact a[href^="tel:"] { font-size: .95rem; font-weight: 600; color: var(--ink); }
  .contact-numbers { display: grid; justify-items: start; }
  .contact-numbers .contact-phone, .contact-numbers .contact-secondary { font-size: 1rem; font-weight: 600; color: var(--ink); }
}
@media (max-width: 360px) {
  .brand-mark { display: none; }
  .hero-actions { gap: 5px 13px; }
}
@media (prefers-reduced-transparency: reduce) {
  .header { background: var(--page); backdrop-filter: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal:not(.is-visible) { opacity: .45; transform: translateY(13px); }
  .motion-ready .reveal { transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .text-link:hover .icon, .benefit:hover, .quick-facts a:hover, .fleet-grid figure:hover img, .license-image:hover { transform: none; }
}

/* Second design pass: deliberate hierarchy, clear interaction states and larger visual anchors. */
.brand-mark { width: 49px; height: 59px; }
.brand-mark img { width: 154px; }
.phone-menu { position: relative; display: flex; align-items: center; flex: none; gap: 8px; }
.header-phone { position: relative; width: auto; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; }
.header-phone small { grid-column: 1/-1; }
.header-phone strong { font-size: .96rem; }
.phone-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; color: var(--accent); background: transparent; }
.phone-toggle:hover { background: #eaf3fd; }
.phone-chevron { width: 16px; height: 16px; color: var(--accent); transition: transform 180ms var(--ease); }
.phone-menu.is-open .phone-chevron { transform: rotate(180deg); }
.phone-list { position: absolute; z-index: 12; top: 100%; right: -12px; display: grid; width: 260px; padding: 8px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fffffff7; box-shadow: 0 16px 34px #10223824; backdrop-filter: blur(18px); transform: translateY(-5px) scale(.98); transform-origin: 80% 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 180ms ease, transform 180ms var(--ease), visibility 0s linear 180ms; }
.phone-menu.is-open .phone-list { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.phone-list a { display: grid; gap: 1px; min-height: 49px; padding: 6px 9px; border-radius: 9px; color: var(--ink); font-weight: 690; }
.phone-list a:hover { color: var(--accent); background: #eaf3fd; }
.phone-list span { color: var(--muted); font-size: 14px; font-weight: 520; }

.button { gap: 0; padding: 11px 22px; }
.button-small { padding: 9px 18px; }
.section-heading h2::before { content: none; }
.section-heading h2 { position: relative; }
.benefit { align-items: flex-start; }
.benefit-icon { display: grid; flex: none; place-items: center; width: 62px; height: 62px; border-radius: 15px; background: #e9f3ff; }
.benefit-icon .card-illustration { width: 44px; height: 44px; }

.plan { position: relative; overflow: hidden; }
.plan-price span { font-size: .72em; color: inherit; }
.plan-details { gap: 10px; }
.plan-details li { gap: 10px; }
.detail-icon { display: grid; flex: none; place-items: center; width: 23px; height: 23px; margin-top: 1px; border-radius: 7px; color: var(--accent); background: #eaf3fd; }
.plan-details .detail-icon .icon { width: 17px; height: 17px; margin: 0; }


.about-copy .text-link { padding: 0; }
.study-formats { display: grid; gap: 18px; padding: clamp(18px, 3vw, 30px); border-radius: var(--large-radius); background: #e9f2fb; }
.study-format { display: flex; align-items: flex-start; gap: 13px; padding-top: 14px; border-top: 1px solid #bed0e3; }
.study-format .benefit-icon { width: 42px; height: 42px; background: var(--paper); }
.study-format .card-illustration { width: 30px; height: 30px; }
.study-format h4 { margin: 0; font-size: 1rem; }
.study-format p { margin-top: 4px; color: var(--muted); font-size: .94rem; }
.study-formats .text-link { margin-top: -4px; }

.fleet-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.fleet-card { border: 1px solid var(--line); box-shadow: 0 8px 22px #193d6710; }
.fleet-visual { position: relative; overflow: hidden; }
.fleet-grid .fleet-visual > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #e9f2fb; }
.fleet-grid figcaption { display: grid; gap: 2px; }
.fleet-grid figcaption strong { color: var(--ink); font-size: 1rem; }
.fleet-grid figcaption span { color: var(--muted); font-size: .83rem; }

.document-section { position: relative; overflow: hidden; grid-template-columns: minmax(0, 1.06fr) minmax(280px,.64fr); border: 0; color: #fff; background: linear-gradient(128deg,#102b4b 0%,#1553a1 100%); box-shadow: 0 16px 36px #10223818; }
.document-section::after { content: ""; position: absolute; right: -9%; bottom: -70%; width: 52%; aspect-ratio: 1; border: 1px solid #ffffff29; border-radius: 50%; }
.document-copy { position: relative; z-index: 1; }
.document-kicker { display: inline-flex; align-items: center; gap: 8px; color: #d8eaff; font-size: .85rem; font-weight: 670; }
.document-kicker .icon, .document-points .icon { color: #d8eaff; --icon-detail: #2c6098; }
.document-copy p { color: #e3eefb; }
.document-points { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 21px; }
.document-points span { display: inline-flex; align-items: center; gap: 6px; font-size: .89rem; }
.document-points .icon { width: 20px; height: 20px; }
.document-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 22px; }
.document-actions .button { border-color: #fff; color: #102b4b; }
.document-actions .button:active { color: white; }
@media (hover: hover) {
  .document-actions .button:hover { color: white; }
}
.document-actions .text-link { color: #fff; }
.license-stack { position: relative; z-index: 1; display: block; width: min(230px, 68%); min-height: 275px; margin: 0 auto; }
.license-stack img { position: absolute; width: 74%; padding: 5px; border: 1px solid #cbd9e6; border-radius: 8px; background: #fff; box-shadow: 0 14px 26px #071c3733; transition: transform 260ms var(--ease); }
.license-stack img:nth-child(1) { top: 25px; left: 8px; transform: rotate(-9deg); opacity: .82; }
.license-stack img:nth-child(2) { top: 14px; right: 5px; transform: rotate(7deg); opacity: .9; }
.license-stack img:nth-child(3) { top: 0; left: 13%; transform: rotate(-1deg); }
.license-stack:hover img:nth-child(1) { transform: translate(-9px,8px) rotate(-12deg); }
.license-stack:hover img:nth-child(2) { transform: translate(9px,4px) rotate(10deg); }
.license-stack:hover img:nth-child(3) { transform: translateY(-7px) rotate(1deg); }

.contact-secondary { font-size: .91rem; }

.faq { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; }
.faq-photo { align-self: start; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #d3e1ee; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.questions { gap: 9px; }
details { box-shadow: 0 4px 12px #193d670a; transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
details:hover, details[open] { border-color: #96badf; background: #fbfdff; box-shadow: 0 8px 17px #193d6711; }
summary { min-height: 54px; padding: 9px 17px; }
details .answer { display: grid; grid-template-rows: 0fr; }
details .answer p { min-height: 0; overflow: hidden; padding: 0 17px; }
details[open] .answer { grid-template-rows: 1fr; }
details[open] .answer p { padding-bottom: 16px; }

.apply-section { position: relative; isolation: isolate; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); overflow: hidden; padding: clamp(24px,3.3vw,43px); background: linear-gradient(105deg,#202d3d 0%,#24384b 58%,#2d4050 100%); box-shadow: 0 15px 33px #10223824; }
.apply-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 12% 20%,#4f6d8852,transparent 37%); }
.apply-road { position: absolute; z-index: -1; top: -55%; right: -9%; width: 57%; height: 210%; border: 1px solid #ffffff15; border-radius: 53%; background: linear-gradient(112deg,transparent 0 39%,#8895a033 39% 48%,transparent 48% 100%); transform: rotate(-19deg); }
.apply-road span { position: absolute; top: 23%; left: 43%; width: 15%; height: 62%; background: repeating-linear-gradient(to bottom, #eef2f5 0 29px, transparent 29px 54px); opacity: .92; }
.apply-copy { position: relative; z-index: 1; }
.apply-eyebrow { margin: 0 0 9px !important; color: #b8d7f3 !important; font-size: .8rem; font-weight: 680; letter-spacing: .035em; text-transform: uppercase; }
.apply-copy h2 { max-width: none; white-space: nowrap; font-size: clamp(2rem,3.25vw,3.4rem); }
.apply-card { position: relative; z-index: 1; border: 1px solid #ffffff82; border-radius: 17px; }
.apply-card input, .apply-card select { min-height: 47px; padding: 9px 13px; border-radius: 10px; }
.apply-card select { appearance: none; padding-right: 43px; background-color: #f6faff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231553a1' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.apply-card .button { min-height: 47px; }

@media (max-width: 800px) {
  .phone-list { right: -7px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .document-section { grid-template-columns: minmax(0,1fr) minmax(230px,.55fr); }
}
@media (max-width: 680px) {
  .brand-mark { width: 39px; height: 47px; }
  .brand-mark img { width: 124px; }
  .header-phone strong { font-size: .82rem; }
  :root { scroll-padding-top: 124px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 0 8px; padding-block: 7px 3px; }
  .header .brand { grid-row: 1; grid-column: 1; justify-self: start; margin-right: 0; }
  .header .menu-toggle { grid-row: 1; grid-column: 2; }
  .header-apply { display: none; }
  .phone-menu { grid-row: 2; grid-column: 1 / -1; justify-self: start; }
  .header-phone { display: flex; align-items: center; gap: 7px; }
  .header-phone small { display: none; }
  .phone-list { left: 0; right: auto; width: min(270px, calc(100vw - 24px)); }
  .quick-facts .card-illustration, .benefit-icon .card-illustration { width: 36px; height: 36px; }
  .benefit { gap: 12px; }
  .benefit-icon { width: 50px; height: 50px; }
  .plan-featured { transform: none; }
  .included { grid-template-columns: minmax(0, 1fr); }
  .included-payment { padding: 15px 0 0; border-inline-start: 0; border-top: 1px solid #ffffff47; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-left: 5px; }
  .steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 0 0 24px 20px; border-top: 0; border-left: 2px solid #a6bfd8; }
  .steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
  .steps li::before { top: 4px; left: -6px; }
  .step-number { margin-bottom: 0; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { min-height: 320px; }
  .fleet-grid { grid-template-columns: minmax(0,1fr); }
  .document-section { grid-template-columns: minmax(0,1fr); }
  .license-stack { width: 210px; min-height: 230px; margin-top: 5px; }
  .faq { grid-template-columns: minmax(0,1fr); }
  .faq-photo { aspect-ratio: 16 / 9; }
  .apply-section { grid-template-columns: minmax(0,1fr); }
  .apply-road { top: 14%; right: -34%; width: 91%; height: 170%; }
  .apply-copy h2 { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-list, .plan, .plan::after, details, details .answer, .fleet-grid .fleet-visual > img, .license-stack img { transition: none !important; }
}

/* Enrollment, FAQ and booking */
.enrollment-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.enrollment-section + .section { margin-top: 0; }
.enrollment-intro { max-width: 470px; align-self: end; }
.enrollment-intro h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.02; }
.enrollment-intro h2 span { color: var(--accent); }
.enrollment-intro p { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }
.enrollment-actions { grid-column: 1; grid-row: 2; align-self: start; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.schedule-card { grid-column: 2; grid-row: 1 / span 2; overflow: hidden; border: 1px solid #cbdbea; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px #193d6710; }
.schedule-top { display: flex; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); color: var(--dark); background: #eaf3fc; font-weight: 650; }
.schedule-top .icon { width: 24px; height: 24px; }
.schedule-row { display: grid; grid-template-columns: minmax(130px, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: center; padding: 24px; }
.schedule-row + .schedule-row { border-top: 1px solid var(--line); }
.schedule-empty { padding: 24px; color: var(--muted); }
.schedule-date { display: grid; color: var(--accent); font-size: 1.65rem; font-weight: 700; line-height: 1.1; }
.schedule-date time { white-space: nowrap; }
.schedule-date small { margin-top: 8px; color: var(--muted); font-size: .85rem; font-weight: 500; }
.schedule-time { padding-left: 24px; border-left: 1px solid var(--line); }
.schedule-time strong { display: block; color: var(--ink); font-size: 1.14rem; }
.schedule-time span { display: block; margin-top: 4px; color: var(--muted); }
.faq { display: block; }
.faq .section-heading { margin-bottom: 20px; }
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.faq-column { display: grid; align-content: start; gap: 9px; }
.apply-section { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(220px, 1fr) auto; gap: clamp(20px, 3vw, 42px); align-items: center; padding: clamp(24px, 3vw, 42px); color: #fff; background: #242930 url("signup-asphalt.webp") center / cover no-repeat; }
.apply-section::before { content: none; }
.apply-section h2 { max-width: 12ch; font-size: clamp(1.8rem, 2.5vw, 2.65rem); }
.apply-section p { margin: 0; color: #fff; max-width: 38ch; }
.apply-section .button { position: relative; z-index: 1; }
.booking-dialog .apply-card { padding: 20px 0 0; border: 0; border-radius: 0; box-shadow: none; }
.booking-dialog .apply-card select { background-image: none; }
.booking-dialog #booking-form { gap: 12px; }
.booking-dialog #booking-form > .button { margin-top: 4px; }
.booking-dialog .dialog-head h2 { font-size: 1.5rem; }
.booking-dialog .form-error { color: #a12929; font-size: .81rem; font-weight: 500; line-height: 1.35; }
.booking-dialog .form-error:empty { display: none; }
.booking-dialog :is(input, select)[aria-invalid="true"] { border-color: #a12929; background: #fffafa; }
.booking-dialog .form-note, .booking-dialog .form-status[data-state="pending"], .form-program-price { color: var(--muted); }
.form-program-price { margin-top: -6px; font-size: .86rem; }
.booking-dialog .form-status[data-state="error"] { padding: 10px 12px; border: 1px solid #e5bbb6; border-radius: 10px; color: #8f2424; background: #fff4f2; }
.booking-dialog button[type="submit"]:disabled { cursor: default; opacity: .72; }
.booking-dialog .form-recovery { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; }
.booking-confirmation { width: min(calc(100% - 28px), 420px); padding: clamp(20px, 6vw, 32px); text-align: center; }
.booking-confirmation-mark { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: #e5f4e9; color: #256340; font: 700 1.9rem/1 system-ui, sans-serif; }
.booking-confirmation p { max-width: 30ch; margin: 10px auto 20px; color: var(--muted); }
.booking-confirmation .button { width: min(100%, 230px); min-height: 44px; }
@media (max-width: 800px) {
  .apply-section { grid-template-columns: 1fr 1fr; }
  .apply-section .button { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .questions { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .apply-section { grid-template-columns: 1fr; gap: 15px; background-image: linear-gradient(90deg, #191d23ed, #191d2380 65%, #191d2300), url("signup-asphalt.webp"); background-size: cover, auto 100%; background-position: center, right center; background-repeat: no-repeat; }
  .apply-section .button { grid-column: auto; }
}
@media (max-width: 700px) {
  .enrollment-section { grid-template-columns: 1fr; gap: 0; padding-block: 48px; }
  .schedule-card { grid-column: 1; grid-row: 2; margin-top: 28px; }
  .enrollment-actions { grid-column: 1; grid-row: 3; }
  .enrollment-intro h2 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .enrollment-actions .button { flex: 1; }
}
@media (max-width: 420px) {
  .enrollment-actions .button { width: 100%; flex: 1 0 100%; }
}
@media (max-width: 380px) {
  .schedule-row { grid-template-columns: 1fr; gap: 16px; }
  .schedule-time { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* The ribbon separates the hero from the next section. */
.hero-ribbon-wrap {
  --hero-background: url("autodrome-cones-hero.webp");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #edf3f8;
}
.hero-ribbon-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 27%;
  background: linear-gradient(90deg, #edf3f8 0%, #edf3f8e8 15%, #edf3f86b 31%, transparent 56%), var(--hero-background) center 59% / cover no-repeat;
}
.hero-ribbon-wrap .hero, .hero-ribbon-wrap .hero-art { background: transparent; }
.hero-ribbon-wrap .hero-art::before { content: none; }
.ribbon-stage { --ribbon-rise: 3.5vw; position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--ribbon-rise) / 2 + 19px); }
.ribbon-stage::before, .ribbon-stage::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.ribbon-stage::before { background: var(--accent); clip-path: polygon(0 var(--ribbon-rise), 100% 0, 100% calc(100% - var(--ribbon-rise)), 0 100%); }
.ribbon-stage::after { background: var(--page); clip-path: polygon(0 100%, 100% 100%, 100% calc(100% - var(--ribbon-rise))); }
.ribbon-rail { transform: rotate(-2deg); }
.ribbon-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px clamp(12px, 2vw, 28px); margin-block: 0; padding: 0; list-style: none; color: white; font-weight: 650; }
.ribbon-items li { white-space: nowrap; }
.ribbon-items li + li::before { content: "/"; margin-right: clamp(12px, 2vw, 28px); color: #b9dbff; font-weight: 400; }
.ribbon-stage.is-moving .ribbon-rail { margin-inline: -24px; mask-image: linear-gradient(to right, #000 calc(100% - 110px), transparent calc(100% - 66px)); }
.ribbon-stage.is-moving .ribbon-track { display: flex; width: max-content; animation: ribbon-scroll var(--ribbon-duration, 45s) linear infinite; }
.ribbon-stage.is-moving .ribbon-items { flex: none; width: max-content; margin: 0; flex-wrap: nowrap; gap: 0; }
.ribbon-stage.is-moving .ribbon-items li + li::before { content: none; }
.ribbon-stage.is-moving .ribbon-items li::after { content: "/"; margin-inline: clamp(13px, 1.8vw, 28px); color: #b9dbff; font-weight: 400; }
.ribbon-stage.is-paused .ribbon-track { animation-play-state: paused; }
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }
.ribbon-toggle { position: absolute; top: calc(50% - var(--ribbon-rise) / 2 + 2px); right: clamp(8px, 1.6vw, 24px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; color: white; background: var(--accent-hover); transform: translateY(-50%); }
.ribbon-toggle:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.ribbon-toggle span { width: 12px; height: 14px; border-inline: 3px solid currentColor; }
.ribbon-stage.is-paused .ribbon-toggle span { width: 0; height: 0; margin-left: 3px; border: solid transparent; border-width: 7px 0 7px 10px; border-left-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .ribbon-stage.is-moving .ribbon-track { animation: none; } }
@media (max-width: 800px) { .ribbon-items li + li::before { content: none; } }
@media (max-width: 680px) {
  .hero-ribbon-wrap::before { content: none; }
  .hero-ribbon-wrap .hero { background: #edf3f8; }
  .hero-ribbon-wrap .hero-art { background: #c7dce9 var(--hero-background) center 59% / cover no-repeat; }
  .hero-ribbon-wrap .hero-art::before { content: ""; }
  .hero-copy { padding-bottom: 20px; }
  .ribbon-stage { display: none; }
}

/* Training route, portraits and document viewer */
.route-section { padding: 0; background: transparent; border-radius: 0; }
.route-section .steps { margin-top: 28px; padding: clamp(22px, 3.7vw, 44px); border-radius: var(--large-radius); background: #e9f2fb; }
.portrait-row { gap: 0; align-items: center; padding-left: 2px; }
.portrait-row img { width: min(30%, 112px); border-radius: 50%; border: 3px solid white; box-shadow: 0 5px 18px #193d6020; }
.portrait-row img + img { margin-left: -14px; }
.license-dialog { width: min(calc(100% - 28px), 1000px); max-width: 1000px; }
.document-hint { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.document-select { display: grid; gap: 5px; max-width: 500px; margin-top: 16px; font-weight: 650; }
.document-select select { width: 100%; min-height: 44px; padding: 10px 34px 10px 12px; border: 1px solid #a6bfd8; border-radius: 8px; color: var(--ink); background: white; }
.document-current-title { display: none; margin-top: 6px; color: var(--muted); font-size: .875rem; }
.document-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-top: 12px; }
.document-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--accent); }
.document-controls #document-prev { justify-self: start; }
.document-controls #document-next { justify-self: end; }
.document-controls #document-prev .control-icon { transform: rotate(90deg); }
.document-controls #document-next .control-icon { transform: rotate(-90deg); }
.document-controls #document-page { text-align: center; }
.document-controls button:disabled { opacity: .45; cursor: default; }
.document-file-actions { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 8px; }
.document-file-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.document-image-wrap { margin-top: 12px; background: #edf2f7; }
.document-image-link { display: block; width: min(100%, 800px); margin: auto; }
.document-image-link:focus-visible { outline-offset: -4px; }
.license-dialog .document-image-link img { width: 100%; max-width: none; margin: 0; }
@media (max-width: 680px) {
  .route-section .steps { margin-left: 0; padding: 26px; }
  .license-dialog { padding: 18px; }
  .document-controls { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .document-control-text { display: none; }
}
@media (max-width: 430px) { .document-current-title { display: block; } }

.official-header { background: white; border-bottom: 1px solid var(--line); }
.official-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.official-main { padding-block: 45px 75px; max-width: 1050px; }
.official-main h1 { margin: 12px 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; }
.official-back, .official-intro { color: var(--muted); }
.official-intro { max-width: 100%; }
.official-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.official-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--accent); }
.official-section { margin-top: 45px; scroll-margin-top: 115px; }
.official-section > p { margin-top: 12px; max-width: 100%; color: var(--muted); }
.official-section > h3 { margin-top: 20px; scroll-margin-top: 115px; }
.official-documents { margin: 16px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.official-documents > li + li { border-top: 1px solid var(--line); }
.document-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; padding: 12px clamp(12px, 2.5vw, 24px); }
.document-entry:focus-visible { outline-offset: -4px; }
.document-entry:hover { background: #edf5ff; }
.document-entry-copy { display: grid; gap: 3px; overflow-wrap: anywhere; }
.document-entry-copy small { color: var(--muted); }
.document-entry-action { color: var(--accent); font-size: .875rem; font-weight: 650; }
.facts { display: grid; gap: 0; margin: 20px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.facts div { display: grid; grid-template-columns: minmax(160px, .7fr) 1.3fr; gap: 15px; padding: 14px 18px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.staff-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.staff-tabs button { padding: 11px 16px; border: 1px solid #b5c9df; border-radius: 10px; background: white; color: var(--accent); }
.staff-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.staff-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.staff-cards article { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.staff-cards p { margin-top: 8px; color: var(--muted); }
.official-footer { padding: 25px 0; background: #0d3767; color: white; }
@media (max-width: 680px) { .official-header .container { min-height: 70px; } .official-header .brand small { display: none; } .facts div, .staff-cards { grid-template-columns: 1fr; } .facts div { gap: 4px; } }

.apply-card .consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; font-weight: 450; line-height: 1.4; }
.apply-card .consent-row label { display: inline; font: inherit; cursor: pointer; }
.apply-card .consent-row input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.form-consent { display: grid; gap: 4px; }
.consent-row a, .cookie-notice a, .legal-main a { color: var(--accent); text-decoration: underline; }
.cookie-notice { position: fixed; z-index: 20; bottom: 18px; left: 18px; right: 18px; max-width: 540px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 40px #10223830; font-size: .87rem; }
.cookie-notice button { flex: none; min-height: 44px; padding: 9px 16px; border: 0; border-radius: 9px; background: var(--accent); color: white; }
.legal-main { max-width: 900px; padding-block: 45px 75px; }
.legal-main h1 { margin: 15px 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.15; }
.legal-main h2 { margin-top: 28px; font-size: 1.35rem; }
.legal-main p, .legal-main ul { margin-top: 12px; }
.error-main { max-width: 900px; padding-block: clamp(48px, 9vw, 112px); }
.error-main h1 { margin: 10px 0 12px; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.12; }
.error-main p { color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.legal-notice { padding: 16px 20px; border-left: 4px solid #b57600; border-radius: 6px; background: #fff3d9; }
.consent-notice { border-top-left-radius: 0; border-bottom-left-radius: 0; }
@media (max-width: 680px) { .cookie-notice { left: 10px; right: 10px; bottom: 10px; gap: 10px; padding: 10px 12px; } }
