
/*
Theme Name: Fair Price Motors Ltd.
Theme URI: https://fpmotors.co.uk/
Author: Fair Price Motors Ltd.
Description: Bespoke single-page WordPress theme for Fair Price Motors Ltd., with editable dealership contact details and opening hours.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: fair-price-motors
*/

:root {
  --black: #050505;
  --ink: #0a0a0b;
  --charcoal: #121214;
  --panel: #171719;
  --ivory: #f4f0e7;
  --muted: #a6a39d;
  --gold: #c8a45c;
  --gold-light: #e1c985;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background: #050505;
  color: var(--ivory);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.appointment-modal[hidden] {
  display: none !important;
}

body.admin-bar .site-intro {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-intro {
    top: 46px;
  }
}

.site-shell {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(200, 164, 92, 0.035), transparent 30%),
    #050505;
}

.site-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(200, 164, 92, 0.105), transparent 31%),
    linear-gradient(135deg, #040404, #0a0a0b 54%, #050505);
  opacity: 1;
  visibility: visible;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.site-intro::before,
.site-intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-intro::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(225, 201, 133, 0.05), transparent),
    url("assets/images/texture-black-concrete.webp") center / cover;
  opacity: 0.22;
}

.site-intro::after {
  right: 9vw;
  bottom: 0;
  left: 9vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 201, 133, 0.75), transparent);
  animation: introLine 720ms ease-out both;
}

.site-intro-leaving {
  opacity: 0;
  visibility: hidden;
}

.intro-inner {
  position: relative;
  width: min(320px, 72vw);
  height: 210px;
}

.intro-speedometer,
.intro-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.intro-speedometer {
  align-content: center;
  animation: introGaugeOut 760ms ease-out both;
}

.intro-speedometer svg {
  display: block;
  width: min(280px, 68vw);
  overflow: visible;
}

.intro-gauge-track,
.intro-gauge-progress {
  fill: none;
  stroke-linecap: round;
}

.intro-gauge-track {
  stroke: rgba(244, 240, 231, 0.16);
  stroke-width: 2;
}

.intro-gauge-progress {
  stroke: var(--gold-light);
  stroke-width: 2.2;
  stroke-dasharray: 270;
  stroke-dashoffset: 270;
  filter: drop-shadow(0 0 8px rgba(225, 201, 133, 0.5));
  animation: introArc 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-ticks line {
  stroke: rgba(225, 201, 133, 0.66);
  stroke-width: 2;
  stroke-linecap: round;
}

.intro-needle {
  stroke: var(--gold-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  transform: rotate(-108deg);
  transform-origin: 120px 124px;
  filter: drop-shadow(0 0 7px rgba(225, 201, 133, 0.76));
  animation: introNeedle 630ms cubic-bezier(0.18, 0.82, 0.2, 1) forwards;
}

.intro-needle-ring {
  fill: #09090a;
  stroke: rgba(225, 201, 133, 0.72);
  stroke-width: 1.5;
}

.intro-needle-cap {
  fill: var(--gold-light);
}

.intro-speedometer > span {
  margin-top: -18px;
  color: rgba(244, 240, 231, 0.55);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.intro-logo {
  opacity: 0;
  transform: scale(0.94);
  animation: introLogoIn 460ms 390ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-logo .brand {
  gap: 17px;
}

.intro-logo .brand-mark {
  width: 60px;
  height: 60px;
  font-size: 27px;
  box-shadow: 0 0 34px rgba(200, 164, 92, 0.12);
}

.intro-logo .brand-type strong {
  font-size: 22px;
}

.intro-logo .brand-type small {
  font-size: 8px;
}

.intro-active .hero-scene,
.intro-active .site-header,
.intro-active .hero-copy,
.intro-active .car-stage,
.intro-active .wheel-layer,
.intro-active .hero-footer {
  animation-play-state: paused;
}

.hero {
  isolation: isolate;
  position: relative;
  min-height: max(620px, 100svh);
  overflow: hidden;
  background: #070708;
}

.hero-scene,
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-scene {
  z-index: -3;
  background-image: url("assets/images/hero-background.webp");
  background-position: center center;
  background-size: cover;
  filter: saturate(0.72) contrast(1.07) brightness(0.82);
  animation: sceneReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.95) 0%, rgba(3, 3, 4, 0.72) 37%, rgba(3, 3, 4, 0.14) 69%, rgba(3, 3, 4, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 25%, transparent 68%, rgba(0, 0, 0, 0.82) 100%);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(100% - 6rem, 1440px);
  height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  animation: contentIn 0.8s 0.1s ease-out both;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  width: 48px;
  height: 48px;
  padding: 0 9px;
  border: 1px solid rgba(224, 200, 137, 0.72);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.2em;
}

.brand-mark span:first-child {
  color: #f0eee9;
}

.brand-mark span:last-child {
  margin-top: 6px;
}

.brand-type {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
}

.brand-type strong {
  color: #f1eee6;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.brand-type strong em {
  color: var(--gold-light);
  font-style: normal;
}

.brand-type small {
  margin-top: 7px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.34em;
}

.desktop-nav {
  display: flex;
  gap: clamp(1.5rem, 2.7vw, 2.8rem);
  align-items: center;
}

.mobile-nav {
  display: none;
}

.desktop-nav a {
  position: relative;
  color: rgba(245, 241, 232, 0.7);
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--ivory);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 12px 16px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-cta span,
.round-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(200, 164, 92, 0.55);
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta:hover span,
.header-cta:focus-visible span {
  background: var(--gold);
  color: var(--black);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 6rem, 1440px);
  min-height: calc(max(620px, 100svh) - 108px);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 6;
  width: min(650px, 53%);
  margin-top: -1rem;
  animation: contentIn 1s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow,
.section-kicker {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.7rem;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 400;
}

h1 {
  margin-bottom: 0;
  color: #f4f0e8;
  font-size: clamp(4.5rem, 7.3vw, 7.6rem);
  line-height: 0.79;
  letter-spacing: -0.05em;
}

h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-intro {
  max-width: 460px;
  margin: 2.4rem 0 0;
  color: rgba(245, 241, 232, 0.69);
  font-size: 14px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 2.15rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

button.button {
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #0c0b09;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-light);
}

.button-secondary {
  border-color: rgba(245, 241, 232, 0.24);
  background: rgba(5, 5, 5, 0.18);
  color: var(--ivory);
  backdrop-filter: blur(8px);
}

.car-stage {
  --car-final-x: -15%;
  --car-overshoot-x: -17%;
  position: absolute;
  z-index: 8;
  top: 64%;
  right: -8vw;
  width: min(62vw, 960px);
  transform-origin: 62% 76%;
  will-change: transform, opacity;
  pointer-events: none;
  animation: driveIn 1.75s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-car {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
  filter: brightness(1.16) contrast(1.04) drop-shadow(0 34px 30px rgba(0, 0, 0, 0.74));
}

.wheel-layer {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  backface-visibility: hidden;
  filter: brightness(1.16) contrast(1.04);
  will-change: transform;
  animation: wheelSpin 1.75s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wheel-layer-front {
  transform-origin: 59.6% 65.2%;
  clip-path: circle(5.25% at 59.6% 65.2%);
}

.wheel-layer-rear {
  transform-origin: 89.7% 63.6%;
  clip-path: circle(3.3% at 89.7% 63.6%);
}

.car-glow {
  position: absolute;
  z-index: 1;
  right: 12%;
  bottom: 9%;
  left: 18%;
  height: 17%;
  border-radius: 50%;
  background: rgba(183, 132, 48, 0.18);
  filter: blur(52px);
}

.hero-footer {
  position: absolute;
  z-index: 20;
  right: max(3rem, calc((100vw - 1440px) / 2));
  bottom: 25px;
  left: max(3rem, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(245, 241, 232, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  animation: contentIn 0.8s 1.25s ease-out both;
}

.hero-footer p,
.hero-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.facts {
  position: relative;
  z-index: 10;
  width: min(100% - 6rem, 1320px);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(225, 201, 133, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(23, 23, 25, 0.93), rgba(8, 8, 9, 0.95)),
    url("assets/images/texture-black-sand.webp") center / cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.facts::before {
  content: "";
  position: absolute;
  top: 0;
  right: 5%;
  left: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.65;
}

.fact {
  position: relative;
  min-height: 132px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.fact:last-child {
  border-right: 0;
}

.fact-location-link {
  transition: background 180ms ease;
}

.fact-location-link:hover,
.fact-location-link:focus-visible {
  background: rgba(200, 164, 92, 0.08);
}

.fact-icon {
  flex: 0 0 auto;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(225, 201, 133, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(225, 201, 133, 0.16), rgba(200, 164, 92, 0.035));
  color: var(--gold-light);
  box-shadow: inset 0 0 20px rgba(200, 164, 92, 0.04);
}

.fact-icon svg {
  width: 22px;
  height: 22px;
}

.fact-copy {
  display: grid;
  gap: 9px;
}

.fact-copy small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fact-copy strong {
  color: var(--ivory);
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
}

.section {
  width: min(100% - 6rem, 1320px);
  margin: 0 auto;
  padding: 140px 0;
}

.stock-section,
.about-section,
.values-section,
.sell-section,
.location-section,
.site-footer {
  position: relative;
  isolation: isolate;
}

.stock-section::before,
.about-section::before,
.values-section::before,
.sell-section::before,
.location-section::before,
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.stock-section::before {
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.34) 13%, rgba(5, 5, 5, 0.42) 86%, #050505 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.24) 48%, rgba(5, 5, 5, 0.72)),
    url("assets/images/site-background.webp") center / cover;
}

.about-section::before {
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.3) 14%, rgba(5, 5, 5, 0.35) 86%, #050505 100%),
    linear-gradient(90deg, rgba(6, 6, 7, 0.88), rgba(6, 6, 7, 0.38) 62%, rgba(6, 6, 7, 0.7)),
    url("assets/images/texture-black-concrete.webp") center / cover;
}

.values-section::before {
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.28) 15%, rgba(5, 5, 5, 0.38) 86%, #050505 100%),
    linear-gradient(110deg, rgba(5, 5, 6, 0.91), rgba(45, 29, 5, 0.58) 52%, rgba(5, 5, 6, 0.9)),
    url("assets/images/texture-gold-leaf.webp") center / cover;
}

.sell-section::before {
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.22) 14%, rgba(5, 5, 5, 0.32) 86%, #050505 100%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.74), rgba(5, 5, 6, 0.35), rgba(5, 5, 6, 0.78)),
    url("assets/images/texture-black-sand.webp") center / cover;
}

.location-section::before {
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.32) 14%, rgba(5, 5, 5, 0.42) 86%, #050505 100%),
    linear-gradient(100deg, rgba(5, 5, 6, 0.88), rgba(59, 42, 12, 0.44) 55%, rgba(5, 5, 6, 0.86)),
    url("assets/images/texture-gold-fabric.webp") center / cover;
}

.site-footer::before {
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.44) 24%, rgba(5, 5, 5, 0.62) 100%),
    url("assets/images/texture-black-concrete.webp") center / cover;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.65fr;
  gap: 10vw;
  align-items: end;
  margin-bottom: 64px;
}

.section-kicker {
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 5.3vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.section-heading > p,
.about-copy > p,
.sell-intro > p,
.appointment-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.section-heading > p {
  max-width: 440px;
  margin-bottom: 5px;
}

.stock-section {
  padding-bottom: 155px;
}

.stock-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
}

.editorial-image {
  position: relative;
  min-height: 570px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 201, 133, 0.62);
  background: #111;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(10, 9, 7, 0.86);
}

.editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.editorial-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.editorial-image:hover img {
  transform: scale(1.025);
}

.editorial-image figcaption {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.editorial-image figcaption span {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 22px;
}

.editorial-image figcaption small {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marketplace-list {
  display: grid;
  gap: 18px;
}

.marketplace-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(136px, 0.72fr) 1.28fr auto;
  gap: 28px;
  align-items: center;
  min-height: 214px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(225, 201, 133, 0.22);
  border-radius: 20px;
  background: #111113;
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.marketplace-card::before,
.marketplace-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.marketplace-card::before {
  opacity: 0.8;
  background:
    linear-gradient(105deg, rgba(13, 13, 15, 0.96), rgba(20, 20, 22, 0.8)),
    url("assets/images/texture-black-concrete.webp") center / cover;
}

.marketplace-card::after {
  inset: 0 auto 0 0;
  width: 48%;
  border-left: 2px solid rgba(225, 201, 133, 0.42);
  background: radial-gradient(circle at 10% 22%, rgba(200, 164, 92, 0.13), transparent 67%);
}

.marketplace-card-autotrader::before {
  background:
    radial-gradient(circle at 14% 22%, rgba(235, 0, 55, 0.11), transparent 31%),
    linear-gradient(105deg, rgba(9, 11, 20, 0.96), rgba(19, 19, 22, 0.84)),
    url("assets/images/texture-black-concrete.webp") center / cover;
}

.marketplace-card-carwow::before {
  background:
    radial-gradient(circle at 15% 24%, rgba(153, 231, 226, 0.1), transparent 31%),
    linear-gradient(105deg, rgba(11, 12, 14, 0.95), rgba(21, 20, 18, 0.84)),
    url("assets/images/texture-black-sand.webp") center / cover;
}

.marketplace-card:hover,
.marketplace-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(225, 201, 133, 0.58);
  box-shadow:
    0 28px 66px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.marketplace-card:hover .round-arrow,
.marketplace-card:focus-visible .round-arrow {
  background: var(--gold);
  color: var(--black);
}

.marketplace-logo {
  position: relative;
  z-index: 1;
  display: grid;
  width: 142px;
  height: 78px;
  place-items: center;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(225, 201, 133, 0.28);
  border-radius: 14px;
  background: rgba(4, 4, 5, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.marketplace-card-autotrader .marketplace-logo {
  background: rgba(12, 18, 51, 0.88);
}

.marketplace-logo img {
  display: block;
  width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.marketplace-copy {
  display: grid;
}

.marketplace-copy small {
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marketplace-copy small span {
  color: rgba(244, 240, 231, 0.36);
}

.marketplace-copy strong {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.08;
}

.marketplace-copy p {
  max-width: 340px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.phone-panel {
  position: relative;
  min-height: 108px;
  padding: 23px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(247, 223, 164, 0.62);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(211, 170, 91, 0.96), rgba(228, 200, 133, 0.92)),
    url("assets/images/texture-gold-leaf.webp") center / cover;
  color: #090807;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transition: filter 180ms ease, transform 180ms ease;
}

.phone-panel:hover,
.phone-panel:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.phone-panel::after {
  content: "";
  position: absolute;
  top: -65%;
  right: 12%;
  width: 120px;
  height: 230%;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(24deg);
  pointer-events: none;
}

.phone-panel-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(9, 8, 7, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.phone-panel-icon svg {
  width: 20px;
  height: 20px;
}

.phone-panel-copy {
  display: grid;
  gap: 6px;
}

.phone-panel-copy small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-panel-copy strong {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
}

.phone-panel-action {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-section {
  width: min(100% - 6rem, 1240px);
  padding: 72px 0 112px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 12px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(225, 201, 133, 0.25);
  border-radius: 24px;
  background:
    linear-gradient(115deg, rgba(16, 16, 18, 0.94), rgba(7, 7, 8, 0.95)),
    url("assets/images/texture-black-concrete.webp") center / cover;
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.34);
}

.about-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 3.6vw, 3.25rem);
}

.about-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.6vw, 5rem);
}

.about-copy .lead {
  max-width: 530px;
  margin-bottom: 24px;
  color: var(--ivory);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
}

.about-promises {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.about-promise {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.about-promise > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(225, 201, 133, 0.3);
  border-radius: 50%;
  background: rgba(200, 164, 92, 0.055);
  color: var(--gold-light);
}

.about-promise svg {
  width: 16px;
  height: 16px;
}

.about-promise strong {
  display: block;
  margin-bottom: 3px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.about-promise p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 164, 92, 0.65);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inspection-image {
  min-height: 525px;
  border-radius: 16px;
}

.values-section {
  width: min(100% - 6rem, 1320px);
  margin: 0 auto;
  padding: 120px 0 150px;
}

.values-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.55fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: 52px;
}

.values-heading h2 {
  max-width: 760px;
}

.values-heading > p {
  max-width: 390px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.values {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(225, 201, 133, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(22, 22, 24, 0.87), rgba(7, 7, 8, 0.91)),
    url("assets/images/texture-black-concrete.webp") center / cover;
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.values::before {
  content: "";
  position: absolute;
  top: 0;
  right: 6%;
  left: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.74;
}

.value-card {
  position: relative;
  min-height: 290px;
  padding: 30px 30px 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  background:
    radial-gradient(circle at 10% 0%, rgba(225, 201, 133, 0.1), transparent 38%),
    rgba(11, 11, 12, 0.72);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 201, 133, 0.35);
  background:
    radial-gradient(circle at 10% 0%, rgba(225, 201, 133, 0.17), transparent 42%),
    rgba(15, 15, 16, 0.84);
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 54px;
}

.value-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(225, 201, 133, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(225, 201, 133, 0.15), rgba(200, 164, 92, 0.025));
  color: var(--gold-light);
}

.value-icon svg {
  width: 21px;
  height: 21px;
}

.value-number {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.value-card h3 {
  margin-bottom: 18px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}

.value-card p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.sell-section {
  width: min(100% - 3rem, 1440px);
  margin: 0 auto 150px;
  padding: clamp(3.5rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(4rem, 10vw, 9rem);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(200, 164, 92, 0.1), rgba(5, 5, 6, 0.91) 48%, rgba(5, 5, 6, 0.96)),
    url("assets/images/texture-black-concrete.webp") center / cover;
  border: 1px solid rgba(200, 164, 92, 0.24);
}

.sell-intro h2 {
  max-width: 600px;
  margin-bottom: 30px;
}

.sell-intro > p:not(.section-kicker) {
  max-width: 490px;
  margin-bottom: 34px;
}

.sell-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  border-top: 1px solid var(--line);
}

.sell-steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.sell-steps li > span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.sell-steps strong {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}

.sell-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.location-section {
  width: min(100% - 6rem, 1320px);
  margin: 0 auto;
  padding: 28px 0 78px;
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 92, 0.27);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(18, 18, 20, 0.93), rgba(7, 7, 8, 0.94)),
    url("assets/images/texture-black-concrete.webp") center / cover;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.map-wrap {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 92, 0.2);
  border-radius: 16px;
  background: #151515;
}

.map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.48);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
  filter: grayscale(1) invert(0.88) hue-rotate(175deg) contrast(1.08) brightness(0.74);
}

.map-button {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(225, 201, 133, 0.48);
  border-radius: 999px;
  background: rgba(7, 7, 8, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  color: var(--ivory);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.map-button:hover,
.map-button:focus-visible {
  border-color: var(--gold-light);
  background: rgba(21, 18, 12, 0.94);
  transform: translateY(-2px);
}

.map-button svg {
  width: 16px;
  color: var(--gold-light);
}

.map-button span {
  color: var(--gold-light);
}

.location-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 3.2vw, 3rem);
}

.location-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.location-heading-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(200, 164, 92, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(225, 201, 133, 0.17), rgba(200, 164, 92, 0.04));
  color: var(--gold-light);
}

.location-heading-icon svg {
  width: 21px;
}

.location-heading .section-kicker {
  margin: 3px 0 12px;
}

.location-heading h2 {
  font-size: clamp(2.8rem, 4.35vw, 4.8rem);
  line-height: 0.92;
}

.address-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(200, 164, 92, 0.18);
  border-radius: 15px;
  background:
    linear-gradient(100deg, rgba(8, 8, 9, 0.79), rgba(8, 8, 9, 0.91)),
    url("assets/images/texture-gold-fabric.webp") center / cover;
}

.address-card > div {
  min-width: 0;
}

.address-card small,
.contact-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.address-card address {
  display: flex;
  flex-wrap: wrap;
  gap: 0 7px;
  margin: 0;
  color: var(--ivory);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 19px;
  font-style: normal;
  line-height: 1.35;
}

.address-card address span:not(:last-child)::after {
  content: " ·";
  color: rgba(225, 201, 133, 0.62);
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(200, 164, 92, 0.27);
  border-radius: 50%;
  background: rgba(200, 164, 92, 0.07);
  color: var(--gold-light);
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.contact-card {
  display: grid;
  min-width: 0;
  min-height: 78px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

a.contact-card:hover,
a.contact-card:focus-visible {
  border-color: rgba(200, 164, 92, 0.4);
  background: rgba(200, 164, 92, 0.06);
  transform: translateY(-2px);
}

.contact-card-hours {
  grid-column: 1 / -1;
}

.contact-card-copy {
  min-width: 0;
}

.contact-card-copy strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ivory);
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 400;
  line-height: 1.2;
}

.contact-arrow {
  color: var(--gold-light);
  font-size: 14px;
}

.appointment-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0 0;
  color: rgba(244, 240, 231, 0.58);
  font-size: 11px;
  line-height: 1.65;
}

.appointment-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold);
}

.site-footer {
  width: min(100% - 6rem, 1440px);
  min-height: 250px;
  margin: 0 auto;
  padding: 55px 0 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.site-footer > div:first-child > p {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.site-footer nav {
  display: grid;
  gap: 14px;
  color: rgba(244, 240, 231, 0.65);
  font-size: 11px;
}

.footer-contact {
  justify-self: end;
  display: grid;
  gap: 12px;
  text-align: right;
}

.footer-contact a {
  color: var(--gold-light);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 24px;
}

.footer-contact .footer-email {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-contact span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.appointment-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.79);
  backdrop-filter: blur(14px);
  animation: modalFade 220ms ease-out both;
}

.appointment-frame {
  position: relative;
  width: min(980px, calc(100% - 24px));
}

.appointment-dialog {
  position: relative;
  width: 100%;
  max-height: calc(100dvh - 64px);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
  overflow: auto;
  border: 1px solid rgba(225, 201, 133, 0.45);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(20, 20, 22, 0.97), rgba(6, 6, 7, 0.99)),
    url("assets/images/texture-black-concrete.webp") center / cover;
  box-shadow: 0 44px 130px rgba(0, 0, 0, 0.7);
  animation: modalRise 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.appointment-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.85;
}

.appointment-close {
  position: absolute;
  z-index: 8;
  top: -18px;
  right: -18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(225, 201, 133, 0.32);
  border-radius: 50%;
  background: rgba(8, 8, 9, 0.78);
  color: var(--ivory);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.appointment-close:hover,
.appointment-close:focus-visible {
  border-color: var(--gold-light);
  background: var(--gold);
  color: var(--black);
}

.appointment-close svg {
  width: 18px;
  height: 18px;
}

.appointment-aside {
  position: relative;
  padding: clamp(2.2rem, 3.6vw, 3.3rem);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 20% 15%, rgba(225, 201, 133, 0.15), transparent 36%),
    linear-gradient(160deg, rgba(200, 164, 92, 0.08), rgba(3, 3, 4, 0.36));
}

.appointment-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(225, 201, 133, 0.48);
  border-radius: 50%;
  color: var(--gold-light);
}

.appointment-icon svg {
  width: 25px;
  height: 25px;
}

.appointment-aside h2 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.appointment-aside > p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.appointment-contact-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.whatsapp-button,
.email-option {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 13px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.whatsapp-button {
  justify-content: center;
  padding: 0 18px;
  background: #d8bb70;
  color: #080806;
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  transform: translateY(-2px);
  background: var(--gold-light);
}

.email-option {
  min-height: 40px;
  color: rgba(244, 240, 231, 0.7);
  letter-spacing: 0.04em;
  text-transform: none;
}

.whatsapp-button svg,
.email-option svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.appointment-form {
  padding: 2.25rem clamp(2rem, 3.5vw, 3.2rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-content: center;
  background: rgba(7, 7, 8, 0.62);
}

.form-heading,
.form-wide {
  grid-column: 1 / -1;
}

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 2px;
  padding-right: 0;
}

.form-heading small,
.appointment-form label > span {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.form-heading p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.44);
  font-size: 10px;
}

.appointment-form label {
  display: grid;
  gap: 7px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ivory);
  font: inherit;
  font-size: 13px;
  transition: border-color 180ms ease, background 180ms ease;
  color-scheme: dark;
}

.appointment-form textarea {
  min-height: 64px;
  padding-top: 11px;
  resize: vertical;
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
  color: rgba(244, 240, 231, 0.31);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: rgba(225, 201, 133, 0.72);
  background: rgba(225, 201, 133, 0.055);
}

.appointment-form select,
.appointment-form select option {
  background-color: #09090a;
  color: var(--ivory);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}

.form-submit .button {
  flex: 0 0 auto;
}

.form-submit > small {
  max-width: 270px;
  color: rgba(244, 240, 231, 0.47);
  font-size: 9px;
  line-height: 1.55;
}

@keyframes introArc {
  to { stroke-dashoffset: 0; }
}

@keyframes introNeedle {
  72% { transform: rotate(114deg); }
  100% { transform: rotate(104deg); }
}

@keyframes introGaugeOut {
  0%, 54% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

@keyframes introLogoIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes driveIn {
  0% {
    opacity: 0;
    transform: translate3d(58%, -70%, 0) scale(0.68) rotate(3.5deg);
  }
  40% {
    opacity: 1;
  }
  78% {
    transform: translate3d(var(--car-overshoot-x), -41%, 0) scale(1.025) rotate(-0.35deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(var(--car-final-x), -43%, 0) scale(1) rotate(0deg);
  }
}

@keyframes driveInMobile {
  0% {
    opacity: 0;
    transform: translate3d(48%, -18%, 0) scale(0.7) rotate(3deg);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes wheelSpin {
  0% {
    transform: rotate(460deg);
  }
  72% {
    transform: rotate(26deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes sceneReveal {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-header,
  .hero-content,
  .facts,
  .section,
  .values-section,
  .location-section,
  .site-footer {
    width: min(100% - 3rem, 960px);
  }

  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero-copy {
    width: 66%;
  }

  .car-stage {
    --car-final-x: -4%;
    --car-overshoot-x: -6%;
    right: -20vw;
    width: 82vw;
  }

  .stock-layout,
  .about-section,
  .sell-section,
  .location-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr 0.75fr;
    gap: 3rem;
  }

  .values-heading {
    grid-template-columns: 1fr 0.72fr;
    gap: 3rem;
  }

  .stock-image,
  .inspection-image {
    min-height: 590px;
  }

  .about-copy {
    max-width: 660px;
  }

  .sell-section {
    width: calc(100% - 3rem);
  }

  .sell-steps {
    max-width: 760px;
  }

  .location-copy {
    margin-left: 0;
    max-width: none;
  }

  .appointment-dialog {
    grid-template-columns: minmax(260px, 0.72fr) minmax(430px, 1.28fr);
  }

  .appointment-aside {
    padding: 3rem 2rem;
  }

  .appointment-form {
    padding-right: 1.8rem;
    padding-left: 1.8rem;
  }
}

@media (max-width: 900px) {
  .about-panel,
  .location-card {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: none;
  }

  .inspection-image {
    min-height: 470px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 360px;
    height: 360px;
  }
}

@media (max-width: 700px) {
  .intro-inner {
    width: min(290px, 78vw);
  }

  .intro-logo .brand-mark {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .intro-logo .brand-type strong {
    font-size: 18px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-scene {
    background-position: 58% center;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(2, 2, 3, 0.76) 0%, rgba(2, 2, 3, 0.45) 52%, rgba(2, 2, 3, 0.86) 100%),
      linear-gradient(90deg, rgba(2, 2, 3, 0.76), transparent);
  }

  .site-header {
    width: calc(100% - 2rem);
    height: 78px;
  }

  .mobile-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 5px;
    overflow-x: auto;
    padding: 10px 0 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(225, 201, 133, 0.18);
    border-radius: 999px;
    background: rgba(7, 7, 8, 0.52);
    color: rgba(244, 240, 231, 0.78);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .brand-type strong {
    font-size: 14px;
  }

  .brand-type small {
    font-size: 6px;
  }

  .header-cta {
    font-size: 0;
    padding-left: 0;
  }

  .header-cta span {
    font-size: 12px;
  }

  .hero-content {
    width: calc(100% - 2rem);
    min-height: 742px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    margin-top: 5.35rem;
  }

  .eyebrow {
    margin-bottom: 1.35rem;
    font-size: 7px;
  }

  h1 {
    font-size: clamp(3.35rem, 15.5vw, 4.65rem);
    line-height: 0.84;
  }

  .hero-intro {
    width: min(92%, 450px);
    margin-top: 1.55rem;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 1.5rem;
  }

  .button {
    min-height: 48px;
    gap: 16px;
    padding: 0 15px;
    font-size: 7px;
  }

  .car-stage {
    top: auto;
    right: -28vw;
    bottom: 2.25rem;
    width: 124vw;
    animation-name: driveInMobile;
  }

  .hero-footer {
    right: 1rem;
    bottom: 19px;
    left: 1rem;
  }

  .hero-footer p {
    display: none;
  }

  .hero-footer a {
    margin-left: auto;
  }

  .facts {
    width: calc(100% - 2rem);
    margin-top: 28px;
    grid-template-columns: 1fr;
    border-radius: 15px;
  }

  .fact {
    min-height: 94px;
    padding: 18px 1.15rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .fact-icon {
    width: 46px;
    height: 46px;
  }

  .section,
  .values-section,
  .location-section,
  .site-footer {
    width: calc(100% - 1.5rem);
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-bottom: 38px;
  }

  .values-section {
    padding: 82px 0 96px;
  }

  .values-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 34px;
  }

  h2 {
    font-size: clamp(2.65rem, 12.5vw, 4.2rem);
  }

  .stock-layout {
    gap: 15px;
  }

  .stock-image,
  .inspection-image {
    min-height: 360px;
  }

  .editorial-image figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .editorial-image figcaption small {
    display: none;
  }

  .marketplace-card {
    min-height: 172px;
    grid-template-columns: 124px 1fr;
    gap: 18px;
    padding: 25px 20px;
  }

  .marketplace-card .round-arrow {
    display: none;
  }

  .marketplace-logo {
    width: 124px;
    height: 68px;
    padding: 14px;
  }

  .marketplace-copy strong {
    font-size: 24px;
  }

  .phone-panel {
    grid-template-columns: auto 1fr;
    padding: 22px 20px;
  }

  .phone-panel-action {
    display: none;
  }

  .about-section {
    padding: 48px 0 82px;
  }

  .about-panel {
    gap: 7px;
    padding: 7px;
    border-radius: 18px;
  }

  .about-copy {
    padding: 1.65rem 1.1rem 1.8rem;
  }

  .about-copy h2 {
    margin-bottom: 20px;
  }

  .about-copy .lead {
    margin-bottom: 20px;
    font-size: 19px;
  }

  .about-promise {
    padding: 12px 0;
  }

  .about-promise p {
    font-size: 10px;
  }

  .inspection-image {
    min-height: 325px;
    border-radius: 12px;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 17px;
  }

  .value-card {
    min-height: 225px;
    padding: 25px 23px 27px;
  }

  .value-card-top {
    margin-bottom: 38px;
  }

  .sell-section {
    width: 100%;
    margin-bottom: 95px;
    padding: 68px 1.25rem;
    gap: 3.5rem;
  }

  .sell-steps li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .location-section {
    padding-top: 8px;
    padding-bottom: 58px;
  }

  .location-card {
    gap: 7px;
    padding: 7px;
    border-radius: 18px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 285px;
    height: 285px;
  }

  .map-wrap {
    border-radius: 12px;
  }

  .map-button {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 0 14px;
  }

  .location-copy {
    max-width: none;
    padding: 1.4rem 0.85rem 1rem;
  }

  .location-heading {
    gap: 13px;
  }

  .location-heading-icon {
    width: 42px;
    height: 42px;
  }

  .location-heading h2 {
    font-size: clamp(2.45rem, 11.5vw, 3.3rem);
  }

  .address-card {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    margin-top: 20px;
    padding: 14px;
  }

  .address-card address {
    margin: 0;
    font-size: 17px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 7px;
  }

  .contact-card-hours {
    grid-column: auto;
  }

  .contact-card {
    min-height: 70px;
    padding: 10px 12px;
  }

  .contact-card-copy strong {
    font-size: 17px;
  }

  .appointment-note {
    margin-top: 15px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .site-footer nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact {
    justify-self: start;
    text-align: left;
  }

  .appointment-modal {
    align-items: end;
    padding: 10px;
  }

  .appointment-frame {
    width: 100%;
  }

  .appointment-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .appointment-close {
    position: absolute;
    z-index: 8;
    top: 14px;
    right: 14px;
  }

  .appointment-aside {
    padding: 2.2rem 1.35rem 1.7rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .appointment-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 25px;
  }

  .appointment-aside h2 {
    max-width: 82%;
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 13vw, 3.7rem);
  }

  .appointment-contact-options {
    margin-top: 26px;
  }

  .appointment-form {
    padding: 1.7rem 1.35rem 2rem;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .form-heading,
  .form-wide {
    grid-column: 1;
  }

  .form-heading {
    align-items: start;
    flex-direction: column;
    gap: 7px;
    padding-right: 0;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .form-submit .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .site-header,
  .hero-content,
  .facts {
    width: calc(100% - 1.25rem);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .brand-type strong {
    font-size: 12px;
  }

  .hero {
    min-height: 805px;
  }

  .hero-content {
    min-height: 727px;
  }

  .hero-copy {
    margin-top: 5rem;
  }

  .hero-actions {
    width: min(100%, 340px);
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .car-stage {
    right: -25vw;
    bottom: 2.2rem;
    width: 118vw;
  }

  .editorial-image figcaption span {
    font-size: 18px;
  }

  .marketplace-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 22px 16px;
  }

  .marketplace-logo {
    width: 138px;
    height: 64px;
  }

  .phone-panel-copy strong,
  .footer-contact a {
    font-size: 21px;
  }

  .sell-steps strong {
    font-size: 21px;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scene,
  .site-header,
  .hero-copy,
  .car-stage,
  .wheel-layer,
  .hero-footer {
    animation: none;
  }

  .appointment-modal,
  .appointment-dialog {
    animation: none;
  }

  .car-stage {
    transform: translate3d(var(--car-final-x), -43%, 0);
  }

  .editorial-image img {
    transition: none;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .car-stage {
    transform: none;
  }
}
