:root {
  --bg: #120f0f;
  --bg-soft: rgba(25, 20, 18, 0.9);
  --accent: #f97316;
  --accent-strong: #f64b00;
  --accent-soft: rgba(246, 75, 0, 0.2);
  --muted: #f5d0c5;
  --surface: rgba(35, 28, 25, 0.7);
  --surface-solid: #221c19;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 32px 80px rgba(246, 75, 0, 0.2);
  --max-width: 1120px;
}

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

body {
  font-family: "Prompt", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, rgba(246, 75, 0, 0.35) 0%, rgba(17, 12, 11, 0.95) 45%, #0a0808 100%);
  color: #fff7f2;
  min-height: 100vh;
}

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

#app {
  min-height: 100vh;
}

.page {
  position: relative;
  overflow: hidden;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(60% 60% at 20% 20%, rgba(246, 75, 0, 0.25), transparent),
    radial-gradient(45% 45% at 80% 10%, rgba(251, 191, 36, 0.18), transparent),
    radial-gradient(40% 40% at 50% 80%, rgba(248, 113, 113, 0.18), transparent);
  pointer-events: none;
  z-index: -1;
}

.nav {
  position: sticky;
  top: 24px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto 0;
  border-radius: var(--radius-lg);
  background: rgba(24, 19, 17, 0.88);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(246, 75, 0, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  z-index: 999;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  padding: 8px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 2px solid rgba(246, 75, 0, 0.6);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  width: 72px;
  height: auto;
  object-fit: contain;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #ffe7d9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: #fff5eb;
  background: var(--accent-soft);
}

.hero {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 120px auto 0;
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 28px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  min-width: 150px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #1f100a;
  box-shadow: 0 16px 40px rgba(246, 75, 0, 0.28);
  font-size: 0.95rem;
}

.btn-secondary {
  background: rgba(255, 245, 235, 0.12);
  color: #ffe8d8;
  border: 1px solid rgba(255, 245, 235, 0.16);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.stat-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(246, 75, 0, 0.18);
  background: rgba(33, 25, 22, 0.68);
  backdrop-filter: blur(18px);
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(215deg, rgba(246, 75, 0, 0.75), rgba(34, 26, 23, 0.95));
  padding: 28px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./images/alphard/thumbnail_IMG_0378.jpg") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
}

.hero-art-top {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.hero-art-top span {
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 243, 234, 0.12);
  border: 1px solid rgba(246, 75, 0, 0.55);
}

.badge-pulse::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 1px solid rgba(246, 75, 0, 0.4);
  animation: pulse 2.8s infinite;
}

.hero-art-bottom {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.hero-chip {
  background: rgba(30, 22, 19, 0.75);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid rgba(246, 138, 54, 0.35);
  backdrop-filter: blur(10px);
}

.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 120px auto 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 32px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
}

.section-subtitle {
  max-width: 420px;
  font-size: 1rem;
  color: var(--muted);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.car-card {
  background: rgba(28, 22, 20, 0.88);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(246, 75, 0, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 75, 0, 0.4);
}

.car-image {
  position: relative;
  overflow: hidden;
}

.car-gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.car-gallery-trigger img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.car-card:hover .car-gallery-trigger img {
  transform: scale(1.04);
}

.car-gallery-label {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(12, 8, 6, 0.65);
  color: #ffe6d8;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 234, 222, 0.3);
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

.car-gallery-trigger:hover .car-gallery-label {
  opacity: 0.9;
}

.car-gallery-trigger:focus-visible {
  outline: 2px solid rgba(246, 75, 0, 0.5);
  outline-offset: 3px;
}

.car-gallery-trigger:focus-visible .car-gallery-label {
  opacity: 1;
}

.car-content {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.car-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.car-name {
  font-size: 1.4rem;
  font-weight: 600;
}

.car-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(246, 75, 0, 0.22);
  color: #ffd7c4;
  font-size: 0.85rem;
  font-weight: 600;
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #f7cdbf;
  font-size: 0.86rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.08);
  border: 1px solid rgba(255, 213, 196, 0.16);
}

.contact-card {
  margin-top: 56px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.contact-box {
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(246, 75, 0, 0.2);
  background: rgba(32, 25, 22, 0.9);
  display: grid;
  gap: 22px;
}

.contact-box h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-info a {
  color: #ffeade;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.contact-pill {
  background: rgba(246, 75, 0, 0.22);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 500;
  color: #ffe3d5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.map-preview {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(246, 75, 0, 0.24);
  background: linear-gradient(135deg, rgba(246, 75, 0, 0.32), rgba(28, 20, 17, 0.9));
}

.map-preview iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 96px auto 48px;
  padding: 24px;
  border-top: 1px solid rgba(246, 75, 0, 0.22);
  color: #f8d7c6;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-bar {
  margin-top: 120px;
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  background: linear-gradient(120deg, rgba(246, 75, 0, 0.24), rgba(249, 115, 22, 0.18));
  border: 1px solid rgba(246, 75, 0, 0.32);
  display: grid;
  gap: 18px;
  text-align: center;
}

.cta-bar h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.cta-bar p {
  color: #ffe6d8;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 4, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-content {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(28, 21, 18, 0.95);
  border: 1px solid rgba(246, 75, 0, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  max-width: min(90vw, 900px);
  width: 100%;
}

.lightbox-main-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.lightbox-main {
  width: min(70vw, 680px);
  max-height: 70vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 228, 213, 0.3);
  background: rgba(20, 15, 13, 0.8);
  color: #ffe6d8;
  font-size: 1.8rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(246, 75, 0, 0.35);
  transform: translateY(-2px);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 15, 13, 0.8);
  color: #ffe6d8;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(246, 75, 0, 0.35);
}

.lightbox-caption {
  color: #ffe0cf;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.lightbox-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.lightbox-thumb {
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-thumb img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
}

.lightbox-thumb:hover {
  transform: translateY(-2px);
}

.lightbox-thumb.active,
.lightbox-thumb:focus-visible {
  border-color: rgba(246, 75, 0, 0.7);
  outline: none;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .nav-inner {
    padding: 16px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
    max-width: 200px;
  }

  .car-meta {
    flex-direction: column;
    gap: 8px;
  }

  .car-gallery-trigger img {
    height: 220px;
  }

  .car-gallery-label {
    font-size: 0.8rem;
  }

  .contact-box {
    padding: 24px;
  }

  .cta-bar {
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: static;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .brand-logo-wrap {
    padding: 4px 12px;
  }

  .brand-logo {
    width: 60px;
  }

  .nav-inner {
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    margin-top: 60px;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-copy p {
    max-width: none;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    flex: 0 1 160px;
    max-width: 220px;
    align-self: center;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 320px;
  }

  .section {
    margin-top: 72px;
  }

  .section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-subtitle {
    max-width: 520px;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .car-gallery-trigger img {
    height: 240px;
  }

  .car-content {
    text-align: center;
  }

  .car-meta {
    justify-content: center;
  }

  .car-meta .meta-item {
    justify-content: center;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info {
    align-items: center;
    text-align: center;
  }

  .contact-info a {
    justify-content: center;
  }

  .cta-bar {
    padding: 32px 24px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-content {
    padding: 20px;
    gap: 14px;
  }

  .lightbox-main-wrapper {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }

  .lightbox-nav:hover {
    transform: translateY(calc(-50% - 2px));
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-main {
    width: 100%;
    max-height: 55vh;
  }

  .lightbox-thumbs {
    gap: 8px;
  }

  .lightbox-thumb img {
    width: 90px;
    height: 60px;
  }
}
