:root {
  --navy:    #0d1128;
  --navy-md: #1E2761;
  --gold:    #C9A84C;
  --gold-lt: #E8D39A;
  --white:   #ffffff;
  --gray:    #94a3b8;
  --gray-lt: #f1f5f9;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }

/* ── CURSOR ──────────────────────────────────────────────────── */
.cursor {
  width: 12px; height: 12px; background: var(--gold);
  border-radius: 50%; position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%,-50%);
  transition: transform .1s, width .3s, height .3s, opacity .3s;
}
.cursor-ring {
  width: 40px; height: 40px; border: 1.5px solid rgba(201,168,76,.5);
  border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); transition: all .15s ease-out;
}

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, backdrop-filter .4s;
}
nav.scrolled {
  background: rgba(13,17,40,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-svg { width: 48px; height: 48px; flex-shrink: 0; }
.nav-logo-text { font-weight: 700; font-size: 15px; letter-spacing: .5px; color: var(--white); }

/* Badge próximamente en nav */
.nav-badge {
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
}

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('img/porsche-hero.jpg') center/cover no-repeat;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,17,40,.92) 0%, rgba(13,17,40,.5) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 700px;
  padding: 0 48px; text-align: left;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  padding: 6px 16px; border-radius: 24px;
  font-size: 12px; font-weight: 600; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 28px;
  opacity: 0; animation: fadeUp .8s .2s forwards;
}
.hero-title {
  font-size: clamp(42px, 6vw, 80px); font-weight: 900;
  line-height: 1.0; letter-spacing: -2px;
  opacity: 0; animation: fadeUp .8s .4s forwards, goldShimmer 5s 1.2s ease-in-out infinite alternate;
  background: linear-gradient(105deg,
    #8b6914 0%,
    #c9a84c 20%,
    #f5e17a 38%,
    #fffacd 50%,
    #f5e17a 62%,
    #c9a84c 80%,
    #8b6914 100%);
  background-size: 300% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes goldShimmer {
  from { background-position: 0% center; }
  to   { background-position: 100% center; }
}
.hero-sub {
  margin-top: 24px; font-size: 18px; font-weight: 400;
  color: rgba(255,255,255,.65); line-height: 1.7; max-width: 480px;
  opacity: 0; animation: fadeUp .8s .6s forwards;
}
.hero-btns {
  margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s .8s forwards;
}
.btn-primary {
  background: var(--gold); color: var(--navy); padding: 16px 36px;
  border-radius: 32px; font-weight: 800; font-size: 15px;
  text-decoration: none; transition: all .25s; cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,.3); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.3); color: var(--white);
  padding: 16px 36px; border-radius: 32px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: all .25s; backdrop-filter: blur(8px);
  cursor: pointer; background: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp .8s 1.2s forwards;
}
.hero-scroll span { font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.4); text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }

/* ── STATS BAR ───────────────────────────────────────────────── */
#stats {
  background: rgba(201,168,76,.08);
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 32px 0;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.stat { text-align: center; padding: 0 24px; }
.stat + .stat { border-left: 1px solid rgba(201,168,76,.2); }
.stat-num { font-size: 36px; font-weight: 900; color: var(--gold); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; letter-spacing: .5px; text-transform: uppercase; font-weight: 500; }

/* ── SCROLL STORY (Apple-style) ──────────────────────────────── */
#story { position: relative; }

.story-track {
  display: flex;
  position: relative;
  align-items: flex-start;
}
.story-height-driver {
  width: 0;
  flex-shrink: 0;
  height: calc(11 * 100vh);
  pointer-events: none;
}
.story-visual {
  position: sticky; top: 0;
  width: 55%; height: 100vh;
  flex-shrink: 0;
  overflow: hidden;
}
.story-frames { position: relative; width: 100%; height: 100%; }
.story-frame {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .7s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}
.story-frame.active { opacity: 1; }
.story-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-frame-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--navy) 100%);
}
.story-text {
  position: sticky; top: 0;
  width: 45%; height: 100vh;
  overflow: hidden;
  flex-shrink: 0;
}
.story-section {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 64px 40px 48px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.story-section.active {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.story-section.past {
  opacity: 0; transform: translateY(-60px);
  transition: opacity .4s ease, transform .4s ease;
}
.story-category {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px; opacity: 0; transform: translateY(8px);
  transition: opacity .8s .15s ease, transform .8s .15s ease;
}
.story-section.active .story-category { opacity: 1; transform: translateY(0); }
.story-category::before, .story-category::after {
  content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, rgba(201,168,76,.4), transparent);
}
.story-category::after {
  background: linear-gradient(270deg, rgba(201,168,76,.4), transparent);
}
.story-category-text {
  font-size: 10px; font-weight: 600; color: rgba(201,168,76,.55);
  letter-spacing: 3.5px; text-transform: uppercase; white-space: nowrap;
}
.story-tag {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.story-tag::before { content: ''; width: 28px; height: 1.5px; background: var(--gold); }
.story-h { font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px; }
.story-p { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 28px; }
.story-specs { display: flex; flex-direction: column; gap: 10px; }
.story-spec { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.story-spec-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.story-spec strong { color: var(--white); font-weight: 600; }

/* ── ELIGE TU COCHE ──────────────────────────────────────────── */
#elige { background: var(--navy); padding: 100px 0 0; }
.elige-header {
  text-align: center; max-width: 640px;
  margin: 0 auto 64px; padding: 0 32px;
}
.elige-header .section-tag { margin-bottom: 16px; }
.elige-header .section-title { margin-bottom: 16px; }
.elige-header .section-sub { color: rgba(255,255,255,.45); font-size: 15px; }

.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(32px, 4vw, 56px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
.section-sub { font-size: 17px; color: rgba(255,255,255,.5); margin-top: 16px; }

.brand-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; max-width: 820px; margin: 0 auto 64px; padding: 0 32px;
}
.brand-btn {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px; cursor: pointer; transition: all .25s;
}
.brand-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.06); }
.brand-btn.active { background: rgba(201,168,76,.12); border-color: var(--gold); color: var(--gold); }

.elige-selectors {
  display: flex; justify-content: center; gap: 20px;
  max-width: 640px; margin: 0 auto 48px; padding: 0 32px;
}
.selector-group { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.selector-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4); letter-spacing: 1.5px; text-transform: uppercase; }
.elige-select {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 14px; padding: 13px 16px; border-radius: 4px;
  outline: none; transition: border-color .2s; font-family: inherit;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.elige-select:focus { border-color: var(--gold); }
.elige-select option { background: #0a1628; }
.elige-select optgroup { background: #0d1128; color: var(--gold); font-weight: 700; font-style: normal; font-size: 12px; letter-spacing: .5px; }
.elige-select optgroup option { color: #fff; font-weight: 400; }

.fuel-filter {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  max-width: 640px; margin: 0 auto 20px; padding: 0 32px;
}
.fuel-btn {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.45); font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: all .2s;
}
.fuel-btn:hover { border-color: rgba(201,168,76,.4); color: rgba(201,168,76,.8); }
.fuel-btn.active { background: rgba(201,168,76,.12); border-color: var(--gold); color: var(--gold); }

.car-showcase {
  position: relative;
  background: linear-gradient(180deg, rgba(201,168,76,.04) 0%, transparent 100%);
  border-top: 1px solid rgba(201,168,76,.15);
  padding: 64px 48px 0;
  display: flex; align-items: center; justify-content: center;
  gap: 0; overflow: hidden; min-height: 340px;
}
.silhouette-wrap {
  flex: 1; display: flex; align-items: flex-end; justify-content: center; max-width: 680px;
}
.silhouette-wrap img {
  width: 100%; max-width: 640px;
  height: auto; min-height: 180px; max-height: 300px;
  object-fit: contain; object-position: bottom center;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), transform .45s cubic-bezier(.4,0,.2,1);
}
.silhouette-wrap img.exiting { opacity: 0; transform: translateX(-80px); transition: opacity .35s ease-out, transform .35s ease-out; }
.silhouette-wrap img.entering { opacity: 0; transform: translateX(80px); transition: none !important; }

.price-card {
  width: 360px; flex-shrink: 0;
  background: rgba(4,8,15,.7); border: 1px solid rgba(201,168,76,.25);
  border-radius: 8px; padding: 32px 28px; margin-left: 48px;
}
.price-card-brand { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; }
.price-card-model { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 24px; line-height: 1.3; }
.price-card-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 13px;
}
.price-card-row:last-of-type { border-bottom: none; }
.price-card-label { color: rgba(255,255,255,.4); }
.price-card-value { color: #fff; font-weight: 600; white-space: nowrap; }
.price-card-value.gold { color: var(--gold); }
.price-card-cta {
  display: block; width: 100%; margin-top: 24px;
  background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; text-align: center; text-decoration: none;
  padding: 14px 16px; border-radius: 4px; transition: opacity .2s; cursor: pointer; border: none;
}
.price-card-cta:hover { opacity: .85; }

/* ── LISTA DE ESPERA ─────────────────────────────────────────── */
#lista {
  padding: 120px 24px;
  position: relative; overflow: hidden;
  background: var(--navy);
}
#lista::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.07) 0%, transparent 70%);
  pointer-events: none;
}
.lista-inner {
  max-width: 640px; margin: 0 auto;
  position: relative; z-index: 1;
  text-align: center;
}
.lista-icon {
  width: 72px; height: 72px;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  font-size: 28px;
}
.lista-inner .section-tag { margin-bottom: 16px; }
.lista-title {
  font-size: clamp(34px, 5vw, 58px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.05; margin-bottom: 20px;
}
.lista-title span {
  background: linear-gradient(105deg, #8b6914 0%, #c9a84c 30%, #f5e17a 50%, #c9a84c 70%, #8b6914 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: goldShimmer 4s ease-in-out infinite alternate;
}
.lista-sub {
  font-size: 17px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 48px;
}
.lista-form { display: flex; flex-direction: column; gap: 14px; }
.lista-row { display: flex; gap: 14px; }
.lista-input {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 15px; padding: 16px 20px; border-radius: 8px;
  outline: none; transition: border-color .2s, background .2s; font-family: inherit;
  flex: 1;
}
.lista-input:focus { border-color: var(--gold); background: rgba(201,168,76,.05); }
.lista-input::placeholder { color: rgba(255,255,255,.3); }
.lista-submit {
  background: var(--gold); color: var(--navy);
  font-size: 15px; font-weight: 800; letter-spacing: .5px;
  padding: 18px 24px; border-radius: 8px; border: none;
  cursor: pointer; transition: all .25s; width: 100%;
  margin-top: 4px;
}
.lista-submit:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,.3); }
.lista-disclaimer {
  font-size: 12px; color: rgba(255,255,255,.25); text-align: center;
  margin-top: 16px; line-height: 1.6;
}
.lista-trust {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lista-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.lista-trust-item::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ── SUCCESS STATE ───────────────────────────────────────────── */
.lista-success {
  display: none;
  flex-direction: column; align-items: center; gap: 16px;
  padding: 40px 32px;
  background: rgba(201,168,76,.07); border: 1px solid rgba(201,168,76,.2);
  border-radius: 12px;
}
.lista-success.visible { display: flex; }
.lista-success-icon { font-size: 48px; }
.lista-success h3 { font-size: 24px; font-weight: 800; }
.lista-success p { font-size: 15px; color: rgba(255,255,255,.55); text-align: center; line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-svg { width: 40px; height: 40px; flex-shrink: 0; }
.footer-logo-text { font-weight: 700; font-size: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.3); line-height: 1.5; max-width: 280px; margin-top: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-contact a { font-size: 13px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1000px; margin: 24px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.2); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.2); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .hero-content { padding: 0 24px; }
  .hero-title { letter-spacing: -1px; font-size: clamp(34px, 8vw, 52px); line-height: 1.1; padding: 4px 0; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat + .stat { border-left: none; }
  .story-track { display: block; min-height: calc(11 * 80vh); }
  .story-height-driver { display: none; }
  .story-visual { position: sticky; top: 0; width: 100%; height: 40vh; z-index: 1; }
  .story-frame-overlay { background: linear-gradient(to bottom, transparent 40%, var(--navy) 100%); }
  .story-text { position: sticky; top: 40vh; width: 100%; height: 60vh; z-index: 2; background: var(--navy); }
  .story-section { padding: 20px 24px 20px; justify-content: flex-start; }
  .story-category { margin-bottom: 12px; }
  .story-h { font-size: clamp(22px, 5.5vw, 28px); margin-bottom: 12px; }
  .story-p { font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
  .story-spec { font-size: 12px; }
  .story-tag { font-size: 10px; margin-bottom: 8px; }
  .cursor, .cursor-ring { display: none; }
  #elige { padding: 64px 0 0; }
}

@media (max-width: 768px) {
  .car-showcase { flex-direction: column; padding: 40px 24px 0; min-height: auto; }
  .silhouette-wrap { min-height: 140px; }
  .silhouette-wrap img { max-height: 200px; min-height: 120px; }
  .price-card { width: 100%; margin-left: 0; margin-top: 32px; padding: 24px 20px; }
  .price-card-model { font-size: 15px; }
  .elige-selectors { flex-direction: column; padding: 0 24px; }
  .elige-header { padding: 0 24px; }
  .brand-grid { gap: 8px; padding: 0 16px; }
  .brand-btn { padding: 10px 14px; font-size: 11px; letter-spacing: 1px; }
  .lista-row { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}
/* ── COMPACT CAR CARDS ───────────────────────────────────────── */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cc {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.cc:hover {
  border-color: rgba(201,168,76,.35);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

/* Photo */
.cc-photo-wrap { position: relative; overflow: hidden; }
.cc-photo {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
  background: #080e1e;
  cursor: zoom-in;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.cc:hover .cc-photo { transform: scale(1.04); }

.cc-photo-count {
  position: absolute; bottom: 10px; left: 12px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.75); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px; letter-spacing: .3px;
  pointer-events: none;
}
.cc-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.4);
  color: var(--gold); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; pointer-events: none;
}
.cc-badge-black {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
}

/* Body */
.cc-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.cc-brand {
  font-size: 10px; font-weight: 700; color: var(--gold);
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 5px;
}
.cc-model {
  font-size: 18px; font-weight: 800; letter-spacing: -.3px;
  line-height: 1.2; margin-bottom: 10px;
}
.cc-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 18px;
}
.cc-dot { opacity: .3; }

/* Price row */
.cc-price-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; padding-top: 16px;
  border-top: 1px solid rgba(201,168,76,.12);
  margin-top: auto;
}
.cc-price-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.3); margin-bottom: 3px; }
.cc-price { font-size: 24px; font-weight: 900; color: var(--gold); letter-spacing: -1px; line-height: 1; }

/* Buttons */
.cc-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.cc-btn-detail {
  background: none; border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.55); font-size: 11px; font-weight: 600;
  padding: 9px 14px; border-radius: 6px; cursor: pointer;
  transition: all .2s; white-space: nowrap; font-family: inherit;
}
.cc-btn-detail:hover { border-color: var(--gold); color: var(--gold); }
.cc-btn-cta {
  background: var(--gold); color: var(--navy);
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  padding: 9px 16px; border-radius: 6px; border: none;
  cursor: pointer; transition: all .2s; white-space: nowrap; font-family: inherit;
}
.cc-btn-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ── MODAL CONTENT STYLES ───────────────────────────────────── */
.modal-header { margin-bottom: 24px; }
.modal-brand { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.modal-title { font-size: 28px; font-weight: 900; letter-spacing: -1px; }
.modal-sub { font-size: 14px; color: rgba(255,255,255,.4); margin-top: 4px; }

.modal-gallery {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px; margin-bottom: 28px;
}
.modal-gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 6px; cursor: zoom-in;
  border: 2px solid transparent; transition: border-color .2s, opacity .2s;
}
.modal-gallery img:hover { border-color: var(--gold); opacity: .85; }
.modal-gallery img:first-child {
  grid-column: span 3; aspect-ratio: 16/7;
}

.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.modal-section-title { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.modal-spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; gap: 8px; }
.modal-spec-row:last-child { border-bottom: none; }
.modal-spec-row span { color: rgba(255,255,255,.35); }
.modal-spec-row strong { color: #fff; font-weight: 600; text-align: right; }
.modal-eq-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.modal-eq-list li { font-size: 13px; color: rgba(255,255,255,.55); display: flex; gap: 8px; line-height: 1.4; }
.modal-eq-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.modal-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(201,168,76,.15); }
.modal-price-wrap .modal-price-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.3); margin-bottom: 4px; }
.modal-price-wrap .modal-price { font-size: 34px; font-weight: 900; color: var(--gold); letter-spacing: -1px; }
.modal-cta { background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 800; padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer; transition: all .2s; font-family: inherit; }
.modal-cta:hover { background: var(--gold-lt); transform: translateY(-2px); }

/* ── LIGHTBOX EXTRAS ─────────────────────────────────────────── */
#lb-prev:hover, #lb-next:hover { background: rgba(201,168,76,.2); border-color: var(--gold); }
#lb-strip img { width: 60px; height: 42px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; flex-shrink: 0; }
#lb-strip img.lb-active { border-color: var(--gold); }
#lb-strip img:hover { border-color: rgba(201,168,76,.5); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) { .cars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .cars-grid { grid-template-columns: 1fr; } .modal-cols { grid-template-columns: 1fr; } .modal-gallery { grid-template-columns: 1fr 1fr; } .modal-gallery img:first-child { grid-column: span 2; } }

/* ── INTL-TEL-INPUT ──────────────────────────────────────────── */
.iti { width: 100%; }
.iti__tel-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 14px 14px 14px 56px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.iti__tel-input:focus { border-color: var(--gold); }
.iti__tel-input::placeholder { color: rgba(255,255,255,0.3); }
.iti__flag-container { left: 0; }
.iti__selected-dial-code { color: rgba(255,255,255,0.7) !important; font-size: 13px; }
.iti__dropdown-content { background: #1e2540 !important; border: 1px solid rgba(255,255,255,0.15) !important; border-radius: 8px !important; box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important; }
.iti__country { color: #fff !important; }
.iti__country-name { color: #fff !important; }
.iti__country:hover { background: rgba(201,168,76,0.2) !important; }
.iti__country--highlight { background: rgba(201,168,76,0.15) !important; }
.iti__dial-code { color: rgba(255,255,255,0.55) !important; }
.iti__divider { border-color: rgba(255,255,255,0.1) !important; }
.iti__search-input { background: rgba(255,255,255,0.08) !important; border: 1px solid rgba(255,255,255,0.15) !important; color: #fff !important; border-radius: 6px !important; }
.iti__search-input::placeholder { color: rgba(255,255,255,0.4) !important; }
