/* ==========================================================================
   Jacaranda Car — theme on top of Bootstrap 5.3
   Palette taken from the logo: periwinkle violet #7A78D8 + golden yellow #F2C12E

   1. Tokens + Bootstrap variables   <- change colors, fonts, radius here
   2. Base
   3. Bootstrap components (buttons, forms, alerts, dropdown, modal, offcanvas)
   4. Form plugins (Tom Select, Flatpickr)
   5. Layout: topbar, header, search form, footer
   6. Shared components (badges, car card, FAQ, CTA)
   7. Home   8. Inner pages + fleet   9. Car detail   10. Checkout + results   11. Content pages   12. Mobile bar + motion
   Markup uses Bootstrap classes first; the rules here only add the brand look.
   ========================================================================== */

/* ----- 1. Tokens ----- */
:root {
  --brand: #7A78D8;
  --brand-600: #5F5CC4;
  --brand-700: #4B48A8;
  --brand-900: #24213F;
  --brand-50: #F4F3FC;
  --brand-100: #E9E8F9;
  --yellow: #F2C12E;
  --yellow-600: #D9A810;
  --yellow-50: #FEF8E5;

  --ink: #24213F;
  --ink-2: #48455F;
  --muted: #6F6C85;
  --line: #E5E3EE;
  --line-strong: #CFCCE2;
  --bg: #FFFFFF;
  --bg-soft: #F7F6FC;
  --white: #FFFFFF;

  --success: #1F8A5B;
  --success-bg: #E4F4EC;
  --danger: #C0392B;
  --danger-bg: #FCEAE8;

  /* Aliases used by inline styles in the views */
  --violet-700: var(--brand-700);
  --violet-500: var(--brand);
  --violet-100: var(--brand-100);
  --terra-500: var(--brand-600);
  --night: var(--ink);

  --font-body: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-display: var(--font-body);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(36, 33, 63, .06);
  --shadow: 0 8px 24px rgba(36, 33, 63, .08);
  --shadow-lg: 0 18px 50px rgba(36, 33, 63, .14);
  --container: 1200px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --control-height: 50px;

  /* Bootstrap */
  --bs-body-font-family: var(--font-body);
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--ink-2);
  --bs-body-color-rgb: 72, 69, 95;
  --bs-body-bg: var(--bg);
  --bs-emphasis-color: var(--ink);
  --bs-heading-color: var(--ink);
  --bs-secondary-color: var(--muted);
  --bs-secondary-bg: var(--bg-soft);
  --bs-tertiary-bg: var(--bg-soft);
  --bs-border-color: var(--line);
  --bs-border-radius: 10px;
  --bs-border-radius-sm: 8px;
  --bs-border-radius-lg: 18px;
  --bs-primary: var(--yellow);
  --bs-primary-rgb: 242, 193, 46;
  --bs-success: var(--success);
  --bs-success-rgb: 31, 138, 91;
  --bs-danger: var(--danger);
  --bs-danger-rgb: 192, 57, 43;
  --bs-link-color: var(--brand-700);
  --bs-link-color-rgb: 75, 72, 168;
  --bs-link-hover-color: var(--brand-900);
  --bs-link-hover-color-rgb: 36, 33, 63;
  --bs-focus-ring-color: rgba(122, 120, 216, .3);
}

/* ----- 2. Base ----- */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4, .display { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .3em; }

.container { max-width: var(--container); padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 84px 0; }
.section--sand { background: var(--bg-soft); }
.section--night { background: var(--brand-900); color: #D8D6EC; }
.section--night h2, .section--night h3 { color: var(--white); }
.eyebrow { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--brand-600); margin-bottom: 10px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.1rem; font-weight: 400; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Yellow marker under a word, like a highlighter pen */
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }

/* ----- 3. Buttons -----
   btn-primary (yellow CTA), btn-brand (violet), btn-outline-secondary (white "ghost"), btn-outline-light (on dark). */
.btn {
  --bs-btn-padding-x: 1.375rem;
  --bs-btn-padding-y: .8rem;
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: .95rem;
  --bs-btn-border-width: 1.5px;
  --bs-btn-border-radius: 10px;
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(242, 193, 46, .45);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --bs-btn-padding-x: .95rem; --bs-btn-padding-y: .55rem; --bs-btn-font-size: .88rem; --bs-btn-border-radius: 8px; }
.btn-primary {
  --bs-btn-color: var(--ink); --bs-btn-bg: var(--yellow); --bs-btn-border-color: var(--yellow);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--yellow-600); --bs-btn-hover-border-color: var(--yellow-600);
  --bs-btn-active-color: var(--ink); --bs-btn-active-bg: var(--yellow-600); --bs-btn-active-border-color: var(--yellow-600);
  --bs-btn-disabled-color: var(--ink); --bs-btn-disabled-bg: var(--yellow); --bs-btn-disabled-border-color: var(--yellow);
}
.btn-brand {
  --bs-btn-color: var(--white); --bs-btn-bg: var(--brand-600); --bs-btn-border-color: var(--brand-600);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--brand-700); --bs-btn-hover-border-color: var(--brand-700);
  --bs-btn-active-color: var(--white); --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700);
  --bs-btn-disabled-color: var(--white); --bs-btn-disabled-bg: var(--brand-600); --bs-btn-disabled-border-color: var(--brand-600);
}
.btn-outline-secondary {
  --bs-btn-color: var(--ink); --bs-btn-bg: var(--white); --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--brand-700); --bs-btn-hover-bg: var(--white); --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-color: var(--brand-700); --bs-btn-active-bg: var(--brand-50); --bs-btn-active-border-color: var(--brand);
  --bs-btn-disabled-color: var(--muted); --bs-btn-disabled-bg: var(--white); --bs-btn-disabled-border-color: var(--line);
}
.btn-outline-light {
  --bs-btn-color: var(--white); --bs-btn-bg: rgba(255, 255, 255, .1); --bs-btn-border-color: rgba(255, 255, 255, .3);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: rgba(255, 255, 255, .2); --bs-btn-hover-border-color: rgba(255, 255, 255, .45);
  --bs-btn-active-color: var(--white); --bs-btn-active-bg: rgba(255, 255, 255, .25); --bs-btn-active-border-color: rgba(255, 255, 255, .45);
}

/* ----- 3. Forms ----- */
.form-label { font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-control, .form-select {
  min-height: var(--control-height); padding: .7rem .95rem; font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.form-select { padding-inline-end: 2.5rem; background-position: right .95rem center; cursor: pointer; }
textarea.form-control { min-height: 130px; }
.form-control::placeholder { color: #A3A0B8; }
.form-control:hover, .form-select:hover { border-color: var(--line-strong); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.form-control.is-invalid, .form-select.is-invalid { background-color: var(--danger-bg); }
.form-check-input { border-color: var(--line-strong); }
.form-check-input:checked { background-color: var(--brand-600); border-color: var(--brand-600); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.form-range::-webkit-slider-thumb { background: var(--brand-600); }
.form-range::-moz-range-thumb { background: var(--brand-600); }

/* Icon inside a control: <div class="input-icon"><svg/><input class="form-control"></div> */
.input-icon { position: relative; }
.input-icon > svg { position: absolute; inset-inline-start: 14px; top: calc(var(--control-height) / 2); transform: translateY(-50%); z-index: 3; color: var(--brand-600); pointer-events: none; }
.input-icon .form-control, .input-icon select.form-select, .input-icon .ts-wrapper.form-select .ts-control { padding-inline-start: 2.7rem; }

/* ----- 3. Alerts ----- */
.alert { --bs-alert-padding-x: 1rem; --bs-alert-padding-y: .75rem; --bs-alert-border-color: transparent; --bs-alert-border-radius: 10px; font-size: .92rem; }
.alert-danger { --bs-alert-color: var(--danger); --bs-alert-bg: var(--danger-bg); }
.alert-success { --bs-alert-color: var(--success); --bs-alert-bg: var(--success-bg); }
.alert-info { --bs-alert-color: var(--brand-700); --bs-alert-bg: var(--brand-50); }
.alert ul { margin: 0; padding-inline-start: 1.1em; }

/* ----- 3. Dropdown ----- */
.dropdown-menu {
  --bs-dropdown-border-color: var(--line); --bs-dropdown-border-radius: 12px; --bs-dropdown-box-shadow: var(--shadow-lg);
  --bs-dropdown-padding-x: 6px; --bs-dropdown-padding-y: 6px; --bs-dropdown-font-size: .92rem;
  --bs-dropdown-link-color: var(--ink); --bs-dropdown-link-hover-bg: var(--brand-50); --bs-dropdown-link-hover-color: var(--ink);
  --bs-dropdown-link-active-bg: var(--brand-100); --bs-dropdown-link-active-color: var(--brand-700);
  box-shadow: var(--bs-dropdown-box-shadow);
}
.dropdown-item { border-radius: 8px; padding: 8px 12px; display: flex; justify-content: space-between; gap: 16px; }
.dropdown-item.active { font-weight: 600; }
.dropdown-item small { color: var(--muted); }

/* ----- 3. Modal ----- */
.modal { --bs-modal-border-radius: var(--radius-lg); --bs-modal-border-width: 0; --bs-modal-padding: 1.5rem; --bs-modal-width: 540px; }
.modal-backdrop { --bs-backdrop-bg: #24213F; --bs-backdrop-opacity: .6; }
.modal-header--dark { background: var(--brand-900); color: var(--white); border-bottom: 4px solid var(--yellow); align-items: flex-start; gap: 16px; }
.modal-header--dark .modal-title { color: var(--white); font-size: 1.4rem; margin: 0 0 4px; }
.modal-header--dark p { margin: 0; color: #C9C6E3; font-size: .9rem; }

/* ----- 3. Offcanvas (mobile menu) ----- */
.offcanvas { --bs-offcanvas-width: min(380px, 88vw); }

/* ----- 4. Tom Select (all selects, see initSelects in site.js) -----
   The wrapper keeps the .form-select look (border, caret); the inner .ts-control is borderless. */
.ts-wrapper.form-select { cursor: pointer; }
.ts-wrapper.form-select .ts-control { min-height: calc(var(--control-height) - 3px); padding-block: .6rem; padding-inline: .95rem 2.5rem; border-radius: 10px; color: var(--ink); font-size: .95rem; flex-wrap: nowrap; cursor: pointer; }
.ts-wrapper .ts-control > .item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ts-wrapper.single .ts-control > input { cursor: pointer; }
.ts-wrapper.form-select.focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.ts-wrapper.form-select.dropdown-active { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235F5CC4' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3E%3C/svg%3E"); }
.ts-dropdown, .ts-dropdown.form-select, .ts-dropdown.form-control {
  z-index: 1070; margin-top: 6px; padding: 0; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); font-size: .93rem;
  animation: ts-in .16s var(--ease);
}
.ts-dropdown .ts-dropdown-content { max-height: 290px; padding: 6px; }
.ts-dropdown .option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.ts-dropdown .option.active { background: var(--brand-50); color: var(--ink); }
.ts-dropdown .option.selected { font-weight: 600; color: var(--brand-700); }
.ts-dropdown .option.selected::after { content: ''; flex: none; width: 14px; height: 10px; margin-inline-start: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M1 5l4 4 8-8' stroke='%235F5CC4' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center; }
.ts-dropdown .option.selected .opt-badge { margin-inline-start: auto; }
.ts-dropdown .no-results { padding: 10px 12px; color: var(--muted); }
.ts-dropdown .dropdown-input-wrap { padding: 8px 8px 2px; }
.ts-dropdown .dropdown-input {
  width: 100%; padding: 9px 12px 9px 36px; border: 1.5px solid var(--line); border-radius: 8px; font-size: .92rem;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236F6C85' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l4 4'/%3E%3C/svg%3E") no-repeat 12px center;
}
.plugin-dropdown_input.focus .ts-dropdown .dropdown-input { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); outline: 0; background-color: var(--white); }
/* Price shown next to a city */
.opt-badge { flex: none; font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); }
.opt-badge--free { background: var(--success-bg); color: var(--success); }
@keyframes ts-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ----- 4. Flatpickr (date inputs, see initDates in site.js) ----- */
.flatpickr-input.form-control[readonly] { background-color: var(--white); cursor: pointer; }
.flatpickr-wrapper { display: block; }
.flatpickr-calendar {
  font-family: var(--font-body); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 6px; width: auto;
}
.flatpickr-calendar.static { top: calc(100% + 6px); z-index: 1070; }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before, .flatpickr-calendar.arrowBottom::after { display: none; }
.flatpickr-months { padding: 4px 0 6px; }
.flatpickr-months .flatpickr-month { color: var(--ink); height: 40px; }
.flatpickr-current-month { font-size: 1rem; font-weight: 600; padding-top: 8px; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 600; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { top: 8px; padding: 8px; border-radius: 8px; height: auto; }
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover { background: var(--brand-50); }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--brand-600); }
span.flatpickr-weekday { color: var(--muted); font-weight: 600; font-size: .78rem; }
.flatpickr-day { border-radius: 9px; color: var(--ink); font-weight: 500; }
.flatpickr-day:hover, .flatpickr-day:focus { background: var(--brand-50); border-color: var(--brand-50); }
.flatpickr-day.today { border-color: var(--yellow); }
.flatpickr-day.today:hover { background: var(--yellow-50); border-color: var(--yellow); color: var(--ink); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: var(--brand-600); border-color: var(--brand-600); color: var(--white); }
.flatpickr-day.inRange { background: var(--brand-100); border-color: var(--brand-100); box-shadow: -5px 0 0 var(--brand-100), 5px 0 0 var(--brand-100); }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { color: #C7C5D6; background: none; border-color: transparent; }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: #B9B6CC; }

/* ----- 5. Topbar + header ----- */
.topbar { background: var(--brand-900); color: #C9C6E3; font-size: .82rem; }
.topbar .container { min-height: 38px; }
.topbar a:hover { color: var(--yellow); }
.topbar svg { color: var(--yellow); }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* No backdrop-filter here: it would trap the fixed offcanvas menu inside the header */
.site-header { --bs-navbar-padding-y: 0; z-index: 1020; background: var(--white); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(36, 33, 63, .06); }
.site-header > .container { height: 78px; gap: 12px; flex-wrap: nowrap; transition: height .3s var(--ease); }
.site-header.is-scrolled > .container { height: 66px; }
.logo { display: inline-flex; flex: none; padding: 0; margin: 0; }
.logo img { height: 54px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .logo img { height: 46px; }
.site-header .navbar-nav { --bs-nav-link-color: var(--ink); --bs-nav-link-hover-color: var(--ink); --bs-navbar-active-color: var(--ink); --bs-nav-link-font-weight: 500; gap: 2px; }
.site-header .nav-link { position: relative; font-size: .96rem; white-space: nowrap; }
.site-header .navbar-toggler { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.site-header .navbar-toggler:focus { box-shadow: 0 0 0 .25rem rgba(242, 193, 46, .45); }
.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.btn-pill {
  --bs-btn-padding-x: .75rem; --bs-btn-padding-y: .45rem; --bs-btn-font-size: .85rem; --bs-btn-border-radius: 8px; --bs-btn-border-width: 1px;
  --bs-btn-color: var(--ink); --bs-btn-bg: var(--white); --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--bg-soft); --bs-btn-hover-border-color: var(--line-strong);
  --bs-btn-active-color: var(--ink); --bs-btn-active-bg: var(--bg-soft); --bs-btn-active-border-color: var(--line-strong);
  gap: 6px;
}
.btn-pill.dropdown-toggle::after { border: 0; width: 10px; height: 6px; margin-inline-start: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236F6C85' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat center; transition: transform .2s; }
.btn-pill.dropdown-toggle.show::after { transform: rotate(180deg); }
.btn-pill svg { color: var(--brand-600); }
.booking-chip { --bs-btn-color: var(--brand-700); --bs-btn-bg: var(--brand-50); --bs-btn-border-color: var(--brand-100); --bs-btn-hover-color: var(--brand-700); --bs-btn-hover-bg: var(--brand-100); --bs-btn-hover-border-color: var(--brand-100); }
.booking-chip:hover svg { transform: none; }

/* Desktop: animated yellow underline under the links */
@media (min-width: 1200px) {
  .site-header .navbar-nav { margin-inline-start: auto; }
  .site-header .nav-link { padding: 8px 12px !important; }
  .site-header .nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
}
/* Mobile: the nav is an offcanvas */
@media (max-width: 1199.98px) {
  .site-header .offcanvas-header { border-bottom: 1px solid var(--line); }
  .site-header .offcanvas-body { display: flex; flex-direction: column; }
  .site-header .nav-link { padding: 13px 4px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); }
  .site-header .nav-link.active { color: var(--brand-700); }
  .header-tools { margin-inline-start: auto; }
}
.mobile-menu__extra { display: grid; gap: 10px; margin-top: 20px; }
.mobile-menu__extra .btn-group { display: flex; }

/* ----- 5. Search form (jc.partials.search-form) ----- */
.search-card { position: relative; z-index: 5; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 22px; border: 1px solid var(--line); color: var(--ink-2); }
.hero .search-card { max-width: 1000px; margin: 34px auto 0; background: rgba(255, 255, 255, .95); border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(14px); }
.search-card__tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: .9rem; border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--muted); }
.tab.is-active { background: var(--brand-900); border-color: var(--brand-900); color: var(--white); }
.tab.is-active svg { color: var(--yellow); }
.search-card__note { margin: 12px 2px 0; font-size: .86rem; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.search-card__note strong { color: var(--success); }
.search-form .btn[type="submit"] { min-height: var(--control-height); }
.search-form--legs .search-submit .btn { min-width: 230px; }
@media (max-width: 767.98px) {
  .search-card, .hero .search-card { padding: 16px; margin-top: 24px; }
  .search-form--legs .search-leg { padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
  .search-form--legs .search-submit .btn { width: 100%; min-width: 0; }
}

/* ----- 5. Footer ----- */
.footer { background: var(--brand-900); color: #B9B6D4; padding: 64px 0 0; position: relative; border-top: 5px solid var(--yellow); }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer .logo { margin-bottom: 14px; background: var(--white); padding: 8px 12px; border-radius: 12px; }
.footer .logo img { height: 50px; }
.footer__bottom { margin-top: 52px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .84rem; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.whatsapp-fab { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 1010; width: 56px; height: 56px; border-radius: 16px; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); transition: transform .25s var(--ease); animation: fab-in .5s .8s var(--ease) both; }
.whatsapp-fab:hover { transform: translateY(-3px) rotate(-6deg); }
@keyframes fab-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

/* ----- 6. Shared components: badges, icon box, car card, price, FAQ accordion, CTA band ----- */
.badge { --bs-badge-padding-x: .6em; --bs-badge-padding-y: .4em; --bs-badge-font-weight: 600; --bs-badge-border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; }
.badge-brand { background: var(--brand-600); color: var(--white); }
.badge-yellow { background: var(--yellow); color: var(--ink); }
.badge-white { background: var(--white); color: var(--ink); }
.badge-success { background: var(--success-bg); color: var(--success); }

.icon-box { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); }
.icon-box--yellow { background: var(--yellow-50); color: var(--yellow-600); }

.card { --bs-card-border-color: var(--line); --bs-card-border-radius: var(--radius-lg); --bs-card-inner-border-radius: calc(var(--radius-lg) - 1px); --bs-card-spacer-x: 1.25rem; --bs-card-spacer-y: 1.15rem; }
.car-card { overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--brand-100); }
.car-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--brand-50); overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.05); }
.car-card__tags { position: absolute; top: 12px; inset-inline-start: 12px; }
.car-card__brand { font-size: .8rem; font-weight: 600; color: var(--brand-600); }
.car-card__name { display: block; font-size: 1.45rem; font-weight: 700; color: var(--ink); margin: 0 0 12px; line-height: 1.2; letter-spacing: -.01em; }
.car-card__foot { padding-top: 14px; border-top: 1px solid var(--line); }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .86rem; margin-bottom: 16px; }
.specs span { display: inline-flex; align-items: center; gap: 6px; }
.specs svg { color: var(--brand); }
.price { line-height: 1.15; }
.price small { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 3px; }
.price strong { font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price span { font-size: .85rem; color: var(--muted); }
.price--total strong { color: var(--brand-700); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-cat { max-width: 820px; margin: 36px auto 14px; font-size: 1.4rem; }
.accordion {
  --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: calc(var(--radius) - 1px);
  --bs-accordion-btn-padding-x: 1.25rem; --bs-accordion-btn-padding-y: 1.1rem; --bs-accordion-btn-color: var(--ink); --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: var(--white); --bs-accordion-btn-focus-box-shadow: 0 0 0 4px var(--brand-100); --bs-accordion-body-padding-x: 1.25rem; --bs-accordion-body-padding-y: 0;
  --bs-accordion-btn-icon-width: 22px;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect width='22' height='22' rx='6' fill='%23FEF8E5'/%3E%3Cpath d='M11 6v10M6 11h10' stroke='%2324213F' stroke-width='1.8'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect width='22' height='22' rx='6' fill='%23FEF8E5'/%3E%3Cpath d='M11 6v10M6 11h10' stroke='%2324213F' stroke-width='1.8'/%3E%3C/svg%3E");
  --bs-accordion-btn-icon-transform: rotate(45deg);
}
/* Separate rounded items instead of one stacked block */
.faq .accordion-item { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; overflow: hidden; transition: border-color .2s; }
.faq .accordion-item:has(.accordion-collapse.show) { border-color: var(--brand) !important; }
.faq .accordion-header { margin: 0; }
.faq .accordion-button { font-weight: 600; font-size: 1rem; gap: 16px; box-shadow: none; }
.faq .accordion-button:focus-visible { box-shadow: var(--bs-accordion-btn-focus-box-shadow); }
.faq .accordion-body { color: var(--muted); }
.faq .accordion-body p:last-child { padding-bottom: 1.1rem; margin: 0; }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 48px; background: var(--brand-900); color: #D8D6EC; }
.cta-band::after { content: ''; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(242, 193, 46, .18); }
.cta-band h2 { color: var(--white); margin: 0 0 8px; }
.cta-band__actions { position: relative; z-index: 1; }

/* ----- 7. Home ----- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: ken-burns 14s ease-out both; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 33, 63, .62) 0%, rgba(36, 33, 63, .38) 45%, rgba(36, 33, 63, .78) 100%); }
.hero__inner { padding-top: 70px; padding-bottom: 56px; }
.hero__copy { max-width: 1000px; }
.hero__copy > * { animation: rise .7s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .1s; }
.hero__copy > *:nth-child(3) { animation-delay: .2s; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; backdrop-filter: blur(6px); font-size: .88rem; font-weight: 500; margin-bottom: 18px; }
.hero__badge b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.6vw, 4.4rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .25); margin-bottom: 14px; }
.hero h1::after { content: ''; display: block; width: 72px; height: 6px; border-radius: 6px; background: var(--yellow); margin: 16px auto 0; }
.hero__lead { font-size: 1.2rem; color: rgba(255, 255, 255, .92); margin-bottom: 0; max-width: 640px; }
.hero .search-card { animation: rise .8s .3s var(--ease) both; }
.hero__points { gap: 8px 26px; margin: 26px 0 0; font-size: .95rem; animation: rise .7s .5s var(--ease) both; }
.hero__points li { display: inline-flex; gap: 8px; align-items: center; }
.hero__points svg, .hero__points strong { color: var(--yellow); }

.trust__item h4 { margin-bottom: 2px; }
.service { transition: border-color .25s, transform .3s var(--ease); }
.service:hover { border-color: var(--brand); transform: translateY(-3px); }

/* Steps: a road with a car driving along */
.steps-wrap { position: relative; }
.road { position: absolute; left: 0; right: 0; top: 26px; height: 6px; }
.road > svg { width: 100%; height: 6px; display: block; }
.road path { stroke: var(--yellow); stroke-width: 4; stroke-dasharray: 14 12; stroke-linecap: round; fill: none; }
.road__car { position: absolute; top: -17px; inset-inline-start: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-600); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); transition: inset-inline-start 2.4s var(--ease); }
.steps-wrap.is-visible .road__car { inset-inline-start: calc(100% - 40px); }
.steps { position: relative; counter-reset: step; }
.step { position: relative; padding-inline-start: calc(var(--bs-gutter-x) * .5 + 58px); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: calc(var(--bs-gutter-y) - 4px); inset-inline-start: calc(var(--bs-gutter-x) * .5); width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 3px solid var(--yellow); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.3rem; }
@media (min-width: 768px) {
  .step { padding-inline-start: calc(var(--bs-gutter-x) * .5); padding-top: calc(var(--bs-gutter-y) + 76px); }
  .step::before { top: calc(var(--bs-gutter-y) + 8px); }
}

.arch { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-lg); }
.arch::after { content: ''; position: absolute; inset-inline-start: 22px; bottom: 22px; width: 64px; height: 8px; border-radius: 8px; background: var(--yellow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.city-list li { padding: 13px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-weight: 500; color: var(--ink); transition: border-color .2s, transform .25s var(--ease); }
.city-list li:hover { border-color: var(--brand); transform: translateX(4px); }
.city-list svg { color: var(--brand); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ken-burns { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 767.98px) {
  .hero__inner { padding-top: 40px; padding-bottom: 34px; }
  .hero__lead { font-size: 1.05rem; }
  .hero__points { gap: 6px 16px; font-size: .9rem; }
  .arch { aspect-ratio: 4 / 3; }
  .cta-band { padding: 32px 22px; }
}

/* ----- 8. Inner pages: header, cards, fleet ----- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset-inline-end: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--brand-100); }
.page-hero .container { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 44px; }
.page-hero--cover .container { padding-bottom: 90px; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.page-hero h1::after { content: ''; display: block; width: 56px; height: 5px; border-radius: 5px; background: var(--yellow); margin-top: 14px; }
.page-hero p { margin: 0; max-width: 640px; color: var(--ink-2); }
.breadcrumb { --bs-breadcrumb-font-size: .86rem; --bs-breadcrumb-margin-bottom: 12px; --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }

.text-brand { color: var(--brand-700) !important; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; background: var(--brand-50); color: var(--ink); font-size: .88rem; font-weight: 500; }
.chip svg { color: var(--brand-600); }
.label { display: block; float: none; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.block { margin-bottom: 22px; }
.block > .card-body { padding: 26px; }
.block h2, .block h3:first-child { font-size: 1.4rem; margin-bottom: 16px; }
.empty { text-align: center; padding: 56px 20px; background: var(--bg-soft); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.icon-box--sm { width: 34px; height: 34px; border-radius: 9px; }
.icon-box--success { background: var(--success-bg); color: var(--success); }
@media (min-width: 992px) { .sticky-col { position: sticky; top: 96px; } }

.search-summary { --bs-card-spacer-y: .75rem; --bs-card-spacer-x: 1rem; border-radius: var(--radius); }
.sort-select { min-width: 230px; }
.filters .offcanvas-title, .filters h3 { font-size: 1.2rem; }
.filter-group { margin: 16px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
.filters .form-check { padding-inline-start: 0; margin: 0; min-height: 0; padding-block: 4px; }
.filters .form-check-input { margin: 0; width: 18px; height: 18px; flex: none; }
.filters .form-check-label { cursor: pointer; color: var(--ink); font-size: .95rem; }
.filters .btn-link { --bs-btn-color: var(--brand-600); --bs-btn-hover-color: var(--brand-700); font-weight: 600; text-decoration: none; }
@media (min-width: 1200px) {
  .filters { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--line) !important; border-radius: var(--radius-lg); background-color: var(--white) !important; }
}

/* ----- 9. Car detail ----- */
.gallery__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--brand-50); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery__thumbs button { width: 104px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--yellow); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.spec { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.spec__icon { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); }
.spec small { display: block; color: var(--muted); font-size: .78rem; }
.spec strong { font-size: 1rem; color: var(--ink); font-weight: 600; }
.tiers-period { font-size: .86rem; color: var(--muted); margin: 0 0 12px; }.tier { text-align: center; padding: 16px 8px; border-radius: var(--radius); background: var(--bg-soft); border: 1.5px solid transparent; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.tier.is-active { border-color: var(--yellow); background: var(--yellow-50); transform: translateY(-3px); }
.tier small { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 4px; }
.tier strong { font-size: 1.45rem; font-weight: 800; color: var(--ink); white-space: nowrap; letter-spacing: -.02em; }
.tier span { display: block; font-size: .76rem; color: var(--muted); }
.booking-box { overflow: hidden; box-shadow: var(--shadow); }
.booking-box__head { background: var(--brand-900); color: var(--white); padding: 20px 24px; border-bottom: 4px solid var(--yellow); }
.booking-box__head .price strong { color: var(--white); }
.booking-box__head .price small, .booking-box__head .price span { color: #C9C6E3; }
.quote { background: var(--bg-soft); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; font-size: .92rem; }
.quote:empty { display: none; }
.quote__line { display: flex; justify-content: space-between; gap: 10px; }
.quote__line span:last-child { white-space: nowrap; text-align: end; color: var(--ink); }
.quote__total { border-top: 1px dashed var(--line-strong); padding-top: 10px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.quote__total span:last-child { font-size: 1.45rem; font-weight: 800; color: var(--brand-700); }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .82rem; color: var(--muted); }
@media (max-width: 767.98px) { .tier strong { font-size: 1.2rem; } }

/* ----- 10. Checkout + result pages ----- */
.stepper__item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.stepper__item b { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--line); font-size: .85rem; }
.stepper__item.is-done b { background: var(--success); border-color: var(--success); color: var(--white); }
.stepper__item.is-active { color: var(--ink); }
.stepper__item.is-active b { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.stepper__sep { width: 36px; height: 2px; background: var(--line); }
.trip__img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius); background: var(--brand-50); }
.leg { height: 100%; background: var(--bg-soft); border-radius: 10px; padding: 11px 14px; border-inline-start: 3px solid var(--yellow); }
.leg small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.leg strong { display: block; color: var(--ink); }
.extra { padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); transition: border-color .2s, background .2s; }
.extra.is-selected { border-color: var(--brand); background: var(--brand-50); }
.extra__price { font-weight: 600; color: var(--brand-700); font-size: .9rem; }
.qty { width: auto; }
.qty .btn { --bs-btn-padding-x: .7rem; --bs-btn-font-size: 1.05rem; }
.qty .form-control { width: 46px; min-height: 0; padding: .25rem; font-weight: 600; flex: 0 0 46px; -moz-appearance: textfield; }
.qty .form-control::-webkit-inner-spin-button { -webkit-appearance: none; }
.pay { position: relative; display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); border: 1.5px solid var(--line); cursor: pointer; background: var(--white); transition: border-color .2s, background .2s; }
.pay input { position: absolute; opacity: 0; }
.pay__icon { background: var(--bg-soft); }
.pay:has(input:checked) { border-color: var(--brand-600); background: var(--brand-50); }
.pay:has(input:checked) .pay__icon { background: var(--yellow); color: var(--ink); }
.pay:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cards-logos span { font-size: .66rem; font-weight: 700; padding: 3px 7px; border-radius: 5px; background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.terms { font-size: .9rem; }

.result { max-width: 860px; }
.result__hero { padding: 40px 28px !important; }
.result__title { font-size: clamp(2rem, 4vw, 2.8rem); }
.result__icon { width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 18px; animation: pop .6s var(--ease) both; }
.result__icon--ok { background: var(--success-bg); color: var(--success); }
.result__icon--ko { background: var(--danger-bg); color: var(--danger); }
.ref { display: inline-flex; gap: 10px; align-items: center; padding: 9px 16px; border-radius: 10px; background: var(--yellow-50); border: 1px dashed var(--yellow-600); font-weight: 500; }
.ref strong { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: .06em; }
.recap { font-size: .95rem; }
.recap > div { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.recap dt { font-weight: 400; color: var(--muted); }
.recap dd { margin: 0; font-weight: 700; color: var(--ink); text-align: end; }

/* ----- 11. Content pages: terms, contact, blog ----- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-inline-start: 1.2em; }
.prose a { color: var(--brand-700); text-decoration: underline; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .9rem; }
.toc strong { color: var(--ink); }
.toc a { display: block; padding-block: 6px; padding-inline: 10px 0; color: var(--muted); border-inline-start: 2px solid transparent; }
.toc a:hover { color: var(--brand-700); border-color: var(--yellow); }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.contact-card:hover { border-color: var(--brand); transform: translateX(4px); }
.contact-card h4 { margin: 0; }
.map { border-radius: var(--radius); overflow: hidden; }
.map iframe { border: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.post-card { overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-card .card-img-top { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.post-card h3 { font-size: 1.25rem; }
.article-title { max-width: 860px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; margin: -40px 0 0; box-shadow: var(--shadow-lg); position: relative; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .article-cover { margin-top: -20px; aspect-ratio: 16 / 10; } }

/* ----- 12. Mobile booking bar + motion ----- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1015; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(36, 33, 63, .08); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 767.98px) { body.has-mobile-bar { padding-bottom: 78px; } }
@media (min-width: 768px) { .mobile-bar { display: none !important; } }
/* Scroll reveal (classes added by site.js) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .site-header > .container, .site-header.is-scrolled > .container { height: 64px; }
  .logo img, .site-header.is-scrolled .logo img { height: 44px; }
  .whatsapp-fab { bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .steps-wrap .road__car { inset-inline-start: calc(100% - 40px); }
  .js .reveal { opacity: 1; transform: none; }
}

/* Right-to-left (Arabic): mirror what logical properties can't express */
[dir="rtl"] .btn:hover svg { transform: translateX(-3px); }
[dir="rtl"] .form-select { background-position: left .95rem center; }
[dir="rtl"] .site-header .nav-link::after { transform-origin: right; }
[dir="rtl"] .city-list li:hover, [dir="rtl"] .contact-card:hover { transform: translateX(-4px); }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg.icon-arrow { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
/* Tom Select forces its LTR caret padding with !important: mirror it (caret on the left, icon on the right) */
[dir="rtl"] .ts-wrapper.form-select .ts-control { padding-left: 2.5rem !important; padding-right: .95rem !important; }
[dir="rtl"] .input-icon .ts-wrapper.form-select .ts-control { padding-right: 2.7rem !important; }

/* Topic blocks leading to the guides (jc.partials.guide-spotlight) */
.spot-media { position: relative; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot-media__icon { position: absolute; bottom: 22px; inset-inline-start: 22px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: var(--shadow); }
.spot-badge { position: absolute; bottom: 22px; inset-inline-end: 22px; max-width: 70%; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: var(--white); color: var(--ink-2); box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.3; }
.spot-badge strong { font-size: 1.6rem; line-height: 1; color: var(--brand-700); white-space: nowrap; }
.spot-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.spot-points__tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--success-bg); color: var(--success); }

.spot-route { position: relative; overflow: hidden; }
.spot-route::before { content: ''; position: absolute; inset-inline-start: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(242, 193, 46, .1); }
.spot-route .eyebrow { color: var(--yellow); }
.route-map { position: relative; display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.route-map::before { content: ''; position: absolute; inset-inline-start: 41px; top: 46px; bottom: 46px; border-inline-start: 2px dashed rgba(242, 193, 46, .6); transform-origin: top; transition: transform 1.4s var(--ease); }
.js .route-map::before { transform: scaleY(0); }
.js .route-map.is-visible::before { transform: none; }
.route-map__stop { position: relative; display: flex; align-items: center; gap: 16px; }
.route-map__stop strong { display: block; color: var(--white); font-weight: 600; }
.route-map__stop small { color: #A9A6C8; }
.route-map__dot { position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-900); border: 3px solid var(--yellow); }
.route-map__stop:last-child .route-map__dot { background: var(--yellow); color: var(--ink); }
@media (min-width: 992px) {
  .route-map { flex-direction: row; padding: 40px 28px; }
  .route-map::before { top: 53px; bottom: auto; inset-inline: calc((100% - 56px) / (var(--stops) * 2) + 28px); border-inline-start: 0; border-top: 2px dashed rgba(242, 193, 46, .6); transform-origin: left; }
  [dir="rtl"] .route-map::before { transform-origin: right; }
  .js .route-map::before { transform: scaleX(0); }
  .route-map__stop { flex: 1; flex-direction: column; gap: 12px; text-align: center; }
  .route-map__stop small { display: block; }
}
@media (max-width: 991.98px) { .route-map__stop small { margin-inline-start: 6px; } .route-map__stop strong { display: inline; } }

.spot-card { position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100); }
.spot-card--yellow { background: var(--yellow-50); border-color: #F7E7B0; }
.spot-card > * { position: relative; }
.spot-card .icon-box { background: var(--white); }
.spot-card .spot-card__deco { position: absolute; top: -30px; inset-inline-end: -30px; color: var(--brand-700); opacity: .07; pointer-events: none; }
.spot-card--yellow .spot-card__deco { color: var(--yellow-600); opacity: .14; }
.spot-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--white); font-size: .87rem; font-weight: 500; color: var(--ink-2); }
.spot-chips svg { color: var(--success); }

.spot-banner { padding: 28px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); border-inline-start: 5px solid var(--yellow); box-shadow: var(--shadow); }
.spot-banner__icon { flex: none; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-900); color: var(--yellow); }
@media (max-width: 575.98px) { .spot-card, .spot-banner { padding: 24px; } .spot-media { border-radius: 110px 110px var(--radius-lg) var(--radius-lg); } }

/* Daily price grid on the prices guide (landing.blade.php, config price_table) */
.price-table { border: 1px solid var(--line); border-radius: var(--radius); }
.price-table .table { --bs-table-bg: transparent; font-size: .93rem; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: .7rem .9rem; white-space: nowrap; }
.price-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); background: var(--bg-soft); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table a { text-decoration: none; color: var(--ink); }
.price-table a:hover { color: var(--brand-700); }

/* Bootstrap's g-5 gutter (3rem) is wider than the container padding on phones and made pages scroll sideways by a few pixels */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
