/* =========================================================
   Fresh Coin Auto Rental & More — landing page
   Colours come from the logo: red, black, white + a gold accent.
   ========================================================= */

:root {
  --red: #D7141A;
  --red-600: #B91116;
  --red-700: #9C0E12;
  --red-50: #FDEDED;
  --ink: #0F0F12;
  --ink-2: #16161B;
  --ink-3: #23232B;
  --gold: #F2B705;
  --gold-600: #D9A404;
  --white: #FFFFFF;
  --bg-soft: #F5F6F8;
  --line: #E5E7EB;
  --text: #1C1F26;
  --muted: #5D6471;
  --muted-2: #6B7280;
  --wa: #25D366;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 24, .06), 0 2px 6px rgba(16, 18, 24, .06);
  --shadow: 0 14px 34px -16px rgba(16, 18, 24, .28);
  --shadow-lg: 0 28px 64px -24px rgba(16, 18, 24, .38);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
section[id], [id^="cars"] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-fill { width: 20px; height: 20px; flex: none; fill: currentColor; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 700 .78rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--gold { color: var(--gold); }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: .005em;
  color: var(--ink);
  margin: .7rem 0 1rem;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.lead { color: var(--muted); font-size: clamp(1rem, .96rem + .2vw, 1.08rem); max-width: 40rem; }
.lead--light { color: rgba(255, 255, 255, .72); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.35rem;
  border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .i, .btn .i-fill { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: .6rem 1rem; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .95rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(215, 20, 26, .75); }
.btn--primary:hover { background: var(--red-600); box-shadow: 0 14px 28px -12px rgba(215, 20, 26, .8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white { background: #fff; color: var(--red); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5); }
.btn--white:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .93rem; color: var(--red); text-decoration: none;
}
.link-arrow .i { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- top bar ---------- */
.topbar { display: none; background: var(--ink); color: rgba(255, 255, 255, .75); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 40px; }
.topbar__item, .topbar__links a { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .i { width: 15px; height: 15px; color: var(--gold); }
.topbar__sep { opacity: .5; margin-inline: .25rem; }
.topbar__links { display: flex; align-items: center; gap: 1.4rem; }
.topbar__links a { text-decoration: none; transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar__handle { display: none; }
@media (min-width: 900px) { .topbar { display: block; } }
@media (min-width: 1200px) { .topbar__handle { display: inline; } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); }
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 48px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 62px; } }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.1rem); }
  .nav a {
    position: relative; padding: .5rem 0;
    font-weight: 600; font-size: .93rem; color: var(--ink); text-decoration: none;
    transition: color .2s;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--red); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav a:hover, .nav a.is-active { color: var(--red); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
}

.header__actions { display: flex; align-items: center; gap: .75rem; }
.header__call { display: none; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.header__call-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red-50); color: var(--red);
}
.header__call-icon .i { width: 18px; height: 18px; }
.header__call-text { display: flex; flex-direction: column; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.header__call-text small { font-weight: 500; font-size: .74rem; color: var(--muted); }
@media (min-width: 1200px) { .header__call { display: inline-flex; } }

.header__actions .btn--sm span { display: none; }
@media (min-width: 420px) { .header__actions .btn--sm span { display: inline; } }

.burger {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, color .2s;
}
.burger:hover { border-color: var(--red); color: var(--red); }
.burger .i { width: 22px; height: 22px; }
@media (min-width: 1024px) { .burger { display: none; } }

/* ---------- mobile drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(10, 10, 12, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(86vw, 360px);
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .35);
  transform: translateX(105%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
  overflow-y: auto;
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head img { height: 44px; width: auto; }
.drawer__close {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft); border: 0; color: var(--ink);
}
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  padding: .85rem .2rem; border-bottom: 1px solid var(--line);
  font: 700 1.45rem/1.1 var(--font-display); letter-spacing: .01em;
  color: var(--ink); text-decoration: none; transition: color .2s, padding .3s var(--ease);
}
.drawer__nav a:hover { color: var(--red); padding-left: .6rem; }
.drawer__foot { margin-top: auto; display: grid; gap: .7rem; }
.drawer__meta { color: var(--muted); font-size: .85rem; text-align: center; margin-top: .3rem; }
body.is-locked { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  /* phones/tablets: the photo sits on top and fades into the text below it */
  --hero-img-h: clamp(270px, 74vw, 520px);
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-start;
  color: #fff; background: var(--ink); overflow: hidden;
  touch-action: pan-y;
}
.hero__slides { position: absolute; left: 0; right: 0; top: 0; height: var(--hero-img-h); z-index: -2; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(1.02);
}
.hero__slide.is-active img { animation: heroZoom 8s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }

.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--hero-img-h) + 2px); z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, .35) 0%, rgba(10, 10, 12, 0) 22%, rgba(10, 10, 12, 0) 44%, rgba(10, 10, 12, .86) 76%, var(--ink) 97%);
}
@media (min-width: 900px) {
  .hero { justify-content: center; min-height: clamp(600px, calc(100vh - var(--header-h) - 40px), 860px); }
  .hero__slides { inset: 0; height: auto; }
  .hero::before {
    inset: 0; height: auto;
    background:
      linear-gradient(90deg, rgba(10, 10, 12, .9) 0%, rgba(10, 10, 12, .66) 36%, rgba(10, 10, 12, .2) 68%, rgba(10, 10, 12, .08) 100%),
      linear-gradient(180deg, rgba(10, 10, 12, 0) 60%, rgba(10, 10, 12, .55) 100%);
  }
}

.hero__inner { padding-top: calc(var(--hero-img-h) - 60px); padding-bottom: 150px; }
@media (min-width: 900px) { .hero__inner { padding-top: 72px; padding-bottom: 150px; } }

.hero__captions { display: grid; max-width: 660px; }
.hero__caption {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(18px); visibility: hidden;
  transition: opacity .55s ease, transform .55s var(--ease), visibility 0s linear .55s;
}
.hero__caption.is-active {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity .8s ease .35s, transform .8s var(--ease) .35s, visibility 0s;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  font: 600 .74rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 479px) { .hero__eyebrow { font-size: .66rem; letter-spacing: .08em; padding: .45rem .8rem; } }
@media (max-width: 359px) { .hero__eyebrow { font-size: .62rem; letter-spacing: .04em; gap: .45rem; padding: .45rem .7rem; } }
@supports (backdrop-filter: blur(6px)) { .hero__eyebrow { backdrop-filter: blur(6px); } }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 183, 5, .22); flex: none; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.35rem, 1.2rem + 5.2vw, 5.4rem);
  line-height: .98; letter-spacing: .005em; text-transform: uppercase;
  margin: 1.1rem 0 1.1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero__title .hl { color: var(--gold); }
.hero__text { max-width: 34rem; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, .95rem + .3vw, 1.16rem); margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

.hero__controls { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 2; }
@media (min-width: 900px) { .hero__controls { bottom: 104px; } }
.hero__controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero__pager { display: flex; align-items: center; gap: 1.1rem; }
.hero__count { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .06em; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.hero__count b { font-size: 1.7rem; color: #fff; margin-right: .3rem; }
.hero__bars { display: flex; gap: 6px; }
.hero__bar { width: 44px; height: 24px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.hero__bar i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; }
.hero__bar i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done i::after { transform: scaleX(1); }
.hero__bar.is-active i::after { transform: scaleX(1); }
.hero.is-auto .hero__bar.is-active i::after { transform: scaleX(0); animation: barFill var(--hero-dur, 6500ms) linear forwards; }
.hero.is-paused .hero__bar.is-active i::after { animation-play-state: paused; }
@keyframes barFill { to { transform: scaleX(1); } }
@media (max-width: 400px) {
  .hero__pager { gap: .75rem; }
  .hero__bars { gap: 4px; }
  .hero__bar { width: 24px; }
  .hero__arrows { gap: .5rem; }
  .hero__arrows .round-btn { width: 42px; height: 42px; }
}

.hero__arrows { display: flex; gap: .6rem; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff;
  transition: background-color .25s, color .25s, border-color .25s;
}
.round-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- quick booking ---------- */
.booking { position: relative; z-index: 5; margin-top: -60px; }
@media (min-width: 900px) { .booking { margin-top: -74px; } }
.booking__card {
  display: grid; gap: 14px;
  padding: 20px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(229, 231, 235, .7);
}
.booking__title { font: 700 1.5rem/1.1 var(--font-display); color: var(--ink); }
.booking__sub { color: var(--muted); font-size: .84rem; margin-top: .3rem; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field__control { position: relative; display: block; }
.field__control .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--red); pointer-events: none; }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px 0 42px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-size: .95rem; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235D6471' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 20, 26, .12); }
.booking__btn { height: 50px; min-height: 50px; }

@media (min-width: 640px) {
  .booking__card { grid-template-columns: 1fr 1fr; padding: 24px; }
  .booking__head { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .booking__card { grid-template-columns: 1fr 1.25fr 1fr auto; align-items: end; }
}
@media (min-width: 1200px) {
  .booking__card { grid-template-columns: 1.05fr 1fr 1.25fr .95fr auto; gap: 18px; padding: 24px 26px; }
  .booking__head { grid-column: auto; align-self: center; padding-right: 8px; border-right: 1px solid var(--line); }
}

/* ---------- partners ---------- */
.partners { padding: clamp(56px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); }
.partners__head { text-align: center; margin-bottom: clamp(24px, 3vw, 36px); }
.partners__title { font: 700 clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem)/1.1 var(--font-display); color: var(--ink); margin-top: .7rem; }
.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);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(36px, 5vw, 64px); padding-right: clamp(36px, 5vw, 64px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-logo {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 10px 0; color: #9298A3; transition: color .3s;
}
.brand-logo:hover { color: var(--ink); }
.brand-logo .i-fill { width: 38px; height: 38px; }
.brand-logo span { font: 700 1.35rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- about ---------- */
.about__grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1fr 1fr; } }
.about__media { position: relative; width: 100%; max-width: 560px; margin-inline: auto; padding: 0 0 15% 0; }
.about__media::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 46%; height: 42%;
  border-radius: 18px; z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(215, 20, 26, .9) 0 3px, transparent 3px 14px);
  opacity: .22;
}
.about__img { border-radius: var(--radius-lg); overflow: hidden; background: #e9ebef; }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.04); }
.about__img--main { width: 80%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about__img--sub {
  position: absolute; right: 0; bottom: 0; width: 47%; aspect-ratio: 4 / 5;
  border: 7px solid #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute; right: 2%; top: 9%;
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1rem .75rem .75rem; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow); max-width: 64%;
  font-size: .85rem; line-height: 1.25; color: var(--muted);
}
.about__badge strong { display: block; color: var(--ink); font: 700 1.05rem/1.1 var(--font-display); letter-spacing: .02em; }
.about__badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.about__content .lead { margin-bottom: 1.6rem; }
.checks { display: grid; gap: .85rem 1.4rem; margin-bottom: 2rem; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); font-size: .96rem; }
.checks__icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.checks__icon .i { width: 15px; height: 15px; stroke-width: 3; }
.about__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- services ---------- */
.services { background: var(--bg-soft); }
.services__grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }
.svc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 32px 26px 28px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__num { position: absolute; right: 22px; top: 16px; font: 800 3.1rem/1 var(--font-display); color: #F0F1F4; transition: color .4s; }
.svc:hover .svc__num { color: var(--red-50); }
.svc__icon {
  width: 58px; height: 58px; border-radius: 15px; margin-bottom: 22px;
  display: grid; place-items: center; background: var(--red-50); color: var(--red);
  position: relative; transition: background-color .35s, color .35s;
}
.svc__icon .i { width: 26px; height: 26px; }
.svc:hover .svc__icon { background: var(--red); color: #fff; }
.svc__title { font: 700 1.5rem/1.15 var(--font-display); color: var(--ink); margin-bottom: .6rem; letter-spacing: .01em; }
.svc__text { color: var(--muted); font-size: .95rem; margin-bottom: 1.3rem; }
.svc .link-arrow { margin-top: auto; }

/* ---------- why ---------- */
.why { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.why__stripes { position: absolute; right: -8%; top: -60px; width: 58%; height: 190px; z-index: -1; pointer-events: none; }
.why__stripes i { position: absolute; left: 0; right: 0; height: 64px; transform: skewY(-9deg); }
.why__stripes i:first-child { top: 40px; background: linear-gradient(90deg, rgba(215, 20, 26, 0), rgba(215, 20, 26, .85)); }
.why__stripes i:last-child { top: 112px; height: 14px; background: linear-gradient(90deg, rgba(242, 183, 5, 0), rgba(242, 183, 5, .7)); }
.why::after {
  content: ""; position: absolute; left: -10%; bottom: -30%; width: 60%; height: 70%; z-index: -1;
  background: radial-gradient(closest-side, rgba(215, 20, 26, .18), transparent);
}
.why__grid { display: grid; gap: clamp(44px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .why__grid { grid-template-columns: 1.1fr .9fr; } }
.why__content .lead { margin-bottom: 2.2rem; }
.features { display: grid; gap: 22px; }
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 1rem; align-items: flex-start; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .35s, border-color .35s, transform .35s var(--ease); }
.feature:hover { background: rgba(255, 255, 255, .06); border-color: rgba(242, 183, 5, .35); transform: translateY(-3px); }
.feature__icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(242, 183, 5, .12); color: var(--gold); }
.feature__icon .i { width: 22px; height: 22px; }
.feature h3 { font: 700 1.3rem/1.15 var(--font-display); letter-spacing: .02em; margin-bottom: .3rem; }
.feature p { color: rgba(255, 255, 255, .66); font-size: .92rem; }
.why__media { position: relative; max-width: 480px; width: 100%; margin-inline: auto; }
.why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.why__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid rgba(242, 183, 5, .45); border-radius: 22px;
}
.why__tag {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: .8rem; white-space: nowrap;
  padding: .75rem 1.2rem; border-radius: 999px;
  background: rgba(15, 15, 18, .78); border: 1px solid rgba(255, 255, 255, .14);
  font: 700 1.05rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
}
@supports (backdrop-filter: blur(8px)) { .why__tag { backdrop-filter: blur(8px); } }
.why__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 380px) { .why__tag { font-size: .9rem; padding: .65rem .9rem; } }

/* ---------- how it works ---------- */
.steps__list { position: relative; display: grid; gap: 34px; counter-reset: none; }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps__line { display: none; }
@media (min-width: 900px) {
  .steps__line { display: block; position: absolute; top: 46px; left: 17%; right: 17%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
  .steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
  .steps__line.is-revealed i { transform: scaleX(1); }
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__circle {
  position: relative; display: grid; place-items: center;
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%;
  background: #fff; color: var(--red); border: 2px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(16, 18, 24, .4);
  transition: border-color .35s, background-color .35s, color .35s, transform .35s var(--ease);
}
.step__circle .i { width: 32px; height: 32px; }
.step__circle b {
  position: absolute; top: -4px; right: -6px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 .95rem/1 var(--font-display); letter-spacing: .04em;
  border: 3px solid #fff;
}
.step:hover .step__circle { border-color: var(--red); background: var(--red); color: #fff; transform: translateY(-4px); }
.step h3 { font: 700 1.45rem/1.15 var(--font-display); color: var(--ink); margin-bottom: .45rem; letter-spacing: .01em; }
.step p { color: var(--muted); max-width: 300px; margin-inline: auto; font-size: .95rem; }
.steps__cta { text-align: center; margin-top: clamp(36px, 5vw, 52px); }

/* ---------- testimonials ---------- */
.reviews { background: var(--bg-soft); position: relative; overflow: hidden; }
.reviews::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 183, 5, .16), transparent);
}
.reviews__grid {
  display: grid; gap: 28px 64px; align-items: center;
  grid-template-areas: "head" "stage" "ctrl";
}
@media (min-width: 1000px) {
  .reviews__grid { grid-template-columns: .85fr 1.15fr; grid-template-areas: "head stage" "ctrl stage"; align-items: start; }
  .reviews__head { align-self: end; }
}
.reviews__head { grid-area: head; }
.reviews__stage { grid-area: stage; position: relative; padding: 0 18px 18px 0; touch-action: pan-y; }
.reviews__controls { grid-area: ctrl; display: flex; align-items: center; gap: 1rem; }
@media (max-width: 999px) { .reviews__controls { justify-content: center; } }

.reviews__deck { position: relative; display: grid; }
.reviews__deck::before, .reviews__deck::after {
  content: ""; position: absolute; inset: 0; border-radius: 24px; background: #fff;
  box-shadow: 0 10px 30px -20px rgba(16, 18, 24, .3);
}
.reviews__deck::before { transform: translate(18px, 18px); opacity: .55; }
.reviews__deck::after { transform: translate(9px, 9px); opacity: .8; }
.review {
  grid-area: 1 / 1; position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 24px; background: #fff; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px) scale(.985); visibility: hidden;
  transition: opacity .5s ease, transform .6s var(--ease), visibility 0s linear .6s;
}
.review.is-active {
  opacity: 1; transform: none; visibility: visible; z-index: 2;
  transition: opacity .7s ease .15s, transform .8s var(--ease) .15s, visibility 0s;
}
.review__quote { width: 46px; height: 46px; color: var(--gold); margin-bottom: 14px; }
.review__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.review__stars .i-fill { width: 18px; height: 18px; }
.review__text { font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem); line-height: 1.62; color: var(--ink); font-weight: 500; margin-bottom: 26px; }
.review__who { display: flex; align-items: center; gap: .9rem; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.review__avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff;
  font: 700 1.15rem/1 var(--font-display); letter-spacing: .05em;
}
.review__who strong { display: block; color: var(--ink); font-size: 1rem; }
.review__who small { color: var(--muted); font-size: .85rem; }
.reviews__progress { position: absolute; left: 24px; right: 42px; bottom: 18px; z-index: 3; height: 3px; border-radius: 3px; overflow: hidden; }
.reviews__progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: left; }
.reviews.is-auto .reviews__progress i { animation: barFill var(--review-dur, 6500ms) linear forwards; }
.reviews.is-paused .reviews__progress i { animation-play-state: paused; }

.sq-btn {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
  transition: background-color .25s, color .25s, border-color .25s;
}
.sq-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.reviews__dots, .slider__dots { display: flex; align-items: center; gap: 4px; }
.dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.dot i { width: 8px; height: 8px; border-radius: 999px; background: #C8CCD3; transition: width .35s var(--ease), background-color .35s; }
.dot:hover i { background: var(--muted-2); }
.dot.is-active i { width: 26px; background: var(--red); }

/* ---------- car sliders (v2 style) ---------- */
.cars { padding-block: clamp(56px, 7vw, 92px); }
.cars--tint { background: var(--bg-soft); }
.cars__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 32px); }
.cars__title { font: 700 clamp(1.85rem, 1.35rem + 1.8vw, 2.6rem)/1.05 var(--font-display); color: var(--ink); letter-spacing: .005em; }
.cars__sub { color: var(--muted); margin-top: .45rem; font-size: .96rem; }
.cars__more { padding-bottom: .2rem; }
.cars__noscript { text-align: center; color: var(--muted); }

.slider { position: relative; --gap: 16px; --per: 1.18; }
@media (min-width: 600px) { .slider { --gap: 20px; --per: 2; } }
@media (min-width: 900px) { .slider { --gap: 22px; --per: 3; } }
@media (min-width: 1200px) { .slider { --gap: 24px; --per: 4; } }
.slider__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 4px;
  padding: 8px 4px 26px; margin: -8px -4px 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.slider__track.is-dragging * { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .slider__track { cursor: grab; } }

.slider__arrow {
  position: absolute; z-index: 3; top: var(--arrow-top, 34%);
  width: 42px; height: 42px; border-radius: 8px; border: 0;
  display: none; place-items: center;
  background: rgba(23, 23, 28, .9); color: #fff;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
  transform: translateY(-50%);
  transition: background-color .25s, opacity .25s, visibility .25s;
}
.slider__arrow:hover { background: var(--red); }
.slider__arrow[disabled] { opacity: 0; visibility: hidden; }
.slider__arrow--prev { left: -12px; }
.slider__arrow--next { right: -12px; }
@media (min-width: 600px) { .slider__arrow { display: grid; } }
@media (min-width: 1320px) { .slider__arrow--prev { left: -21px; } .slider__arrow--next { right: -21px; } }
.slider.is-static .slider__arrow, .slider.is-static .slider__dots { display: none; }
.slider__dots { justify-content: center; margin-top: 4px; min-height: 22px; }

.car {
  scroll-snap-align: start;
  display: flex; flex-direction: column; min-width: 0;
  border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(16, 18, 24, .05), 0 10px 26px -16px rgba(16, 18, 24, .3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.car:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(16, 18, 24, .05), 0 22px 40px -20px rgba(16, 18, 24, .45); }
.car__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #E9EBEF; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.car:hover .car__media img { transform: scale(1.06); }
.car__badge {
  position: absolute; left: 14px; top: 14px;
  padding: .42rem .62rem; border-radius: 6px;
  background: var(--red); color: #fff;
  font: 700 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.car__fav {
  position: absolute; right: 12px; top: 12px;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--red);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease);
}
.car__fav .i { width: 18px; height: 18px; transition: fill .2s; }
.car__fav:hover { transform: scale(1.08); }
.car__fav.is-on .i { fill: currentColor; }
.car__fav.pop { animation: pop .4s var(--ease); }
@keyframes pop { 50% { transform: scale(1.22); } }
.car__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.car__brand { font: 800 .7rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.car__title {
  margin-top: .6rem; font: 600 1.13rem/1.32 var(--font-body); color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.car__specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 18px; padding: 11px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .8rem; color: var(--muted); text-align: center;
}
.car__specs li { padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.car__specs li + li { border-left: 1px solid var(--line); }
.car__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.car__price small { display: block; font: 600 .66rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.car__price strong { display: block; margin-top: 7px; font: 700 1.05rem/1.2 var(--font-body); color: var(--ink); }
.car__cta {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 42px; padding: .65rem .95rem; border-radius: 8px;
  background: var(--red); color: #fff; text-decoration: none;
  font: 700 .84rem/1 var(--font-body); white-space: nowrap;
  transition: background-color .25s;
}
.car__cta:hover { background: var(--red-700); }
.car__cta .i-fill { width: 16px; height: 16px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: #fff; padding-block: clamp(48px, 6vw, 72px); }
.cta-band__stripes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-band__stripes i { position: absolute; left: -10%; width: 70%; transform: skewY(-8deg); }
.cta-band__stripes i:first-child { top: -40px; height: 90px; background: linear-gradient(90deg, rgba(15, 15, 18, .55), rgba(15, 15, 18, 0)); }
.cta-band__stripes i:last-child { bottom: -50px; left: auto; right: -10%; height: 110px; background: linear-gradient(270deg, rgba(15, 15, 18, .45), rgba(15, 15, 18, 0)); }
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
@media (min-width: 900px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band__title { font: 800 clamp(2rem, 1.4rem + 2.4vw, 3.2rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.cta-band__text { color: rgba(255, 255, 255, .85); margin-top: .5rem; font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 479px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* ---------- contact ---------- */
.contact__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .95fr 1.05fr; } }
.contact__info .lead { margin-bottom: 1.8rem; }
.info-cards { display: grid; gap: 16px; }
@media (min-width: 560px) { .info-cards { grid-template-columns: 1fr 1fr; } .info-card--wide { grid-column: 1 / -1; } }
.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.info-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--red-50); color: var(--red); }
.info-card h3 { font: 700 1.3rem/1.1 var(--font-display); color: var(--ink); margin-bottom: .35rem; letter-spacing: .01em; }
.info-card p { color: var(--muted); font-size: .93rem; margin-bottom: .55rem; }
.info-card__phones { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.info-card__phones a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.info-card__phones a:hover { color: var(--red); }
.info-card__links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }

.map { position: relative; border-radius: 22px; overflow: hidden; background: #E9EBEF; box-shadow: var(--shadow); min-height: 380px; height: 100%; }
@media (min-width: 1000px) { .map { min-height: 520px; } }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.map.is-loaded .map__frame { opacity: 1; }
.map.is-loaded .map__placeholder { opacity: 0; }
.map__placeholder { transition: opacity .4s; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; color: var(--muted-2); font-size: .9rem; }
.map__placeholder .i { width: 34px; height: 34px; }
.map__tabs {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: flex; gap: 4px; padding: 5px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow);
}
.map__tab { border: 0; background: transparent; padding: .55rem .9rem; border-radius: 8px; font-weight: 600; font-size: .85rem; color: var(--muted); min-height: 40px; transition: background-color .25s, color .25s; }
.map__tab:hover { color: var(--ink); }
.map__tab.is-active { background: var(--red); color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: clamp(56px, 7vw, 84px); font-size: .93rem; }
.footer__grid { display: grid; gap: 40px; padding-bottom: clamp(40px, 5vw, 60px); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer__brand img { width: 170px; height: auto; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 22rem; margin-bottom: 1.4rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  transition: background-color .25s, border-color .25s;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__col h3 { font: 700 1.25rem/1 var(--font-display); color: #fff; letter-spacing: .04em; margin-bottom: 1.2rem; text-transform: uppercase; }
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a { text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact .i { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding-block: 20px; font-size: .85rem; }
.footer__top { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: #fff; font-weight: 600; }
.footer__top .i { width: 16px; height: 16px; }

/* ---------- floating buttons ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(18, 140, 70, .8);
  transition: transform .3s var(--ease);
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 3s ease-out infinite; }
.fab .i-fill { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.06); }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.to-top {
  position: fixed; right: 25px; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 40;
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  box-shadow: var(--shadow); outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s, background-color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--red); }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee { -webkit-mask-image: none; mask-image: none; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
  .marquee__group { gap: 18px 44px; }
  .fab::before { display: none; }
}
