/* ==========================================================================
   Signature Motor Cars
   Palette and proportions are taken straight from the logo: the deep navy of
   the script, the red of "MOTOR CARS", and the solid navy tagline bar, which
   is reused throughout as the page's structural device.
   ========================================================================== */

:root {
  --navy:      #051a5e;   /* sampled from the logo script */
  --navy-deep: #030f3b;
  --navy-lift: #0b2478;
  --red:       #d80203;   /* sampled from "MOTOR CARS" */
  --red-dark:  #a80102;
  --red-hot:   #ef2126;

  --ink:   #101426;
  --slate: #56617d;
  --line:  #d8dde9;
  --paper: #f4f6fb;
  --mist:  #e9edf6;
  --white: #ffffff;

  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: 24px;
  --radius: 6px;
  --shadow: 0 18px 40px -24px rgba(5, 26, 94, .45);
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.02; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
section[id] { scroll-margin-top: 104px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 18px; font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius); text-decoration: none;
}
.skip:focus { top: 0; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--body); font-size: 15px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid var(--btn-bg); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--red    { --btn-bg: var(--red); }
.btn--red:hover    { --btn-bg: var(--red-dark); }
.btn--navy:hover   { --btn-bg: var(--navy-lift); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--sm  { padding: 9px 16px; font-size: 13px; }
.btn--lg  { padding: 17px 40px; font-size: 17px; }
.btn--block { width: 100%; }

.link {
  display: inline-block;
  font-weight: 700; font-size: 15px;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--red); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 3px;
}
.link:hover { color: var(--navy); }

/* --- section headings ----------------------------------------------------- */
.sechead { margin-bottom: 44px; max-width: 62ch; }
.sechead h2 { font-size: clamp(32px, 4.2vw, 50px); color: var(--navy); }
.sechead h2::after {
  content: ""; display: block; width: 58px; height: 5px;
  background: var(--red); margin-top: 16px;
}
.sechead p { margin-top: 18px; color: var(--slate); font-size: 18px; }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--center h2::after { margin-inline: auto; }
.sechead--light h2 { color: #fff; }
.sechead--light p { color: rgba(255, 255, 255, .78); }
.sechead--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; max-width: none; flex-wrap: wrap;
}
.sechead--row > div { max-width: 56ch; }

/* --- utility bar ---------------------------------------------------------- */
.utility { background: var(--navy-deep); color: rgba(255, 255, 255, .8); font-size: 14px; }
.utility__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 42px; flex-wrap: wrap;
}
.utility a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.utility a:hover { color: #fff; }
.utility svg { width: 16px; height: 16px; fill: var(--red-hot); flex: none; }
.utility__right { display: flex; align-items: center; gap: 22px; }
.utility__hours { display: inline-flex; align-items: center; gap: 8px; }
.utility__hours::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .22);
}
.utility__hours.is-shut::before { background: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .22); }
.utility__phone { font-weight: 700; color: #fff !important; white-space: nowrap; }

/* --- header --------------------------------------------------------------- */
.head {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
}
.head.is-stuck { box-shadow: 0 8px 24px -18px rgba(5, 26, 94, .55); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.head__logo { display: block; flex: none; }
.head__logo img { width: auto; height: clamp(54px, 7.2vw, 88px); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  font-weight: 600; font-size: 16px; color: var(--navy);
  text-decoration: none; padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--red); }

.burger {
  display: none; width: 46px; height: 40px; padding: 9px 8px;
  background: var(--navy); border: 0; border-radius: var(--radius); cursor: pointer;
}
.burger span { display: block; height: 3px; background: #fff; border-radius: 2px; }
.burger span + span { margin-top: 5px; }

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 56%;
}
/* keeps the headline readable over the car without hiding it */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(97deg,
    rgba(3, 15, 59, .97) 0%, rgba(3, 15, 59, .94) 46%,
    rgba(3, 15, 59, .64) 64%, rgba(3, 15, 59, .34) 82%, rgba(3, 15, 59, .74) 100%);
}
.hero__in {
  position: relative; z-index: 1;
  padding: clamp(64px, 9vw, 122px) 0 clamp(60px, 7vw, 96px);
  max-width: 720px;
}

/* the red bar quotes the tagline bar in the logo */
.hero__kicker {
  display: inline-block; margin: 0 0 22px;
  background: var(--red); color: #fff;
  font-family: var(--display); font-size: 15px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 16px 5px;
}
.hero__title {
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: .98;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero__lead {
  margin: 26px 0 0; max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(255, 255, 255, .84);
}

/* the search panel is built like a plate: heavy border, bolts at the corners */
.plate {
  position: relative; margin-top: 40px;
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: end;
  background: #fff; border: 3px solid var(--navy);
  border-radius: 12px; padding: 20px 22px;
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .8);
}
.plate::before, .plate::after {
  content: ""; position: absolute; width: 7px; height: 7px;
  border-radius: 50%; background: var(--mist);
  box-shadow: 0 0 0 2px rgba(5, 26, 94, .3);
}
.plate::before { left: 12px; top: 12px; }
.plate::after  { right: 12px; top: 12px; }
.plate__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.plate__field label {
  font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--slate);
}
.plate select {
  font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--ink);
  padding: 11px 12px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%;
}
.plate__go { height: 46px; }
.plate__note { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .9); min-height: 1.4em; }

/* --- proof bar ------------------------------------------------------------ */
.proof { background: var(--navy); color: #fff; }
.proof__in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding: 30px 0;
}
.proof__item { display: flex; flex-direction: column; gap: 6px; padding-inline: 6px; }
.proof__item + .proof__item { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 26px; }
.proof__item b {
  font-family: var(--display); font-size: clamp(30px, 3vw, 42px);
  color: var(--red-hot); line-height: 1; white-space: nowrap;
}
.proof__item span { font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .8); max-width: 22ch; }

/* --- three paths ---------------------------------------------------------- */
.paths { padding: clamp(64px, 8vw, 104px) 0 0; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.path { border-top: 4px solid var(--navy); padding-top: 26px; }
.path h3 { font-size: 25px; color: var(--navy); margin-bottom: 12px; }
.path p { color: var(--slate); margin-bottom: 20px; }
.path__art { width: 52px; height: 52px; margin-bottom: 20px; background: var(--red); border-radius: var(--radius); position: relative; }
.path__art::after {
  content: ""; position: absolute; inset: 12px;
  background: #fff; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.path__art[data-icon="search"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 1 0 4.9 14.3l5.4 5.4 1.4-1.4-5.4-5.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12 6 6 0 0 1 0-12Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 1 0 4.9 14.3l5.4 5.4 1.4-1.4-5.4-5.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12 6 6 0 0 1 0-12Z'/%3E%3C/svg%3E");
}
.path__art[data-icon="credit"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v3H2V6a1 1 0 0 1 1-1Zm-1 6h20v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1Zm3 4h6v2H5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v3H2V6a1 1 0 0 1 1-1Zm-1 6h20v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1Zm3 4h6v2H5Z'/%3E%3C/svg%3E");
}
.path__art[data-icon="key"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2a8 8 0 1 0-3.3 15.3L9 19H6v3H2v-4l7.5-7.5A8 8 0 0 1 14 2Zm2.5 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2a8 8 0 1 0-3.3 15.3L9 19H6v3H2v-4l7.5-7.5A8 8 0 0 1 14 2Zm2.5 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3C/svg%3E");
}

/* --- inventory ------------------------------------------------------------ */
.inv { padding: clamp(64px, 8vw, 104px) 0; }
.inv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card__media { position: relative; background: var(--mist); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__flag {
  position: absolute; left: 0; top: 16px;
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 14px 5px;
}
.card__flag--pending { background: var(--navy); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 18px; }
.card__year { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--slate); }
.card h3 { font-size: 24px; color: var(--navy); margin-bottom: 14px; }

.specs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 18px; }
.specs li {
  font-size: 13px; font-weight: 500; color: var(--slate);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 3px; padding: 4px 9px;
}

.card__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.price { margin: 0; font-family: var(--display); font-size: 21px; color: var(--navy); line-height: 1.1; letter-spacing: .02em; }
.price span { display: block; font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.stock { margin: 12px 0 0; font-size: 12px; letter-spacing: .08em; color: #8b93a8; }

.inv__empty {
  margin: 40px auto 0; max-width: 48ch; text-align: center;
  color: var(--slate); font-size: 18px;
}
.inv__more { margin-top: 44px; text-align: center; }
.inv__more p { margin: 0 auto; max-width: 62ch; font-size: 15px; color: var(--slate); }

/* --- inventory filters ---------------------------------------------------- */
.filters {
  display: grid; gap: 18px;
  margin-bottom: 36px; padding: 22px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.filters__group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filters__label {
  flex: none; min-width: 82px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  font-family: var(--body); font-size: 14px; font-weight: 600;
  padding: 8px 15px; cursor: pointer;
  color: var(--navy); background: #fff;
  border: 1px solid var(--line); border-radius: 40px;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.chips button:hover { border-color: var(--navy); }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters__count {
  margin: 0; padding-top: 4px;
  font-size: 14px; font-weight: 600; color: var(--slate);
  border-top: 1px solid var(--line);
}

/* --- full-bleed lot band -------------------------------------------------- */
.band { position: relative; background: var(--navy-deep); }
.band img { width: 100%; height: clamp(260px, 38vw, 460px); object-fit: cover; display: block; }
.band__cap {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 60px clamp(24px, 5vw, 64px) 26px;
  background: linear-gradient(180deg, rgba(3, 15, 59, 0) 0%, rgba(3, 15, 59, .88) 100%);
  color: #fff; font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: .01em;
}

/* --- about ---------------------------------------------------------------- */
.about { padding: clamp(64px, 8vw, 104px) 0; }
.about__in { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.about__fig { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about__copy h2 { font-size: clamp(30px, 3.8vw, 46px); color: var(--navy); margin-bottom: 22px; }
.about__copy h2::after { content: ""; display: block; width: 58px; height: 5px; background: var(--red); margin-top: 16px; }
.about__copy p { color: var(--slate); max-width: 62ch; }

.ticks { margin: 26px 0 30px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.8 5 12.2l1.4-1.4 3.2 3.2 8-8L19 7.4Z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* --- financing ------------------------------------------------------------ */
.fin {
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    linear-gradient(180deg, rgba(3, 15, 59, .0) 0%, rgba(3, 15, 59, .55) 100%),
    var(--navy);
  color: #fff;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { padding-top: 22px; border-top: 4px solid var(--red); }
.steps__n {
  display: block; font-family: var(--display); font-size: 46px; line-height: 1;
  color: var(--red-hot); margin-bottom: 10px;
}
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { color: rgba(255, 255, 255, .78); }
.fin__cta { margin-top: 52px; text-align: center; }
.fin__cta p { margin-top: 18px; color: rgba(255, 255, 255, .75); font-size: 16px; }
.fin__cta a[href^="tel"] { color: #fff; font-weight: 700; }

/* --- reviews -------------------------------------------------------------- */
/* --- visit ---------------------------------------------------------------- */
.visit { background: var(--paper); padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.visit__in { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.visit__info h2 { font-size: clamp(30px, 3.8vw, 46px); color: var(--navy); margin-bottom: 20px; }
.visit__info h2::after { content: ""; display: block; width: 58px; height: 5px; background: var(--red); margin-top: 16px; }
.visit__info > p { color: var(--slate); max-width: 52ch; }

.hours { margin: 30px 0; display: grid; gap: 0; max-width: 420px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--slate); }

.visit address { font-style: normal; line-height: 1.9; color: var(--ink); }

.book { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--radius); padding: 32px; }
.book h3 { font-size: 27px; color: var(--navy); margin-bottom: 22px; }
.book__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.field input {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  padding: 12px 13px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.field input:focus { background: #fff; }
.field.is-bad input { border-color: var(--red); background: #fff5f5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book__msg { margin: 16px 0 0; font-size: 15px; font-weight: 600; color: var(--navy); min-height: 1.4em; }
.book__fine { margin: 10px 0 0; font-size: 13px; color: #8b93a8; }

/* --- footer --------------------------------------------------------------- */
.foot { background: var(--navy-deep); color: rgba(255, 255, 255, .74); padding-top: clamp(52px, 6vw, 76px); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.foot__brand img { width: auto; height: 88px; margin-bottom: 22px; }
.foot__brand p { max-width: 34ch; font-size: 15px; }
.foot h4 { font-size: 19px; color: #fff; margin-bottom: 16px; }
.foot__col ul { display: grid; gap: 10px; }
.foot a { color: rgba(255, 255, 255, .74); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot address { font-style: normal; line-height: 1.85; font-size: 15px; }
.foot__hours { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .55); }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09); border-radius: var(--radius);
  transition: background-color .16s ease;
}
.social a:hover { background: var(--red); }
.social svg { width: 19px; height: 19px; fill: #fff; }

.foot__legal {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}
.foot__legal p { margin: 0; }
.foot__legal ul { display: flex; gap: 22px; }

/* --- one orchestrated entrance, on load only ------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .hero__kicker, .hero__title, .hero__lead, .plate {
    animation: rise .7s cubic-bezier(.2, .7, .3, 1) backwards;
  }
  .hero__title { animation-delay: .07s; }
  .hero__lead  { animation-delay: .14s; }
  .plate       { animation-delay: .21s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .plate { grid-template-columns: repeat(3, 1fr); }
  .plate__go { grid-column: 1 / -1; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .inv__grid, .paths__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .about__in, .visit__in { grid-template-columns: 1fr; }
  .about__fig { order: 2; }
  .proof__in { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .proof__item + .proof__item { border-left: 0; padding-left: 6px; }

  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    box-shadow: 0 20px 30px -22px rgba(5, 26, 94, .5);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover { border-bottom-color: var(--line); color: var(--red); }
  .nav__cta { margin-top: 18px; text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(3, 15, 59, .93) 0%, rgba(3, 15, 59, .82) 55%, rgba(3, 15, 59, .95) 100%);
  }
  .utility { font-size: 13px; }
  .utility__in { justify-content: center; text-align: center; padding: 8px 0; row-gap: 6px; }
  .utility__right { gap: 18px; }
  section[id] { scroll-margin-top: 78px; }
  .paths__grid, .steps { grid-template-columns: 1fr; }
  .inv__grid { grid-template-columns: 1fr; }
  .plate { grid-template-columns: 1fr; padding: 18px; }
  .book { padding: 24px 20px; }
  .book__row { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; gap: 32px; }
  .filters { padding: 18px 16px; }
  .filters__label { min-width: 100%; }
}
