/* ============================================================================
   DESIGN SYSTEM & STYLESHEET - STELLANTIS BRAND HOUSE (JEEP • CITROËN • LEAPMOTOR)
   ============================================================================ */

:root {
  --color-primary: #0f172a;        /* Stellantis Deep Slate */
  --color-primary-light: #1e293b;
  --color-accent: #e11d48;         /* High-Converting Crimson CTA */
  --color-accent-hover: #be123c;
  --color-wa: #16a34a;             /* WhatsApp Conversion Green */
  --color-wa-hover: #15803d;
  --color-info: #0284c7;
  --color-gold: #f59e0b;

  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #475569;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);
  --container-max: 1220px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
}

.btn-wa {
  background-color: var(--color-wa);
  color: #ffffff;
}

.btn-wa:hover {
  background-color: var(--color-wa-hover);
}

.btn-video {
  background-color: #0f172a;
  color: #ffffff;
}

.btn-video:hover {
  background-color: #334155;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-primary);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: #f1f5f9;
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

/* ---------------- TOP PROMO BAR ---------------- */
.promo-bar {
  background: linear-gradient(90deg, #be123c, #e11d48, #be123c);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
}

/* ---------------- HEADER ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-primary);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: var(--color-accent);
  text-transform: uppercase;
}

.header-nav {
  display: none;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.header-nav a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background-color: #f1f5f9;
}

/* ---------------- HERO SECTION ---------------- */
.hero-section {
  background: linear-gradient(135deg, #090d16 0%, #162032 60%, #1e293b 100%);
  color: #ffffff;
  padding: 40px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.brand-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

.brand-pill.highlight {
  background-color: rgba(225, 29, 72, 0.22);
  border-color: rgba(225, 29, 72, 0.55);
  color: #fda4af;
}

.hero-title {
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  line-height: 1.16;
  font-weight: 800;
  margin: 0 0 14px;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #cbd5e1;
  margin: 0 0 20px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}

.hero-bullets .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(22, 163, 74, 0.25);
  color: #4ade80;
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  aspect-ratio: 16 / 10;
  background-color: #020617;
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 12px 8px;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.88));
  font-size: 0.76rem;
  font-weight: 700;
  color: #f8fafc;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

/* Sales Consultant Box inside Hero */
.sales-advisor-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sales-advisor-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sales-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e11d48, #f59e0b);
  color: #ffffff;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sales-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: #ffffff;
}

.sales-role {
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ---------------- HERO LEAD FORM CARD ---------------- */
.lead-card {
  background-color: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.lead-card-header {
  margin-bottom: 18px;
}

.lead-card-header h2 {
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--color-primary);
}

.lead-card-header p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-info);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 12px 0 14px;
}

.form-consent input {
  margin-top: 3px;
}

.form-consent a {
  color: var(--color-info);
  text-decoration: underline;
}

.form-error {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 18px;
}

.form-guarantee {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 10px 0 0;
}

/* ---------------- PARTNERS STRIP ---------------- */
.partners-strip {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.partners-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.partners-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-text-muted);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #f1f5f9;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------------- GENERAL SECTION ---------------- */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--color-surface);
}

.section-dark {
  background: linear-gradient(180deg, #0b1120 0%, #111827 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--color-primary);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.section-dark .section-desc {
  color: #cbd5e1;
}

/* ---------------- VIDEO HIGHLIGHT SHOWCASE ---------------- */
.video-theater-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.video-stage-card {
  background-color: #020617;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  overflow: hidden;
}

.video-viewport video,
.video-viewport iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* Built-in Reel Player */
.reel-player {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #020617;
}

.reel-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4.5s ease-out, opacity 0.45s ease;
  transform: scale(1);
}

.reel-player.is-playing img {
  transform: scale(1.08);
}

.reel-overlay-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.reel-live-badge {
  background-color: rgba(225, 29, 72, 0.92);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.reel-duration-badge {
  background-color: rgba(2, 6, 23, 0.78);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.reel-center-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(2, 6, 23, 0.25);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.reel-center-play:hover {
  background: rgba(2, 6, 23, 0.38);
}

.reel-play-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: rgba(225, 29, 72, 0.95);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.5);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.reel-player.is-playing .reel-play-circle {
  opacity: 0;
  transform: scale(0.85);
}

.reel-player.is-playing:hover .reel-play-circle {
  opacity: 0.95;
  transform: scale(1);
}

.reel-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.95));
  padding: 28px 16px 12px;
  color: #ffffff;
}

.reel-caption {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.reel-progress-track {
  width: 100%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.reel-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--color-accent);
  transition: width 0.25s linear;
}

.reel-controls-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.reel-toggle-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.video-stage-info {
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.video-stage-info h3 {
  margin: 4px 0 6px;
  font-size: 1.15rem;
  color: #ffffff;
}

.video-stage-info p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 560px;
}

.video-playlist {
  display: grid;
  gap: 12px;
}

.video-playlist-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.video-playlist-item:hover {
  background-color: rgba(255, 255, 255, 0.09);
}

.video-playlist-item.active {
  background-color: rgba(225, 29, 72, 0.14);
  border-color: var(--color-accent);
}

.playlist-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #000000;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-play-tag {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(2, 6, 23, 0.85);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.playlist-brand {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fda4af;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.playlist-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------------- CATALOG ---------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
}

.filter-tab.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.car-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.car-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.car-card-media {
  position: relative;
  background-color: #0f172a;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.car-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.car-card:hover .car-card-media img {
  transform: scale(1.03);
}

.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}

.car-video-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(225, 29, 72, 0.94);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  font-family: inherit;
  z-index: 2;
}

.car-video-pill:hover {
  background-color: var(--color-accent-hover);
}

.car-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-category {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.7px;
}

.car-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 4px 0 14px;
}

.car-pricing {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background-color: #f8fafc;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.price-label {
  display: block;
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

.price-otr {
  font-size: 1.02rem;
  color: var(--color-primary);
}

.price-installment-box {
  text-align: right;
}

.price-monthly {
  font-size: 1.02rem;
  color: var(--color-accent);
}

.price-monthly span {
  font-size: 0.74rem;
  font-weight: 600;
}

.car-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 0.78rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-top: 10px;
  padding-bottom: 10px;
}

.car-specs span {
  display: block;
  color: var(--color-text-muted);
}

.car-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: grid;
  gap: 5px;
}

.car-card-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.car-card-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-disclaimer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ---------------- GALLERY & BROCHURE ---------------- */
.usp-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.usp-pill-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.usp-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(15, 23, 42, 0.08);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.usp-pill-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.usp-pill-text span {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

.brochure-banner-card {
  margin-top: 28px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.brochure-thumb-link {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  max-height: 360px;
}

.brochure-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .usp-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .brochure-banner-card {
    grid-template-columns: 280px 1fr;
    padding: 24px;
  }
}

/* ---------------- SHOWROOM GALLERY ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  background-color: #0f172a;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.88));
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
}

/* ---------------- CREDIT SIMULATOR ---------------- */
.simulator-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.simulator-result {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-highlight-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.sim-highlight-value {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #4ade80;
  margin-bottom: 20px;
}

.sim-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
  margin-bottom: 18px;
  display: grid;
  gap: 10px;
}

.sim-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.sim-note {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin: 0 0 18px;
}

/* ---------------- BENEFITS & STEPS ---------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(225, 29, 72, 0.1);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.step-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-accent);
  background-color: rgba(225, 29, 72, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------------- TESTIMONIALS ---------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.stars {
  color: #f59e0b;
  margin-bottom: 10px;
  font-size: 1rem;
}

.testimonial-quote {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: var(--color-text);
}

.testimonial-author {
  font-weight: 800;
  font-size: 0.92rem;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---------------- FAQ ---------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ---------------- FINAL CTA ---------------- */
.final-cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  text-align: center;
  padding: 56px 20px;
}

.final-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.final-cta p {
  margin: 0 auto 24px;
  max-width: 640px;
  color: #cbd5e1;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background-color: #020617;
  color: #94a3b8;
  padding: 48px 0 96px;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---------------- STICKY MOBILE BAR & MODALS ---------------- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 24px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-dialog-video {
  max-width: 780px;
  background-color: #0b1120;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f1f5f9;
  color: #0f172a;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
}

/* ---------------- RESPONSIVE BREAKPOINTS ---------------- */
@media (min-width: 768px) {
  .car-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .simulator-box {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 36px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .mobile-sticky-bar {
    display: none;
  }
  .site-footer {
    padding-bottom: 48px;
  }
}

@media (min-width: 992px) {
  .header-nav {
    display: flex;
  }
  .header-phone {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 44px;
  }
  .video-theater-grid {
    grid-template-columns: 1.45fr 0.85fr;
  }
}

@media (min-width: 1080px) {
  .car-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
