/* ==========================================================================
   LookBookAir — car rentals page v2 (loads after site.css + home.css, which hold the shared hero/section styles)
   ========================================================================== */

/* the small labels above section headings stay in the page for screen readers but are not shown */
.lb-kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


/* ---------- hero ---------- */
.lb-hero--car .lb-hero__bg img { object-position: center 46%; }
.lb-hero--car .lb-hero__bg::after {
    background:
        linear-gradient(90deg, rgba(3, 22, 41, .88) 0%, rgba(5, 32, 60, .6) 46%, rgba(5, 32, 60, .2) 100%),
        linear-gradient(180deg, rgba(3, 22, 41, .1) 0%, rgba(3, 22, 41, 0) 45%, rgba(3, 22, 41, .5) 100%);
}
.lb-bk--solo { padding: 16px; }

/* ---------- rental brands ---------- */
.lb-brands { padding: 24px 0 4px; }
.lb-brands__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.lb-brands__track { display: flex; align-items: center; width: max-content; animation: lb-brands 34s linear infinite; }
.lb-brands__marquee:hover .lb-brands__track { animation-play-state: paused; }
@keyframes lb-brands { to { transform: translateX(-50%); } }
.lb-brands__item { flex: none; display: grid; place-items: center; width: 150px; height: 56px; margin-inline: 14px; }
.lb-brands__item img { width: auto; max-width: 118px; height: auto; max-height: 34px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.lb-brands__item:hover img { filter: none; opacity: 1; }

/* ---------- why compare ---------- */
.lb-cwhy {
    background-image:
        var(--lb-globe), var(--lb-dots),
        radial-gradient(38% 300px at 50% 130px, rgba(241, 245, 249, .95), transparent 100%);
    background-position: left -300px top 10px, right -180px bottom 0, 0 0;
    background-size: 620px, 480px, auto;
}
.lb-cwhy__intro { max-width: 860px; margin: 0 auto clamp(24px, 3vw, 38px); text-align: center; color: var(--text); line-height: 1.7; }
.lb-cwhy__intro p + p { margin-top: 12px; }
.lb-cwhy__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lb-feat { padding: 18px 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.lb-feat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.lb-feat__num { display: inline-grid; place-items: center; min-width: 38px; height: 28px; padding: 0 9px; margin-bottom: 12px; border-radius: 8px; background: var(--orange-50); color: var(--orange-700); font: 800 .8rem/1 var(--ff-head); letter-spacing: .02em; transition: background-color .3s var(--ease), color .3s var(--ease); }
.lb-feat:hover .lb-feat__num { background: var(--orange); color: #fff; }
.lb-body .lb-feat__title { font: 700 .98rem/1.35 var(--ff-head); letter-spacing: -.005em; }
.lb-feat__text { margin-top: 7px !important; font-size: .86rem; line-height: 1.55; color: var(--muted); }

/* ---------- how it works ---------- */
.lb-steps {
    background-image:
        var(--lb-dots), var(--lb-dots), var(--lb-rings),
        radial-gradient(560px 380px at 100% 320px, rgba(255, 102, 0, .06), transparent 100%),
        radial-gradient(600px 380px at 0% calc(100% - 260px), rgba(27, 71, 117, .08), transparent 100%),
        linear-gradient(180deg, #fff 0, var(--bg) 150px, var(--bg) calc(100% - 150px), #fff 100%);
    background-position: right -150px top 30px, left -170px bottom 20px, right -250px top 80px, 0 0, 0 0, 0 0;
    background-size: 480px, 480px, 640px, auto, auto, auto;
}
.lb-steps__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* dashed road linking the three steps */
.lb-steps__grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 44px; border-top: 2px dashed rgba(5, 32, 60, .16); }
.lb-step { position: relative; padding: 22px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.lb-step:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.lb-step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 .92rem/1 var(--ff-head); box-shadow: 0 0 0 6px #fff, 0 10px 20px -10px rgba(5, 32, 60, .6); transition: background-color .3s var(--ease); }
.lb-step:hover .lb-step__num { background: var(--orange); }
.lb-body .lb-step__title { font: 700 1.08rem/1.3 var(--ff-head); letter-spacing: -.01em; }
.lb-step__text { margin-top: 8px !important; font-size: .9rem; line-height: 1.6; color: var(--text); }

/* ---------- trip types ---------- */
.lb-trips__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lb-trip { grid-column: span 2; display: flex; align-items: flex-start; gap: 14px; padding: 18px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.lb-trip:nth-child(n + 4) { grid-column: span 3; }
.lb-trip:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.lb-trip__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-50); color: var(--orange-700); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.lb-trip__icon .lb-ico { width: 21px; height: 21px; }
.lb-trip:hover .lb-trip__icon { background: var(--orange); color: #fff; transform: rotate(-4deg); }
.lb-body .lb-trip__title { font: 700 1.02rem/1.3 var(--ff-head); letter-spacing: -.005em; }
.lb-trip__text { margin-top: 6px !important; font-size: .88rem; line-height: 1.6; color: var(--muted); }

/* ---------- compare ---------- */
.lb-ccmp { background-image: linear-gradient(180deg, #fff 0, var(--bg) 150px, var(--bg) calc(100% - 150px), #fff 100%); }
.lb-ccmp__card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%); color: rgba(255, 255, 255, .8); box-shadow: var(--sh-2); }
.lb-ccmp__body { padding: clamp(22px, 3.4vw, 44px); }
.lb-body .lb-ccmp__title { font: 800 clamp(1.4rem, 2.2vw, 1.85rem)/1.18 var(--ff-head); letter-spacing: -.02em; color: #fff; }
.lb-ccmp__text { margin-top: 12px !important; line-height: 1.7; }
.lb-ccmp__points { display: grid; gap: 10px; margin-top: 20px; }
.lb-ccmp__point { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: #fff; line-height: 1.5; }
.lb-ccmp__point .lb-ico { width: 20px; height: 20px; margin-top: 1px; color: var(--orange); }
.lb-ccmp__side { min-height: 240px; background: url('/assets/images/brands/banner2.webp') center / cover no-repeat; }

/* ---------- faq: heading on the left (stays in view), questions as numbered cards on the right ---------- */
.lb-faq--list > .lb-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4.4vw, 64px); align-items: start; }
.lb-faq--list .lb-head { position: sticky; top: calc(var(--header-h) + 28px); max-width: none; margin: 0; text-align: left; }
.lb-faq--list .lb-head::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 20px; border-radius: 3px; background: var(--orange); }
.lb-faq--list .faq-accordion { display: grid; gap: 10px; counter-reset: lbfaq; }
.lb-faq--list .faq-item { counter-increment: lbfaq; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.lb-faq--list .faq-item:hover { border-color: #CBD5E1; }
.lb-faq--list .faq-item.active { border-color: rgba(255, 102, 0, .35); box-shadow: 0 18px 40px -26px rgba(5, 32, 60, .35); }
.lb-faq--list .faq-header { gap: 14px; padding: 16px 18px; }
.lb-faq--list .faq-header::before { content: counter(lbfaq, decimal-leading-zero); flex: none; width: 30px; font: 800 .8rem/1 var(--ff-head); color: var(--orange); letter-spacing: .02em; }
.lb-faq--list .faq-question { flex: 1; min-width: 0; }
.lb-faq--list .faq-answer { padding: 0 64px 0 62px; }
.lb-faq--list .faq-item.active .faq-answer { padding-bottom: 18px; }
.lb-faq--list .faq-item.active .faq-icon { background: var(--orange); border-color: var(--orange); }
@media (max-width: 1023.98px) {
    .lb-faq--list > .lb-wrap { grid-template-columns: 1fr; gap: 22px; }
    .lb-faq--list .lb-head { position: static; text-align: center; }
    .lb-faq--list .lb-head::after { margin-inline: auto; }
}
@media (max-width: 767.98px) {
    .lb-faq--list .faq-header { padding: 14px; gap: 10px; }
    .lb-faq--list .faq-header::before { width: 22px; }
    .lb-faq--list .faq-answer { padding: 0 14px 0 46px; }
}

/* ---------- closing call to action: navy card with a car ---------- */
.lb-ccta { padding-top: 0; }
/* the closing card sits on the FAQ's grey, so the background runs on without a white band */
.lb-faq--list + .lb-ccta { background: var(--bg); }
/* car FAQ: no shading or rings cut off at its bottom edge, so it flows into the closing card's grey */
.lb-faq.lb-faq--list {
    background-image: var(--lb-rings), radial-gradient(520px 360px at 0% 260px, rgba(255, 102, 0, .04), transparent 100%), linear-gradient(180deg, #fff 0, #fff 45%, var(--bg) 100%);
    background-position: left -330px top -160px, 0 0, 0 0;
    background-size: 640px, auto, auto;
}
@media (max-width: 767.98px) {
    .lb-faq.lb-faq--list { background-size: 420px, auto, auto; background-position: left -240px top -150px, 0 0, 0 0; }
}
.lb-ccta__card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 24px; isolation: isolate;
    min-height: 250px; padding: clamp(26px, 3.6vw, 46px) clamp(22px, 4vw, 52px); border-radius: var(--r-xl); color: rgba(255, 255, 255, .8);
    background-color: var(--navy);
    background-image:
        var(--lb-dots-w), var(--lb-rings-w),
        radial-gradient(330px 240px at 79% 58%, rgba(255, 102, 0, .42), rgba(255, 102, 0, 0) 100%),
        linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 52%, var(--navy-700) 100%);
    background-repeat: no-repeat;
    background-position: left -150px bottom -190px, right -150px center, 0 0, 0 0;
    background-size: 480px, 640px, auto, auto;
    box-shadow: var(--sh-2);
}
.lb-ccta__body { position: relative; z-index: 1; }
.lb-body .lb-ccta__title { font: 800 clamp(1.45rem, 2.5vw, 2.05rem)/1.16 var(--ff-head); letter-spacing: -.025em; color: #fff; }
.lb-ccta__text { max-width: 520px; margin: 12px 0 22px !important; line-height: 1.65; }
/* photo on the right half, fading into the navy card */
.lb-ccta__art { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
.lb-ccta__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .lb-cwhy__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
    .lb-trip, .lb-trip:nth-child(n + 4) { grid-column: span 3; }
    .lb-trip:last-child { grid-column: 1 / -1; }
    .lb-ccmp__card { grid-template-columns: 1fr; }
    .lb-ccmp__side { min-height: 220px; order: -1; }
}
@media (max-width: 767.98px) {
    .lb-bk--solo { padding: 12px 14px 16px; }
    .lb-brands { padding-top: 14px; }
    .lb-brands__item { width: 118px; margin-inline: 8px; }
    .lb-cwhy { background-size: 420px, 300px, auto; background-position: left -260px top 10px, right -120px bottom 0, 0 0; }
    .lb-cwhy__intro { text-align: left; }
    .lb-cwhy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .lb-feat:last-child { grid-column: 1 / -1; }
    .lb-steps { background-size: 300px, 300px, 420px, auto, auto, auto; background-position: right -110px top 20px, left -120px bottom 10px, right -200px top 80px, 0 0, 0 0, 0 0; }
    .lb-steps__grid { grid-template-columns: 1fr; gap: 12px; }
    /* on phones the dashed road runs down the left side instead */
    .lb-steps__grid::before { left: 43px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed rgba(5, 32, 60, .16); }
    .lb-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 16px 16px 16px 22px; }
    .lb-step__num { grid-row: 1 / span 2; margin-bottom: 0; }
    .lb-trips__grid { grid-template-columns: 1fr; gap: 10px; }
    .lb-trip, .lb-trip:nth-child(n + 4), .lb-trip:last-child { grid-column: auto; padding: 15px 15px; }
    .lb-ccmp__side { min-height: 170px; }
    .lb-ccta__card { grid-template-columns: 1fr; gap: 6px; padding-bottom: 20px; background-image: var(--lb-dots-w), var(--lb-rings-w), radial-gradient(260px 190px at 50% 82%, rgba(255, 102, 0, .4), rgba(255, 102, 0, 0) 100%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%); background-position: left -180px top -160px, right -260px bottom -200px, 0 0, 0 0; }
    .lb-ccta__body .lb-btn { width: 100%; }
    .lb-ccta__art { position: relative; width: auto; height: 190px; margin: 6px -22px -20px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); }
}
@media (max-width: 419.98px) {
    .lb-cwhy__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .lb-brands__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .lb-brands__item:nth-child(n + 8) { display: none; }
}

/* ===== "Why Renters Compare" with photo (2026-11-24): text right, photo left on big screens.
   Scoped to .lb-cwhy so the .lb-feat cards on the car landing pages keep their own look. ===== */
.lb-cwhy__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3vw, 30px); }
.lb-cwhy__media { position: relative; order: -1; margin: 0; border-radius: var(--r-xl); }
.lb-cwhy__media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 40% 50%; border-radius: inherit; box-shadow: 0 30px 60px -34px rgba(5, 32, 60, .55); }
.lb-cwhy__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 32, 60, 0) 55%, rgba(5, 32, 60, .38)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.lb-cwhy .lb-head { max-width: none; margin: 0 0 14px; text-align: left; }
.lb-cwhy .lb-head__sub { margin-left: 0; margin-right: 0; max-width: 62ch; }
.lb-cwhy .lb-cwhy__intro { max-width: none; margin: 0 0 22px; padding: 12px 16px; text-align: left; font-size: .92rem; line-height: 1.65;
    background: linear-gradient(90deg, var(--orange-50), rgba(255, 245, 238, 0)); border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; }
.lb-cwhy .lb-cwhy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lb-cwhy .lb-feat { display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; padding: 15px 16px; border-radius: 14px; }
.lb-cwhy .lb-feat:hover { border-color: var(--orange-100); }
.lb-cwhy .lb-feat__num { grid-row: 1 / span 2; min-width: 0; width: 38px; height: 38px; margin: 0; padding: 0; border-radius: 50%; font-size: .78rem; }
.lb-cwhy .lb-feat__title { margin-top: 1px; font-size: .95rem; }
.lb-cwhy .lb-feat__text { margin-top: 4px !important; font-size: .85rem; }
.lb-cwhy .lb-feat:last-child { grid-column: 1 / -1; }

@media (min-width: 1024px) {
    .lb-cwhy__layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 4vw, 56px); align-items: stretch; }
    .lb-cwhy__media { align-self: start; position: sticky; top: calc(var(--header-h, 64px) + 24px); }
    .lb-cwhy__media::before { content: ""; position: absolute; z-index: -1; left: -14px; bottom: -14px; width: 62%; height: 58%; border-radius: var(--r-xl);
        background: var(--orange-50); border: 1px solid var(--orange-100); }
    .lb-cwhy__media img { aspect-ratio: 4 / 5; object-position: 64% 50%; }
}
@media (max-width: 1023.98px) {
    .lb-cwhy__media img { max-height: 360px; }
}
@media (max-width: 599.98px) {
    .lb-cwhy .lb-cwhy__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .lb-cwhy__media img { aspect-ratio: 3 / 2; }
}

/* /car-rentals hero: "Find Car Rentals" on one line (the orange part stays orange) */
.lb-hero__title--one span { display: inline; }
@media (max-width: 767.98px) {
    .lb-body .lb-hero__title.lb-hero__title--one { max-width: none; font-size: clamp(2.15rem, 10vw, 2.6rem); text-align: center; }
}
