/* ── TOKENS ── */
:root {
  --orange: #C4622D;
  --orange-light: #D97040;
  --orange-dark: #A04E21;
  --black: #111111;
  --dark: #1A1A1A;
  --dark-2: #222222;
  --gray: #555555;
  --gray-light: #888888;
  --border: #E5E5E5;
  --bg: #F8F7F5;
  --white: #FFFFFF;

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION COMMON ── */
.section { padding: 96px 0; }
.section__header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 16px;
}
.section__desc { color: var(--gray); font-size: 17px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-transform: uppercase;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,98,45,.35); }
.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: rgba(0,0,0,.25);
}
.btn--outline:hover { background: var(--bg); border-color: var(--dark); }
.btn--full { width: 100%; justify-content: center; }

/* ── LOGO IMAGE ── */
.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity .2s;
}
.nav__logo-img:hover { opacity: .8; }

.hero__logo-wrap {
  margin-bottom: 32px;
}
.hero__logo-img {
  width: 360px;
  max-width: 100%;
}

.footer__logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0);
  opacity: .35;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.nav__logo-z {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.nav__logo-expert {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}
.nav__logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-body);
  letter-spacing: 1px;
  margin-left: 8px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
  transition: color .2s;
}
.nav__links a:hover { color: var(--orange); }
.nav__cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav__cta:hover { background: var(--orange-dark) !important; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO CANVAS ── */
#carCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Two-column layout: text left, car right */
.hero__layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 80px;
  min-height: 100vh;
  position: relative;
  z-index: 3;
}

.hero__car-wrap {
  width: 100%;
  height: 520px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 50%, rgba(196,98,45,.07) 0%, transparent 65%),
    radial-gradient(ellipse at 10% 80%, rgba(196,98,45,.05) 0%, transparent 50%);
  pointer-events: none;
}
/* Subtle diagonal accent */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: 18%;
  width: 1px;
  height: 140%;
  background: linear-gradient(to bottom, transparent, rgba(196,98,45,.2) 40%, transparent);
  transform: rotate(-15deg);
}
.hero__overlay { display: none; }
.hero__content {
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 40px 0;
  max-width: 560px;
}
.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(60px, 12vw, 110px);
  font-weight: 700;
  line-height: .95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.hero__title-z { color: var(--orange); }
.hero__title-sub {
  display: block;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: 4px;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}
.hero__tagline {
  font-size: 18px;
  color: var(--gray);
  margin: 0 0 36px;
  max-width: 420px;
}
.hero__actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,.3);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,.25), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.6); }
}

/* ── SERVICES ── */
.services { background: var(--bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.service-card__icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.service-card p { color: var(--gray); font-size: 15px; line-height: 1.6; }

/* ── WHY ── */
.why { background: var(--black); color: var(--white); }
.why .section__title { color: var(--white); }
.why__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.why__text p { color: rgba(255,255,255,.7); max-width: 520px; margin-bottom: 32px; font-size: 17px; }
.why__list { display: flex; flex-direction: column; gap: 14px; }
.why__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}
.why__visual { display: flex; align-items: center; justify-content: center; }
.why__badge {
  width: 200px;
  height: 200px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.why__badge-num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.why__badge-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── STAFF ── */
.staff { background: var(--white); }
.staff__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.staff-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.staff-card__photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.staff-card__photo--placeholder {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: 14px;
  letter-spacing: 1px;
}
.staff-card__info { padding: 24px; }
.staff-card__info h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.staff-card__role {
  color: var(--orange);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 6px 0 12px;
}
.staff-card__bio { color: var(--gray); font-size: 14px; line-height: 1.6; }
.staff__note {
  text-align: center;
  margin-top: 40px;
  color: var(--gray-light);
  font-size: 13px;
}
.staff__note code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* ── GALLERY ── */
.gallery { background: var(--bg); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 280px);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item--placeholder {
  background: linear-gradient(135deg, #2a2a2a, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  font-size: 13px;
  letter-spacing: 1px;
  min-height: 240px;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .2s;
  padding: 10px 16px;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--orange); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ── REVIEWS ── */
.reviews { background: var(--white); }
.reviews__rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.reviews__stars {
  color: #F5A623;
  font-size: 22px;
  letter-spacing: 2px;
}
.reviews__score {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
}
.reviews__platform {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}
.reviews__sep { color: var(--gray-light); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 72px;
  line-height: 1;
  color: var(--orange);
  opacity: .15;
  font-family: Georgia, serif;
}
.review-card__stars {
  color: #F5A623;
  font-size: 18px;
  letter-spacing: 2px;
}
.review-card__quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  font-style: italic;
  flex: 1;
  margin: 0;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-card__author strong {
  display: block;
  font-size: 13px;
  color: var(--dark);
  font-weight: 600;
}
.review-card__author span {
  font-size: 12px;
  color: var(--gray-light);
}
.reviews__cta {
  text-align: center;
}

/* ── CONTACT ── */
.contact { background: var(--dark); }
.contact .section__title { color: var(--white); }
.contact .section__label { color: var(--orange); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info > p { color: rgba(255,255,255,.65); font-size: 17px; margin-bottom: 40px; }
.contact__details { display: flex; flex-direction: column; gap: 24px; }
.contact__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: opacity .2s;
}
.contact__detail-item:hover { opacity: .8; }
.contact__detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(196,98,45,.15);
  border: 1px solid rgba(196,98,45,.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact__detail-item strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact__detail-item span { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.5; }

/* ── FORM ── */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact__form h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--orange);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.req { color: var(--orange); }
input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(196,98,45,.12);
  background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: var(--gray-light); }
.form-error {
  display: block;
  color: #e53e3e;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 500;
}
.form-success.show { display: flex; }

/* ── FOOTER ── */
.footer { background: var(--black); padding: 40px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand { display: flex; align-items: baseline; gap: 6px; }
.footer__brand p { color: rgba(255,255,255,.4); font-size: 12px; margin-left: 8px; }
.footer__copy { color: rgba(255,255,255,.35); font-size: 13px; }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; }
  .why__visual { margin-top: 40px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(5, 200px); }
  .reviews__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 22px; color: var(--dark); }
  .nav__toggle { display: flex; z-index: 100; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 20px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 160px); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__layout { grid-template-columns: 1fr; padding: 0 20px; padding-top: 80px; }
  .hero__content { text-align: center; max-width: 100%; }
  .hero__content .hero__actions { align-items: center; }
  .hero__car-wrap { height: 300px; }
}
