/* Lindas Auto Care Center — "night forecourt" */
:root {
  --night: #0B0A08;
  --asphalt: #161511;
  --asphalt-2: #1F1D18;
  --line: rgba(243, 239, 230, .13);
  --chalk: #F3EFE6;
  --smoke: #ABA597;
  --red: #CB2B1F;
  --red-deep: #9C1F15;
  --red-hi: #EA5245;
  --gold: #E3C06C;
  --display: "Roboto Flex", "Arial Black", system-ui, sans-serif;
  --body: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
  --header-h: 64px;
  --bar-h: 0px;
  /* the slope of the logo's triangle, reused for every diagonal edge */
  --cut: 9%;
}
@media (min-width: 900px) { :root { --header-h: 80px; } }
@media (max-width: 899px) { :root { --bar-h: calc(60px + env(safe-area-inset-bottom)); } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--gold); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--night); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* Type */
.h2 {
  font: 850 clamp(1.9rem, 1.2rem + 3.2vw, 3.6rem)/1 var(--display);
  font-stretch: 151%;
  letter-spacing: -.01em;
  text-wrap: balance;
}
:lang(el) .h2 { font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); }
.lead { color: var(--smoke); font-size: 1.0625rem; margin-top: .75rem; }

/* Buttons: fill sweeps in from the left on hover */
.btn {
  --fill: var(--red-deep);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4em;
  border: 1.5px solid transparent; border-radius: 3px;
  font: 700 .9375rem/1 var(--display); font-stretch: 125%; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  touch-action: manipulation;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--fill);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { color: #fff; }
.btn--line { border-color: var(--line); background: transparent; color: var(--chalk); --fill: var(--red); }
.btn--line:hover { color: #fff; border-color: var(--red); }
.btn--ghost { color: var(--smoke); padding-inline: .6em; --fill: transparent; }
.btn--ghost:hover { color: var(--gold); }
.btn--lg { min-height: 58px; padding: 0 2.2em; font-size: 1rem; }
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: .875rem; }
.ctrl {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: var(--chalk);
  transition: border-color .3s, color .3s, background-color .3s;
}
.ctrl:hover { border-color: var(--red); background: var(--red); color: #fff; }
.chip-spec {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .35em .75em; border: 1px solid var(--line); border-radius: 2px;
  font-size: .875rem; color: var(--chalk); background: rgba(243, 239, 230, .04);
}
.chip-spec .i { color: var(--red-hi); width: 1.05em; height: 1.05em; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: inherit; font-size: inherit; }
.linkbtn:hover { color: var(--gold); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-solid { background: rgba(11, 10, 8, .94); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 1rem; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.header__logo { flex: none; }
.header__logo img { height: 46px; width: auto; }
@media (max-width: 899px) { .header__logo img { height: 36px; } }
.header__tools { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); margin-left: clamp(1rem, 4vw, 3.5rem); }
.nav a {
  position: relative; text-decoration: none; font: 650 .9375rem/1 var(--display); font-stretch: 120%;
  padding: 12px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--chalk); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang {
  min-width: 44px; height: 44px; border: 1.5px solid var(--line); background: transparent; border-radius: 3px;
  font: 700 .8125rem/1 var(--display); font-stretch: 120%;
}
.lang:hover { border-color: var(--gold); color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 22px; height: 2px; background: var(--chalk); margin: 0 auto; transition: transform .35s var(--ease), opacity .2s; }
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .burger { display: block; }
  .header .btn--sm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header .btn--sm { width: 44px; padding: 0; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem;
    background: rgba(11, 10, 8, .97); box-shadow: 0 1px 0 var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { padding: 16px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* Hero: a fixed showroom stage; generic cars drive on and off it */
.hero { position: relative; min-height: 100svh; display: grid; overflow: hidden; background: var(--night); }
.hero__bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 55% at 64% 42%, rgba(255, 236, 200, .1), transparent 70%),
    radial-gradient(45% 55% at 8% 95%, rgba(203, 43, 31, .2), transparent 70%),
    radial-gradient(40% 40% at 95% 10%, rgba(227, 192, 108, .07), transparent 70%);
}
.hero__word {
  position: absolute; left: 50%; top: 46%; transform: translateX(-50%);
  margin: 0; white-space: nowrap; user-select: none;
  font: 900 14vw/.8 var(--display); font-stretch: 151%; letter-spacing: -.01em;
}
.hero__word span { display: inline-block; color: rgba(243, 239, 230, .035); -webkit-text-stroke: 1.5px rgba(227, 192, 108, .26); }
.hero__tri { position: absolute; width: 120vw; max-width: 980px; left: 50%; top: 8%; transform: translateX(-42%); opacity: .28; fill: none; }
.hero__tri path { stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-linecap: square; }
.hero__tri .tri-red { stroke: var(--red); }
.hero__tri .tri-gold { stroke: var(--gold); opacity: .7; }
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  border-top: 1px solid rgba(227, 192, 108, .12);
  background: linear-gradient(180deg, rgba(243, 239, 230, .04), rgba(11, 10, 8, 0) 60%);
}
.hero__floor::before {
  content: ""; position: absolute; inset: 0 -60%;
  background-image: linear-gradient(90deg, rgba(243, 239, 230, .07) 1px, transparent 1px), linear-gradient(0deg, rgba(243, 239, 230, .05) 1px, transparent 1px);
  background-size: 90px 60px;
  transform: perspective(420px) rotateX(58deg); transform-origin: top;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero__in {
  position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-areas: "copy" "stage" "cta"; align-content: center; gap: 1.5rem;
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 2rem;
}
.hero__copy { grid-area: copy; }
.hero__title { font: 880 clamp(2.35rem, 1.1rem + 4.6vw, 5.4rem)/.93 var(--display); font-stretch: 151%; letter-spacing: -.02em; }
:lang(el) .hero__title { font-size: clamp(2rem, 1rem + 3.6vw, 4.3rem); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:last-child > span { color: var(--gold); }
.hero__sub { margin-top: 1rem; max-width: 36ch; color: var(--smoke); font-size: 1.0625rem; }
.hero__cta { grid-area: cta; position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: .6rem; }
.btn__count { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em; border-radius: 999px; background: rgba(0, 0, 0, .28); font-size: .8em; }

.stage { grid-area: stage; position: relative; aspect-ratio: 1.6; width: 100%; isolation: isolate; }
.stage__car { position: absolute; left: 0; right: 0; bottom: 21%; margin: 0 auto; width: 92%; pointer-events: none; }
.stage__car--mazda2 { width: 80%; }
.stage__car--golf-gte { width: 84%; }
.stage__car--bmw-8 { width: 96%; }
html.has-motion .stage__car, .stage__car:not(.is-first) { visibility: hidden; }
.stage__body { position: relative; transform-origin: 50% 100%; }
.stage__body img { width: 100%; height: auto; display: block; }
.stage__shine {
  --shine: -60%;
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent calc(var(--shine) - 14%), rgba(255, 244, 220, .5) var(--shine), transparent calc(var(--shine) + 14%));
  -webkit-mask: var(--car) center / 100% 100% no-repeat; mask: var(--car) center / 100% 100% no-repeat;
}
.stage__reflect {
  position: absolute; top: 100%; left: 0; width: 100%; height: auto;
  transform: scaleY(-1); opacity: .2;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 38%); mask-image: linear-gradient(to top, #000, transparent 38%);
}
.stage__shadow { position: absolute; left: 6%; right: 6%; bottom: 17%; height: 12%; background: radial-gradient(closest-side, rgba(0, 0, 0, .9), transparent); }
.stage__lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stage__line { position: absolute; right: 0; width: 45%; height: 2px; opacity: 0; transform-origin: right; background: linear-gradient(90deg, transparent, var(--gold)); }
.stage__line:nth-child(1) { top: 34%; }
.stage__line:nth-child(2) { top: 46%; width: 60%; background: linear-gradient(90deg, transparent, var(--red)); }
.stage__line:nth-child(3) { top: 55%; width: 35%; }
.stage__line:nth-child(4) { top: 63%; width: 55%; background: linear-gradient(90deg, transparent, var(--chalk)); }
.stage__line:nth-child(5) { top: 71%; width: 40%; background: linear-gradient(90deg, transparent, var(--red)); }
.stage__word { position: absolute; left: 50%; top: -2.6rem; transform: translateX(-50%); margin: 0; white-space: nowrap; font: 900 13.5vw/.8 var(--display); font-stretch: 151%; }
.stage__word span { display: inline-block; color: rgba(243, 239, 230, .035); -webkit-text-stroke: 1.2px rgba(227, 192, 108, .32); }
.hero__pause { position: absolute; right: 0; bottom: 0; z-index: 3; width: 40px; height: 40px; background: rgba(11, 10, 8, .6); }
html:not(.has-motion) .hero__pause { display: none; }

@media (min-width: 900px) {
  .hero { min-height: max(660px, 100svh); }
  .hero__word { top: calc(var(--header-h) + 2.5vh); font-size: min(13.5vw, 215px); }
  .hero__tri { left: auto; right: -4%; top: 12%; transform: none; width: 64vw; }
  .hero__in {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". stage" "copy stage" "cta stage" ". stage";
    column-gap: clamp(1rem, 3vw, 3rem); row-gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  }
  .stage { align-self: center; aspect-ratio: 1.45; }
  .hero__sub { font-size: 1.125rem; }
}
@media (max-width: 899px) {
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__word { display: none; }
  .stage { margin-top: 2.4rem; }
}
@media (min-width: 900px) { .stage__word { display: none; } }

/* Quick actions */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--line); background: var(--asphalt); }
.quick__item {
  --fill: var(--red);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center;
  padding: 1.25rem var(--gutter); text-decoration: none; min-height: 88px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quick__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.quick__item:hover { color: #fff; }
.quick__item:hover::before { transform: scaleY(1); }
.quick__item .i { grid-row: span 2; width: 28px; height: 28px; color: var(--red-hi); transition: color .3s; }
.quick__item:hover .i { color: #fff; }
.quick__label { font: 800 1.0625rem/1.1 var(--display); font-stretch: 140%; }
.quick__meta { font-size: .8125rem; color: var(--smoke); overflow-wrap: anywhere; transition: color .3s; }
.quick__item:hover .quick__meta { color: rgba(255,255,255,.85); }
@media (min-width: 900px) {
  .quick { grid-template-columns: repeat(4, 1fr); }
  .quick__item { padding: 1.75rem 2rem; border-bottom: 0; }
  .quick__item:last-child { border-right: 0; }
}

/* Stock */
.stock { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.stock__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.empty { padding: 2rem 0; color: var(--smoke); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--asphalt); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.card:hover { transform: translateY(-6px); border-color: rgba(227, 192, 108, .35); box-shadow: 0 24px 48px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(203,43,31,.18); }
.card.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; } }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 22px)); background: var(--asphalt-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  padding: .45em .8em; background: var(--red); color: #fff;
  font: 800 .8125rem/1 var(--display); font-stretch: 130%; letter-spacing: .04em; text-transform: uppercase;
}
.card.is-sold .card__media img { filter: grayscale(1) brightness(.6); }
.card.is-sold .card__price { color: var(--smoke); text-decoration: line-through; text-decoration-thickness: 2px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.card__make { font-size: .8125rem; color: var(--smoke); }
.card__name { font: 820 1.375rem/1.1 var(--display); font-stretch: 140%; margin-top: .15rem; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.card__actions { position: relative; z-index: 2; }
.card__more {
  position: absolute; right: 12px; bottom: 32px; z-index: 1;
  display: inline-flex; align-items: center; gap: .35em; padding: .5em .8em; border-radius: 2px;
  background: rgba(11, 10, 8, .82); font-size: .8125rem; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card__more .i { width: 1em; height: 1em; color: var(--gold); }
.card:hover .card__more { opacity: 1; transform: none; }
@media (hover: none) { .card__more { opacity: 1; transform: none; } }
.card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .75rem; margin: 1rem 0 1.1rem; font-size: .875rem; }
.card__specs li { display: flex; align-items: center; gap: .5em; min-width: 0; }
.card__specs .i { color: var(--red-hi); width: 1.05em; height: 1.05em; }
.card__specs .note { grid-column: 1 / -1; color: var(--gold); }
.card__specs .note .i { color: var(--gold); }
.card__price { margin-top: auto; font: 820 1.75rem/1 var(--display); font-stretch: 130%; color: var(--gold); font-variant-numeric: tabular-nums; }
.card__actions { display: grid; gap: .5rem; margin-top: 1rem; }
.card__actions .btn { padding-inline: 1em; font-size: .875rem; }
.card__actions .btn--wa { --fill: #1f7a4a; border-color: var(--line); }
.card__actions .btn--wa:hover { border-color: #1f7a4a; color: #fff; }
/* light streak across the main button on card hover */
.card .btn--red::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 236, 190, .55), transparent);
  transform: skewX(-20deg) translateX(0);
}
.card:hover .btn--red::after { transform: skewX(-20deg) translateX(420%); transition: transform 1s var(--ease); }
.card.is-sold .card__actions { display: none; }

.stock__head { margin-bottom: 2rem; }
.stock__all { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* Stock page */
.stockpage { padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(4rem, 8vw, 6rem); }
.stockpage__head { margin-bottom: 2rem; }
.stockpage__title { font: 880 clamp(2.4rem, 1.4rem + 4vw, 4.6rem)/.95 var(--display); font-stretch: 151%; letter-spacing: -.02em; }
:lang(el) .stockpage__title { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.8rem); }

/* About: since 1988 */
.about {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  background: radial-gradient(50% 70% at 0% 40%, rgba(237, 29, 38, .1), transparent 70%);
  border-top: 1px solid var(--line);
}
.about__in { display: grid; gap: 2rem; align-items: center; }
.about__year { display: grid; line-height: .85; }
.about__since { font: 700 1rem/1.2 var(--display); font-stretch: 140%; color: var(--smoke); margin-bottom: .4rem; }
.about__num { font: 900 clamp(5rem, 3rem + 10vw, 11rem)/.85 var(--display); font-stretch: 151%; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 2px var(--red); font-variant-numeric: tabular-nums; }
.facts { display: grid; gap: .25rem; margin-top: 1.75rem; }
.facts li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts .i { width: 26px; height: 26px; color: var(--red-hi); }
.facts strong { display: block; font: 800 1.125rem/1.2 var(--display); font-stretch: 130%; }
.facts small { display: block; color: var(--smoke); font-size: .9375rem; margin-top: .15rem; }
.facts a { text-decoration: none; }
@media (min-width: 900px) { .about__in { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.hours { border-collapse: collapse; margin: 0 0 2rem; font-size: 1rem; min-width: min(100%, 340px); }
.hours caption { text-align: left; font: 800 1.0625rem/1.2 var(--display); font-stretch: 130%; margin-bottom: .6rem; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 400; color: var(--smoke); padding-right: 2rem; }
.hours td { font-variant-numeric: tabular-nums; }

/* Sell */
.sell { display: grid; background: var(--asphalt); border-block: 1px solid var(--line); }
.sell__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; max-height: 60svh; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
.sell__media img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.sell__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,21,17,.5), transparent 40%); }
.sell__body { padding: 2.5rem var(--gutter) clamp(3rem, 7vw, 5.5rem); }
.ticks { display: grid; gap: .5rem; margin: 1.25rem 0 2rem; }
.ticks li { display: flex; align-items: center; gap: .6rem; font-size: 1.0625rem; }
.ticks .i { color: var(--gold); }
@media (min-width: 1000px) {
  .sell { grid-template-columns: 1fr 1fr; }
  .sell__media { aspect-ratio: auto; max-height: none; height: 100%; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
  .sell__body { padding: clamp(4rem, 7vw, 6.5rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) clamp(4rem, 7vw, 6.5rem) 2.5rem; }
}

.form__grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .35rem; }
.opt { color: var(--smoke); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font-size: 1rem;
  background: var(--night); border: 1.5px solid var(--line); border-radius: 3px;
  transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: rgba(243,239,230,.3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #7d786d; }
.field [aria-invalid="true"] { border-color: var(--red-hi); }
.field__err { color: var(--red-hi); font-size: .8125rem; margin-top: .3rem; }
.form__note { margin: 1rem 0 1.25rem; font-size: .8125rem; color: var(--smoke); }
.form__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* Contact */
.contact { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.contact__in { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .contact__in { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.details { display: grid; gap: .25rem; margin: 1.75rem 0 2rem; }
.details li { display: flex; align-items: center; gap: .8rem; min-height: 44px; font-size: 1.0625rem; }
.details .i { color: var(--red-hi); }
.details a { text-decoration: none; overflow-wrap: anywhere; }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--asphalt); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.map__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1.5rem; text-align: center; color: var(--smoke); font-size: .9375rem; }
.map__grid { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(243,239,230,.08); stroke-width: 10; fill: none; }
.map__pin { position: relative; width: 44px; height: 44px; color: var(--red); }
.map__ph p, .map__ph .btn { position: relative; max-width: 30ch; }

/* Footer */
.footer { background: var(--asphalt); border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; font-size: .9375rem; }
.footer__in { display: grid; gap: 2rem; }
.footer__logo { width: 220px; height: auto; }
.footer__list { display: grid; gap: .35rem; color: var(--smoke); }
.footer__list a { text-decoration: none; }
.footer__copy { color: var(--smoke); font-size: .8125rem; }
.footer__credit { color: #8d887c; font-size: .75rem; }
.footer__credit a { color: inherit; }
.footer__webvia { color: var(--smoke); font-size: .8125rem; text-decoration: none; }
.footer__webvia strong { color: var(--gold); }
.footer__webvia:hover { color: var(--chalk); }
@media (min-width: 800px) { .footer__in { grid-template-columns: auto 1fr 1fr; align-items: start; column-gap: 4rem; } .footer__copy, .footer__credit { grid-column: 1 / -1; } .footer__copy { grid-column: 1 / 3; } .footer__webvia { grid-column: 3; justify-self: end; } }

/* Mobile bottom bar */
.bar {
  position: fixed; inset: auto 0 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  height: var(--bar-h); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(11, 10, 8, .97); border-top: 1px solid var(--line);
}
.bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: .75rem; font-weight: 500; }
.bar a:first-child { background: var(--red); color: #fff; }
.bar .i { width: 22px; height: 22px; }
@media (min-width: 900px) { .bar { display: none; } }

/* Cookie banner and settings */
.consent {
  position: fixed; z-index: 200; left: 12px; right: 12px; bottom: calc(var(--bar-h) + 12px);
  max-width: 760px; margin: 0 auto; padding: 1.25rem;
  background: var(--asphalt-2); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 4px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7);
  display: grid; gap: 1rem;
  transform: translateY(24px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.consent.is-in { transform: none; opacity: 1; }
.consent h2 { font: 800 1.125rem/1.2 var(--display); font-stretch: 130%; }
.consent p { color: var(--smoke); font-size: .875rem; margin-top: .3rem; }
.consent__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.consent__actions .btn, .prefs__actions .btn { padding-inline: .6em; font-size: .8125rem; white-space: normal; text-align: center; }
@media (min-width: 760px) { .consent { grid-template-columns: 1fr auto; align-items: center; } .consent__actions { grid-template-columns: repeat(3, auto); } }

.prefs { width: min(520px, calc(100% - 24px)); padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--asphalt-2); color: var(--chalk); }
.prefs::backdrop { background: rgba(0, 0, 0, .7); }
.prefs[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
.prefs__inner { padding: 1.5rem; display: grid; gap: 1rem; }
.prefs h2 { font: 800 1.375rem/1.1 var(--display); font-stretch: 140%; }
.prefs__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .5rem; }
.switch { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: .9rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 46px; height: 26px; margin: 0; cursor: pointer; }
.switch input:disabled { cursor: not-allowed; }
.switch__ui { width: 46px; height: 26px; border-radius: 13px; background: #3a3730; position: relative; transition: background-color .3s; margin-top: 2px; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--chalk); transition: transform .3s var(--ease); }
.switch input:checked + .switch__ui { background: var(--red); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .55; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--gold); outline-offset: 3px; }
.switch strong { display: block; font-weight: 600; }
.switch small { display: block; color: var(--smoke); font-size: .8125rem; line-height: 1.45; }

/* Logo intro */
.intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--night); }
.intro svg { width: min(82vw, 560px); height: auto; overflow: visible; }

/* Motion: faded (still focusable) only until the motion script reveals them */
html.has-motion [data-reveal],
html.has-motion [data-reveal-item],
html.has-motion [data-image-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
}

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem; }
.legal h1 { font: 860 clamp(2rem, 1.4rem + 3vw, 3.2rem)/1 var(--display); font-stretch: 151%; margin-bottom: .75rem; }
.legal h2 { font: 800 1.25rem/1.2 var(--display); font-stretch: 130%; margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: #d9d4c8; }
.legal p + p { margin-top: .75rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; }
.legal .muted { color: var(--smoke); font-size: .875rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-top: .5rem; }
.legal th, .legal td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--smoke); font-weight: 500; }
.legal-header { background: rgba(11, 10, 8, .94); box-shadow: 0 1px 0 var(--line); }
.legal-back { font-size: .875rem; line-height: 1.25; text-align: right; color: var(--smoke); padding: 8px 4px; }
.legal-header .header__tools { min-width: 0; }
[lang="el"] .only-en, [lang="en"] .only-el { display: none; }
@media (max-width: 600px) { .legal table { display: block; overflow-x: auto; font-size: .875rem; } .legal td, .legal th { min-width: 110px; } }

/* Car page */
.detail { padding: calc(var(--header-h) + 1rem) 0 clamp(4rem, 8vw, 6rem); }
.crumbs { margin-bottom: 1rem; }
.crumbs a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: var(--smoke); text-decoration: none; font-size: .9375rem; }
.crumbs a:hover { color: var(--gold); }
.detail__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (min-width: 1000px) { .detail__top { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem; } .info { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.gallery__main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--asphalt); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px)); }
.gallery__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(28px) brightness(.45); }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery__main .badges { z-index: 3; }
.badge--demo { background: var(--gold); color: var(--night); }
.info__demo { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; padding: .8rem 1rem; border: 1px solid rgba(227, 192, 108, .45); border-radius: 4px; background: rgba(227, 192, 108, .08); color: var(--chalk); font-size: .9375rem; line-height: 1.5; }
.info__demo .i { color: var(--gold); margin-top: .15em; }
.gallery__nav { position: absolute; top: 50%; z-index: 2; margin-top: -22px; background: rgba(11, 10, 8, .65); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__open { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(11, 10, 8, .65); }
.gallery__count { position: absolute; left: 14px; bottom: 34px; z-index: 2; padding: .3em .7em; background: rgba(11, 10, 8, .75); border-radius: 2px; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery__thumb { flex: 0 0 auto; width: 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: var(--asphalt); opacity: .6; transition: opacity .25s, border-color .25s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { opacity: 1; border-color: var(--gold); }

.info__make { color: var(--smoke); font: 700 .9375rem/1.2 var(--display); font-stretch: 140%; }
.info__name { margin-top: .3rem; font: 880 clamp(2rem, 1.3rem + 2.6vw, 3.2rem)/.98 var(--display); font-stretch: 151%; letter-spacing: -.015em; text-wrap: balance; }
.info__price { margin-top: 1rem; font: 820 clamp(2rem, 1.6rem + 1.6vw, 2.8rem)/1 var(--display); font-stretch: 130%; color: var(--gold); font-variant-numeric: tabular-nums; }
.info__price.is-sold { color: var(--smoke); text-decoration: line-through; }
.info__sold { margin-top: .5rem; color: var(--red-hi); font-weight: 600; }
.info__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.perks { display: grid; gap: .45rem; margin: 1.25rem 0 1.5rem; }
.perks li { display: flex; align-items: center; gap: .55rem; }
.perks .i { color: var(--gold); }
.info__cta { display: grid; gap: .5rem; }
.info__post { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: 1rem; color: var(--smoke); font-size: .9375rem; }
.info__post:hover { color: var(--gold); }

.h3 { font: 820 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.1 var(--display); font-stretch: 140%; }
.specs { margin-top: clamp(3rem, 6vw, 4.5rem); }
.specs__list { display: grid; margin-top: 1.25rem; border-top: 1px solid var(--line); }
.specs__list div { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.specs__list dt { color: var(--smoke); }
.specs__list dd { margin: 0; font-weight: 500; }
@media (min-width: 800px) { .specs__list { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

.trade {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(110deg, rgba(203, 43, 31, .2), rgba(203, 43, 31, 0) 60%), var(--asphalt);
  border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 4px;
}
.trade p { color: var(--smoke); margin-top: .4rem; }
.more { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.more .grid { margin-top: 1.25rem; }
.detail__missing { display: grid; justify-items: start; gap: 1.5rem; padding: 4rem 0; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 4, .96); color: var(--chalk); }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox[open] { display: grid; place-items: center; animation: rise .35s var(--ease); }
.lightbox img { max-width: 100%; max-height: 100dvh; object-fit: contain; }
.lightbox__count { position: absolute; left: 16px; top: 16px; font-size: .875rem; color: var(--smoke); font-variant-numeric: tabular-nums; }
.lightbox__close { position: absolute; top: 12px; right: 12px; background: rgba(11, 10, 8, .7); }
.lightbox__nav { position: absolute; top: 50%; margin-top: -22px; background: rgba(11, 10, 8, .7); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* Page transitions: the card photo morphs into the car page */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
