/* ==========================================================================
   LS Cars USA — site stylesheet
   Ported from the Claude Design prototype "JNJ AutoSales.dc.html".
   Token values, spacing and type scale are 1:1 with the prototype.
   ========================================================================== */

/* --- reset ---------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:     #0b0b0d;
  --bg2:    #131317;
  --panel:  #17171c;
  --panel2: #1e1e24;
  --line:   rgba(255, 255, 255, .08);
  --txt:    #f5f5f6;
  --mut:    #a2a2ad;
  --red:    #e0342a;
  --red-h:  #f04438;

  --red-tint:   rgba(224, 52, 42, .14);
  --red-edge:   rgba(224, 52, 42, .40);
  --red-edge-h: rgba(224, 52, 42, .55);

  --ok-bg:   rgba(46, 160, 90, .14);
  --ok-line: rgba(46, 160, 90, .50);
  --ok-txt:  #7fe0a8;

  --ease: .18s ease;
  --shell: 1240px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-h); }
img { display: block; max-width: 100%; }

/* Author-stylesheet `display` on a class outranks the UA sheet's
   [hidden] { display: none }, so .form and .alert-success would ignore the
   attribute entirely. Restore it for everything. */
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
input, textarea, select, button { font-family: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2a2a31; border-radius: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }

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

/* The prototype animates the hero and slides the mobile menu. Respect the
   OS-level reduced-motion preference for both. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --- shell ---------------------------------------------------------------- */
.page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
.page > main { flex: 1; }

.wrap { max-width: var(--shell); margin: 0 auto; width: 100%; }
.wrap--narrow { max-width: 1080px; }
.wrap--mid    { max-width: 1140px; }
.wrap--form   { max-width: 760px; }
.wrap--prose  { max-width: 900px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em; height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--solid { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- brand ---------------------------------------------------------------- */
.brand { display: flex; align-items: baseline; gap: 2px; text-decoration: none; }
.brand__mark {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px;
  color: var(--red); letter-spacing: -.02em; font-style: italic;
}
.brand__name {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px;
  color: #fff; letter-spacing: .06em;
}
.brand__tld {
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 11px;
  color: var(--mut); align-self: flex-start; margin-top: 2px;
}
.brand:hover .brand__mark { color: var(--red-h); }

.brand--sm .brand__mark { font-size: 24px; }
.brand--sm .brand__name { font-size: 18px; }
.brand--sm .brand__tld  { font-size: 10px; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 700;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--ease), border-color var(--ease),
              color var(--ease), transform var(--ease);
}
.btn:hover { color: #fff; }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-h); transform: translateY(-2px); }

.btn--ghost { background: rgba(255, 255, 255, .06); border-color: var(--line); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.btn--outline { background: none; border-color: var(--line); color: #fff; font-size: 15px; padding: 12px 22px; }
.btn--outline:hover { border-color: var(--red); color: var(--red); }

.btn--sm  { font-size: 14px; padding: 11px 20px; gap: 9px; }
.btn--sm.btn--primary:hover { transform: translateY(-1px); }
.btn--md  { font-size: 15px; padding: 14px 26px; }
.btn--lg  { font-size: 16px; padding: 16px 30px; }
.btn--xl  { font-size: 16px; padding: 16px 32px; }
.btn--block { width: 100%; }

.btn .icon { font-size: 1.05em; }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--shell); margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--txt); font-weight: 600; font-size: 15px;
  transition: color var(--ease);
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }

.brand { flex: 0 1 auto; min-width: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.burger {
  display: none;
  background: none; border: 1px solid var(--line); color: #fff;
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  font-size: 20px; cursor: pointer;
  align-items: center; justify-content: center;
  transition: border-color var(--ease), color var(--ease);
}
.burger:hover { border-color: var(--red); color: var(--red); }
.burger .icon { width: 22px; height: 22px; }

/* --- mobile menu ---------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(8, 8, 10, .97);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  padding: 26px 24px;
}
.mobile-menu__top { display: flex; justify-content: flex-end; }
.mobile-menu__close {
  background: none; border: 1px solid var(--line); color: #fff;
  width: 46px; height: 46px; border-radius: 12px;
  font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--ease), color var(--ease);
}
.mobile-menu__close:hover { border-color: var(--red); color: var(--red); }
.mobile-menu__close .icon { width: 24px; height: 24px; }

.mobile-menu__links { display: flex; flex-direction: column; gap: 8px; margin-top: 30px; }
.mobile-menu__links a {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 30px;
  color: #fff; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__links a:hover { color: var(--red); }

.mobile-menu__cta {
  margin-top: 28px; text-align: center;
  background: var(--red); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px;
  padding: 16px; border-radius: 999px;
}
.mobile-menu__cta:hover { background: var(--red-h); color: #fff; }

/* --- generic section furniture -------------------------------------------- */
.eyebrow {
  color: var(--red); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
}

.section-head { text-align: center; margin: 0 auto 54px; max-width: 640px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--mut); font-size: 17px; }
.section-head--tight { max-width: 600px; margin-bottom: 46px; }
.section-head--flush { margin-bottom: 46px; }
.section-head--flush h2 { margin-bottom: 0; }

.who-copy h2 { margin: 14px 0 18px; }
.who-copy .lead { color: var(--mut); font-size: 16px; margin-bottom: 28px; }

.btn--fit { width: fit-content; }

.h-sec--tight { margin-bottom: 14px; }
.h-sec--mid   { margin-bottom: 16px; }
.h-sec--wide  { margin-bottom: 18px; }
.prose--gap   { margin-bottom: 38px; }

.h2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em;
}
.h2--sm { font-size: clamp(28px, 4vw, 40px); }
.h2--xs { font-size: clamp(26px, 3.6vw, 38px); }
.h2--cta { font-size: clamp(28px, 4vw, 44px); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--about { gap: 52px; }

.media-frame {
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8,8,10,.94) 0%, rgba(8,8,10,.62) 45%, rgba(8,8,10,.35) 100%),
    url('../assets/cars/g63/07.jpg');
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero__inner { max-width: var(--shell); margin: 0 auto; padding: 70px 24px; width: 100%; }
.hero__copy { max-width: 660px; animation: fadeUp .7s ease both; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--red-tint); border: 1px solid var(--red-edge);
  color: #ff8078; font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
}
.hero__title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(40px, 6vw, 68px); line-height: 1.03;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.hero__title em { color: var(--red); font-style: normal; }
.hero__sub { font-size: 19px; color: var(--mut); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 56px; }
/* Not a flex container: a gap here would also separate "15" from its "+". */
.stat__num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 30px; color: #fff; }
.stat__num .icon {
  width: 26px; height: 26px; color: var(--red);
  display: inline-block; vertical-align: -4px;
}
.stat__label {
  color: var(--mut); font-size: 14px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.stat-divider { width: 1px; background: var(--line); }

/* --- feature cards -------------------------------------------------------- */
.feature-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px;
  transition: border-color var(--ease), transform var(--ease);
}
.feature-card:hover { border-color: rgba(224, 52, 42, .5); transform: translateY(-4px); }

.feature-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--red-tint); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon .icon { width: 26px; height: 26px; }

.feature-card h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.feature-card p  { color: var(--mut); font-size: 15px; }

/* --- panels --------------------------------------------------------------- */
.panel {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: 32px; padding: 60px 40px;
}
.panel--about { border-radius: 28px; }

.panel-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
}
.panel-head .eyebrow { display: block; margin-bottom: 12px; }

/* --- vehicle card --------------------------------------------------------- */
.car-card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color var(--ease), transform var(--ease);
}
.car-card:hover { border-color: var(--red-edge-h); transform: translateY(-5px); color: inherit; }

.car-card__media { position: relative; aspect-ratio: 16 / 11; background: #0d0d10; overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; }

.badge-featured {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.badge-year {
  position: absolute; top: 14px; right: 14px;
  background: rgba(8, 8, 10, .7); backdrop-filter: blur(4px);
  color: #fff; font-weight: 600; font-size: 12px;
  padding: 6px 11px; border-radius: 999px;
}

.car-card__body  { padding: 20px 22px 24px; }
.car-card__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.25; margin-bottom: 6px; }
.car-card__meta  { color: var(--mut); font-size: 13px; margin-bottom: 14px; }
.car-card__foot  { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 24px; color: #fff; }
.view-link { color: var(--red); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.view-link .icon { width: 15px; height: 15px; }

/* --- mission / vision rules ----------------------------------------------- */
.rule-stack { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.rule-stack--lg { gap: 26px; margin-bottom: 0; }

.rule { border-left: 2px solid var(--red); padding-left: 18px; }
.rule h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.rule p  { color: var(--mut); font-size: 15px; }

.rule--lg { padding-left: 20px; }
.rule--lg h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.rule--lg p  { color: var(--mut); font-size: 16px; }

/* --- testimonials --------------------------------------------------------- */
.quote-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.stars { color: var(--red); display: flex; gap: 3px; margin-bottom: 14px; }
.stars .icon { width: 16px; height: 16px; }
.quote-card p { font-size: 16px; margin-bottom: 22px; }
.quote-card__name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; }
.quote-card__role { color: var(--mut); font-size: 13px; }

/* --- CTA banner ----------------------------------------------------------- */
.cta-banner {
  position: relative; border-radius: 26px; overflow: hidden;
  background-image:
    linear-gradient(rgba(8,8,10,.72), rgba(8,8,10,.72)),
    url('../assets/cars/gt350/04.jpg');
  background-size: cover; background-position: center;
  padding: 80px 40px; text-align: center;
}
.cta-banner h2 { margin: 0 auto 16px; max-width: 640px; }
.cta-banner p  { color: #d6d6da; font-size: 17px; margin-bottom: 30px; }

/* --- page hero (inventory / about / contact) ------------------------------ */
.page-hero {
  position: relative; text-align: center;
  background-size: cover; background-position: center;
}
.page-hero .eyebrow { display: block; margin-bottom: 14px; }
.page-hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 14px;
}
.page-hero p { color: var(--mut); font-size: 17px; margin: 0 auto; }

.page-hero--inventory {
  padding: 90px 24px 70px;
  background-image: linear-gradient(rgba(8,8,10,.82), rgba(11,11,13,.98)), url('../assets/cars/rs5/02.jpg');
}
.page-hero--inventory h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero--inventory p  { max-width: 560px; }

.page-hero--about {
  padding: 100px 24px 80px;
  background-image: linear-gradient(rgba(8,8,10,.78), rgba(11,11,13,.98)), url('../assets/cars/bentley-gt/04.jpg');
}
.page-hero--about h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.page-hero--about p  { max-width: 600px; }

.page-hero--contact {
  padding: 100px 24px 80px;
  background-image: linear-gradient(rgba(8,8,10,.78), rgba(11,11,13,.98)), url('../assets/cars/cayenne/06.jpg');
}
.page-hero--contact h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.page-hero--contact p  { max-width: 620px; }

/* --- inventory controls --------------------------------------------------- */
.inv-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 30px;
}
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  background: var(--panel); color: var(--mut); border: 1px solid var(--line);
  font-weight: 600; font-size: 14px; padding: 9px 16px;
  border-radius: 999px; cursor: pointer; transition: .15s;
}
.chip:hover { color: var(--txt); border-color: var(--red-edge); }
.chip[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }

.inv-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.input, .select {
  background: var(--panel); border: 1px solid var(--line); color: #fff;
  font-size: 14px; border-radius: 10px; outline: none;
  transition: border-color var(--ease);
}
.input { padding: 11px 16px; width: 220px; }
.select { padding: 11px 14px; cursor: pointer; }
.input:focus, .select:focus { border-color: var(--red); }
.input::placeholder { color: var(--mut); }

.result-count { color: var(--mut); font-size: 14px; margin-bottom: 20px; }

.empty-state {
  grid-column: 1 / -1; text-align: center;
  background: var(--panel); border: 1px dashed var(--line);
  border-radius: 18px; padding: 60px 30px; color: var(--mut);
}
.empty-state h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; color: var(--txt); margin-bottom: 8px; }

/* --- vehicle detail ------------------------------------------------------- */
.veh-hero {
  position: relative; padding: 80px 24px 64px;
  background-size: cover; background-position: center;
}
.veh-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(8,8,10,.6), rgba(11,11,13,.97));
}
.veh-hero > * { position: relative; }

.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--mut); font-weight: 600; font-size: 14px; margin-bottom: 22px;
  transition: color var(--ease);
}
.back-link:hover { color: #fff; }
.back-link .icon { width: 16px; height: 16px; }

.veh-hero .eyebrow { display: block; letter-spacing: .12em; margin-bottom: 10px; }
.veh-hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -.02em; margin-bottom: 16px;
}
.price-tag {
  display: inline-flex; align-items: center;
  background: var(--red); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px;
  padding: 10px 22px; border-radius: 12px;
}

/* gallery */
.gallery__main {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: #0d0d10;
  aspect-ratio: 16 / 9; margin-bottom: 16px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(8, 8, 10, .6); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.gallery__nav:hover { background: var(--red); }
.gallery__nav .icon { width: 22px; height: 22px; }
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }

.gallery__pos {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(8, 8, 10, .7); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}

.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.thumb {
  flex: 0 0 auto; width: 104px; height: 70px;
  border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: #0d0d10;
  cursor: pointer; padding: 0;
  transition: border-color var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--red-edge); }
.thumb[aria-current="true"] { border-color: var(--red); }

/* detail body */
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }

.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.qstat {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 14px; text-align: center;
}
.qstat__k {
  color: var(--mut); font-size: 12px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px;
}
.qstat__v { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; }
.qstat__v--sm { font-size: 14px; }

.h-sec { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 24px; }
.prose { color: #d0d0d6; font-size: 16px; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.spec-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.spec-card--full { grid-column: 1 / -1; }
.spec-card h4 {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--red); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px;
}
.spec-rows { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.spec-rows--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; }
.spec-row dt { color: var(--mut); }
.spec-row dd { font-weight: 600; text-align: right; }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 15px; font-size: 14px;
}
.opt .icon { width: 16px; height: 16px; color: var(--red); stroke-width: 2.5; }

/* inquiry sidebar */
.inquiry {
  position: sticky; top: 96px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
}
.inquiry h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.inquiry > p { color: var(--mut); font-size: 14px; margin-bottom: 20px; }
.inquiry .call-link {
  text-align: center; color: #fff; font-weight: 600; font-size: 14px; padding: 6px;
}
.inquiry .call-link:hover { color: var(--red); }

/* --- forms ---------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 12px; }
.form--roomy { gap: 14px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field {
  background: var(--bg2); border: 1px solid var(--line); color: #fff;
  font-size: 14px; padding: 13px 15px; border-radius: 10px; outline: none;
  transition: border-color var(--ease);
  width: 100%;
}
.field--lg { font-size: 15px; padding: 14px 16px; }
.field:focus { border-color: var(--red); }
.field::placeholder { color: var(--mut); }
textarea.field { resize: vertical; }

.field[aria-invalid="true"] { border-color: var(--red); }

.consent {
  display: flex; gap: 9px; align-items: flex-start;
  color: var(--mut); font-size: 12px; line-height: 1.5;
}
.consent--lg { gap: 10px; font-size: 13px; }
.consent input { margin-top: 3px; flex: none; accent-color: var(--red); }

.form .btn[type="submit"] {
  border-radius: 10px; padding: 15px; font-size: 16px;
  background: var(--red); color: #fff; border: none;
}
.form--roomy .btn[type="submit"] { padding: 16px; }
.form .btn[type="submit"]:hover { background: var(--red-h); transform: none; }

.alert-success {
  background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-txt);
  border-radius: 12px; padding: 18px; font-size: 14px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.alert-success--lg { padding: 22px; font-size: 15px; }
.alert-success .icon { width: 18px; height: 18px; stroke-width: 2.5; }

/* --- contact -------------------------------------------------------------- */
.contact-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px 24px; text-align: center;
  text-decoration: none; color: inherit;
  transition: border-color var(--ease), transform var(--ease);
}
a.contact-card:hover { border-color: rgba(224, 52, 42, .5); transform: translateY(-4px); color: inherit; }

.contact-card__icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__k {
  color: var(--mut); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px;
}
.contact-card__v { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; }
.contact-card__v--sm { font-size: 15px; }

.form-panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 22px; padding: 40px;
}
.form-panel h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 24px; margin-bottom: 6px; text-align: center; }
.form-panel > p { color: var(--mut); font-size: 15px; text-align: center; margin-bottom: 28px; }

/* --- about ---------------------------------------------------------------- */
.about-intro { text-align: center; }
.about-intro h2 { margin-bottom: 20px; }
.about-intro p  { color: var(--mut); font-size: 17px; }

.why-item { text-align: center; padding: 20px; }
.why-item .feature-icon { margin: 0 auto 18px; width: 56px; height: 56px; }
.why-item h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.why-item p  { color: var(--mut); font-size: 15px; }

/* --- landing -------------------------------------------------------------- */
.landing {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8,8,10,.96) 0%, rgba(8,8,10,.7) 50%, rgba(8,8,10,.4) 100%),
    url('../assets/cars/model-s-plaid/17.jpg');
  background-size: cover; background-position: center;
}
.landing__inner {
  max-width: 1180px; margin: 0 auto; padding: 70px 24px; width: 100%;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.landing .brand { margin-bottom: 28px; }
.landing h1 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(38px, 5.5vw, 62px); line-height: 1.04;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.landing h1 em { color: var(--red); font-style: normal; }
.landing__sub { font-size: 19px; color: var(--mut); max-width: 480px; margin-bottom: 30px; }

.points { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.point { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.point .icon { width: 18px; height: 18px; color: var(--red); stroke-width: 2.5; }

.quote-panel {
  background: rgba(20, 20, 24, .85); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 22px; padding: 34px;
}
.quote-panel h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 23px; margin-bottom: 6px; }
.quote-panel > p { color: var(--mut); font-size: 14px; margin-bottom: 22px; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding: 64px 24px 34px; }

.foot-grid {
  max-width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px;
}
.foot-grid .brand { margin-bottom: 18px; }
.foot-blurb { color: var(--mut); font-size: 15px; max-width: 320px; }

.foot-col h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.foot-links { display: flex; flex-direction: column; gap: 11px; }
.foot-links a { color: var(--mut); font-size: 15px; transition: color var(--ease); }
.foot-links a:hover { color: #fff; }

.foot-contact { display: flex; flex-direction: column; gap: 13px; }
.foot-contact a, .foot-contact div {
  display: flex; align-items: center; gap: 11px;
  color: var(--mut); font-size: 15px; transition: color var(--ease);
}
.foot-contact div { align-items: flex-start; }
.foot-contact a:hover { color: #fff; }
.foot-contact .icon { width: 16px; height: 16px; color: var(--red); }
.foot-contact div .icon { margin-top: 4px; }

.foot-bottom {
  max-width: var(--shell); margin: 38px auto 0;
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #6b6b74; font-size: 13px;
}
.foot-bottom a { color: #6b6b74; }
.foot-bottom a:hover { color: #fff; }
.foot-bottom nav { display: flex; gap: 22px; }

/* --- section padding helpers ---------------------------------------------- */
.s-why      { padding: 92px 24px; }
.s-featured { padding: 20px 24px 92px; }
.s-who      { padding: 20px 24px 96px; }
.s-quotes   { padding: 20px 24px 96px; }
.s-cta      { padding: 0 24px 96px; }
.s-inv      { padding: 34px 24px 96px; }
.s-gallery  { padding: 44px 24px 30px; }
.s-detail   { padding: 30px 24px 70px; }
.s-about-1  { padding: 80px 24px; }
.s-about-2  { padding: 0 24px 84px; }
.s-about-3  { padding: 0 24px 96px; }
.s-contact-1{ padding: 56px 24px 30px; }
.s-map      { padding: 0 24px 6px; }
.map-embed  {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); line-height: 0;
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
.s-contact-2{ padding: 30px 24px 96px; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .landing__inner { grid-template-columns: 1fr; }
  .inquiry { position: static; }
  .panel { padding: 44px 26px; }
  .cta-banner { padding: 60px 26px; }
  .form-panel { padding: 30px 24px; }
}

@media (max-width: 640px) {
  .grid3 { grid-template-columns: 1fr; }
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-rows--2col { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .map-embed iframe { height: 300px; }
  .inv-controls { align-items: stretch; }
  .inv-tools { flex-direction: column; align-items: stretch; }
  .input { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero-stats { gap: 22px; }
  .stat-divider { display: none; }
  .mobile-menu__links a { font-size: 26px; }
  .foot-bottom { flex-direction: column; }

  /* The full-width wordmark + labelled Call button + burger cannot coexist
     below ~430px: the burger gets pushed off-screen. Shrink the wordmark and
     drop the button to an icon-only 44px tap target. */
  .site-header__inner { padding: 14px 16px; gap: 10px; }
  .brand__mark { font-size: 22px; }
  .brand__name { font-size: 16px; letter-spacing: .04em; }
  .brand__tld  { font-size: 9px; }
  .header-actions .btn--sm { width: 44px; height: 44px; padding: 0; gap: 0; }
  .header-actions .btn__label { display: none; }
  .burger { width: 44px; height: 44px; }
}

@media (max-width: 360px) {
  .brand__tld { display: none; }
  .brand__name { font-size: 15px; }
}
