
:root {
  --ink: #0b1f33;
  --ink-soft: #304254;
  --blue: #1456a0;
  --blue-dark: #0b407d;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --soft-blue: #edf3f9;
  --line: #d7dde3;
  --muted: #53616e;
  --success: #0b6b47;
  --danger: #9b2828;
  --whatsapp: #087a4e;
  --focus: #b44b08;
  --shell: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font: inherit; }
button, input, select, textarea { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a[href^="tel:"], a[href*="api.whatsapp.com"] { position: relative; z-index: 1; pointer-events: auto; touch-action: manipulation; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.hidden { display: none !important; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(58px, 7vw, 88px); }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 12px 16px; border-radius: 4px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: #cfe2f6; color: var(--ink); }

/* Brand and navigation */
.brand { min-width: 0; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.brand-name small { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 34px); }
.desktop-nav a { min-height: 48px; display: inline-flex; align-items: center; color: var(--ink-soft); font-size: 15px; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { min-height: 48px; display: inline-flex; align-items: center; color: var(--blue-dark); font-size: 16px; font-weight: 800; text-decoration: none; }

/* Actions */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 19px; border: 2px solid transparent; border-radius: 5px; font-size: 16px; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; }
.button-small { min-height: 46px; padding: 11px 17px; font-size: 15px; }
.button-primary, .button-call { background: var(--blue); color: #fff; }
.button-primary:hover, .button-call:hover { background: var(--blue-dark); }
.button-secondary { border-color: var(--ink); background: #fff; color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--soft); }
.button-outline-light { border-color: rgba(255,255,255,.72); color: #fff; }
.button-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button-whatsapp { background: var(--whatsapp); color: #fff; }
.button-whatsapp:hover { background: #065f3d; }
.button[disabled], button[disabled] { cursor: wait; opacity: .65; }

.eyebrow { margin: 0 0 14px; color: #bdd7f1; font-size: 13px; font-weight: 800; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }

/* Home hero */
.hero { background: var(--paper); }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .78fr); gap: clamp(54px, 8vw, 104px); align-items: center; padding-block: clamp(50px, 6vw, 72px); }
.hero-copy { max-width: 660px; }
.place-line { margin: 0 0 16px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.place-line span { padding-inline: 7px; color: #8d99a5; }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(50px, 6vw, 72px); font-weight: 780; letter-spacing: -.055em; line-height: .98; }
.hero h1 span { display: block; color: var(--blue); }
.hero-lead { max-width: 570px; margin: 21px 0 0; color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button-call { min-width: 218px; display: grid; gap: 2px; }
.button-call span { font-size: 18px; }
.button-call small { color: #d9e9f8; font-size: 13px; font-weight: 700; }
.whatsapp-line { margin: 17px 0 0; color: var(--muted); font-size: 15px; }
.whatsapp-line a { color: var(--success); font-weight: 800; text-underline-offset: 3px; }
.hero-note { margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.driver-portrait { margin: 0; }
.driver-portrait img { width: 100%; aspect-ratio: 4 / 4.25; border-radius: 5px; object-fit: cover; object-position: center; }
.driver-portrait figcaption, .service-photo figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 12px; }
.driver-portrait figcaption strong, .service-photo figcaption strong { font-size: 15px; }
.driver-portrait figcaption span, .service-photo figcaption span { color: var(--muted); font-size: 14px; text-align: right; }
.hero-proof { min-height: 74px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-block: 1px solid var(--line); }
.hero-proof span { min-height: 42px; display: grid; place-items: center; padding-inline: 20px; border-right: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; font-weight: 750; text-align: center; }
.hero-proof span:last-child { border-right: 0; }

/* Journey routes */
.journey-section { background: var(--soft); }
.journey-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .62fr); gap: 50px; align-items: end; margin-bottom: 36px; }
.journey-heading h2, .booking-intro h2, .driver-grid h2, .faq-layout h2, .service-copy h2, .related-section h2 { margin: 0; font-size: clamp(33px, 4.1vw, 48px); font-weight: 760; letter-spacing: -.05em; line-height: 1.06; }
.journey-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.journey-list { border-top: 1px solid #bfc7cf; }
.journey-list > a { min-height: 112px; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 2px; border-bottom: 1px solid #bfc7cf; text-decoration: none; }
.journey-list > a:hover { color: var(--blue); }
.journey-number { color: #87939f; font-size: 14px; font-weight: 800; }
.journey-list span, .journey-list small, .journey-list strong { display: block; }
.journey-list strong { font-size: clamp(22px, 2.5vw, 29px); letter-spacing: -.025em; }
.journey-list small { margin-top: 4px; color: var(--muted); font-size: 15px; }
.journey-list b { min-width: 94px; color: var(--blue); font-size: 14px; text-align: right; text-transform: uppercase; }

/* Booking */
.booking-section { border-block: 1px solid var(--line); background: var(--paper); }
.booking-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(54px, 8vw, 104px); align-items: start; }
.booking-intro { position: sticky; top: 110px; }
.booking-intro > p:not(.eyebrow) { margin: 21px 0 0; color: var(--muted); font-size: 17px; }
.booking-expectation { display: grid; gap: 7px; margin-top: 28px; padding: 20px 0; border-block: 1px solid var(--line); }
.booking-expectation strong { font-size: 16px; }
.booking-expectation span { color: var(--muted); font-size: 15px; }
.inline-call { min-height: 50px; display: inline-flex; align-items: center; margin-top: 13px; color: var(--blue-dark); font-weight: 800; text-underline-offset: 3px; }
.booking-card { padding: clamp(22px, 4vw, 38px); border: 1px solid #cbd2d9; border-radius: 7px; background: var(--soft); }
.booking-card form { display: grid; gap: 22px; }
.booking-card fieldset { min-width: 0; margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
.booking-card legend { width: 100%; margin-bottom: 19px; color: var(--ink); font-size: 22px; font-weight: 780; letter-spacing: -.025em; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.three-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.field-wide { grid-column: 1 / -1; }
.field { min-width: 0; display: grid; gap: 7px; color: var(--ink-soft); }
.field > span, .field > label { font-size: 16px; font-weight: 750; }
.field > span small { color: var(--muted); font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea, .settings-body input, .quote-row input { width: 100%; min-height: 58px; padding: 14px; border: 1.5px solid #aeb9c3; border-radius: 5px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.3; }
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #697784; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus, .settings-body input:focus, .quote-row input:focus { border-color: var(--blue); outline: 3px solid rgba(11,88,162,.19); outline-offset: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-hint, .location-details { color: var(--muted); font-size: 14px; }
.field-hint.success, .location-details:not(.error) { color: var(--success); }
.field-hint.error, .location-details.error { color: var(--danger); }
.location-details { display: grid; gap: 3px; }
.input-action { position: relative; }
.input-action input { padding-right: 151px; }
.input-action button { position: absolute; top: 6px; right: 6px; min-height: 46px; padding: 8px 12px; border: 0; border-radius: 4px; background: var(--soft-blue); color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.address-field { position: relative; }
.address-suggestions { position: absolute; z-index: 30; top: calc(100% - 1px); right: 0; left: 0; overflow: auto; max-height: 340px; border: 1px solid #aeb9c3; border-radius: 5px; background: #fff; box-shadow: 0 16px 32px rgba(21,26,32,.14); }
.address-option { width: 100%; min-height: 66px; display: grid; gap: 4px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; }
.address-option:last-child { border-bottom: 0; }
.address-option:hover, .address-option.active, .address-option:focus-visible { background: var(--soft-blue); }
.address-option strong { font-size: 16px; }
.address-option small, .address-option-message { color: var(--muted); font-size: 14px; }
.address-option-message { padding: 17px; }
.trip-summary { display: grid; gap: 7px; margin-top: 17px; padding: 14px 15px; border-left: 4px solid var(--blue); background: #fff; }
.trip-summary div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trip-summary strong { font-size: 15px; }
.trip-summary small { color: var(--muted); font-size: 14px; }
.optional-details { border: 1px solid #c5cdd5; border-radius: 5px; background: #fff; }
.optional-details summary, .insights-card summary, .settings-card > summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; color: var(--ink); cursor: pointer; font-size: 16px; font-weight: 750; list-style: none; }
.optional-details summary::-webkit-details-marker, .insights-card summary::-webkit-details-marker, .settings-card > summary::-webkit-details-marker { display: none; }
.optional-details summary::after, .insights-card summary::after, .settings-card > summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 23px; font-weight: 450; }
.optional-details[open] summary::after, .insights-card[open] summary::after, .settings-card[open] > summary::after { content: "−"; }
.optional-details summary small { color: var(--muted); font-size: 14px; font-weight: 550; }
.optional-body { display: grid; gap: 18px; padding: 21px 16px; border-top: 1px solid var(--line); }
.return-toggle { min-height: 64px; display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); cursor: pointer; }
.return-toggle input { width: 23px; height: 23px; accent-color: var(--blue); }
.return-toggle span { display: grid; }
.return-toggle strong { font-size: 15px; }
.return-toggle small { color: var(--muted); font-size: 14px; }
.form-error { margin: -8px 0 0; padding: 13px 14px; border-left: 4px solid var(--danger); background: #fff0f0; color: #7d2020; font-size: 15px; font-weight: 700; }
.form-error-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: -18px; }
.form-error-actions a { min-height: 46px; display: inline-flex; align-items: center; color: var(--blue-dark); font-weight: 800; text-underline-offset: 3px; }
.submit-button { width: 100%; min-height: 60px; }
.form-note { margin: -18px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.booking-success { display: grid; justify-items: start; gap: 14px; padding-block: 14px; }
.booking-success .success-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--success); color: #fff; font-size: 25px; font-weight: 900; }
.booking-success .eyebrow { margin: 4px 0 -4px; }
.booking-success h3 { margin: 0; font-size: clamp(30px, 4vw, 39px); letter-spacing: -.04em; line-height: 1.08; }
.booking-success p:not(.eyebrow) { margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.booking-success .button { width: 100%; }
.text-button { min-height: 48px; padding: 8px 0; border: 0; background: transparent; color: var(--blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Driver and vehicle */
.driver-section { background: var(--paper); }
.driver-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(56px, 9vw, 118px); align-items: start; }
.driver-statement > p:not(.eyebrow) { max-width: 530px; margin: 22px 0 0; color: var(--ink-soft); font-size: 19px; }
.driver-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.vehicle-name { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; font-size: 24px; font-weight: 780; letter-spacing: -.025em; }
.vehicle-name span { color: var(--muted); font-size: 15px; font-weight: 600; }
.driver-copy dl { margin: 0; border-top: 1px solid var(--line); }
.driver-copy dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.driver-copy dt { color: var(--blue); font-size: 14px; font-weight: 800; }
.driver-copy dd { margin: 0; color: var(--ink-soft); font-size: 16px; }
.capacity-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { padding: 58px 0 26px; background: #11171d; color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #aab7c2; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.17); }
.footer-top > div > p { margin: 16px 0 0; color: #b5c0ca; font-size: 14px; }
.footer-call { display: grid; color: #fff; font-size: 24px; font-weight: 800; text-align: right; text-decoration: none; }
.footer-call span { color: #b5c0ca; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 60px; padding-block: 35px; }
.footer-links > div { display: grid; align-content: start; justify-items: start; gap: 7px; }
.footer-links strong { margin-bottom: 5px; color: #b5c0ca; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a, .footer-links span { color: #e0e5e9; font-size: 14px; }
.footer-links a { min-height: 36px; display: inline-flex; align-items: center; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: #929faa; font-size: 13px; }
.mobile-actions { display: none; }
.noscript { position: fixed; z-index: 200; right: 12px; bottom: 12px; left: 12px; padding: 14px; border: 1px solid #c89b28; border-radius: 4px; background: #fff4ce; color: var(--ink); text-align: center; }

/* Search landing pages */
.breadcrumbs { min-height: 54px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { min-height: 40px; display: inline-flex; align-items: center; color: var(--blue-dark); }
.service-hero { padding-top: clamp(48px, 6vw, 78px); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr); gap: clamp(52px, 8vw, 100px); align-items: center; }
.service-hero h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 5.8vw, 68px); font-weight: 770; letter-spacing: -.055em; line-height: 1; }
.service-hero h1 + p { max-width: 680px; margin: 23px 0 0; color: var(--ink-soft); font-size: 19px; line-height: 1.6; }
.dark-line { color: var(--muted); }
.service-photo { margin: 0; }
.service-photo img { width: 100%; aspect-ratio: 4 / 3.7; border-radius: 5px; object-fit: cover; }
.service-points { border-block: 1px solid var(--line); background: var(--soft); }
.service-points ol { min-height: 152px; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 0; margin-bottom: 0; padding-left: 0; list-style: none; }
.service-points li { display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 16px; padding: 26px 28px; border-right: 1px solid var(--line); }
.service-points li:first-child { padding-left: 0; }
.service-points li:last-child { padding-right: 0; border-right: 0; }
.service-points li > span { color: var(--blue); font-size: 13px; font-weight: 800; }
.service-points strong { display: block; font-size: 17px; }
.service-points p { margin: 5px 0 0; color: var(--muted); font-size: 15px; }
.service-copy-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: clamp(58px, 9vw, 120px); }
.service-copy-grid > div:last-child > p { margin: 0 0 18px; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.service-trust { display: grid; gap: 4px; margin-top: 28px; padding: 19px 0; border-block: 1px solid var(--line); }
.service-trust strong { font-size: 17px; }
.service-trust span { color: var(--muted); font-size: 15px; }
.faq-section { border-top: 1px solid var(--line); background: var(--soft); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(52px, 9vw, 118px); align-items: start; }
.faq-list { border-top: 1px solid #bfc7cf; }
.faq-list details { border-bottom: 1px solid #bfc7cf; }
.faq-list summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 2px; cursor: pointer; color: var(--ink); font-size: 17px; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 24px; font-weight: 450; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -1px 0 22px; padding-right: 42px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.related-section { background: var(--paper); }
.related-list { margin-top: 30px; border-top: 1px solid var(--line); }
.related-list a { min-height: 90px; display: grid; grid-template-columns: minmax(150px, .62fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 18px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.related-list a:hover { color: var(--blue); }
.related-list span { color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.related-list strong { font-size: 19px; }
.related-list b { color: var(--blue); font-size: 21px; }
.final-cta { background: var(--ink); color: #fff; }
.final-cta-inner { min-height: 245px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 50px; }
.final-cta h2 { margin: 0; max-width: 620px; font-size: clamp(35px, 4.6vw, 53px); font-weight: 750; letter-spacing: -.05em; line-height: 1.04; }
.final-cta p:not(.eyebrow) { margin: 12px 0 0; color: #c5cdd5; font-size: 15px; }
.final-cta-inner > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Information pages */
.info-page { background: var(--soft); }
.prose { max-width: 820px; }
.prose h1 { margin: 0 0 20px; font-size: clamp(43px, 6vw, 66px); font-weight: 770; letter-spacing: -.055em; line-height: 1; }
.prose-lead { margin-bottom: 42px !important; color: var(--ink-soft) !important; font-size: 20px !important; }
.prose h2 { margin: 38px 0 10px; font-size: 26px; letter-spacing: -.035em; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.prose a:not(.button) { color: var(--blue-dark); font-weight: 700; text-underline-offset: 3px; }
.prose .button { margin-top: 18px; color: #fff; }
.prose .updated { margin-top: 46px; font-size: 14px; }

/* Private driver desk */
.driver-page { min-height: 100vh; background: var(--soft); color: var(--ink); font-size: 16px; }
.driver-header { background: var(--ink); color: #fff; }
.driver-header-inner { width: min(980px, calc(100% - 28px)); min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-inline: auto; }
.driver-header .brand { color: #fff; }
.driver-header .brand-name small { color: #b5c0ca; }
.driver-header-inner > div { display: flex; align-items: center; gap: 14px; }
.sign-out { min-height: 44px; display: inline-flex; align-items: center; color: #d7dde3; font-size: 14px; }
.driver-shell { width: min(980px, calc(100% - 28px)); margin-inline: auto; padding: 38px 0 72px; }
.driver-welcome { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.driver-welcome h1 { margin: 0; font-size: clamp(40px, 7vw, 60px); letter-spacing: -.055em; line-height: 1; }
.driver-welcome p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); }
.driver-welcome > span { color: var(--muted); font-size: 13px; }
.driver-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.driver-stats article { min-height: 102px; display: grid; align-content: space-between; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.driver-stats span { color: var(--muted); font-size: 13px; font-weight: 700; }
.driver-stats strong { color: var(--blue); font-size: 31px; line-height: 1; }
.loading, .empty { margin-top: 16px; padding: 25px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); }
.empty { display: grid; gap: 4px; }
.empty strong { color: var(--ink); }
.next-card { margin-top: 16px; padding: 24px; border-radius: 6px; background: var(--ink); color: #fff; }
.next-label { color: #b7c1ca; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.next-time { margin-top: 6px; font-size: clamp(25px, 5vw, 36px); font-weight: 800; letter-spacing: -.04em; }
.next-name { margin-top: 3px; color: #d1d8de; font-size: 14px; }
.next-route, .job-route { display: grid; grid-template-columns: 12px 1fr; gap: 9px 12px; margin-top: 22px; }
.next-route i, .job-route i { width: 10px; height: 10px; margin-top: 6px; border: 2px solid #fff; border-radius: 50%; }
.next-route i.end, .job-route i.end { border-color: var(--blue); background: var(--blue); }
.next-route .line, .job-route .line { width: 2px; min-height: 24px; margin-left: 4px; background: rgba(255,255,255,.28); }
.next-route strong, .job-route strong { display: block; font-size: 15px; }
.next-route small, .job-route small { color: #bac5cf; font-size: 12px; }
.next-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.desk-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 30px; padding: 5px; border-radius: 6px; background: #e2e6ea; }
.desk-tabs button { min-height: 48px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-weight: 800; }
.desk-tabs button.active { background: #fff; color: var(--ink); }
.job-list { display: grid; gap: 13px; margin-top: 14px; }
.job-card { padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.job-top, .customer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.job-time { font-size: 21px; font-weight: 800; letter-spacing: -.025em; }
.job-reference { margin-top: 2px; color: var(--muted); font-size: 12px; }
.badge { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: capitalize; }
.badge-new { background: #fff0c8; color: #6f4d00; }
.badge-accepted { background: #dff4e8; color: #135f3d; }
.badge-completed { background: #e6edf7; color: #344b68; }
.badge-declined, .badge-cancelled { background: #f4e5e5; color: #7b2929; }
.customer-row { align-items: center; margin-top: 19px; padding: 15px 0; border-block: 1px solid var(--line); }
.customer-row > div:first-child { display: grid; }
.customer-row strong { font-size: 17px; }
.customer-row span { color: var(--muted); font-size: 14px; }
.quick-links { display: flex; gap: 7px; }
.quick-link { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.job-route i { border-color: var(--ink); }
.job-route .line { background: var(--line); }
.job-route small { color: var(--muted); }
.job-route small a { color: var(--blue-dark); }
.job-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.job-meta span { padding: 6px 8px; border-radius: 4px; background: var(--soft); color: var(--ink-soft); font-size: 12px; }
.job-notes { margin-top: 14px; padding: 11px 12px; border-left: 3px solid var(--blue); background: var(--soft); color: var(--ink-soft); font-size: 13px; white-space: pre-wrap; }
.quote-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 17px; }
.quote-row button { min-height: 50px; padding: 10px 15px; border: 0; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 800; }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.job-actions .button { min-height: 48px; padding: 10px 14px; font-size: 14px; }
.button-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.button-dark { background: var(--ink); color: #fff; }
.insights-card, .settings-card { margin-top: 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.insights-card summary span { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.insight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px; border-top: 1px solid var(--line); }
.insight-grid div { display: grid; gap: 5px; padding: 12px; border-radius: 4px; background: var(--soft); }
.insight-grid span { color: var(--muted); font-size: 12px; }
.insight-grid strong { color: var(--blue); font-size: 23px; }
.insights-card > p { margin: 0; padding: 0 16px 16px; color: var(--muted); font-size: 12px; }
.settings-body { padding: 0 16px 18px; border-top: 1px solid var(--line); }
.settings-head { padding-top: 16px; color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.settings-body > p { color: var(--muted); font-size: 13px; }
.settings-body form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.settings-body label { grid-column: 1 / -1; font-size: 13px; font-weight: 800; }
#addressSettingsMessage.success { color: var(--success); }
#addressSettingsMessage.error { color: var(--danger); }
.install-tip { margin-top: 18px; padding: 14px; border-left: 3px solid var(--blue); background: var(--soft-blue); color: var(--ink-soft); font-size: 13px; }

/* Private owner operations desk */
.driver-page { min-height: 100vh; background: #f4f7fa; color: var(--ink); }
.ops-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid #19334c; background: var(--ink); color: #fff; }
.ops-header-inner { width: min(980px, calc(100% - 28px)); min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-inline: auto; }
.ops-brand { display: grid; gap: 3px; color: #fff; text-decoration: none; line-height: 1.05; }
.ops-brand strong { font-size: 17px; letter-spacing: -.02em; }
.ops-brand span { color: #bbcad8; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ops-header-actions { display: flex; align-items: center; gap: 12px; }
.ops-icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #52677a; border-radius: 4px; background: transparent; color: #fff; font-size: 25px; line-height: 1; }
.ops-signout { min-height: 44px; display: inline-flex; align-items: center; color: #d2dce5; font-size: 14px; }
.driver-shell { width: min(980px, calc(100% - 28px)); margin-inline: auto; padding: 28px 0 58px; }
.ops-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.ops-kicker { margin: 0 0 8px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.ops-top h1, .ops-section-heading h2 { margin: 0; letter-spacing: -.045em; line-height: 1.06; }
.ops-top h1 { font-size: clamp(30px, 5vw, 43px); }
.ops-top p:not(.ops-kicker) { margin: 7px 0 0; color: var(--muted); font-size: 16px; }
.ops-updated { color: var(--muted); font-size: 12px; white-space: nowrap; }
.ops-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.ops-stats button { min-height: 76px; display: grid; align-content: space-between; gap: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); text-align: left; }
.ops-stats button:hover, .ops-stats button.active { border-color: var(--blue); }
.ops-stats span { color: var(--muted); font-size: 13px; font-weight: 750; }
.ops-stats strong { color: var(--blue); font-size: 27px; line-height: 1; }
.ops-next { margin-top: 18px; padding: 19px; border-radius: 6px; background: var(--ink); color: #fff; }
.ops-next-label { color: #c8d6e2; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.ops-next-label span { float: right; color: #9ec4e2; letter-spacing: 0; text-transform: none; }
.ops-next-time { margin: 8px 0 10px; color: #fff; font-size: 25px; font-weight: 850; letter-spacing: -.03em; }
.ops-next > strong { display: block; font-size: 19px; }
.ops-next .ops-route strong { color: #fff; }
.ops-next .ops-route b { color: #aac0d2; }
.ops-next .ops-meta span { background: rgba(255,255,255,.1); color: #e1eaf1; }
.request-panel { margin-top: 26px; }
.ops-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.ops-section-heading h2 { font-size: 27px; }
.ops-section-heading > span { color: var(--muted); font-size: 13px; }
.request-panel #requestList { display: grid; gap: 10px; margin-top: 12px; }
.ops-main-nav { position: sticky; z-index: 10; top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 5px; background: rgba(244,247,250,.97); backdrop-filter: blur(10px); }
.ops-main-nav button, .ops-job-nav button { min-height: 44px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 800; }
.ops-main-nav button.active, .ops-job-nav button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(11,31,51,.08); }
.ops-job-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; padding: 3px; border-bottom: 1px solid var(--line); }
.ops-job-nav button { border-radius: 0; }
.ops-job-nav button.active { box-shadow: inset 0 -3px var(--blue); }
.ops-view { margin-top: 22px; }
.ops-refresh { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--blue-dark); font-weight: 800; }
.job-list { display: grid; gap: 10px; margin-top: 12px; }
.ops-job { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.ops-job.is-new { border-left: 4px solid #b47700; }
.ops-job-top, .ops-customer { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ops-job-status { display: block; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.ops-job-time { display: block; margin-top: 5px; font-size: 19px; letter-spacing: -.02em; }
.ops-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 8px; border-radius: 4px; font-size: 11px; font-weight: 850; white-space: nowrap; }
.ops-badge.badge-new { background: #fff3d7; color: #755000; }
.ops-badge.badge-confirmed { background: #e1f2e8; color: #0b6140; }
.ops-badge.badge-completed { background: #e6edf7; color: #344b68; }
.ops-badge.badge-declined, .ops-badge.badge-cancelled { background: #f4e5e5; color: #7b2929; }
.ops-customer { align-items: center; margin-top: 12px; padding-block: 11px; border-block: 1px solid var(--line); }
.ops-customer strong { font-size: 18px; }
.ops-customer a { color: var(--blue-dark); font-size: 15px; font-weight: 750; }
.ops-customer-contacts { min-width: 0; display: grid; gap: 3px; text-align: right; }
.ops-customer-contacts a { overflow-wrap: anywhere; }
.ops-next .ops-customer { border-color: rgba(255,255,255,.2); }
.ops-next .ops-customer a { color: #d6e9f7; }
.ops-route { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.ops-route > div { min-width: 0; padding-left: 12px; border-left: 3px solid var(--blue); }
.ops-route > div:last-child { border-left-color: #6d7d89; }
.ops-route b { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ops-route strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.ops-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.ops-meta span { padding: 6px 8px; border-radius: 4px; background: var(--soft); color: var(--ink-soft); font-size: 12px; }
.ops-customer-note, .ops-private-note { margin-top: 11px; padding: 10px 11px; border-left: 3px solid #8d9ba5; background: var(--soft); color: var(--ink-soft); font-size: 13px; white-space: pre-wrap; }
.ops-private-note { border-left-color: var(--blue); }
.ops-private-note b { display: block; margin-bottom: 3px; color: var(--blue-dark); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ops-actions, .ops-request-actions, .manual-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.ops-actions .button, .ops-request-actions .button, .manual-actions .button { min-height: 48px; flex: 1 1 130px; padding: 10px 12px; font-size: 14px; }
.ops-request-actions { padding-top: 12px; border-top: 1px solid var(--line); }
.ops-edit { margin-top: 12px; border-top: 1px solid var(--line); }
.ops-edit summary { min-height: 42px; display: flex; align-items: center; color: var(--blue-dark); cursor: pointer; font-size: 14px; font-weight: 800; }
.ops-edit-grid, .manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ops-edit label, .manual-form > label, .manual-grid label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.ops-edit input, .ops-edit textarea, .manual-form input, .manual-form select, .manual-form textarea { width: 100%; min-height: 46px; padding: 10px; border: 1px solid #aeb9c3; border-radius: 4px; background: #fff; color: var(--ink); font-size: 16px; }
.ops-edit textarea, .manual-form textarea { min-height: 74px; resize: vertical; }
.ops-edit > .button { min-height: 46px; margin-top: 10px; }
.ops-price { margin: 11px 0 0; color: var(--success); font-size: 14px; font-weight: 800; }
.ops-empty { display: grid; gap: 4px; margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--muted); }
.ops-empty strong { color: var(--ink); }
.ops-empty.compact { padding: 12px 14px; }
.ops-muted { color: var(--muted); font-size: 15px; }
.insight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.insight-grid div { display: grid; gap: 5px; padding: 13px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.insight-grid span { color: var(--muted); font-size: 12px; }
.insight-grid strong { color: var(--blue); font-size: 25px; }
.settings-card { margin-top: 14px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.settings-card summary { min-height: 48px; display: flex; align-items: center; padding: 0 14px; cursor: pointer; font-weight: 800; }
.settings-card .settings-body { padding: 0 14px 16px; border-top: 1px solid var(--line); }
.manual-panel { margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.manual-form { display: grid; gap: 12px; margin-top: 13px; }
.add-booking { width: 100%; min-height: 52px; margin-top: 18px; border: 2px solid var(--blue); border-radius: 5px; background: #fff; color: var(--blue-dark); font-size: 16px; font-weight: 850; }
.add-booking span { font-size: 21px; vertical-align: -1px; }
.driver-page .text-button { min-height: 42px; border: 0; background: transparent; color: var(--blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.ops-notice { position: sticky; z-index: 12; top: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 11px 13px; border-left: 4px solid #b47700; border-radius: 4px; background: #fff3d7; color: #593d00; box-shadow: 0 8px 24px rgba(11,31,51,.12); font-weight: 800; }
.ops-notice.error { border-left-color: var(--danger); background: #fff0f0; color: #812020; }
.ops-notice button { min-height: 40px; padding: 7px 12px; border: 0; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 800; }
.request-panel { margin-top: 16px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.request-panel.has-requests { border-left: 4px solid #b47700; }
.request-summary { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 8px 13px; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 15px; font-weight: 850; }
.request-summary strong { min-width: 29px; padding: 3px 8px; border-radius: 99px; background: var(--soft); color: var(--blue-dark); text-align: center; }
.has-requests .request-summary strong { background: #fff3d7; color: #755000; }
.request-panel #requestList { margin: 0; padding: 0 10px 10px; }
.request-panel #requestList:empty { display: none; }
.request-panel #requestList.collapsed { display: none; }
.ops-customer-note b { display: block; margin-bottom: 3px; color: var(--ink-soft); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ops-next .ops-customer-note, .ops-next .ops-private-note { background: rgba(255,255,255,.08); color: #edf3f7; }
.ops-next .ops-customer-note b, .ops-next .ops-private-note b { color: #c8d6e2; }
.ops-next .ops-price { color: #aee4c8; }
.ops-next .button-secondary { border-color: #fff; background: #fff; color: var(--ink); }
.ops-next-complete { width: 100%; min-height: 46px; margin-top: 10px; border: 1px solid #8fb1cc; border-radius: 4px; background: transparent; color: #fff; font-weight: 850; }
.ops-completion-help { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.ops-next .ops-completion-help { display: block; margin-top: 7px; color: #c8d6e2; font-size: 13px; }
.ops-next-complete:disabled { border-color: #617c92; background: rgba(255,255,255,.05); color: #b8c7d2; }
.ops-terminal-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ops-terminal-actions .button { min-height: 48px; flex: 1 1 145px; padding: 10px 12px; font-size: 14px; }
.button-danger { background: #8f2525; color: #fff; }
.ops-confirm, .ops-cancel { display: grid; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 4px; background: #eef3f7; color: var(--ink); }
.ops-confirm > div, .ops-cancel > div { display: flex; flex-wrap: wrap; gap: 7px; }
.ops-confirm .button, .ops-cancel .button { min-height: 46px; flex: 1 1 130px; padding: 9px 11px; font-size: 14px; }
.ops-cancel label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.ops-cancel input { width: 100%; min-height: 46px; padding: 9px 10px; border: 1px solid #aeb9c3; border-radius: 4px; background: #fff; color: var(--ink); font-size: 16px; }
.ops-overdue { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; margin-top: 10px; padding: 12px 13px; border-left: 3px solid #b47700; border-radius: 4px; background: #fff8e8; }
.ops-overdue > div:first-child { display: grid; gap: 2px; }
.ops-overdue span { color: var(--muted); font-size: 13px; }
.ops-overdue > div:nth-child(2) { display: flex; gap: 6px; }
.ops-overdue > div:nth-child(2) button { min-height: 42px; padding: 7px 10px; border: 1px solid #c9b27b; border-radius: 4px; background: #fff; color: var(--ink); font-weight: 800; }
.ops-overdue .ops-confirm { grid-column: 1 / -1; }
.history-search { display: grid; gap: 5px; margin-top: 13px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.history-search input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #aeb9c3; border-radius: 4px; background: #fff; color: var(--ink); font-size: 16px; }
.ops-history-card { border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.ops-history-card summary { min-height: 76px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px; cursor: pointer; }
.ops-history-card summary > span { min-width: 0; display: grid; gap: 3px; }
.ops-history-card summary > span:last-child { justify-items: end; flex: 0 0 auto; }
.ops-history-card summary strong { font-size: 16px; }
.ops-history-card summary small { color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.ops-history-card summary em { font-style: normal; }
.history-fare { color: var(--success); font-size: 14px; }
.history-details { padding: 0 13px 14px; border-top: 1px solid var(--line); }
.history-timestamp { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.manual-extras { border-top: 1px solid var(--line); }
.manual-extras summary { min-height: 46px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--blue-dark); font-weight: 800; }
.manual-extras > .manual-grid, .manual-extras > label { margin-top: 10px; }
.manual-check { grid-template-columns: auto 1fr; align-items: center; align-self: end; min-height: 46px; }
.manual-check input { width: 24px; min-height: 24px; }
.settings-alerts { padding-top: 15px !important; }
.settings-alerts h3 { margin: 0; font-size: 17px; }
.settings-alerts small { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }
.settings-signout { min-height: 48px; display: inline-flex; align-items: center; margin-top: 20px; color: var(--danger); font-weight: 800; }

@media (max-width: 680px) {
  .driver-page { padding-bottom: env(safe-area-inset-bottom); }
  .ops-header-inner { min-height: calc(60px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .ops-brand strong { font-size: 16px; }
  .driver-shell { padding-top: 22px; }
  .ops-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ops-top h1 { font-size: 31px; }
  .ops-updated { align-self: flex-start; }
  .ops-stats { gap: 6px; }
  .ops-stats button { min-height: 70px; padding: 11px 10px; }
  .ops-stats span { font-size: 12px; }
  .ops-stats strong { font-size: 24px; }
  .ops-next { padding: 16px; }
  .ops-next-time { font-size: 22px; }
  .ops-section-heading h2 { font-size: 25px; }
  .ops-main-nav { top: calc(60px + env(safe-area-inset-top)); }
  .ops-main-nav button, .ops-job-nav button { font-size: 15px; }
  .ops-customer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ops-customer-contacts { text-align: left; }
  .ops-route { grid-template-columns: 1fr; gap: 10px; }
  .ops-actions .button, .ops-request-actions .button, .manual-actions .button { flex-basis: 46%; }
  .ops-edit-grid, .manual-grid { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .ops-overdue { grid-template-columns: 1fr; }
  .ops-history-card summary { min-height: 82px; }
}

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(285px, .7fr); gap: 44px; }
  .journey-heading, .booking-layout, .driver-grid, .faq-layout, .service-copy-grid { grid-template-columns: 1fr; gap: 34px; }
  .booking-intro { position: static; max-width: 650px; }
  .service-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-photo { max-width: 620px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  body.public-page { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
  .shell { width: calc(100% - 28px); }
  .section { padding-block: 48px; }
  .header-inner { min-height: calc(69px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); gap: 12px; }
  .brand-name strong { font-size: 16px; }
  .brand-name small { margin-top: 4px; font-size: 11px; letter-spacing: .07em; }
  .header-phone { display: none; }
  .header-actions { gap: 0; }
  .header-inner .button { min-height: 44px; padding-inline: 14px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding-block: 32px 34px; }
  .place-line { margin-bottom: 13px; font-size: 12px; letter-spacing: .055em; }
  .place-line span { padding-inline: 3px; }
  .hero h1 { font-size: clamp(40px, 12vw, 49px); }
  .hero-lead { margin-top: 16px; font-size: 17px; line-height: 1.5; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
  .hero-actions .button { min-width: 0; width: 100%; min-height: 56px; padding-inline: 10px; }
  .button-call span { font-size: 17px; }
  .button-call small { font-size: 12px; }
  .whatsapp-line { font-size: 15px; }
  .hero-note { margin-top: 18px; padding-top: 15px; font-size: 14px; }
  .driver-portrait img { max-height: 275px; aspect-ratio: 16 / 11; }
  .driver-portrait figcaption, .service-photo figcaption { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 10px; }
  .driver-portrait figcaption span, .service-photo figcaption span { text-align: left; }
  .hero-proof { min-height: 62px; }
  .hero-proof span { min-height: 44px; padding-inline: 8px; font-size: 12px; line-height: 1.3; }
  .journey-heading { display: block; margin-bottom: 20px; }
  .journey-heading h2, .booking-intro h2, .driver-grid h2, .faq-layout h2, .service-copy h2, .related-section h2 { font-size: 31px; }
  .journey-heading > p { margin-top: 11px; font-size: 16px; }
  .journey-list > a { min-height: 82px; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; padding-block: 13px; }
  .journey-list strong { font-size: 21px; }
  .journey-list small { font-size: 14px; }
  .journey-list b { display: none; }
  .booking-layout { gap: 22px; }
  .booking-card { padding: 16px; }
  .booking-card form { gap: 19px; }
  .field-grid, .three-fields, .two-fields { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .input-action input { padding-right: 142px; }
  .input-action button { font-size: 12px; }
  .optional-details summary { align-items: flex-start; }
  .optional-details summary small { margin-left: auto; }
  .vehicle-name { align-items: flex-start; flex-direction: column; gap: 2px; }
  .driver-copy dl > div { grid-template-columns: 92px 1fr; gap: 16px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-call { text-align: left; }
  .footer-links { grid-template-columns: 1fr; gap: 20px; }
  .mobile-actions { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid #cbd2d9; background: rgba(255,255,255,.98); box-shadow: 0 -5px 16px rgba(11,31,51,.1); transition: transform .18s ease; }
  .mobile-actions a { min-height: 48px; display: grid; place-content: center; padding-inline: 8px; border-radius: 4px; text-align: center; text-decoration: none; }
  .mobile-actions span { font-size: 15px; font-weight: 850; line-height: 1.15; }
  .mobile-call { background: var(--blue); color: #fff; }
  .mobile-book { background: var(--ink); color: #fff; }
  body.form-focused .mobile-actions { transform: translateY(130%); }
  .breadcrumbs { min-height: 46px; }
  .service-hero { padding-top: 40px; }
  .service-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-hero h1 { font-size: 38px; }
  .service-hero h1 + p { font-size: 17px; }
  .service-photo img { max-height: 290px; }
  .service-points ol { grid-template-columns: 1fr; padding-block: 7px; }
  .service-points li, .service-points li:first-child, .service-points li:last-child { min-height: 82px; padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-points li:last-child { border-bottom: 0; }
  .service-copy-grid > div:last-child > p { font-size: 16px; }
  .faq-layout { gap: 23px; }
  .faq-list summary { min-height: 60px; font-size: 16px; }
  .faq-list p { padding-right: 18px; }
  .related-list a { min-height: 76px; grid-template-columns: 1fr auto; gap: 5px 16px; }
  .related-list span { grid-column: 1; }
  .related-list strong { grid-column: 1; }
  .related-list b { grid-column: 2; grid-row: 1 / 3; }
  .final-cta-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 28px; }
  .final-cta-inner > div:last-child { width: 100%; display: grid; justify-content: stretch; }
  .final-cta-inner .button { width: 100%; }
  .prose h1 { font-size: 42px; }
  .driver-header-inner { min-height: calc(72px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .driver-shell { padding-top: 27px; }
  .driver-welcome { align-items: flex-start; flex-direction: column; gap: 10px; }
  .driver-stats article { min-height: 90px; padding: 13px; }
  .driver-stats strong { font-size: 27px; }
  .next-card, .job-card { padding: 17px; }
  .next-actions, .job-actions { display: grid; grid-template-columns: 1fr; }
  .next-actions .button, .job-actions .button { width: 100%; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .settings-body form { grid-template-columns: 1fr; }
  .settings-body form label { grid-column: auto; }
}

@media (max-width: 480px) {
  .input-action { display: grid; gap: 8px; }
  .input-action input { padding-right: 14px; }
  .input-action button { position: static; width: 100%; min-height: 48px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 22px); }
  .brand-name strong { font-size: 15px; }
  .header-inner .button { min-height: 42px; padding-inline: 11px; font-size: 14px; }
  .hero h1 { font-size: 41px; }
  .hero-actions { grid-template-columns: 1fr; }
  .booking-card { padding: 14px; }
  .driver-copy dl > div { grid-template-columns: 1fr; gap: 3px; }
  .driver-stats { gap: 6px; }
  .driver-stats article { padding: 10px; }
  .driver-stats span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
