/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-0:   #000000;
  --bg-1:   #0a0a0a;
  --bg-2:   #0d0d0d;
  --bg-3:   #111111;
  --bg-4:   #1a1a1a;
  --bg-5:   #222222;
  --line:         #222222;
  --line-subtle:  #1a1a1a;
  --text-primary:   #ffffff;
  --text-secondary: #888888;
  --text-muted:     #555555;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-height: 64px;
  --navbar-total-height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  --section-pad: 96px;
  --max-w: 1200px;
}

[data-theme="light"] {
  --bg-0:   #ffffff;
  --bg-1:   #f5f5f5;
  --bg-2:   #f0f0f0;
  --bg-3:   #e8e8e8;
  --bg-4:   #e0e0e0;
  --bg-5:   #d0d0d0;
  --line:         #dddddd;
  --line-subtle:  #e8e8e8;
  --text-primary:   #0a0a0a;
  --text-secondary: #555555;
  --text-muted:     #999999;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navbar-total-height); }
body {
  background: var(--bg-1);
  color: var(--text-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  touch-action: manipulation;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-0);
}
.btn--primary:hover { background: var(--text-secondary); }

.btn--outline {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}
.btn--outline:hover {
  background: var(--text-primary);
  color: var(--bg-0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
  height: var(--navbar-total-height);
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color 0.3s;
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 max(32px, env(safe-area-inset-right, 0px)) 0 max(32px, env(safe-area-inset-left, 0px));
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar__logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
}
.navbar__logo span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.navbar__links { display: flex; gap: 32px; }
.navbar__links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--text-primary); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s, opacity 0.25s;
}
.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--navbar-total-height);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  font-size: clamp(64px, 11vw, 140px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.hero__sub {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   BOOKING CTA
   ============================================================ */
.booking {
  background: var(--bg-2);
  padding: 80px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line-subtle);
}

.booking .btn + .btn {
  margin-left: 16px;
}

@media (max-width: 480px) {
  .booking .btn + .btn {
    margin-left: 0;
    margin-top: 12px;
  }
  .booking {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.booking__heading {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 36px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-pad) 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.about__inner {
  max-width: 720px;
  margin: 0 auto;
}

.about__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 28px;
}

.about__bio {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 56px;
  padding-left: 20px;
  border-left: 2px solid var(--bg-5);
}

.about__stats { display: flex; gap: 56px; }

.stat__number {
  display: block;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
}
.stat__label {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--bg-2);
  padding: var(--section-pad) 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.services__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.services__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--bg-3);
  padding: 44px 40px;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-4); }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--section-pad) 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.pricing__inner {
  max-width: 680px;
  margin: 0 auto;
}

.pricing__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

.pricing__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}

.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.pricing__name {
  font-size: 15px;
  font-weight: 600;
}
.pricing__price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.pricing__quote-btn {
  padding: 10px 20px;
  font-size: 10px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.pricing__note {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  line-height: 1.6;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--bg-2);
  padding: var(--section-pad) 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.gallery__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.gallery__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
}


.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: var(--bg-4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 16px;
  text-align: center;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__car {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}
.gallery-item__tint {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   COMMERCIAL WORK
   ============================================================ */
.commercial {
  padding: var(--section-pad) 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.commercial__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

.commercial__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
}

.commercial__text {
  flex: 1;
  min-width: 0;
}

.commercial__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.commercial__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commercial__list li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.commercial__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--text-muted);
}

.commercial__video-wrap {
  flex-shrink: 0;
  width: 280px;
  background: var(--bg-4);
  border: 1px solid var(--line);
}

.commercial__video {
  width: 100%;
  height: auto;
  max-height: 65vh;
  display: block;
}

@media (max-width: 768px) {
  .commercial__inner {
    flex-direction: column;
    gap: 40px;
  }
  .commercial__video-wrap {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-secondary);
  transition: color 0.2s;
  z-index: 201;
  line-height: 1;
  touch-action: manipulation;
}
.lightbox__close:hover { color: var(--text-primary); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 52px;
  font-weight: 200;
  color: var(--text-secondary);
  padding: 12px 20px;
  min-width: 44px;
  min-height: 44px;
  transition: color 0.2s;
  z-index: 201;
  line-height: 1;
  touch-action: manipulation;
}
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--text-primary); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: var(--section-pad) 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.reviews__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.reviews__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-subtle);
}

.review-card {
  background: var(--bg-3);
  padding: 36px 32px;
  border-left: 2px solid var(--bg-5);
}

.review-card__quote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-style: italic;
}

.review-card__author {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg-2);
  padding: var(--section-pad) 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.faq__inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

.faq-item { border-bottom: 1px solid var(--line-subtle); }

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-item__question:hover { color: var(--text-secondary); }

.faq-item__icon {
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-item__answer { max-height: 400px; }

.faq-item__answer p {
  padding-bottom: 24px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ============================================================
   FOOTER / CONTACT
   ============================================================ */
.footer {
  background: var(--bg-0);
  padding: 72px 24px 0;
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 72px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.footer__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
}
.footer__name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
}

.footer__links { display: flex; gap: 64px; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer__col a,
.footer__col p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  border-top: 1px solid var(--line-subtle);
  padding: 22px 0;
  padding-bottom: max(22px, calc(16px + env(safe-area-inset-bottom, 0px)));
  text-align: center;
}
.footer__bottom p {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.navbar__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
  touch-action: manipulation;
}
.navbar__theme-toggle:hover { color: var(--text-primary); background: var(--bg-4); }
.navbar__theme-toggle svg { display: block; }

/* ============================================================
   SWIPER OVERRIDES
   ============================================================ */
.gallery-swiper,
.beforeafter-swiper {
  width: 100%;
  padding-bottom: 56px !important;
  touch-action: pan-y;
}


.swiper-button-prev,
.swiper-button-next {
  color: var(--text-primary) !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  border-radius: 2px;
  top: calc(50% - 28px) !important;
}
[data-theme="light"] .swiper-button-prev,
[data-theme="light"] .swiper-button-next {
  background: rgba(255,255,255,0.75);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 13px !important;
  font-weight: 700 !important;
}

.swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  transition: width 0.2s, border-radius 0.2s, background 0.2s !important;
}
.swiper-pagination-bullet-active {
  background: var(--text-primary) !important;
  width: 24px !important;
  border-radius: 3px !important;
}

/* Gallery slide item (inside Swiper) */
.gallery-swiper .gallery-item {
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-4);
  display: block;
  width: 100%;
}
.gallery-swiper .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.gallery-swiper .gallery-item:hover img { transform: scale(1.05); }


/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .reviews__grid { grid-template-columns: 1fr; gap: 2px; }

  .footer__inner { flex-direction: column; }
  .footer__links { gap: 40px; flex-wrap: wrap; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-pad: 64px; }

  /* Navbar */
  .navbar__inner { padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-0);
    border-bottom: 1px solid var(--line);
    padding: 24px 20px;
    gap: 22px;
    z-index: 99;
  }
  .navbar__links.open a { font-size: 13px; }

  /* Hero */
  .hero__title { letter-spacing: -2px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 28px; }

  /* Gallery — Swiper handles layout, grid rule removed */
  /* .gallery__grid { grid-template-columns: repeat(2, 1fr); } */

  /* Reviews */
  .reviews__grid { grid-template-columns: 1fr; }

  /* About stats */
  .about__stats { gap: 32px; flex-wrap: wrap; }

  /* Footer */
  .footer__links { flex-direction: column; gap: 28px; }

  /* Lightbox nav */
  .lightbox__prev { left: 2px; font-size: 40px; padding: 8px 12px; }
  .lightbox__next { right: 2px; font-size: 40px; padding: 8px 12px; }
}

/* ============================================================
   MOBILE — GALLERY ON TOUCH DEVICES
   Hover overlay never fires on touch; show info as a permanent
   bottom-anchored gradient bar instead.
   ============================================================ */
@media (hover: none) {
  .gallery-item__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
    justify-content: flex-end;
    align-items: flex-start;
    padding: 12px 14px;
    text-align: left;
  }
  .gallery-item:hover img,
  .gallery-swiper .gallery-item:hover img {
    transform: none;
  }
}

/* ============================================================
   MOBILE — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
