/* Website (Code)/public/assets/css/rental-v3.css
   v1  ·  2026-10-28 MYT

   /rental-v3: the Rental page ordered as a funnel (see the page's header comment). On top of v2.css: the
   full-screen hero, the class tiles, the occasion cards, the dark proof band, the three steps and the options, the
   new-arrival cards, and the small "more ways to drive" row after the close. Every class here starts r3-. */

.r3-btn--blue { background: var(--focus); color: var(--white); }
.r3-btn--blue:hover { background: var(--blue-hover); }
.r3-btn--blue:active { background: #006edb; }

/* A text link that is a <button> (opens a modal). */
.r3-more { padding: 0; border: 0; background: none; font: inherit; font-size: 17px; cursor: pointer; }

/* ── 1 · Hero ── */

.r3-hero {
    position: relative; overflow: hidden;
    display: flex; align-items: flex-end;
    min-height: calc(100svh - var(--gn-h)); max-height: 1100px;
    background: var(--black); color: var(--on-dark);
}
/* The car sits on the right and fades into black on the left, where the words are; on phones it sits above them. */
.r3-hero__img {
    position: absolute; top: 0; right: 0; width: 74%; height: 100%;
    object-fit: cover; object-position: 50% 55%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, var(--black) 34%), linear-gradient(180deg, var(--black) 72%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, var(--black) 34%), linear-gradient(180deg, var(--black) 72%, transparent 100%);
    mask-composite: intersect;
}
.r3-hero__copy { position: relative; z-index: 1; padding-block: 120px 88px; }
.r3-hero__eyebrow { font-size: 21px; line-height: 1.19048; font-weight: 600; letter-spacing: .011em; color: rgba(245, 245, 247, .8); }
.r3-hero__title {
    margin-top: 10px;
    font-size: 112px; line-height: 1; font-weight: 700; letter-spacing: -0.02em;
}
.r3-hero__sub { max-width: 500px; margin-top: 18px; font-size: 28px; line-height: 1.14286; letter-spacing: .007em; color: rgba(245, 245, 247, .9); }
.r3-hero__cta { margin-top: 36px; padding: 14px 30px; font-size: 19px; }
.r3-hero__trust { margin-top: 20px; font-size: 14px; line-height: 1.42859; letter-spacing: -0.016em; color: rgba(245, 245, 247, .72); }
.r3-hero__trust span { margin-inline: .45em; }

/* ── Section heads ── */

.r3-head { margin-bottom: 56px; }
.r3-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.r3-head--row .more { flex: none; padding-bottom: 6px; }
.r3-head__title { font-size: 56px; line-height: 1.07143; font-weight: 600; letter-spacing: -0.005em; }
.r3-head__lede { max-width: 680px; margin-top: 14px; color: var(--ink-2); font-size: 21px; line-height: 1.38105; letter-spacing: .011em; }

/* ── 2 · The range: six class tiles ── */

.r3-classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.r3-class a {
    display: flex; flex-direction: column; align-items: center; height: 100%;
    padding: 40px 32px 32px; border-radius: 28px;
    background: var(--bg-alt); text-align: center;
    transition: transform .4s var(--ease-hover), box-shadow .4s var(--ease-hover);
}
.r3-class a:hover { transform: scale(1.01); box-shadow: 2px 4px 16px rgba(0, 0, 0, .08); }
.r3-class__name { font-size: 32px; line-height: 1.125; font-weight: 600; letter-spacing: .004em; }
.r3-class__tag { margin-top: 6px; color: var(--ink-2); font-size: 17px; line-height: 1.23536; }
.r3-class img { width: 100%; max-width: 380px; height: auto; margin: 28px 0 20px; }
.r3-class__price { margin-top: auto; color: var(--gold-ink); font-size: 17px; line-height: 1.23536; font-weight: 600; }

.r3-brands { margin-top: 56px; text-align: center; }
.r3-brands__label { color: var(--ink-2); font-size: 17px; }
.r3-brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.r3-brands__list a {
    display: block; padding: 9px 18px; border-radius: 980px;
    box-shadow: inset 0 0 0 1px var(--hair); font-size: 14px; line-height: 1.42859;
    transition: box-shadow .2s var(--ease-hover);
}
.r3-brands__list a:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }

/* ── 3 · The occasion: four photo cards ── */

.r3-occs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.r3-occ a {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 4 / 3; border-radius: 28px; background: var(--ink); color: var(--white);
}
.r3-occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.r3-occ a:hover img { transform: scale(1.03); }
.r3-occ a::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .72) 100%);
}
.r3-occ__copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; padding: 36px; }
.r3-occ__title { font-size: 32px; line-height: 1.125; font-weight: 600; letter-spacing: .004em; }
.r3-occ__body { max-width: 460px; margin-top: 8px; font-size: 17px; line-height: 1.41; color: rgba(255, 255, 255, .86); }
.r3-occ__cta { display: inline-flex; align-items: center; gap: .3em; margin-top: 14px; font-size: 17px; font-weight: 600; }
.r3-occ a:hover .r3-occ__cta { text-decoration: underline; text-underline-offset: .15em; }

/* ── 4 · Proof: dark band ── */

.r3-proof { text-align: center; }
.r3-proof__label { color: var(--ink-3); font-size: 21px; line-height: 1.19048; font-weight: 600; letter-spacing: .011em; }
.r3-quote { margin-top: 28px; }
.r3-quote__text { font-size: 48px; line-height: 1.08349; font-weight: 600; letter-spacing: -0.003em; }
.r3-quote__by { margin-top: 28px; color: var(--ink-3); font-size: 17px; }
.r3-quote__by strong { color: var(--on-dark); font-weight: 600; }
.r3-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 96px; }
.r3-stat { display: flex; flex-direction: column; align-items: center; }
.r3-stat__value { color: var(--gold); font-size: 56px; line-height: 1.07143; font-weight: 600; letter-spacing: -0.005em; }
.r3-stat__post { max-width: 280px; margin-top: 10px; color: var(--ink-3); font-size: 17px; line-height: 1.41; }
.r3-proof sup.fn a { color: inherit; }

/* ── 5 · No risk: three steps, then the options ── */

.r3-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.r3-step { padding: 40px 36px; border-radius: 28px; background: var(--bg-alt); }
.r3-step__n {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--ink); color: var(--white); font-size: 17px; font-weight: 600;
}
.r3-step__title { margin-top: 28px; font-size: 28px; line-height: 1.14286; font-weight: 600; letter-spacing: .007em; }
.r3-step p { margin-top: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.41; }
.r3-step .r3-more { margin-top: 16px; }

.r3-extras { margin-top: 72px; }
.r3-extras__title { font-size: 24px; line-height: 1.16667; font-weight: 600; letter-spacing: .009em; }
.r3-extras__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.r3-extras__list li { display: flex; flex-direction: column; gap: 14px; }
.r3-extras__list > li > svg { width: 32px; height: 32px; stroke-width: 1.5; color: var(--ink); }
.r3-extras__list span { color: var(--ink-2); font-size: 17px; line-height: 1.41; }
.r3-extras__list strong { color: var(--ink); font-weight: 600; }

/* ── 6 · New in the fleet: product cards ── */

.r3 .deal {
    width: 372px; height: auto; padding: 0; overflow: hidden;
    background: var(--bg);
}
.r3 .deal__media img { width: 100%; height: auto; aspect-ratio: 372 / 300; object-fit: cover; }
.r3 .deal__body { padding: 24px 28px 0; }
.r3 .deal__badge { color: var(--deal); font-size: 12px; line-height: 1.33337; font-weight: 600; letter-spacing: -0.01em; }
.r3 .deal__badge:empty { display: none; }
.r3 .deal__name { margin-top: 4px; font-size: 24px; line-height: 1.16667; font-weight: 600; letter-spacing: .009em; }
.r3 .deal__class { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.42859; }
.r3 .deal__price { margin-top: 14px; font-size: 17px; line-height: 1.23536; }
.r3 .deal__ctas { margin-top: auto; padding: 20px 28px 28px; }
.r3 .deal__link { min-height: 36px; padding: 8px 18px; font-size: 14px; }
.r3-ask { margin-top: 36px; text-align: center; color: var(--ink-2); }
.r3-ask .more { margin-left: 4px; }

/* ── After the close: the other services, small ── */

.r3-more-ways { padding-block: 72px 88px; background: var(--bg); }
.r3-more-ways__title { font-size: 24px; line-height: 1.16667; font-weight: 600; letter-spacing: .009em; }
.r3-more-ways__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
.r3-more-ways__list a { display: block; height: 100%; padding: 24px; border-radius: 20px; background: var(--bg-alt); transition: background-color .2s var(--ease-hover); }
.r3-more-ways__list a:hover { background: var(--platter); }
.r3-more-ways__list strong { display: block; font-size: 19px; line-height: 1.21053; font-weight: 600; }
.r3-more-ways__list span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.42859; }

/* ── Tablet ── */

@media (max-width: 1068px) {
    .r3-hero__title { font-size: 88px; }
    .r3-hero__sub { font-size: 24px; line-height: 1.16667; }
    .r3-head__title { font-size: 48px; line-height: 1.08349; letter-spacing: -0.003em; }
    .r3-class a { padding: 32px 20px 24px; }
    .r3-class__name { font-size: 28px; line-height: 1.14286; }
    .r3-occ__copy { padding: 28px; }
    .r3-occ__title { font-size: 28px; line-height: 1.14286; }
    .r3-quote__text { font-size: 40px; line-height: 1.1; }
    .r3-stat__value { font-size: 48px; line-height: 1.08349; }
    .r3-step { padding: 32px 26px; }
    .r3-step__title { font-size: 24px; line-height: 1.16667; }
    .r3-extras__list, .r3-more-ways__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Phone ── */

@media (max-width: 734px) {
    .r3-hero { display: block; min-height: 0; max-height: none; }
    .r3-hero__img {
        position: relative; width: 100%; height: auto; aspect-ratio: 5 / 4; object-position: 50% 60%;
        -webkit-mask-image: linear-gradient(180deg, var(--black) 70%, transparent 100%); -webkit-mask-composite: source-over;
        mask-image: linear-gradient(180deg, var(--black) 70%, transparent 100%); mask-composite: add;
    }
    .r3-hero__copy { padding-block: 0 56px; margin-top: -24px; }
    .r3-hero__eyebrow { font-size: 17px; line-height: 1.23536; }
    .r3-hero__title { font-size: 56px; line-height: 1.07143; }
    .r3-hero__sub { font-size: 19px; line-height: 1.4211; letter-spacing: .012em; }
    .r3-hero__cta { margin-top: 28px; }
    .r3-hero__trust { font-size: 12px; line-height: 1.5; }
    .r3-head { margin-bottom: 32px; }
    .r3-head--row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .r3-head__title { font-size: 36px; line-height: 1.11111; letter-spacing: 0; }
    .r3-head__lede { font-size: 19px; line-height: 1.4211; letter-spacing: .012em; }
    .r3-classes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .r3-class a { padding: 24px 12px 20px; border-radius: 20px; }
    .r3-class__name { font-size: 21px; line-height: 1.19048; }
    .r3-class__tag { font-size: 14px; line-height: 1.42859; }
    .r3-class img { margin: 16px 0 12px; }
    .r3-class__price { font-size: 14px; line-height: 1.42859; }
    .r3-brands { margin-top: 40px; }
    .r3-occs { grid-template-columns: 1fr; }
    .r3-occ a { aspect-ratio: 4 / 5; border-radius: 20px; }
    .r3-occ__copy { padding: 24px; }
    .r3-occ__title { font-size: 24px; line-height: 1.16667; }
    .r3-quote__text { font-size: 28px; line-height: 1.14286; letter-spacing: .007em; }
    .r3-stats { grid-template-columns: 1fr; gap: 36px; margin-top: 56px; }
    .r3-stat__value { font-size: 40px; line-height: 1.1; }
    .r3-steps { grid-template-columns: 1fr; gap: 12px; }
    .r3-step { padding: 28px 24px; border-radius: 20px; }
    .r3-step__title { margin-top: 20px; }
    .r3-extras { margin-top: 48px; }
    .r3-extras__title { font-size: 21px; line-height: 1.19048; }
    .r3-extras__list, .r3-more-ways__list { grid-template-columns: 1fr; gap: 20px; }
    .r3-extras__list li { flex-direction: row; align-items: flex-start; }
    .r3-extras__list > li > svg { flex: none; width: 28px; height: 28px; }
    .r3 .deal { width: 78vw; }
    .r3-more-ways { padding-block: 56px 64px; }
    .r3-more-ways__list { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .r3-class a, .r3-occ img { transition: none; }
    .r3-class a:hover, .r3-occ a:hover img { transform: none; }
}
