/* Language switcher (top bar) */
.header-topbar-lang ul { margin: 0; padding: 0; list-style: none; }
.header-topbar-lang li { margin-right: 12px; }
.header-topbar-lang a { display: block; line-height: 0; opacity: .6; transition: opacity .2s; }
.header-topbar-lang a img { width: 24px; height: 18px; object-fit: cover; border-radius: 2px; display: block; }
.header-topbar-lang a:hover,
.header-topbar-lang a.active { opacity: 1; }
.header-topbar-lang a.active img { outline: 2px solid #fff; outline-offset: 1px; }
.header-topbar-lang { margin-right: 20px; }

/* Right-to-left (Arabic) */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .header-topbar-lang { margin-right: 0; margin-left: 20px; }
[dir="rtl"] .header-topbar-lang li { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-chevron-left,
[dir="rtl"] .fa-chevron-right { transform: scaleX(-1); }
[dir="rtl"] .ms-2 { margin-left: 0 !important; margin-right: .5rem !important; }
[dir="rtl"] .mr-15 { margin-right: 0 !important; margin-left: 15px !important; }
[dir="rtl"] .title { text-align: center; }

/* Home: animated journey (van driving along the route) */
.journey-area { padding: 80px 0; }
.journey { position: relative; margin-top: 30px; }
.journey-map { display: block; width: 100%; height: auto; overflow: visible; }
.journey-road { fill: none; stroke: #d5dae6; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 14; }
.journey-trail { fill: none; stroke: #f0b323; stroke-width: 6; stroke-linecap: round; }
.journey-stop { fill: #fff; stroke: #cfd5e3; stroke-width: 4; transition: fill .3s, stroke .3s; }
.journey-stop.is-active { fill: #f0b323; stroke: #0d1b45; }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 10px; }
.journey-step { text-align: center; padding: 0 16px; opacity: .55; transition: opacity .4s, transform .4s; }
.journey-step.is-active { opacity: 1; transform: translateY(-4px); }
.journey-step-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
    border-radius: 50%; background: #0d1b45; color: #fff; font-weight: 700; margin-bottom: 10px; }
.journey-step.is-active .journey-step-num { background: #f0b323; color: #0d1b45; }
.journey-step .h3-title { font-size: 20px; margin-bottom: 8px; }
.journey-step p { margin: 0; }
@media (max-width: 767px) {
    .journey-map { display: none; }
    .journey-steps { grid-template-columns: 1fr; gap: 24px; }
    .journey-step { opacity: 1; }
}

/* Home photos (Iceland) */
/* Home banner: a single full-width photo, shown as is (no template background, no dark veil, no shadow).
   The template's :before becomes a light gradient on the text side only, so the white title stays readable. */
.main-banner--photo { padding-bottom: 80px; }
.main-banner-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.main-banner--photo:before { z-index: 1; opacity: 1; background-image: linear-gradient(90deg, rgb(7 23 51 / 45%) 0%, rgb(7 23 51 / 15%) 45%, transparent 65%); }
[dir="rtl"] .main-banner--photo:before { background-image: linear-gradient(270deg, rgb(7 23 51 / 45%) 0%, rgb(7 23 51 / 15%) 45%, transparent 65%); }
.main-banner--photo:after { z-index: 1; }
.main-banner--photo .container { position: relative; z-index: 2; }
@media (min-width: 992px) { .main-banner--photo { min-height: 680px; } }
@media (max-width: 991px) { .main-banner--photo:before, [dir="rtl"] .main-banner--photo:before { background-image: none; background-color: rgb(7 23 51 / 35%); } }
.about-img img { border-radius: 20px; }

/* Language switcher inside the mobile menu */
.mobile-menu-lang { padding: 15px 0; }
.mobile-menu-lang .header-topbar-lang { margin: 0; }
.mobile-menu-lang .header-topbar-lang a { opacity: .5; }
.mobile-menu-lang .header-topbar-lang a:hover,
.mobile-menu-lang .header-topbar-lang a.active { opacity: 1; }
.mobile-menu-lang .header-topbar-lang a img { width: 32px; height: 24px; }
.mobile-menu-lang .header-topbar-lang a.active img { outline-color: #0d1b45; }
[dir="rtl"] .mobile-menu-lang .header-topbar-lang { margin: 0; }

/* RTL: the off-canvas mobile menu must slide in from the left, otherwise it widens the page */
[dir="rtl"] .mobile-menu-container { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
[dir="rtl"] .mobile-menu-container.menu-open { -webkit-transform: translateX(0); transform: translateX(0); }
[dir="rtl"] .mobile-menu-container li { -webkit-transform: translateX(-100px); transform: translateX(-100px); }
[dir="rtl"] .mobile-menu-container.menu-open li { -webkit-transform: translateX(0); transform: translateX(0); }
html, body { overflow-x: hidden; }

/* Transfers page + home cards */
.transfer-card .destinations-thumb img { width: 100%; height: 340px; object-fit: cover; }
.transfer-card .destinations-content h3 { font-size: 20px; line-height: 1.3; }
.transfers-lead { max-width: 640px; }
.transfers-stats { padding: 30px 0; background: var(--dark-color); color: #fff; }
.transfers-stats strong { display: block; font-size: 32px; line-height: 1.2; color: var(--primary-color); }
.transfers-stats span { font-size: 14px; opacity: .85; }
.transfers-fares { padding: 80px 0; }
.transfers-fares .title { text-align: center; margin-bottom: 40px; }
.transfers-table { background: #fff; box-shadow: var(--box-shadow); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.transfers-table thead th { background: var(--dark-color); color: #fff; font-weight: 600; white-space: nowrap; border: 0; padding: 14px 18px; }
.transfers-table td { padding: 14px 18px; white-space: nowrap; }
.transfers-note { color: #5b6477; font-size: 14px; }
.transfer-vehicle { background: #fff; border-radius: 6px; box-shadow: var(--box-shadow); padding: 28px; margin-bottom: 30px; height: calc(100% - 30px); }
.transfer-vehicle img { width: 100%; height: 180px; object-fit: contain; margin-bottom: 16px; }
.transfer-vehicle ul { list-style: none; padding: 0; margin: 14px 0 0; }
.transfer-vehicle li { margin-bottom: 6px; }
.transfers-custom { padding: 80px 0; background: var(--dark-color); }
.transfers-custom p { max-width: 640px; margin: 0 auto 24px; opacity: .9; }
[dir="rtl"] .transfers-table th, [dir="rtl"] .transfers-table td { text-align: right; }
[dir="rtl"] .transfers-table th.text-center, [dir="rtl"] .transfers-table td.text-center { text-align: center; }
[dir="rtl"] .transfers-lead { margin-left: auto; }

/* Transfer cards: always show the hover state (overlay, turquoise frame, price badge, text) */
.transfer-card .destinations-tags { opacity: 1; -webkit-transform: translate(-20px, 0); transform: translate(-20px, 0); }
.transfer-card .destinations-content h3,
.transfer-card .destinations-content p,
.transfer-card .destinations-content a { position: relative; top: 0; opacity: 1; -webkit-transition-delay: 0s; transition-delay: 0s; }
/* RTL: badge on the left edge, mirrored offset */
[dir="rtl"] .transfer-card .destinations-tags { right: auto; left: 0; -webkit-transform: translate(20px, 0); transform: translate(20px, 0); }

/* Transfers grid: 4 / 2 / 1 columns, last row centred, equal-height cards */
.transfers-grid > [class*="col-"] { display: flex; }
.transfers-grid .transfer-card { flex: 1 1 auto; height: auto; min-height: 380px; }
.transfers-grid .transfer-card .destinations-thumb { position: absolute; inset: 0; }
.transfers-grid .transfer-card .destinations-thumb img { height: 100%; }
.transfers-grid .transfer-card .destinations-thumb img { height: 100%; }
/* Photo first: no flat dark overlay or frame, only a light gradient at the bottom for the text */
.transfers-grid .transfer-card { min-height: 420px; }
.transfers-grid .transfer-card::before {
    top: auto; left: 0; bottom: 0; width: 100%; height: 70%; opacity: 1; -webkit-transform: none; transform: none;
    background: linear-gradient(to top, rgba(11, 37, 69, .88) 0%, rgba(11, 37, 69, .55) 45%, rgba(11, 37, 69, 0) 100%);
    z-index: 1; pointer-events: none;
}
.transfers-grid .transfer-card::after { display: none; }
.transfers-grid .transfer-card:hover .destinations-thumb img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.transfers-grid .transfer-card .destinations-tags { z-index: 2; opacity: 1; }
.transfers-grid .transfer-card .destinations-content {
    top: auto; bottom: 0; left: 0; -webkit-transform: none; transform: none;
    padding: 0 28px 28px; text-align: start; z-index: 2;
}

/* Card text: clamp long titles, stronger overlay for light photos */
.transfer-card .destinations-content h3 {
    font-size: 18px; line-height: 1.35; text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.transfer-card .destinations-content p { font-size: 14px; line-height: 1.5; margin-bottom: 20px; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
/* Button: identical on every card; the template's white "shine" sweep (.buttons::after) and
   opacity drop on hover could wash out the white label, so neutralise both here. */
.transfer-card .destinations-content a.buttons,
.transfer-card .destinations-content a.buttons:hover,
.transfer-card .destinations-content a.buttons:focus { color: #fff; opacity: 1; min-width: 150px; }
.transfer-card .destinations-content a.buttons::after { display: none; }
.transfer-card .destinations-content a.buttons:hover { background: var(--dark-color); }
.transfer-card .destinations-content a.buttons:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.transfer-card .destinations-content a.buttons span { color: #fff; white-space: nowrap; }
[dir="rtl"] .transfer-card .destinations-content a.buttons i { -webkit-transform: scaleX(-1); transform: scaleX(-1); margin-left: 0 !important; margin-right: .5rem; }
@media (max-width: 575px) {
    .transfers-grid .transfer-card { min-height: 360px; }
    .transfers-grid .transfer-card .destinations-content { padding: 0 20px 22px; }
}

/* Home: stacked cards (photo on top, white body below), 4 / 2 / 1 columns */
.transfers-home-area .row > [class*="col-"] { display: flex; margin-bottom: 30px; }
.transfer-tile {
    display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: var(--box-shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.transfer-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgb(11 37 69 / 18%); }
.transfer-tile-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-color); }
.transfer-tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.transfer-tile:hover .transfer-tile-media img { transform: scale(1.05); }
.transfer-tile-price {
    position: absolute; top: 14px; inset-inline-start: 14px; padding: 6px 14px; border-radius: 999px;
    background: var(--primary-color); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4;
    box-shadow: 0 4px 12px rgb(0 0 0 / 25%);
}
.transfer-tile-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 20px 22px; }
.transfer-tile-route { margin: 0 0 12px; font-family: var(--title-font); font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--dark-color); }
.transfer-tile-route i { margin: 0 6px; font-size: 13px; color: var(--primary-color); }
[dir="rtl"] .transfer-tile-route i { -webkit-transform: scaleX(-1); transform: scaleX(-1); display: inline-block; }
.transfer-tile-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--common-color); }
.transfer-tile-meta i { margin-inline-end: 6px; color: var(--primary-color); }
.transfer-tile .buttons { align-self: flex-start; margin-top: auto; }
.transfer-tile .buttons:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
[dir="rtl"] .transfer-tile .buttons i { -webkit-transform: scaleX(-1); transform: scaleX(-1); margin-left: 0 !important; margin-right: .5rem; }

/* Transfers: why ride with us */
.transfers-why { padding: 96px 0; background: #fff; }
.transfers-why-head { text-align: center; margin-bottom: 64px; }
.transfers-why-eyebrow { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary-color); }
.transfers-why-title { margin: 0; font-family: var(--title-font); font-size: clamp(28px, 4vw, 44px); font-weight: 300; line-height: 1.2; color: var(--dark-color); }
.transfers-why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 40px 32px; }
.transfers-why-item { text-align: start; }
.transfers-why-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 14px; background: var(--bg-color); color: var(--primary-color); font-size: 22px; }
.transfers-why-name { margin: 0 0 8px; font-family: var(--body-font); font-size: 18px; font-weight: 700; color: var(--dark-color); }
.transfers-why-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--common-color); }
@media (min-width: 640px) { .transfers-why-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .transfers-why-list { grid-template-columns: repeat(4, 1fr); } }
[dir="rtl"] .transfers-why-item { text-align: right; }

/* ==========================================================================
   Booking funnel (direction cards, booking form, ticket, auth, account)
   Uses logical properties so LTR and RTL (Arabic) share the same rules.
   ========================================================================== */
:root {
    --bk-radius: 12px;
    --bk-border: #dbe5ec;
    --bk-focus: 0 0 0 3px rgb(15 168 164 / 30%);
    --bk-danger: #c0392b;
    --bk-success: #1e8e5a;
}

/* Header account link */
.header-account-user { display: inline-flex; align-items: center; gap: 8px; padding-inline: 14px; color: var(--dark-color); font-size: 15px; font-weight: 500; white-space: nowrap; }
.header-account-user i { font-size: 22px; color: var(--primary-color); }
.header-account-user:hover { color: var(--primary-color); }
.header-account-user:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 1199px) { .header-account-user span { display: none; } }
.mobile-menu-account { padding: 10px 0; }
.mobile-menu-account a { display: inline-flex; align-items: center; gap: 8px; color: var(--dark-color); font-weight: 600; }
.mobile-menu-account i { color: var(--primary-color); }

/* Page 1: direction cards */
.direction-grid { row-gap: 30px; }
.direction-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--bk-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: transform .3s ease, box-shadow .3s ease; }
.direction-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgb(11 37 69 / 18%); }
.direction-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-color); }
.direction-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.direction-card:hover .direction-card-media img { transform: scale(1.05); }
.direction-card-price { position: absolute; top: 14px; inset-inline-start: 14px; padding: 6px 14px; border-radius: 999px; background: var(--primary-color); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 4px 12px rgb(0 0 0 / 25%); }
.direction-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 26px; }
.direction-card-route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 12px; font-family: var(--title-font); font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--dark-color); }
.direction-card-route i { font-size: 14px; color: var(--primary-color); }
.direction-card .buttons { align-self: flex-start; margin-top: auto; }
.direction-card .buttons:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
.booking-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 48px 0 0; padding: 0; list-style: none; color: var(--common-color); font-size: 15px; }
.booking-perks i { margin-inline-end: 8px; color: var(--primary-color); }
.booking-title-arrow { font-size: .6em; margin-inline: 8px; vertical-align: middle; }

/* Shared form pieces */
.booking-area { padding: 56px 0 90px; background: var(--bg-color); }
.booking-card { margin: 0 0 24px; padding: 24px; background: #fff; border: 0; border-radius: var(--bk-radius); box-shadow: var(--box-shadow); min-width: 0; }
.booking-card-title { display: flex; align-items: center; gap: 12px; float: none; width: auto; margin: 0 0 20px; padding: 0; font-family: var(--title-font); font-size: 22px; font-weight: 500; color: var(--dark-color); }
.booking-step { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--dark-color); color: #fff; font-size: 15px; font-weight: 600; }
.booking-field { margin-bottom: 18px; }
.booking-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--dark-color); }
.booking-field label small, .booking-check small { font-weight: 400; color: var(--common-color); }
.booking-field input[type="text"], .booking-field input[type="email"], .booking-field input[type="tel"], .booking-field input[type="time"],
.booking-field input[type="number"], .booking-field input[type="password"], .booking-field textarea {
    display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--bk-border); border-radius: 8px;
    background: #fff; color: var(--dark-color); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.booking-field textarea { resize: vertical; }
.booking-field input:focus, .booking-field textarea:focus { outline: 0; border-color: var(--primary-color); box-shadow: var(--bk-focus); }
.booking-field input[aria-invalid="true"], .booking-field textarea[aria-invalid="true"] { border-color: var(--bk-danger); }
.booking-error { margin: 6px 0 0; font-size: 14px; color: var(--bk-danger); }
.booking-hint { margin: 0 0 14px; font-size: 14px; color: var(--common-color); }
.booking-hint i { margin-inline-end: 6px; color: var(--primary-color); }
.booking-empty { margin: 0; padding: 18px; border-radius: 8px; background: var(--bg-color); color: var(--common-color); text-align: center; }
.booking-alert { margin-bottom: 24px; padding: 16px 20px; border-inline-start: 4px solid var(--bk-danger); border-radius: 8px; background: #fdecea; color: #7a1f16; }
.booking-alert ul { margin: 8px 0 0; padding-inline-start: 20px; }
.booking-alert:focus { outline: 2px solid var(--bk-danger); outline-offset: 2px; }
.booking-notice { margin-bottom: 20px; padding: 14px 18px; border-inline-start: 4px solid var(--bk-success); border-radius: 8px; background: #e8f6ef; color: #14573a; }
.booking-notice i { margin-inline-end: 8px; }
.booking-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; cursor: pointer; font-size: 15px; color: var(--dark-color); }
.booking-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary-color); }
.booking-check small { display: block; }
.booking-link { color: var(--primary-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.booking-link-btn { padding: 8px 0; border: 0; background: none; cursor: pointer; font-size: 15px; }
.booking-link:focus-visible, .auth-links a:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; border-radius: 2px; }
.booking-submit { width: 100%; min-height: 48px; margin-top: 8px; border: 0; cursor: pointer; text-align: center; }
.booking-submit[disabled] { opacity: .5; cursor: not-allowed; }
.booking-submit:focus-visible { outline: 2px solid var(--dark-color); outline-offset: 3px; }
fieldset.booking-card { border: 0; display: flow-root; }
/* a <legend> straddles the fieldset edge by default: float it so the title sits inside the card */
fieldset.booking-card > .booking-card-title { float: left; width: 100%; }
fieldset.booking-card > .booking-card-title + * { clear: both; }
/* keep inputs on one line even when a label wraps (e.g. "(optional)") */
.booking-card > .row > [class*="col-"] > .booking-field { display: flex; flex-direction: column; height: calc(100% - 18px); }
.booking-card > .row > [class*="col-"] > .booking-field > label { flex: 0 0 auto; }
.booking-card > .row > [class*="col-"] > .booking-field > input:first-of-type { margin-top: auto; }
.booking-field label small { white-space: nowrap; }

/* Vehicle cards (radio inside label) */
.vehicle-list { display: grid; gap: 14px; }
.vehicle-card[hidden] { display: none; }
.vehicle-card { position: relative; display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; margin: 0; padding: 14px; border: 2px solid var(--bk-border); border-radius: var(--bk-radius); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.vehicle-card:hover { border-color: var(--primary-color); }
.vehicle-card-input { position: absolute; opacity: 0; inset-inline-start: 14px; top: 14px; width: 1px; height: 1px; }
.vehicle-card:has(.vehicle-card-input:focus-visible) { box-shadow: var(--bk-focus); border-color: var(--primary-color); }
.vehicle-card.is-selected { border-color: var(--primary-color); background: #f2fbfb; box-shadow: 0 6px 20px rgb(15 168 164 / 16%); }
.vehicle-card-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--bg-color); color: var(--primary-color); font-size: 36px; }
.vehicle-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vehicle-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vehicle-card-name { font-family: var(--title-font); font-size: 20px; font-weight: 500; color: var(--dark-color); }
.vehicle-card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--dark-color); }
.vehicle-card-meta i { margin-inline-end: 6px; color: var(--primary-color); }
.vehicle-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: end; }
.vehicle-card-price { font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--dark-color); }
.vehicle-card-unit { font-size: 12px; color: var(--common-color); }
.vehicle-card-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 14px; border-radius: 999px; background: var(--bg-color); color: var(--dark-color); font-size: 13px; font-weight: 600; }
.vehicle-card-badge i, .vehicle-card-badge-on { display: none; }
.vehicle-card.is-selected .vehicle-card-badge { background: var(--primary-color); color: #fff; }
.vehicle-card.is-selected .vehicle-card-badge i, .vehicle-card.is-selected .vehicle-card-badge-on { display: inline; }
.vehicle-card.is-selected .vehicle-card-badge-off { display: none; }

/* Ticket (booking summary) */
.booking-ticket { position: sticky; top: 24px; margin-bottom: 24px; background: #fff; border-radius: var(--bk-radius); box-shadow: 0 12px 34px rgb(11 37 69 / 14%); overflow: hidden; }
.booking-ticket-head { padding: 22px 24px; background: var(--dark-color); color: #fff; }
.booking-ticket-head h2 { margin: 0 0 6px; font-family: var(--title-font); font-size: 22px; font-weight: 500; color: #fff; }
.booking-ticket-route { margin: 0; font-size: 15px; color: #cfe3ee; }
.booking-ticket-route i { margin-inline: 6px; font-size: 12px; color: var(--primary-color); }
.booking-ticket-body { padding: 22px 24px 26px; }
.ticket-rows { margin: 0; }
.ticket-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15px; }
.ticket-rows > div[hidden] { display: none; }
.ticket-rows dt { font-weight: 400; color: var(--common-color); }
.ticket-rows dd { margin: 0; font-weight: 600; text-align: end; color: var(--dark-color); overflow-wrap: anywhere; }
.ticket-rows .is-discount dd { color: var(--bk-success); }
.ticket-switch { margin: 14px 0 6px; padding: 14px; border: 1px dashed var(--primary-color); border-radius: 10px; background: #f2fbfb; }
.switch { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; flex: 0 0 46px; width: 46px; height: 26px; border-radius: 999px; background: #b9c6d0; transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 30%); transition: inset-inline-start .2s; }
.switch input:checked + .switch-track { background: var(--primary-color); }
.switch input:checked + .switch-track::after { inset-inline-start: 23px; }
.switch input:focus-visible + .switch-track { box-shadow: var(--bk-focus); }
.switch-text { display: flex; flex-direction: column; font-size: 15px; color: var(--dark-color); }
.switch-text small { color: var(--bk-success); font-weight: 600; font-size: 13px; }
.ticket-return { margin: 14px 0 0; }
.ticket-return[hidden] { display: none; }
.ticket-wallet { margin: 14px 0 0; padding: 14px; border-radius: 10px; background: var(--bg-color); }
.ticket-wallet .booking-check { margin: 0; }
.ticket-wallet-login { margin-bottom: 0; font-size: 14px; color: var(--common-color); }
.ticket-wallet-login a { color: var(--primary-color); font-weight: 600; }
.ticket-tear { position: relative; margin: 18px -24px; border-top: 2px dashed var(--bk-border); }
.ticket-tear::before, .ticket-tear::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-color); }
.ticket-tear::before { inset-inline-start: -10px; }
.ticket-tear::after { inset-inline-end: -10px; }
.ticket-placeholder { margin: 0 0 14px; font-size: 14px; color: var(--common-color); text-align: center; }
.ticket-placeholder[hidden], .ticket-total[hidden], .ticket-cashback[hidden], .booking-error[hidden], .booking-empty[hidden] { display: none; }
.ticket-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 16px; font-weight: 600; color: var(--dark-color); }
.ticket-total strong { font-family: var(--title-font); font-size: 32px; font-weight: 600; line-height: 1.1; color: var(--dark-color); }
.ticket-isk { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--dark-color); text-align: end; }
.ticket-isk[hidden] { display: none; }
.ticket-isk small { display: block; font-size: 12px; font-weight: 400; opacity: .7; }
.ticket-cashback { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: #fff7e0; color: #7a5a00; font-size: 14px; }
.ticket-cashback i { margin-inline-end: 6px; }
.ticket-cashback.is-note { background: #eaf7f0; color: #14573a; }
.ticket-note { margin: 12px 0 0; text-align: center; }

/* Confirmation */
.confirm-card { padding: 32px; }
.confirm-thanks { margin: 0 0 20px; font-size: 18px; color: var(--dark-color); }
.confirm-thanks i { margin-inline-end: 8px; color: var(--bk-success); }
.confirm-ref { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 24px; padding: 18px; border: 2px dashed var(--primary-color); border-radius: 10px; background: #f2fbfb; text-align: center; }
.confirm-ref span { font-size: 14px; color: var(--common-color); }
.confirm-ref strong { font-family: var(--title-font); font-size: 32px; letter-spacing: .08em; color: var(--dark-color); }
.confirm-rows dd i { margin-inline: 4px; font-size: 12px; color: var(--primary-color); }
.confirm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.status-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff3d6; color: #7a5a00; }
.status-confirmed { background: #dff0fb; color: #0d4f78; }
.status-completed { background: #e0f4ea; color: #14573a; }
.status-cancelled { background: #f6e0dd; color: #7a1f16; }

/* Auth */
.auth-area { padding: 80px 0 100px; background: var(--bg-color); }
.auth-card { max-width: 480px; margin: 0 auto; padding: 32px; }
.auth-title { margin: 0 0 8px; font-family: var(--title-font); font-size: 30px; font-weight: 500; color: var(--dark-color); }
.auth-links { margin: 18px 0 0; text-align: center; font-size: 15px; }
.auth-links a { color: var(--primary-color); font-weight: 600; }

/* Account */
.wallet-card { text-align: start; }
.wallet-card-label { display: block; font-size: 14px; color: var(--common-color); }
.wallet-card-amount { display: block; margin: 4px 0 12px; font-family: var(--title-font); font-size: 42px; font-weight: 600; line-height: 1.1; color: var(--primary-color); }
.account-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.account-table th { padding: 10px 12px; border-bottom: 2px solid var(--bk-border); font-size: 13px; font-weight: 600; text-align: start; text-transform: uppercase; letter-spacing: .04em; color: var(--common-color); white-space: nowrap; }
.account-table td { padding: 12px; border-bottom: 1px solid var(--bk-border); color: var(--dark-color); vertical-align: top; }
.account-table td a { color: var(--primary-color); font-weight: 600; }
.account-table td i { margin-inline: 4px; font-size: 11px; color: var(--primary-color); }
.account-table small { color: var(--common-color); }
.account-table td.amount-plus { color: var(--bk-success); font-weight: 600; }
.account-table td.amount-minus { color: var(--bk-danger); font-weight: 600; }
.account-table .tx-desc small { display: block; margin-top: 2px; }
.account-table .tx-desc small a { font-size: inherit; }
.account-table .tx-badge { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #eaf7f0; color: #14573a; font-size: 12px; font-weight: 600; }
.account-table tr.is-round-trip td:first-child { border-inline-start: 3px solid var(--bk-success); }
.account-table .tx-body { min-width: 0; }
.account-pager { display: flex; justify-content: space-between; margin-top: 16px; }
.account-pager a { color: var(--primary-color); font-weight: 600; }

/* RTL: arrows pointing "forward" are mirrored */
[dir="rtl"] .fa-arrow-left { transform: scaleX(-1); }
[dir="rtl"] .booking-title-arrow, [dir="rtl"] .direction-card-route i, [dir="rtl"] .booking-ticket-route i { display: inline-block; }
[dir="rtl"] .direction-card .buttons i, [dir="rtl"] .booking-submit i { margin-left: 0 !important; margin-right: .5rem; }
[dir="rtl"] .ui-datepicker { direction: rtl; }
[dir="rtl"] .booking-field input[type="email"], [dir="rtl"] .booking-field input[type="password"] { text-align: right; }

/* Mobile */
@media (max-width: 991px) {
    .booking-ticket { position: static; }
}
@media (max-width: 575px) {
    .booking-area { padding: 32px 0 60px; }
    .booking-card { padding: 18px; }
    .vehicle-card { grid-template-columns: 1fr; }
    .vehicle-card-media { aspect-ratio: 16 / 8; }
    .vehicle-card-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: start; }
    .vehicle-card-badge { margin-top: 0; }
    .direction-card-route { font-size: 19px; }
    .confirm-card, .auth-card { padding: 22px 18px; }
    .confirm-ref strong { font-size: 24px; }
    /* Tables become stacked rows */
    .account-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .account-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--bk-border); }
    .account-table td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: end; }
    .account-table tr.is-round-trip { border-inline-start: 3px solid var(--bk-success); padding-inline-start: 10px; }
    .account-table tr.is-round-trip td:first-child { border-inline-start: 0; }
    .account-table td::before { content: attr(data-label); font-weight: 600; color: var(--common-color); text-align: start; }
}

/* header: keep the login link and the search blob on the same line */
.header-account > ul { align-items: center; margin: 0; }
.header-account .header-account-items { display: flex; align-items: center; }
.header-account-user { line-height: 1; }

/* login / password pages: never hide the card under the fixed header */
.auth-area { padding-top: 150px; min-height: 70vh; }
.auth-card, .auth-card input { scroll-margin-top: 140px; }
.auth-card input:-webkit-autofill, .booking-field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--dark-color);
}
@media (max-width: 991px) { .auth-area { padding-top: 110px; } }

/* phone field: country code selector + national number */
.phone-group { display: flex; gap: 8px; }
.phone-group .phone-country {
    flex: 0 0 42%; max-width: 42%; min-height: 48px; padding: 10px 8px; border: 1px solid var(--bk-border); border-radius: 8px;
    background: #fff; color: var(--dark-color); font-size: 15px; text-overflow: ellipsis;
}
.phone-group .phone-country:focus { outline: 0; border-color: var(--primary-color); box-shadow: var(--bk-focus); }
.phone-group input[type="tel"] { flex: 1 1 auto; min-width: 0; }
@media (max-width: 575px) { .phone-group { flex-direction: column; } .phone-group .phone-country { flex-basis: auto; max-width: 100%; } }

/* phone field: searchable country combobox (progressive enhancement over the native select) */
.phone-group.is-enhanced .phone-country { display: none; }
.pc { position: relative; flex: 0 0 42%; max-width: 42%; }
.pc-button {
    display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--bk-border);
    border-radius: 8px; background: #fff; color: var(--dark-color); font-size: 15px; line-height: 1.2; cursor: pointer; text-align: start;
}
.pc-button:hover { border-color: var(--primary-color); }
.pc-button:focus-visible, .pc.is-open .pc-button { outline: 0; border-color: var(--primary-color); box-shadow: var(--bk-focus); }
.pc-flag { font-size: 20px; line-height: 1; }
.pc-dial { flex: 1 1 auto; white-space: nowrap; }
.pc-caret { width: 8px; height: 8px; border-inline-end: 2px solid currentcolor; border-bottom: 2px solid currentcolor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.pc.is-open .pc-caret { transform: rotate(-135deg); }
.pc-panel {
    position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; width: max(100%, 320px); max-width: calc(100vw - 32px);
    background: #fff; border: 1px solid var(--bk-border); border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / 12%); overflow: hidden;
}
.pc-panel[hidden] { display: none; }
.pc-search { display: block; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--bk-border); border-radius: 0; font-size: 15px; color: var(--dark-color); }
.pc-search:focus { outline: 0; box-shadow: inset 0 -2px 0 var(--primary-color); }
.pc-list { max-height: 260px; margin: 0; padding: 4px 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.pc-option { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--dark-color); font-size: 15px; cursor: pointer; }
.pc-option .pc-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
.pc-option .pc-code { color: var(--common-color); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc-option.is-active { background: rgb(15 168 164 / 10%); }
.pc-option[aria-selected="true"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--primary-color); }
.pc-empty { padding: 12px; color: var(--common-color); font-size: 14px; }
@media (max-width: 575px) {
    .pc { flex-basis: auto; max-width: 100%; width: 100%; }
    .pc-panel { width: 100%; max-width: 100%; }
    .pc-list { max-height: 50vh; }
}

/* Datepicker month arrows: the jQuery UI icon sprite (assets/images/icons/ui-icons_*.png) is not shipped,
   so draw the chevrons in CSS (direction follows the w/e icon class, which jQuery UI swaps in RTL). */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next { cursor: pointer; border-radius: 4px; }
.ui-datepicker .ui-datepicker-prev.ui-state-disabled,
.ui-datepicker .ui-datepicker-next.ui-state-disabled { cursor: default; opacity: .35; }
.ui-datepicker .ui-datepicker-prev .ui-icon,
.ui-datepicker .ui-datepicker-next .ui-icon { background: none; text-indent: 0; font-size: 0; overflow: visible; }
.ui-datepicker .ui-datepicker-prev .ui-icon::before,
.ui-datepicker .ui-datepicker-next .ui-icon::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px;
    border: solid var(--dark-color, #333); border-width: 0 0 2px 2px;
}
.ui-datepicker .ui-icon-circle-triangle-w::before { transform: translate(-30%, -50%) rotate(45deg); }
.ui-datepicker .ui-icon-circle-triangle-e::before { transform: translate(-70%, -50%) rotate(-135deg); }

/* Account: profile forms */
.booking-field input.is-readonly, .booking-field input[readonly] { background: #f3f6f8; color: var(--common-color); cursor: not-allowed; }
.booking-field input[readonly]:focus { border-color: var(--bk-border); box-shadow: var(--bk-focus); }
.booking-area .booking-notice { margin-bottom: 24px; }
#profile, #password { scroll-margin-top: 90px; }
.booking-card form > .buttons { margin-top: 4px; }
[dir="rtl"] .booking-field input[readonly], [dir="rtl"] .booking-field input[type="tel"] { text-align: right; }
[dir="rtl"] .phone-group input[type="tel"] { text-align: left; }

/* ==========================================================================
   Booking page: "Your journey" (trip-route). Vertical route with a gradient
   spine, image-first stop cards, drive pills. Logical properties => RTL mirror.
   ========================================================================== */
.trip-route { padding: 72px 0 88px; background: linear-gradient(180deg, #fff 0, var(--bg-color) 100%); overflow: hidden; }
.trip-route-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.trip-route-eyebrow { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #0a7a77; }
.trip-route-title { margin: 0 0 12px; font-family: var(--title-font); font-size: clamp(28px, 4vw, 42px); font-weight: 400; line-height: 1.2; color: var(--dark-color); }
.trip-route-intro { margin: 0; font-size: 16px; color: var(--common-color); }

.trip-route-list { --trip-p: 0; --trip-gutter: 56px; position: relative; margin: 0; padding: 0; padding-inline-start: var(--trip-gutter); list-style: none; }
/* spine + progress fill */
.trip-route-list::before,
.trip-route-list::after { content: ""; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 21px; width: 3px; border-radius: 3px; }
.trip-route-list::before { background: repeating-linear-gradient(180deg, #b9cbd6 0 6px, transparent 6px 14px); }
.trip-route-list::after { bottom: auto; height: calc((100% - 48px) * var(--trip-p)); background: linear-gradient(180deg, var(--primary-color), var(--dark-color)); }
.trip-route-list:not(.is-live)::after { height: calc(100% - 48px); opacity: .35; }

.trip-stop { position: relative; padding-bottom: 8px; }
.trip-stop + .trip-stop { margin-top: 0; }
.trip-node { position: absolute; z-index: 3; top: 20px; inset-inline-start: calc(var(--trip-gutter) * -1); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dark-color); color: #fff; font-family: var(--title-font); font-size: 18px; font-weight: 600; box-shadow: 0 0 0 5px var(--bg-color), 0 6px 16px rgb(11 37 69 / 25%); }
.trip-stop.is-start .trip-node { background: var(--primary-color); }

.trip-card { position: relative; display: flex; align-items: flex-end; aspect-ratio: 10 / 7; border-radius: 20px; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--dark-color) 0%, #0d5a68 100%); isolation: isolate; transition: transform .35s ease; }
.trip-card-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.trip-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, rgb(11 37 69 / 65%) 100%); }
.trip-card--plain::before { background: radial-gradient(circle at 85% 15%, rgb(15 168 164 / 45%), transparent 55%); }
.trip-card:hover, .trip-card:focus-visible { transform: translateY(-4px); }
.trip-card:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }
/* lightbox trigger: the whole photo opens Fancybox; icon shown in the corner */
.trip-card-zoom { position: absolute; inset: 0; z-index: 1; cursor: zoom-in; }
.trip-card-zoom i { position: absolute; top: 16px; inset-inline-end: 16px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(11 37 69 / 55%); color: #fff; font-size: 15px; backdrop-filter: blur(6px); transition: background .25s ease, transform .25s ease; }
.trip-card-zoom:hover i, .trip-card-zoom:focus-visible i { background: var(--primary-color); transform: scale(1.08); }
.trip-card-zoom:focus-visible { outline: 3px solid var(--primary-color); outline-offset: -3px; border-radius: 20px; }
.trip-card-body { position: relative; z-index: 2; pointer-events: none; }
.trip-card-body a, .trip-card-body button { pointer-events: auto; }

.trip-card-body { width: 100%; padding: 28px 24px 24px; padding-top: 120px; }
.trip-card-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.trip-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 35%); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; backdrop-filter: blur(6px); }
.trip-chip--role { background: var(--primary-color); border-color: transparent; color: #04282a; }
.trip-card-name { margin: 0 0 4px; font-family: var(--title-font); font-size: clamp(24px, 3vw, 32px); font-weight: 500; line-height: 1.2; color: #fff; }
.trip-card-tagline { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7fe6e2; }
.trip-card-summary { margin: 0; max-width: 56ch; font-size: 15px; line-height: 1.65; color: rgb(255 255 255 / 92%); }
.trip-card-note { display: flex; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / 12%); border-inline-start: 3px solid var(--primary-color); font-size: 14px; line-height: 1.55; color: #fff; }
.trip-card-note i { margin-top: 3px; color: #7fe6e2; }

/* drive pill: sits on the spine */
.trip-leg-icon, .trip-leg-text { display: inline-flex; align-items: center; }
.trip-leg { position: relative; z-index: 3; display: flex; margin: 28px 0 20px; margin-inline-start: calc(var(--trip-gutter) * -1); width: max-content; max-width: 100%; align-items: center; gap: 0; padding: 4px; padding-inline-end: 18px; border-radius: 999px; background: #fff; border: 1px solid var(--bk-border, #dbe5ec); box-shadow: 0 6px 20px rgb(11 37 69 / 10%); }
.trip-leg-icon { justify-content: center; width: 36px; height: 36px; margin-inline-end: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-color), #0b7f86); color: #fff; font-size: 15px; }
.trip-leg-text { flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--common-color); }
.trip-leg-text strong { color: var(--dark-color); font-weight: 700; }
.trip-leg-label { font-weight: 600; color: #0a7a77; }
.trip-leg-dist::before { content: "\00B7"; margin-inline-end: 10px; }

/* car that follows the scroll (created by trip-route.js) */
.trip-car { position: absolute; z-index: 2; top: calc(8px + (100% - 64px) * var(--trip-p)); inset-inline-start: 4px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--primary-color); color: var(--primary-color); font-size: 15px; box-shadow: 0 4px 14px rgb(15 168 164 / 35%); pointer-events: none; }
[dir="rtl"] .trip-car i { transform: scaleX(-1); }

/* reveal on scroll */
.trip-route-list.is-live .trip-stop { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.trip-route-list.is-live .trip-stop.is-in { opacity: 1; transform: none; }

@media (min-width: 992px) {
    .trip-route-list { --trip-gutter: 0px; padding-inline-start: 0; }
    .trip-route-list::before, .trip-route-list::after { inset-inline-start: calc(50% - 1.5px); }
    .trip-stop { width: calc(50% - 56px); }
    .trip-stop:nth-child(even) { margin-inline-start: calc(50% + 56px); }
    .trip-node { top: 28px; inset-inline-start: auto; inset-inline-end: -78px; }
    .trip-stop:nth-child(even) .trip-node { inset-inline-end: auto; inset-inline-start: -78px; }
    .trip-card-body { padding: 36px 32px 30px; padding-top: 160px; }
    /* pill centred on the spine; the stop itself is only half the width */
    .trip-leg { position: absolute; inset-inline-start: calc(100% + 56px); inset-inline-end: auto; margin: 0; transform: translate(-50%, 0); bottom: 63px; }
    [dir="rtl"] .trip-leg { transform: translate(50%, 0); }
    .trip-stop:nth-child(even) .trip-leg { inset-inline-start: -56px; }
    .trip-stop { padding-bottom: 130px; }
    .trip-stop + .trip-stop { margin-top: -40px; }
    .trip-stop:last-child { padding-bottom: 0; }
    .trip-car { inset-inline-start: calc(50% - 18px); }
}

@media (prefers-reduced-motion: reduce) {
    .trip-card, .trip-card-img { transition: none; }
    .trip-card:hover, .trip-card:focus-visible { transform: none; }
    .trip-route-list.is-live .trip-stop { opacity: 1; transform: none; transition: none; }
}

/* Required marker on the return date */
.booking-req { color: var(--bk-danger); font-weight: 700; margin-inline-start: 2px; }
.booking-field input[aria-invalid="true"] { border-color: var(--bk-danger); }

/* ==========================================================================
   Day tours (list, cards, detail page, FAQ)
   ========================================================================== */
.tours-list-area { padding-bottom: 80px; }
.tours-grid > [class*="col-"] { display: flex; margin-bottom: 30px; }
.tours-cashback-note { margin: -16px 0 36px; font-size: 15px; color: var(--common-color); }
.tours-cashback-note i { margin-inline-end: 6px; color: var(--primary-color); }

/* card (built on .transfer-tile) */
.tour-tile-title { margin: 0 0 10px; font-family: var(--title-font); font-size: 20px; font-weight: 500; line-height: 1.3; }
.tour-tile-title a { color: var(--dark-color); }
.tour-tile-title a:hover, .tour-tile-title a:focus-visible { color: var(--primary-color); }
.tour-tile-summary { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--common-color); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour-tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }
.tour-tile .transfer-tile-media { display: block; }
.tour-tile .tour-tile-actions .buttons { margin-top: 0; }
[dir="rtl"] .tour-tile-actions .buttons i { -webkit-transform: scaleX(-1); transform: scaleX(-1); margin-left: 0 !important; margin-right: .5rem; }

/* FAQ (native <details>, no JS) */
.tours-faq { padding: 0 0 96px; background: #fff; }
.tours-faq-list { max-width: 820px; margin: 0 auto; }
.tours-faq-item { margin-bottom: 12px; border: 1px solid var(--bk-border); border-radius: 12px; background: #fff; }
.tours-faq-item summary { position: relative; display: block; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--dark-color); cursor: pointer; list-style: none; border-radius: 12px; }
.tours-faq-item summary::-webkit-details-marker { display: none; }
.tours-faq-item summary::after { content: "+"; position: absolute; top: 50%; inset-inline-end: 22px; transform: translateY(-50%); font-size: 22px; line-height: 1; color: var(--primary-color); }
.tours-faq-item[open] summary::after { content: "\2212"; }
.tours-faq-item summary:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
.tours-faq-item p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--common-color); }
[dir="rtl"] .tours-faq-item summary { padding: 18px 22px 18px 56px; }

/* detail: facts bar */
.tour-facts { padding: 28px 0; background: var(--dark-color); color: #fff; }
.tour-facts .container { display: flex; flex-direction: column; gap: 24px; }
.tour-facts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; margin: 0; }
.tour-facts-list dt { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9fd9d7; }
.tour-facts-list dt i { margin-inline-end: 8px; color: var(--primary-color); }
.tour-facts-list dd { margin: 0; font-size: 16px; font-weight: 500; color: #fff; }
.tour-facts-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tour-facts-price { margin: 0; color: #fff; }
.tour-facts-price strong { font-size: 30px; line-height: 1.1; color: var(--primary-color); }
.tour-facts-price small { color: #cfe3ee; }
@media (min-width: 768px) { .tour-facts-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) {
    .tour-facts .container { flex-direction: row; align-items: center; justify-content: space-between; }
    .tour-facts-list { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); flex: 1 1 auto; }
    .tour-facts-cta { flex: 0 0 auto; justify-content: flex-end; gap: 28px; }
}

/* detail: content */
.tour-overview { padding: 72px 0 24px; background: #fff; }
.tour-heading { margin: 0 0 18px; font-family: var(--title-font); font-size: clamp(24px, 3vw, 32px); font-weight: 400; line-height: 1.25; color: var(--dark-color); }
.tour-text { margin: 0 0 18px; font-size: 16px; line-height: 1.8; color: var(--common-color); }
.tour-overview .tour-heading:not(:first-child) { margin-top: 36px; }
.tour-list { display: grid; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.tour-list li { position: relative; padding-inline-start: 30px; font-size: 15px; line-height: 1.6; color: var(--common-color); }
.tour-list li::before { position: absolute; top: 0; inset-inline-start: 0; width: 20px; text-align: center; font-weight: 700; }
.tour-list--check li::before { content: "\2713"; color: var(--bk-success); }
.tour-list--cross li::before { content: "\2715"; color: var(--bk-danger); }
.tour-box { margin-bottom: 20px; }
.tour-box-title { margin: 0 0 14px; font-family: var(--body-font); font-size: 17px; font-weight: 700; color: var(--dark-color); }
.tour-notice { display: flex; gap: 10px; border-inline-start-color: var(--primary-color); background: #e9f7f7; color: #0c4b4a; font-size: 15px; line-height: 1.6; }
.tour-notice i { margin-top: 4px; margin-inline-end: 0; color: var(--primary-color); }
.tour-book-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
#book { scroll-margin-top: 90px; }

/* pick-up time pills */
.booking-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--dark-color); }
.time-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.time-pill { position: relative; margin: 0; cursor: pointer; }
.time-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.time-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; min-height: 48px; padding: 8px 18px; border: 1px solid var(--bk-border); border-radius: 8px; background: #fff; font-size: 16px; font-weight: 600; color: var(--dark-color); transition: border-color .2s, background .2s, color .2s; }
.time-pill:hover span { border-color: var(--primary-color); }
.time-pill input:checked + span { border-color: var(--primary-color); background: var(--primary-color); color: #fff; box-shadow: inset 0 0 0 1px var(--primary-color); }
.time-pill input:focus-visible + span { box-shadow: var(--bk-focus); border-color: var(--primary-color); outline: 2px solid transparent; }
.time-pills[aria-invalid="true"] .time-pill span { border-color: var(--bk-danger); }
.booking-card > .row > [class*="col-"] > .booking-field > .time-pills { margin-top: auto; }

/* tour step 1: three aligned controls, notes below the row */
.tour-day-grid { display: grid; grid-template-columns: 1fr; gap: 0 20px; align-items: start; }
/* each field spans 3 shared rows (label / control / error) so controls share the same top whatever the label length */
.tour-day-field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; margin-bottom: 18px; min-width: 0; }
.tour-day-field > label, .tour-day-field > .booking-label { align-self: end; margin-bottom: 6px; line-height: 1.3; }
.tour-day-field > .date-control, .tour-day-field > .stepper { align-self: start; }
.tour-day-field > .booking-error { margin-top: 6px; }
.tour-day-field .date-control, .tour-day-field .stepper { box-sizing: border-box; height: 48px; }
.booking-field.tour-day-field input[type="text"], .booking-field.tour-day-field input[type="time"] { box-sizing: border-box; height: 48px; min-height: 48px; margin: 0; }
.booking-field.tour-day-field input[type="time"] { align-self: start; }
@supports not (grid-template-rows: subgrid) {
    .tour-day-field { display: block; }
    .tour-day-field > label, .tour-day-field > .booking-label { min-height: 2.6em; }
}
.tour-day-field .time-pills { gap: 8px; }
.tour-day-field .time-pill { flex: 1 1 0; }
.tour-day-field .time-pill span { box-sizing: border-box; display: flex; width: 100%; min-width: 72px; height: 48px; padding: 10px 14px; font-size: 16px; line-height: 1.4; }
.booking-hint--note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 18px; font-size: 13px; line-height: 1.5; }
.booking-hint--note i { flex: 0 0 auto; margin-top: 3px; margin-inline-end: 0; }
.date-control { position: relative; }
.booking-field .date-control input[type="text"] { padding-inline-end: 42px; }
.date-control i { position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); color: var(--primary-color); pointer-events: none; }
.stepper { box-sizing: border-box; display: flex; align-items: stretch; height: 48px; border: 1px solid var(--bk-border); border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.stepper:focus-within { border-color: var(--primary-color); box-shadow: var(--bk-focus); }
.stepper:has(input[aria-invalid="true"]) { border-color: var(--bk-danger); }
.stepper-btn { box-sizing: border-box; flex: 0 0 48px; height: 100%; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0; background: #f3f6f8; color: var(--dark-color); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.stepper-btn:hover:not(:disabled) { background: var(--primary-color); color: #fff; }
.stepper-btn:focus-visible { outline: 2px solid var(--primary-color); outline-offset: -3px; }
.stepper-btn:disabled { opacity: .4; cursor: not-allowed; }
.booking-field .stepper input[type="number"] { box-sizing: border-box; flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding-block: 0; border: 0; border-radius: 0; box-shadow: none; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input[type="number"]::-webkit-outer-spin-button, .stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (min-width: 768px) { .tour-day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .tour-day-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
    .stepper, .stepper-btn, .time-pill span, .tours-faq-item summary::after { transition: none; }
}

/* ---- Home search bar (site theme: white card, teal accent, navy text) ---- */
.home-search-area { --hs-accent: var(--primary-color); --hs-accent-dark: var(--color-extra07); --hs-ink: var(--dark-color); --hs-field: var(--bg-color); --hs-line: var(--border-color); }
.hs-bar { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px; border-radius: 10px; background: var(--white-color); border: 1px solid var(--hs-line); border-top: 4px solid var(--hs-accent); box-shadow: var(--box-shadow); margin-bottom: 40px; }
.hs-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.hs-field label, .hs-field legend { display: block; float: none; width: auto; margin: 0 0 6px; padding: 0; font-family: var(--body-font); font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--common-color); }
.hs-field input[type="text"], .hs-field input[type="date"], .hs-field input[type="time"], .hs-field input[type="number"] { box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 12px; border: 1px solid var(--hs-line); border-radius: 6px; background: var(--hs-field); color: var(--hs-ink); font-family: var(--body-font); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.hs-field input::placeholder { color: var(--common-color); opacity: .75; }
.hs-field input:focus { outline: 0; border-color: var(--hs-accent); box-shadow: 0 0 0 3px rgba(15, 168, 164, .22); background: var(--white-color); }
.hs-field input:disabled { opacity: .6; cursor: not-allowed; }
.hs-datetime { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8px; }
.hs-seg { display: flex; height: 48px; border: 1px solid var(--hs-line); border-radius: 6px; background: var(--hs-field); overflow: hidden; }
.hs-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hs-seg label { flex: 1 1 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 10px; font-size: 13px; letter-spacing: 0; text-transform: none; text-align: center; color: var(--hs-ink); cursor: pointer; transition: background .2s, color .2s; }
.hs-seg input:checked + label { background: var(--hs-accent); color: var(--white-color); font-weight: 600; }
.hs-seg input:focus-visible + label { outline: 2px solid var(--hs-ink); outline-offset: -4px; }
.hs-field--submit { display: flex; align-items: flex-end; }
.hs-submit { box-sizing: border-box; width: 100%; height: 48px; padding: 0 24px; border: 0; border-radius: 6px; background: var(--hs-accent); color: var(--white-color); font-family: var(--body-font); font-size: 15px; font-weight: 600; letter-spacing: .06em; cursor: pointer; transition: background .2s, opacity .2s; }
.hs-submit:hover:not(:disabled) { background: var(--hs-ink); color: var(--white-color); }
.hs-submit:focus-visible { outline: 2px solid var(--hs-ink); outline-offset: 2px; }
.hs-submit:disabled { opacity: .5; cursor: not-allowed; }
.hs-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--common-color); }
.hs-note[hidden] { display: none; }
.hs-bar .hs-note { grid-column: 1 / -1; }
.search-features-wrap .search-features-item { height: 100%; }

@media (min-width: 768px) {
    .hs-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-field--datetime, .hs-field--submit { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
    .hs-bar { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr) minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, 1.5fr) auto; align-items: end; margin-top: -48px; position: relative; z-index: 2; }
    .hs-field--datetime, .hs-field--submit { grid-column: auto; }
    .hs-submit { width: auto; min-width: 120px; }
}

/* Google PlaceAutocompleteElement (shadow DOM: host properties + ::part) */
.hs-ac { display: block; box-sizing: border-box; width: 100%; height: 48px; color-scheme: light; background-color: var(--hs-field); border: 1px solid var(--hs-line); border-radius: 6px; color: var(--hs-ink); font-family: var(--body-font); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.hs-ac:focus-within { border-color: var(--hs-accent); box-shadow: 0 0 0 3px rgba(15, 168, 164, .22); background-color: var(--white-color); }
.hs-ac::part(input) { height: 46px; padding: 0 12px; font-family: var(--body-font); font-size: 15px; color: var(--hs-ink); }
.hs-ac::part(prediction-list) { margin-top: 4px; border: 1px solid var(--border-color, #ced4da); border-radius: 6px; background: #fff; box-shadow: var(--box-shadow); z-index: 10000; }
.hs-ac::part(prediction-item) { padding: 8px 12px; color: var(--common-color, #5c6b7a); font-size: 14px; line-height: 1.5; }
.hs-ac::part(prediction-item-selected) { background: var(--bg-color, #eef6f9); }
.hs-ac::part(prediction-item-main-text) { color: var(--dark-color, #0b2545); }
.hs-ac::part(prediction-item-match) { color: var(--primary-color, #0fa8a4); font-weight: 700; }

/* RTL */
[dir="rtl"] .hs-field label, [dir="rtl"] .hs-field legend { letter-spacing: 0; }
[dir="rtl"] .hs-field input[type="text"], [dir="rtl"] .hs-ac::part(input), [dir="rtl"] .hs-ac::part(prediction-item) { text-align: right; }
[dir="rtl"] .hs-field input[type="number"] { text-align: right; }

@media (prefers-reduced-motion: reduce) {
    .hs-field input, .hs-ac, .hs-seg label, .hs-submit { transition: none; }
}

/* Free-route search results + booking ticket distance */
.search-price-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-color); color: var(--dark-color); }
.search-price-badge.is-fixed { background: var(--primary-color); color: #fff; }
.vehicle-list .vehicle-card .buttons { margin-top: 8px; cursor: pointer; }
.booking-ticket-distance { margin: 4px 0 0; font-size: 13px; color: #cfe3ee; }
.booking-ticket-distance i { margin-inline-end: 6px; color: var(--primary-color); }

/* About page */
.about-page-story { padding: 96px 0; background: #fff; }
.about-page-img { width: 100%; height: auto; border-radius: 16px; margin-bottom: 32px; }
.about-page-text p { margin: 0 0 16px; line-height: 1.7; }
.about-page-text .transfers-why-title { margin-bottom: 24px; }
.about-page-stats { padding: 64px 0; background: var(--bg-color); }
.about-page-stats-list { margin: 0; display: grid; grid-template-columns: 1fr; gap: 32px; text-align: center; }
.about-page-stat dt { font-family: var(--title-font); font-size: clamp(36px, 6vw, 56px); font-weight: 300; line-height: 1.1; color: var(--primary-color); }
.about-page-stat dd { margin: 8px 0 0; }
.about-page-cta { padding: 96px 0; background: #fff; }
.about-page-cta-text { max-width: 560px; margin: 16px auto 32px; }
.about-page-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.about-page-contact { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
@media (min-width: 768px) {
    .about-page-stats-list { grid-template-columns: repeat(3, 1fr); }
    .about-page-img { margin-bottom: 0; }
}
[dir="rtl"] .about-page-text { text-align: right; }

/* Blog + contact pages */
.blog-list-area, .blog-post-area, .contact-page { padding: 64px 0; }
.blog-list-area .blog-item { margin-bottom: 32px; }
.blog-list-area .blog-img img, .blog-related .blog-img img { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; }
.blog-content .blog-title a { color: inherit; }
.blog-content .blog-title a:hover { color: var(--primary-color); }
.blog-content .blog-title a:focus-visible, .blog-share a:focus-visible, .contact-info a:focus-visible, .blog-post-back a:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
.blog-meta time { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta .blog-read-time { margin-inline-start: 12px; color: var(--common-color); }
.blog-read-time i, .blog-post-meta i { margin-inline-end: 4px; color: var(--primary-color); }
.home-blog-all { margin-top: 16px; }
.blog-empty { max-width: 480px; margin: 0 auto; padding: 48px 16px; text-align: center; }
.blog-empty > i { font-size: 48px; color: var(--primary-color); margin-bottom: 16px; }
.blog-empty p { margin-bottom: 24px; color: var(--common-color); }
.blog-pagination { display: flex; justify-content: center; margin-top: 24px; }
.blog-pagination nav > div:first-child { display: none; }
.blog-pagination svg { width: 16px; height: 16px; }
.blog-pagination a, .blog-pagination span[aria-current] > span { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; }

.blog-post { max-width: 100%; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; color: var(--common-color); font-size: 15px; }
.blog-post-img { width: 100%; height: auto; aspect-ratio: 900 / 520; object-fit: cover; border-radius: 16px; margin-bottom: 32px; }
.blog-post-lead { font-size: 20px; line-height: 1.6; color: var(--dark-color); margin-bottom: 24px; }
.blog-post-content { line-height: 1.8; overflow-wrap: anywhere; }
.blog-post-content h2, .blog-post-content h3 { margin: 32px 0 16px; color: var(--dark-color); }
.blog-post-content p, .blog-post-content ul, .blog-post-content ol { margin-bottom: 16px; }
.blog-post-content ul, .blog-post-content ol { padding-inline-start: 24px; }
.blog-post-content img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-post-content a { color: var(--primary-color); text-decoration: underline; }
.blog-post-content blockquote { margin: 24px 0; padding: 8px 20px; border-inline-start: 4px solid var(--primary-color); background: var(--bg-color); }
.blog-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bk-border); }
.blog-share-label { font-weight: 600; color: var(--dark-color); }
.blog-share ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.blog-share a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-color); color: var(--dark-color); transition: background .2s, color .2s; }
.blog-share a:hover { background: var(--primary-color); color: #fff; }
.blog-post-back { margin: 24px 0 0; }
.blog-post-back a { color: var(--primary-color); font-weight: 600; }
.blog-related { background: var(--bg-color); }
.blog-cta { background: #fff; }

.contact-page-lead { margin-bottom: 24px; color: var(--common-color); }
.contact-form .row > [class*="col-"] { margin-bottom: 0; }
.contact-form label.error { display: block; margin: 6px 0 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--bk-danger) !important; }
.contact-form input.error, .contact-form textarea.error { border-color: var(--bk-danger) !important; }
.contact-submit { cursor: pointer; }
.contact-submit:disabled, .contact-submit.is-loading { opacity: .7; cursor: wait; }
.contact-success { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; padding: 16px 20px; border-inline-start: 4px solid var(--bk-success); border-radius: 8px; background: #e8f6ef; color: #14573a; }
.contact-success i { margin-top: 4px; font-size: 22px; color: var(--bk-success); }
.contact-success p { margin: 4px 0 0; }
.contact-info { padding: 32px 24px; border-radius: 16px; background: var(--bg-color); }
.contact-info h2 { margin-bottom: 24px; }
.contact-info-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.contact-info-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-list li > i { flex: 0 0 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--primary-color); }
.contact-info-list span { display: block; font-size: 14px; color: var(--common-color); }
.contact-info-list a, .contact-info-list address { margin: 0; font-style: normal; font-weight: 600; color: var(--dark-color); overflow-wrap: anywhere; }
.contact-info-list a:hover { color: var(--primary-color); }
.contact-info-follow { margin: 28px 0 12px; font-weight: 600; color: var(--dark-color); }
.contact-info-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-info-socials a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--dark-color); }
.contact-info-socials a:hover { background: var(--primary-color); color: #fff; }
@media (min-width: 992px) {
    .blog-list-area, .blog-post-area, .contact-page { padding: 96px 0; }
}
[dir="rtl"] .blog-post-content, [dir="rtl"] .contact-info { text-align: right; }
[dir="rtl"] .blog-post-back .fa-arrow-left { transform: scaleX(-1); }

/* Legal pages (terms, privacy) */
.legal-page { padding: 48px 0; }
.legal-layout { display: grid; gap: 32px; }
.legal-toc { padding: 20px 24px; border-radius: 16px; background: var(--bg-color); }
.legal-toc-title { margin: 0 0 12px; font-size: 18px; color: var(--dark-color); }
.legal-toc ol { margin: 0; padding-inline-start: 24px; display: grid; gap: 2px; }
.legal-toc a { display: inline-block; padding: 6px 0; color: var(--dark-color); }
.legal-toc a:hover { color: var(--primary-color); }
.legal-toc a:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
.legal-content { max-width: 75ch; line-height: 1.8; overflow-wrap: anywhere; }
.legal-intro { font-size: 18px; color: var(--dark-color); margin-bottom: 32px; }
.legal-section { margin-bottom: 40px; scroll-margin-top: 96px; }
.legal-section h2 { margin-bottom: 16px; font-size: 24px; line-height: 1.3; color: var(--dark-color); }
.legal-num { color: var(--primary-color); }
.legal-section p, .legal-section ul { margin-bottom: 16px; }
.legal-section ul { padding-inline-start: 24px; list-style: disc; }
.legal-section li { margin-bottom: 8px; }
.legal-contact { display: grid; gap: 4px; padding: 20px 24px; border-radius: 12px; background: var(--bg-color); font-style: normal; }
.legal-contact a { color: var(--primary-color); text-decoration: underline; }
.legal-accept { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--common-color); }
.legal-accept a { color: var(--primary-color); text-decoration: underline; }
@media (min-width: 992px) {
    .legal-page { padding: 80px 0; }
    .legal-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
    .legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 128px); overflow-y: auto; }
}
[dir="rtl"] .legal-content, [dir="rtl"] .legal-toc, [dir="rtl"] .legal-contact { text-align: right; }
