/* ==========================================================================
   AUTO LEASE GLOBAL — Website refresh (Nov 2026)
   Loaded after site.css on every public page. Interaction polish, the hero
   entrance, tighter type and fixes for layouts that looked unfinished.
   ========================================================================== */

/* ---------- Type ---------- */
.site { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
.site h1, .site h2 { letter-spacing: -.035em; text-wrap: balance; }
.site h3 { letter-spacing: -.02em; text-wrap: balance; }
.site p, .site li { text-wrap: pretty; }
.site .section-head h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; }
.site .lead { line-height: 1.55; }
.site .money, .site .vcard .price, .site .num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons step on hover and press on click ---------- */
.site .btn { transition: background-color .16s, color .16s, border-color .16s, box-shadow .16s, transform .12s; }
.site .btn:hover:not(:disabled) { transform: translateY(-1px); }
.site .btn:active:not(:disabled) { transform: translateY(1px) scale(.985); transition-duration: .05s; }
.site .btn.accent:hover, .site .btn:not(.secondary):not(.ghost):not(.on-dark):hover { box-shadow: 0 6px 18px rgb(212 17 27 / .22); }
.site .btn svg { transition: transform .16s; }
.site .btn:hover svg:last-child:not(:first-child) { transform: translateX(2px); }
.site :focus-visible { outline: 2px solid #d4111b; outline-offset: 3px; border-radius: 6px; }

/* Text links draw their underline */
.site main p a:not(.btn), .site .footer a:not(.btn), .site .site-footer a:not(.btn) {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .22s ease;
}
.site main p a:not(.btn):hover, .site .site-footer a:not(.btn):hover { background-size: 100% 1px; text-decoration: none; }

/* ---------- Header ---------- */
.site .site-header { transition: box-shadow .2s, background-color .2s; }
.site .site-header.scrolled { box-shadow: 0 1px 0 rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .06); }
.site .dropdown { transition: opacity .16s, transform .16s, visibility .16s; }

/* ---------- Hero: enters once on load ---------- */
@keyframes al-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes al-fade { from { opacity: 0; } to { opacity: 1; } }
.site .hero2-copy > * { animation: al-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.site .hero2-copy > :nth-child(2) { animation-delay: .06s; }
.site .hero2-copy > :nth-child(3) { animation-delay: .12s; }
.site .hero2-copy > :nth-child(4) { animation-delay: .18s; }
.site .hero2-copy > :nth-child(5) { animation-delay: .24s; }
.site .search-panel { animation: al-rise .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
.site .hero2-media { animation: al-fade 1.1s ease-out both; }
.site .hero2.has-photo .hero2-media { transform-origin: 60% 50%; animation: al-fade 1.1s ease-out both, al-settle 6s ease-out both; }
@keyframes al-settle { from { transform: scale(1.06); } to { transform: none; } }
.site .search-panel { border-radius: 16px; box-shadow: 0 30px 80px rgb(0 0 0 / .35); }

/* ---------- Trust strip ---------- */
.site .trust svg { color: #d4111b; }

/* ---------- Vehicle cards ---------- */
.site .vcard { will-change: transform; }
.site .vcard:hover { transform: translateY(-2px); }
.site .vcard .ph img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.site .vcard:hover .ph img { transform: scale(1.03); }
.site .vcard .fav { transition: transform .15s, background-color .15s; }
.site .vcard .fav:hover { transform: scale(1.08); }
.site .vcard .fav:active { transform: scale(.94); }
.site .body-tile { transition: transform .18s, box-shadow .18s, border-color .18s; }
.site .body-tile:hover { transform: translateY(-2px); }
.site .body-tile img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.site .body-tile:hover img { transform: scale(1.04); }
.site .promo, .site .promo-card { transition: transform .18s, box-shadow .18s; }
.site a.promo:hover, .site .promo-card:hover { transform: translateY(-2px); }
.site .promo-ph img, .site .pc-img img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.site a.promo:hover .promo-ph img, .site .promo-card:hover .pc-img img { transform: scale(1.03); }

/* ---------- One current offer: a wide card instead of a lone narrow one ---------- */
.site .promo-grid:has(> .promo-card:only-child) { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .site .promo-grid > .promo-card:only-child { flex-direction: row; align-items: stretch; }
  .site .promo-grid > .promo-card:only-child .pc-img { flex: 0 0 42%; aspect-ratio: auto; min-height: 260px; }
  .site .promo-grid > .promo-card:only-child .pc-noimg { min-height: 0; background: linear-gradient(135deg, #070708 0 62%, #d4111b 62%); }
  .site .promo-grid > .promo-card:only-child .pc-body { padding: 28px 32px; }
  .site .promo-grid > .promo-card:only-child .pc-body h3 { font-size: 26px; }
}
/* Two offers fill the row instead of leaving a third of it empty */
@media (min-width: 760px) {
  .site .promo-grid:has(> .promo-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Cookie notice: a small card in the corner, never over the page's content ---------- */
@media (min-width: 721px) {
  .site .cookie-bar { left: 16px; right: auto; bottom: 16px; width: min(420px, calc(100vw - 32px)); border-radius: 14px; animation: al-rise .4s ease-out both; }
  .site .cookie-bar .wrap { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px; }
  .site .cookie-bar p { font-size: 13.5px; line-height: 1.5; }
  .site .cookie-bar .row { justify-content: flex-end; }
}

/* ---------- Sections ---------- */
.site .finance-band { border-radius: 20px; }
.site .steps-card { border-radius: 18px; }
.site .map-wrap { border-radius: 18px; }

/* ---------- Forms ---------- */
.site .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .site .field select, .site .field textarea { transition: border-color .15s, box-shadow .15s; }
.site .field input:focus, .site .field select:focus, .site .field textarea:focus { border-color: #d4111b; box-shadow: 0 0 0 3px rgb(212 17 27 / .14); }

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  .site .section-head h2 { font-size: 28px; }
  .site .btn { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; }
  .site .btn:hover, .site .vcard:hover, .site .body-tile:hover { transform: none; }
}

/* ---------- Offer card fixes ---------- */
/* The "Ends …" clock icon had no size on the website and rendered ~60px tall. */
.pc-meta { align-items: center; }
.pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pc-meta svg { width: 14px; height: 14px; flex: none; }
@media (min-width: 760px) {
  /* A single offer without a photo shows its offer as a big type block */
  .site .promo-grid > .promo-card:only-child .pc-noimg { flex-basis: 36%; display: grid; place-items: center; }
  .site .promo-grid > .promo-card:only-child .pc-noimg .pc-offer { position: static; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; padding: 14px 22px; border-radius: 14px; background: #d4111b; box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
}

/* ---------- Body-style tiles fill the row (4 tiles no longer stop at two-thirds) ---------- */
@media (min-width: 721px) { .site .body-tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.site .body-tile { padding: 12px 12px 20px; gap: 2px; }
.site .body-tile img, .site .body-tile .all-ic { aspect-ratio: 16 / 9; }

/* ---------- Selects: one chevron everywhere instead of the browser's default ---------- */
.site .field select, .site .toolbar select, .site select.input, .site .sort select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2363636b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.site .hero2 h1 { letter-spacing: -.03em; }

/* ---------- Phone: give the first screen back to the hero ----------
   The phone number lives in the bottom Call bar on phones, so the top bar
   shows one line (account + language) and the announcement fits one line. */
@media (max-width: 720px) {
  .site .announce { font-size: 12.5px; padding: 6px 12px; line-height: 1.35; }
  .site .announce svg { display: none; }
  .site .site-top .wrap { padding: 6px 0; justify-content: space-between; flex-wrap: nowrap; }
  .site .site-top .wrap > .row:first-child { display: none; }
  .site .site-top .top-phone { display: none; }
  .site .site-top .row { flex-wrap: nowrap; }
  .site .demo-banner { font-size: 12px; padding: 6px 12px; }
}
