/* ============================================================
   PRENIUM — index.html
   Apple-style hero · Liquid glass sections
   ============================================================ */

/* ── Hero Scroll Container ───────────────────────────────── */
.hero-scroll {
  position: relative;
  height: 600vh;
}

.hero-canvas-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #d9d9d9;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: contents;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── Mobile image (hidden on desktop) ── */
.hero-mobile-img { display: none; }

/* ── Hero Text — centered at top ──────────────────────────── */
.hero-content {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 1.2rem) 2rem 0;
  z-index: 2;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-content__eyebrow {
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.hero-content__title {
  font-family: var(--font-title);
  font-weight: 200;
  font-style: normal;
  font-size: clamp(1.8rem, 3.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d1d1f;
  text-shadow: none;
  margin-bottom: 1.6rem;
}

.hero-content__tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: #6e6e73;
  letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
}

.hero-content__actions {
  display: flex;
  gap: 0.75rem;
  pointer-events: all;
  justify-content: center;
}


/* ── Scroll Indicator ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  will-change: opacity;
}

.hero-scroll-hint span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.30);
  writing-mode: vertical-rl;
}

.hero-scroll-hint__arrow {
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0.4;
}

.hero-scroll-hint__arrow span {
  display: block;
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  writing-mode: horizontal-tb;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

.hero-scroll-hint__arrow span:nth-child(2) { animation-delay: 0.2s; }
.hero-scroll-hint__arrow span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 1; }
}

/* ── White Fade Overlay ── */
.hero-fade {
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* ── About Section ───────────────────────────────────────── */
.about {
  background: var(--white);
  position: relative;
  z-index: 10;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 7rem;
  align-items: center;
}

.about__eyebrow {
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.about__heading {
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}

.about__body {
  margin-bottom: 1rem;
}

.about__body + .about__body {
  margin-bottom: 2.5rem;
}

/* ── Glass Stat Cards ── */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat {
  padding: 1.8rem 1.6rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat__number {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__number em {
  color: var(--gold);
  font-style: normal;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.stat__desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: 0.3rem;
  font-weight: 300;
}

/* ── Featured Vehicles ───────────────────────────────────── */
.featured {
  background: var(--off-white);
}

.featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.featured__heading {
  color: var(--text-dark);
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.featured-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-lg), box-shadow var(--transition-lg);
  text-decoration: none;
  display: block;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.featured-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f0f0;
}

.featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
  display: block;
}

.featured-card__img.flip-car {
  transform: scaleX(-1);
}

/* Glass info panel */
.featured-card__info {
  padding: 1.4rem 1.6rem 1.6rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.9);
}

.featured-card__category {
  font-family: var(--font-body);
  font-size: 0.60rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
  font-weight: 400;
}

.featured-card__name {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.featured-card__price {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 300;
}

/* ── European Coverage ────────────────────────────────────── */
.coverage {
  background: var(--white);
}

.coverage__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.coverage__eyebrow {
  color: var(--gold);
  margin-bottom: 1rem;
}

.coverage__heading {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.coverage__body {
  margin-bottom: 2rem;
}

.coverage__countries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.coverage__tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  background: transparent;
}

.coverage__tag:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.coverage__map-wrap {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 768px) {
  /* ── Hero ── */
  .hero-content {
    padding: calc(var(--nav-h) + 1.2rem) 1.5rem 0;
    align-items: center;
    text-align: center;
  }

  .hero-content__eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
  }

  .hero-content__title {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
    margin-bottom: 1.4rem;
    line-height: 1.05;
  }

  .hero-content__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
  }

  .hero-content .btn {
    width: 80vw;
    max-width: 300px;
    justify-content: center;
  }

  /* Mobile: static photo hero, no frame animation */
  .hero-scroll { height: 100vh; overflow: hidden; }

  .hero-scroll-hint { display: none; }

  /* Hide canvas on mobile */
  .hero-canvas { display: none !important; }

  /* Show SF 2.png full-screen */
  .hero-mobile-img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    animation: heroFadeIn 1.5s ease forwards;
  }

  @keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ── About ── */
  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__stats {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Featured ── */
  .featured__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .featured__grid {
    grid-template-columns: 1fr;
  }
  .featured-card:nth-child(3) {
    display: block;
  }

  /* ── Coverage ── */
  .coverage__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .coverage__map-wrap {
    order: -1;
  }

}

@media (max-width: 480px) {
  .about__stats {
    grid-template-columns: 1fr;
  }
}
