/* ============================================================
   JibrilRent — Editorial Automotive Design System
   Dark / Cinematic / Editorial
   ============================================================ */

/* --- Self-hosted Creato Display (sans-serif) --- */
@font-face {
  font-family: 'Creato Display';
  src: url('../fonts/CreatoDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Creato Display';
  src: url('../fonts/CreatoDisplay-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Creato Display';
  src: url('../fonts/CreatoDisplay-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Creato Display';
  src: url('../fonts/CreatoDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Google Fonts: Instrument Serif (editorial italic accent) + DM Sans (body) --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Fonts --- */
  --font-sans: 'Creato Display', -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-display: var(--font-sans);

  /* --- Colors --- */
  --color-bg: #050505;
  --color-surface: #0B0B0B;
  --color-surface-2: #111111;
  --color-surface-3: #171717;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.1);
  --color-text: #E8E4DF;
  --color-text-secondary: #A09A93;
  --color-text-muted: #5C5751;
  --color-accent: #C9B99A;
  --color-accent-hover: #D9CCB0;
  --color-white: #FFFFFF;
  --color-wa-green: #25D366;
  --color-wa-green-hover: #20BD5A;

  /* Ambient atmospheric colors */
  --ambient-blue: rgba(20, 60, 100, 0.15);
  --ambient-teal: rgba(15, 70, 70, 0.12);
  --ambient-green: rgba(20, 60, 40, 0.1);

  /* --- Typography scale --- */
  --text-xs: 0.6875rem;      /* 11px */
  --text-sm: 0.8125rem;      /* 13px */
  --text-base: 0.9375rem;    /* 15px */
  --text-md: 1rem;            /* 16px */
  --text-lg: 1.125rem;        /* 18px */
  --text-xl: 1.375rem;        /* 22px */
  --text-2xl: 1.75rem;        /* 28px */
  --text-3xl: 2.25rem;        /* 36px */
  --text-4xl: 3rem;            /* 48px */
  --text-5xl: 3.75rem;        /* 60px */
  --text-hero: clamp(2.8rem, 5.5vw, 4.5rem);

  /* --- Spacing --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Layout --- */
  --frame-max: 1200px;
  --frame-pad: var(--space-8);
  --frame-radius: 20px;

  /* --- Radius --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* --- Transitions --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
  --duration-reveal: 1.4s;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 154, 154, 0.3);
  color: var(--color-white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

/* Base hover text helper */
.jr-hover-text {
  display: inline-block;
  transition:
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    letter-spacing 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    text-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.jr-hover-text:hover {
  transform: translateY(-2px);
  letter-spacing: 0.015em;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

/* Serif italic accent — used on specific words */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  transition:
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    letter-spacing 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    text-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

h1:hover .serif-accent,
h2:hover .serif-accent,
h3:hover .serif-accent,
.serif-accent:hover {
  transform: translateY(-2px);
  letter-spacing: 0.01em;
  text-shadow: 0 12px 30px rgba(255, 255, 255, 0.09);
}

.section-num {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
  display: block;
}

.section-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
}

.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }

/* ============================================================
   AMBIENT BACKGROUND
   ============================================================ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, var(--ambient-blue) 0%, transparent 70%);
  filter: blur(80px);
}

.ambient-bg::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -15%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse, var(--ambient-teal) 0%, transparent 70%);
  filter: blur(90px);
}

/* ============================================================
   JIBRILRENT - TECHNICAL GRID BACKGROUND (Dark Mode Variant)
   ============================================================ */
.grid-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 30px;
  -webkit-mask-image: radial-gradient(
    ellipse 75% 65% at 50% 10%,
    #000 50%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 75% 65% at 50% 10%,
    #000 50%,
    transparent 100%
  );
}

/* ============================================================
   JIBRILRENT - ATMOSPHERIC PARTICLE BG
   ============================================================ */
.particle-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
}

/* Small particles */
.stars-1 {
  width: 1px;
  height: 1px;
  background: #ffffff;
  opacity: 0.18;
  box-shadow:
    4vw 12vh #fff,
    9vw 73vh #fff,
    15vw 31vh #fff,
    19vw 86vh #fff,
    24vw 17vh #fff,
    28vw 62vh #fff,
    34vw 42vh #fff,
    39vw 91vh #fff,
    44vw 25vh #fff,
    48vw 68vh #fff,
    53vw 11vh #fff,
    58vw 54vh #fff,
    63vw 84vh #fff,
    68vw 36vh #fff,
    73vw 76vh #fff,
    78vw 19vh #fff,
    83vw 63vh #fff,
    88vw 45vh #fff,
    93vw 87vh #fff,
    97vw 28vh #fff;
  animation: stars-drift-1 90s linear infinite;
}

/* Medium particles */
.stars-2 {
  width: 2px;
  height: 2px;
  background: #ffffff;
  opacity: 0.10;
  box-shadow:
    7vw 21vh #fff,
    14vw 58vh #fff,
    21vw 9vh #fff,
    27vw 81vh #fff,
    35vw 29vh #fff,
    42vw 70vh #fff,
    49vw 47vh #fff,
    56vw 14vh #fff,
    62vw 88vh #fff,
    69vw 57vh #fff,
    76vw 24vh #fff,
    84vw 72vh #fff,
    91vw 39vh #fff,
    96vw 67vh #fff;
  animation: stars-drift-2 140s linear infinite;
}

/* Large sparse particles */
.stars-3 {
  width: 3px;
  height: 3px;
  background: #ffffff;
  opacity: 0.055;
  box-shadow:
    11vw 16vh #fff,
    26vw 74vh #fff,
    43vw 33vh #fff,
    57vw 82vh #fff,
    71vw 12vh #fff,
    86vw 61vh #fff,
    95vw 34vh #fff;
  animation: stars-drift-3 200s linear infinite;
}

.stars-1::after,
.stars-2::after,
.stars-3::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100vh;
  width: 100%;
  height: 100vh;
  background: inherit;
  box-shadow: inherit;
}

@keyframes stars-drift-1 {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -200vh, 0); }
}

@keyframes stars-drift-2 {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -200vh, 0); }
}

@keyframes stars-drift-3 {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -200vh, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .stars {
    animation: none;
  }
}

/* ============================================================
   MAIN CONTENT FRAME
   ============================================================ */
.frame {
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - var(--space-12));
  max-width: var(--frame-max);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--space-6);
  background: rgba(11, 11, 11, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 100px;
}

.nav__logo {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav__logo .serif-accent {
  color: var(--color-accent);
}

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  will-change: transform, width;
}

.nav__links a {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
  padding: 6px 14px;
  border-radius: 100px;
  transition:
    color 0.45s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
    letter-spacing 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  background: transparent !important;
  display: inline-block;
}

.nav__links a:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  letter-spacing: 0.02em;
}

.nav__links a.is-active {
  color: var(--color-text);
  font-weight: 500;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__wa {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  padding: 8px 18px;
  border-radius: 100px;
  transition: all var(--duration-fast) ease;
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  background: transparent;
}
.nav__wa:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
}
.nav__wa svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mobile menu */
.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.nav__menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-nav.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) ease;
}

.mobile-nav a:hover { color: var(--color-text); }

.mobile-nav__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-xl);
  transition: color var(--duration-fast) ease;
}

.mobile-nav__close:hover { color: var(--color-text); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  padding: 10px 22px;
  border-radius: 100px;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn--primary:hover {
  background: var(--color-white);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

.btn--wa {
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  background: transparent;
  transition:
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    letter-spacing 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn--wa:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
  transform: translateY(-2px);
  filter: brightness(1.08);
  letter-spacing: 0.01em;
}

.btn--ghost {
  color: var(--color-text-secondary);
  padding: 8px 0;
  border-radius: 0;
  gap: var(--space-3);
}
.btn--ghost:hover { color: var(--color-text); }

.btn--ghost .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  transition: border-color var(--duration-fast) ease, transform var(--duration-fast) ease, background-color var(--duration-fast) ease;
  flex-shrink: 0;
}

.btn--ghost .arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

.btn--ghost:hover .arrow {
  border-color: var(--color-border-hover);
  transform: translateX(3px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(80px + var(--space-8));
  padding-bottom: var(--space-16);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   HERO (Cinematic Split Composition)
   ============================================================ */
.hero {
  padding-top: calc(80px + var(--space-12));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-8);
  align-items: center;
  min-height: 65vh;
}

/* Left: Typography */
.hero__text-col {
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: var(--space-10);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-6);
}

.hero__badge-line {
  width: 24px;
  height: 1px;
  background: var(--color-border);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero__title .serif-accent {
  font-size: 1.05em;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

/* Specific buttons for hero */
.btn--wa-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  border-radius: 100px;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  padding: 12px 24px;
  background: transparent;
}
.btn--wa-outline:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
}

/* Right: Car */
.hero__car-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-6);
}

.hero__ambient-glow { display: none; }

.hero__car-img {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 850px;
  height: auto;
  object-fit: contain;
  filter: contrast(1.05) brightness(0.95);
}

/* Floating Vertical Pills */
.hero__meta-stack {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 5;
}

.hero__meta-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(11, 11, 11, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 100px;
  transition: border-color var(--duration-fast) ease;
}

.hero__meta-pill:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.hero__meta-pill .meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--color-text-secondary);
}

.hero__meta-pill .meta-text {
  display: flex;
  flex-direction: column;
}

.hero__meta-pill .meta-text span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.1;
}

.hero__meta-pill .meta-text small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Bottom Info Bar */
.hero__info-bar {
  display: grid;
  grid-template-columns: auto 1px 1fr 1px auto;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  padding-bottom: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.hero__info-sep {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.hero__info-item {
  display: flex;
  flex-direction: column;
}

.hero__info-item small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.hero__info-item strong {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
}
.hero__info-item strong span { color: var(--color-text-secondary); font-weight: 300; }

.hero__info-item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.hero__info-item.price { align-items: flex-end; text-align: right; }
.hero__info-item.price .price-val {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  
  /* Shine Effect */
  background: linear-gradient(120deg, var(--color-accent) 30%, #ffffff 50%, var(--color-accent) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: price-shine 5s infinite ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes price-shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero__info-item.price .price-val span {
  font-size: var(--text-sm);
  /* Text fill color transparent is inherited, so it shines together with the amount */
}

/* ============================================================
   SECTION: ABOUT (01)
   ============================================================ */
.about {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
}

.about__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about__left {
  position: sticky;
  top: 120px;
}

.about__heading {
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 560px;
}

.about__text {
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  line-height: 1.8;
  max-width: 520px;
  margin-top: var(--space-6);
}

.about__text p {
  margin-bottom: var(--space-4);
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__footer {
  margin-top: var(--space-10);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.about__social {
  display: flex;
  gap: var(--space-3);
}

.about__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.about__social a:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

.about__social svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   SECTION: VEHICLE (02)
   ============================================================ */
.vehicle-section {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
}

.vehicle__header {
  margin-bottom: var(--space-16);
}

.vehicle__heading {
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.vehicle__image-wrap {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: var(--space-12);
  background: var(--color-surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform: translateZ(0);
}

.vehicle__image-wrap:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

.vehicle__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.vehicle__image-wrap:hover img {
  transform: scale(1.02);
  filter: brightness(1.02);
}

.vehicle__specs-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-8);
}

.vehicle__spec-group {
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.vehicle__spec-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.vehicle__spec-value {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
}

.vehicle__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.vehicle__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.vehicle__price .amount {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-accent);
}

.vehicle__price .period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.vehicle__cta-row {
  display: flex;
  gap: var(--space-3);
}

/* ============================================================
   SECTION: CARA SEWA (03)
   ============================================================ */
.process-section {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
}

.process__header {
  margin-bottom: var(--space-16);
}

.process__heading {
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.process__list {
  display: flex;
  flex-direction: column;
}

.process__item {
  display: grid;
  grid-template-columns: 60px 200px 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  align-items: baseline;
}

.process__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.process__num {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.process__title {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
}

.process__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 400px;
}

/* ============================================================
   SECTION: INFO / REQUIREMENTS (04)
   ============================================================ */
.info-section {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
}

.info__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-16);
}

.info__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.info__col h3 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.info__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.info__list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.info__list li {
  position: relative;
  padding-left: 24px;
  align-items: flex-start;
}

.info__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c99a9a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.info__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-6);
  grid-column: 1 / -1;
}

/* ============================================================
   SECTION: CONTACT CTA (05)
   ============================================================ */
.contact-section {
  padding: var(--space-32) 0 var(--space-24);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.contact__num-label {
  margin-bottom: var(--space-12);
}

.contact__heading {
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact__sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__brand-name {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.footer__brand-name .serif-accent { color: var(--color-accent); }

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 260px;
  margin-top: var(--space-3);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a,
.footer__links span {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) ease;
}

.footer__links a:hover { color: var(--color-text); }

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-4);
}

.footer__bottom-links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
}

.footer__bottom-links a:hover { color: var(--color-text-secondary); }

/* ============================================================
   STICKY WHATSAPP (mobile)
   ============================================================ */
.wa-sticky {
  display: none;
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-wa-green);
  color: var(--color-white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
  transition: transform var(--duration-normal) var(--ease-out);
}

.wa-sticky:hover { transform: scale(1.08); }
.wa-sticky svg { width: 24px; height: 24px; }

/* ============================================================
   SCROLL ANIMATIONS — cinematic reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Image clip reveal */
.reveal-clip {
  clip-path: inset(10% 0 10% 0);
  opacity: 0;
  transition: clip-path 1.2s var(--ease-out), opacity 0.8s var(--ease-out);
}

.reveal-clip.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* Horizontal line reveal */
.reveal-line {
  width: 0;
  transition: width 1s var(--ease-out);
}

.reveal-line.is-visible {
  width: 100%;
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.detail-hero {
  padding-top: calc(80px + var(--space-10));
  padding-bottom: var(--space-10);
}

.detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.detail__breadcrumb a { transition: color var(--duration-fast) ease; }
.detail__breadcrumb a:hover { color: var(--color-text-secondary); }
.detail__breadcrumb .sep { opacity: 0.3; }
.detail__breadcrumb .current { color: var(--color-text); }

.detail__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
  align-items: start;
}

.detail__gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface-2);
  margin-bottom: var(--space-3);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail__gallery-thumbs {
  display: flex;
  gap: var(--space-3);
}

.detail__gallery-thumb {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity var(--duration-fast) ease, border-color var(--duration-fast) ease;
  background: var(--color-surface-2);
  padding: 4px;
}

.detail__gallery-thumb.is-active,
.detail__gallery-thumb:hover {
  border-color: var(--color-accent);
  opacity: 1;
}

.detail__gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.detail__info { position: sticky; top: 100px; }

.detail__brand-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.detail__name {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 400;
  margin-bottom: var(--space-5);
}

.detail__price-block {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-5);
}

.detail__price-block .amount {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-accent);
}

.detail__price-block .period { font-size: var(--text-sm); color: var(--color-text-muted); }

.detail__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.detail__spec-item {
  padding: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.detail__spec-item .spec-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.detail__spec-item .spec-value {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  margin-top: 2px;
}

.detail__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.detail__actions .btn { width: 100%; justify-content: center; }

.detail-sections { padding: var(--space-16) 0; }

.detail-section { margin-bottom: var(--space-10); }
.detail-section:last-child { margin-bottom: 0; }

.detail-section h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.detail-section ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.detail-section li {
  position: relative;
  padding-left: 24px;
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.detail-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c99a9a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.detail-section p {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --text-hero: clamp(2.2rem, 5vw, 3rem); }

  .hero__layout { grid-template-columns: 1fr; gap: var(--space-8); text-align: center; }
  .hero__text-col { padding-right: 0; align-items: center; }
  .hero__actions { justify-content: center; }
  .hero__car-col { flex-direction: column; gap: var(--space-6); }
  .hero__car-img { transform: none; }
  .hero__meta-stack { right: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero__info-bar { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .hero__info-sep { display: none; }
  .hero__info-item.price { text-align: left; align-items: flex-start; }

  .about__layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .about__left { position: static; }
  .vehicle__specs-layout { grid-template-columns: repeat(3, 1fr); }
  .info__layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .detail__grid { grid-template-columns: 1fr; }
  .detail__info { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --frame-pad: var(--space-5);
    --space-24: 4rem;
    --space-32: 5rem;
  }

  .nav__links { display: none; }
  .nav__wa { display: none; }
  .nav__menu-btn { display: flex; }

  .hero__meta-stack { margin-top: 0; }
  .hero__meta-pill { padding: 6px 12px; }
  .hero__info-bar { grid-template-columns: 1fr; }

  .vehicle__specs-layout { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .vehicle__specs-layout .vehicle__spec-group:last-child { grid-column: span 2; }
  .vehicle__price-row { flex-direction: column; gap: var(--space-6); }

  .process__item {
    grid-template-columns: 40px 1fr;
    gap: var(--space-3);
  }
  .process__desc { grid-column: 2; }

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

  .contact__heading { font-size: var(--text-3xl); }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer__bottom { flex-direction: column; gap: var(--space-3); text-align: center; }

  .wa-sticky { display: flex; }

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

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__title { font-size: var(--text-3xl); }
  .vehicle__heading { font-size: var(--text-2xl); }
  .about__heading { font-size: var(--text-2xl); }
  .contact__heading { font-size: var(--text-2xl); }
}

/* ============================================================
   PRELOADER OVERLAY & 3D TOWER LOADER (Black Theme)
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 3D tower loader (dark black theme variant with standard transform properties) */
.loader {
  transform: scale(2.4);
  transform-origin: center center;
  height: 50px;
  width: 40px;
}

.box {
  position: relative;
  opacity: 0;
  left: 10px;
}

.side-left {
  position: absolute;
  background-color: #18181a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 19px;
  height: 5px;
  transform: skew(0deg, -25deg);
  top: 14px;
  left: 10px;
}

.side-right {
  position: absolute;
  background-color: #28282c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 19px;
  height: 5px;
  transform: skew(0deg, 25deg);
  top: 14px;
  left: -9px;
}

.side-top {
  position: absolute;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
  width: 20px;
  height: 20px;
  transform: rotate(45deg) skew(-20deg, -20deg);
}

.box-1 {
  animation: from-left 3.6s infinite;
}

.box-2 {
  animation: from-right 3.6s infinite;
  animation-delay: 0.9s;
}

.box-3 {
  animation: from-left 3.6s infinite;
  animation-delay: 1.8s;
}

.box-4 {
  animation: from-right 3.6s infinite;
  animation-delay: 2.7s;
}

@keyframes from-left {
  0% {
    z-index: 20;
    opacity: 0;
    transform: translate(-20px, -6px);
  }

  20% {
    z-index: 10;
    opacity: 1;
    transform: translate(0px, 0px);
  }

  40% {
    z-index: 9;
    transform: translate(0px, 4px);
  }

  60% {
    z-index: 8;
    transform: translate(0px, 8px);
  }

  80% {
    z-index: 7;
    opacity: 1;
    transform: translate(0px, 12px);
  }

  100% {
    z-index: 5;
    transform: translate(0px, 30px);
    opacity: 0;
  }
}

@keyframes from-right {
  0% {
    z-index: 20;
    opacity: 0;
    transform: translate(20px, -6px);
  }

  20% {
    z-index: 10;
    opacity: 1;
    transform: translate(0px, 0px);
  }

  40% {
    z-index: 9;
    transform: translate(0px, 4px);
  }

  60% {
    z-index: 8;
    transform: translate(0px, 8px);
  }

  80% {
    z-index: 7;
    opacity: 1;
    transform: translate(0px, 12px);
  }

  100% {
    z-index: 5;
    transform: translate(0px, 30px);
    opacity: 0;
  }
}

@media (hover: none) {
  .jr-hover-text:hover,
  .nav__links a:hover,
  .serif-accent:hover,
  .btn--wa:hover {
    transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    filter: none !important;
  }
}
