/* ============================================================
   RENTGO — dark navy catalogue design system
   ============================================================ */
:root {
  --navy-950:   #070C15;
  --navy-900:   #0C1524;
  --navy-800:   #131F33;
  --navy-700:   #1C2C46;
  --line:       rgba(255, 255, 255, 0.09);

  --ink:        #F3F5F8;
  --ink-soft:   #8D97A8;

  --bordeaux:       #e31a22;
  --bordeaux-light: #f0333b;
  --bordeaux-dark:  #9a1218;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy-950);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.logo { font-family: 'Sora', 'Inter', sans-serif; }
.logo-img { height: 2.6rem; width: auto; max-width: 220px; object-fit: contain; display: block; }
.footer .logo-img { height: 3.2rem; max-width: 260px; }
@media (max-width: 640px) { .logo-img { height: 2.2rem; max-width: 170px; } }
h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 700; }

p { color: var(--ink-soft); line-height: 1.65; font-size: 1rem; font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bordeaux-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}
.eyebrow--light { color: rgba(255,255,255,0.85); }

.section-head { max-width: 100%; margin: 0 auto 3rem; text-align: center; }
.section-head p { margin-top: 0.9rem; max-width: 620px; margin-left: auto; margin-right: auto; }

section { padding: 5rem 1.5rem; max-width: 1280px; margin: 0 auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 250ms var(--ease), color 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.btn svg { width: 1.05rem; height: 1.05rem; }
.btn i { font-size: 0.95rem; line-height: 1; }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--bordeaux); color: #fff; }
.btn--primary:hover { background: var(--bordeaux-light); }

.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--bordeaux-light); color: var(--bordeaux-light); }

.btn--white { background: #fff; color: var(--bordeaux-dark); }
.btn--white:hover { background: #f0f0f0; }

.btn--lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5a; }
.btn--viber { background: #7360F2; color: #fff; }
.btn--viber:hover { background: #6250e0; }

/* Viber/WhatsApp row under the Rezervă button (single car page) */
.contact-row { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.contact-row .btn { flex: 1; justify-content: center; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  background: var(--bordeaux);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}
.topbar a { text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  /* full-width background, content aligned to a centered 1280px column */
  padding: 0.85rem max(1.5rem, calc((100% - 1280px) / 2));
  background: rgba(7, 12, 21, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}
.logo span { color: var(--bordeaux-light); }

.main-nav { display: flex; align-items: center; gap: 2rem; flex: 1; }
.main-nav a { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); transition: color 250ms var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }

.header__call { flex-shrink: 0; }

.hamburger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--navy-800);
  position: relative;
  flex-shrink: 0;
}
.hamburger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.1rem;
  height: 1.7px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 350ms var(--ease), opacity 250ms var(--ease);
}
.hamburger span:first-child { margin-top: -6px; }
.hamburger span:last-child { margin-top: 6px; }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:first-child { margin-top: 0; transform: translate(-50%, -50%) rotate(45deg); }
.hamburger.is-open span:last-child { margin-top: 0; transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: var(--navy-900);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease), visibility 400ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.mobile-menu a { font-size: 1.7rem; font-weight: 700; color: #fff; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  max-width: 100%;
  padding: 3rem 1.5rem 3.75rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,12,21,0.86) 0%, rgba(7,12,21,0.9) 55%, rgba(7,12,21,0.96) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.hero__head { max-width: 780px; margin: 0 auto 2.5rem; text-align: center; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-card {
  position: relative;
  display: block;
  height: clamp(340px, 36vh, 420px); /* hero box (~100px taller; mobile overridden below) */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; color: transparent; transition: transform 500ms var(--ease); }
.product-card:hover img { transform: scale(1.05); }
.product-card__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); padding: 3rem; }
.product-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,12,21,0.05) 0%, rgba(7,12,21,0.92) 100%); }
.product-card__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; }
.product-card__text h3 { color: #fff; font-size: 1.5rem; margin: 0.15rem 0 1.25rem; }

/* ============================================================
   Logo marquee
   ============================================================ */
.marquee-wrap {
  max-width: 100%;
  padding: 0;
  background: #050709;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee {
  overflow: hidden;
  padding: 1.75rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  /* gap via margin-right on each logo so the two copies are exactly 50% each
     → translateX(-50%) loops seamlessly (flex `gap` leaves no trailing gap and breaks the loop) */
  gap: 0;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.brand-logo {
  height: 2.5rem;
  width: auto;
  flex-shrink: 0;
  margin-right: 4.5rem;
  opacity: 0.75;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.brand-logo:hover { opacity: 1; transform: scale(1.08); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Fleet filters
   ============================================================ */
.fleet-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2.5rem;
}
.filter-chip {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--navy-800);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 250ms var(--ease), border-color 250ms var(--ease), background 250ms var(--ease);
}
.filter-chip:hover { color: var(--ink); border-color: rgba(255,255,255,0.22); }
.filter-chip.is-active {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: #fff;
}

/* ============================================================
   Fleet cards
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.v-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.v-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,0.16); }

.v-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--ink-soft);
}
.v-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.v-card__fallback { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: var(--bordeaux);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.v-card__body { padding: 1.25rem; }
.v-card__specs { font-size: 0.84rem; margin-top: 0.3rem; }
.v-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.v-card__price { font-size: 1.05rem; font-weight: 800; color: var(--bordeaux-light); }

.fleet-note { text-align: center; margin-top: 2.5rem; font-size: 0.82rem; }

/* ============================================================
   Page hero (secondary pages)
   ============================================================ */
.page-hero { text-align: center; padding-top: 3.5rem; padding-bottom: 0.5rem; }
.page-hero p { max-width: 520px; margin: 1rem auto 0; }
.page-hero + .fleet { padding-top: 1.5rem; }

/* ============================================================
   Coming soon (Transport Internațional)
   ============================================================ */
.soon {
  position: relative; overflow: hidden;
  max-width: none; margin: 0; /* full-bleed background edge to edge */
  min-height: 82vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4.5rem 1.5rem;
}
.soon__bg { position: absolute; inset: 0; z-index: 0; }
.soon__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.16; filter: grayscale(0.35);
}
.soon__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(58% 55% at 50% 38%, rgba(227, 26, 34, 0.20), transparent 72%),
    linear-gradient(180deg, transparent, var(--navy-900, #0a1120) 92%);
}
.soon__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.soon__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(227, 26, 34, 0.13); color: var(--bordeaux-light);
  border: 1px solid rgba(227, 26, 34, 0.38);
  font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  padding: 0.5rem 1.05rem; border-radius: 999px; margin-bottom: 1.7rem;
}
.soon__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--bordeaux-light);
  box-shadow: 0 0 0 0 rgba(240, 51, 59, 0.7); animation: soonPulse 2s infinite;
}
@keyframes soonPulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 51, 59, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(240, 51, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 51, 59, 0); }
}
.soon h1 {
  font-size: clamp(2.6rem, 1.1rem + 6.2vw, 5.5rem);
  line-height: 1.0; margin-bottom: 1.4rem; letter-spacing: -0.01em;
}
.soon h1 span { display: block; color: var(--bordeaux); }
.soon p {
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.35rem);
  color: var(--ink); max-width: 580px; margin: 0 auto 2.2rem; line-height: 1.55;
}
.soon__meta {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.8rem; justify-content: center;
  margin-bottom: 2.4rem; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.soon__meta span { display: inline-flex; align-items: center; gap: 0.55rem; }
.soon__meta i { color: var(--bordeaux-light); }
.soon__cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .soon { min-height: 76vh; padding: 3.5rem 1.25rem; }
  .soon__meta { gap: 0.6rem 1.2rem; font-size: 0.88rem; }
}

/* ============================================================
   Testimonials
   ============================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.stars { color: var(--bordeaux-light); letter-spacing: 0.1em; font-size: 0.9rem; margin-bottom: 1rem; }
.quote-card p { color: var(--ink); font-size: 1rem; font-weight: 600; }
.quote-card__author { display: block; margin-top: 1.25rem; font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
.quote-card--stat { background: linear-gradient(135deg, var(--bordeaux-dark), var(--navy-800)); }
.quote-card--stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: #fff; }
.quote-card--stat p { color: rgba(255,255,255,0.75); margin-top: 0.75rem; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-wrap { max-width: 1280px; }
.cta-banner {
  position: relative;
  background: var(--bordeaux-dark);
  border-radius: var(--radius);
  padding: 4.5rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bordeaux);
  opacity: 0.6;
}
.cta-banner__content { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; max-width: 600px; margin: 0 auto; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-top: 1rem; }
.cta-banner .btn { margin-top: 2rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy-900); border-top: 1px solid var(--line); color: var(--ink-soft); }
.footer .logo { color: #fff; }
.footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 3rem;
  padding: 4.5rem 1.5rem 3rem;
}
.footer__brand p { max-width: 320px; margin-top: 1rem; font-size: 0.88rem; }
.footer__socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.footer__social:hover { background: var(--bordeaux); }
.footer__social svg { width: 1.1rem; height: 1.1rem; }
.footer__social i { font-size: 1.05rem; }

.footer__col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 1.25rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.9rem; font-weight: 500; transition: color 250ms var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__col li { font-size: 0.9rem; }

.footer__bottom { border-top: 1px solid var(--line); padding: 1.5rem; font-size: 0.78rem; text-align: center; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
/* longer "Transport Internațional" label needs room — collapse to hamburger earlier */
@media (max-width: 1260px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .header { justify-content: space-between; gap: 1rem; }
  .header__call { display: none; } /* phone lives in the top bar + fixed mobile bar */
}

@media (max-width: 960px) {
  .product-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid--3, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  /* brand on top, then Navigare | Contact side by side */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .topbar { flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 1.25rem; }
  .header { padding: 1rem 1.25rem; gap: 1rem; }
  .card-grid, .card-grid--3, .quote-grid { grid-template-columns: 1fr; }
  .brand-logo { margin-right: 3rem; }
  /* raise the heading + first card so both are visible on entry */
  .hero { padding: 1.25rem 1.25rem 1.75rem; }
  .hero__head { margin: 0 auto 1.25rem; }
  .hero h1 { font-size: 1.7rem; line-height: 1.15; }
  .product-card { height: 240px; }
}

/* hide the fixed contact bar while the mobile menu is open */
.mobile-menu.is-open ~ .mobile-cta-bar { display: none !important; }

/* ============================================================
   Car detail page
   ============================================================ */
.car-detail { padding: 2.5rem 1.5rem 5rem; max-width: 1280px; margin: 0 auto; }
.car-detail__loading, .car-detail__missing { text-align: center; padding: 4rem 0; color: var(--ink-soft); }
.car-detail__missing h1 { margin-bottom: 1rem; }
.car-detail__missing .btn { margin-top: 1.5rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.75rem; }
.breadcrumb a { font-weight: 600; }
.breadcrumb a:hover { color: var(--bordeaux-light); }
.breadcrumb b { color: var(--ink); font-weight: 700; }

.car-detail__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: start; }

/* Gallery */
.gallery__main {
  position: relative;
  aspect-ratio: 21 / 20; /* ~200px shorter than 4/5, near-square */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--bordeaux); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.35rem 0.85rem; border-radius: 999px;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.gallery__thumb {
  aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--navy-800); border: 2px solid transparent; padding: 0; cursor: pointer;
  transition: border-color 250ms var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--bordeaux); }
.gallery__thumb:hover { border-color: var(--bordeaux-light); }

/* gallery arrows + swipe */
.gallery__main { touch-action: pan-y; cursor: grab; }
.gallery__main img { user-select: none; -webkit-user-drag: none; }
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 12, 21, 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3;
  transition: background 250ms var(--ease), transform 250ms var(--ease);
}
.gallery__nav:hover { background: var(--bordeaux); }
.gallery__nav:active { transform: translateY(-50%) scale(0.92); }
.gallery__nav svg { width: 1.35rem; height: 1.35rem; }
.gallery__nav--prev { left: 0.8rem; }
.gallery__nav--next { right: 0.8rem; }

/* Info column */
.car-info h1 { margin: 0.5rem 0 0.4rem; }
.car-info__lead { color: var(--ink-soft); font-weight: 600; }

.spec-list {
  margin: 1.75rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-row { display: flex; justify-content: space-between; padding: 0.85rem 1.1rem; }
.spec-row:nth-child(odd) { background: var(--navy-800); }
.spec-row dt { color: var(--ink-soft); font-size: 0.9rem; }
.spec-row dd { font-weight: 700; font-size: 0.9rem; }

.price-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.price-card__title {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--bordeaux-light); font-weight: 700; margin-bottom: 0.75rem;
}
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; border-top: 1px solid var(--line); }
.price-row:first-of-type { border-top: none; }
.price-row__days { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.price-row__val { font-size: 1.15rem; font-weight: 800; color: var(--ink); }

.car-info__cta { width: 100%; justify-content: center; margin: 1.5rem 0; }

.terms h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.terms ul { padding-left: 1.1rem; list-style: disc; color: var(--ink-soft); }
.terms li { font-size: 0.9rem; margin-bottom: 0.35rem; line-height: 1.5; }
.terms__note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.85rem; font-style: normal; }

@media (max-width: 860px) {
  .car-detail__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 640px) {
  .car-detail { padding: 1.75rem 1.25rem 3.5rem; }
}

/* ============================================================
   Reel experience (TikTok-style) — Prius etc.
   ============================================================ */
.reel-hero { background: #000; padding: 0; max-width: none; margin: 0; }
.reel-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

/* desktop: front photo on the left */
.reel-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}
.reel-photo img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.reel-photo__tag {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 0.4rem 0.9rem; border-radius: 999px;
}

/* video column */
.reel-stage { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.reel-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 540 / 720;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* our own tap-to-play overlay (FB hides its button when muted-autoplaying) */
.reel-play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: rgba(7, 12, 21, 0.35);
  border: 0;
  cursor: pointer;
  transition: opacity 250ms var(--ease);
}
.reel-frame.is-playing .reel-play { opacity: 0; pointer-events: none; }
.reel-play__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 250ms var(--ease);
}
.reel-play__icon svg { width: 2rem; height: 2rem; margin-left: 3px; }
.reel-play:hover .reel-play__icon { transform: scale(1.08); }
.reel-play__label {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.reel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 380px;
  justify-content: center;
  background: var(--bordeaux);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(227,26,34,0.35);
  transition: background 250ms var(--ease), transform 250ms var(--ease);
}
.reel-cta svg { width: 1.1rem; height: 1.1rem; }
.reel-cta:hover { background: var(--bordeaux-light); transform: translateY(-2px); }

/* MOBILE: full-screen TikTok viewer */
@media (max-width: 760px) {
  .reel-hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .reel-photo { display: none; }
  .reel-stage {
    display: block;
    gap: 0;
    padding: 0;
    position: relative;
  }
  .reel-frame {
    max-width: none;
    width: 100%;
    aspect-ratio: 540 / 720;
    border-radius: 0;
    box-shadow: none;
  }
  .reel-cta {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    z-index: 3;
  }
}

/* ============================================================
   Fixed mobile contact bar (Viber / WhatsApp / Telefon)
   ============================================================ */
.mobile-cta-bar { display: none; }

@media (max-width: 760px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(7, 12, 21, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mcb {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.5rem 0;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
  }
  .mcb svg { width: 1.35rem; height: 1.35rem; }
  .mcb i { font-size: 1.3rem; line-height: 1; }
  .mcb--viber { background: #7360F2; }
  .mcb--whatsapp { background: #25D366; }
  .mcb--call { background: var(--bordeaux); }
  .mcb:active { transform: scale(0.97); }

  /* leave room so the fixed bar never covers content */
  body { padding-bottom: 4.75rem; }
  /* keep the reel CTA above the fixed bar */
  .reel-cta { bottom: calc(5.25rem + env(safe-area-inset-bottom)) !important; }
}

/* ============================================================
   Cookie consent (GDPR) + footer legal
   ============================================================ */
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; align-items: center;
  margin-top: 0.75rem; justify-content: center;
}
.footer__legal a, .footer__legal-btn {
  color: var(--ink); font-size: 0.85rem; background: none; border: 0;
  padding: 0; cursor: pointer; font: inherit; font-size: 0.85rem;
  text-decoration: none; transition: color var(--duration-fast, 150ms) ease;
}
.footer__legal a:hover, .footer__legal-btn:hover { color: #fff; }

/* atributul hidden trebuie să învingă display:flex/block de mai jos */
.rgc-banner[hidden], .rgc-modal[hidden] { display: none !important; }

.rgc-banner {
  display: block;
  position: fixed; left: 1rem; right: auto; bottom: 1rem; z-index: 200;
  width: min(380px, calc(100vw - 2rem));
  background: var(--navy-800, #121c30); border: 1px solid var(--line, #26324a);
  border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 1.05rem 1.1rem;
}
.rgc-banner__inner { display: block; }
.rgc-banner__text { margin-bottom: 0.85rem; }
.rgc-banner__text strong { display: block; margin-bottom: 0.2rem; color: #fff; font-size: 0.95rem; }
.rgc-banner__text p { font-size: 0.83rem; color: var(--ink, #aab3c5); line-height: 1.5; }
.rgc-banner__text a { color: var(--bordeaux-light, #f0333b); text-decoration: underline; }
.rgc-banner__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.rgc-banner__actions .rgc-btn { flex: 1 1 auto; padding: 0.55rem 0.7rem; font-size: 0.83rem; }

.rgc-btn {
  font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer;
  padding: 0.65rem 1.15rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}
.rgc-btn:active { transform: scale(0.97); }
.rgc-btn--primary { background: var(--bordeaux, #e31a22); color: #fff; }
.rgc-btn--primary:hover { background: var(--bordeaux-light, #f0333b); }
.rgc-btn--ghost { background: transparent; color: #fff; border-color: var(--line, #33415f); }
.rgc-btn--ghost:hover { border-color: #fff; }

.rgc-modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.rgc-modal__overlay { position: absolute; inset: 0; background: rgba(4, 8, 16, 0.72); backdrop-filter: blur(2px); }
.rgc-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 520px;
  background: var(--navy-800, #121c30); border: 1px solid var(--line, #26324a);
  border-radius: var(--radius, 16px); box-shadow: var(--shadow-lg, 0 30px 60px rgba(0,0,0,.5));
  max-height: 90vh; overflow: auto;
}
.rgc-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line, #26324a); }
.rgc-modal__head h2 { font-size: 1.25rem; }
.rgc-modal__close { background: none; border: 0; color: var(--ink, #aab3c5); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.rgc-modal__close:hover { color: #fff; }
.rgc-modal__body { padding: 0.5rem 1.4rem; }
.rgc-modal__foot { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line, #26324a); }

.rgc-cat { padding: 1rem 0; border-bottom: 1px solid var(--line, #212c42); }
.rgc-cat:last-child { border-bottom: 0; }
.rgc-cat__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.rgc-cat__name { font-weight: 700; color: #fff; }
.rgc-cat p { font-size: 0.85rem; color: var(--ink, #aab3c5); margin-top: 0.35rem; line-height: 1.5; }
.rgc-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bordeaux-light, #f0333b); }

.rgc-switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.rgc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rgc-switch__slider { position: absolute; inset: 0; background: #3a475f; border-radius: 999px; transition: background 0.2s ease; }
.rgc-switch__slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s ease; }
.rgc-switch input:checked + .rgc-switch__slider { background: var(--bordeaux, #e31a22); }
.rgc-switch input:checked + .rgc-switch__slider::before { transform: translateX(18px); }
.rgc-switch input:focus-visible + .rgc-switch__slider { outline: 2px solid var(--bordeaux-light, #f0333b); outline-offset: 2px; }

/* pe mobil: card lipit de margini, deasupra barei fixe de contact */
@media (max-width: 960px) {
  .rgc-banner {
    left: 0.75rem; right: 0.75rem; width: auto;
    bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   Pagini legale (confidențialitate, termeni)
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; padding: 3.5rem 1.5rem 4.5rem; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); margin-bottom: 0.5rem; }
.legal__updated { color: var(--ink, #aab3c5); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 0.75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink, #c4ccdb); line-height: 1.7; font-size: 1rem; }
.legal p { margin-bottom: 1rem; }
.legal ul { margin: 0 0 1rem 1.25rem; list-style: disc; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--bordeaux-light, #f0333b); text-decoration: underline; }
.legal strong { color: #fff; }
.legal table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.5rem; font-size: 0.9rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.75rem; border: 1px solid var(--line, #26324a); color: var(--ink, #c4ccdb); }
.legal th { background: var(--navy-800, #121c30); color: #fff; }
