/* Seven-Ti Class Car - Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
/* font-display: swap applied via @font-face override */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: local('Inter');
}

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a1f35;
  --bg-card-hover: #222842;
  --accent: #dc143c;
  --accent-light: #e84057;
  --accent-dark: #a1112e;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient-accent: linear-gradient(135deg, #dc143c, #e84057);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.4);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

/* Background grid */
.bg-grid {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(211,47,47,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211,47,47,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,14,26,0.98); box-shadow: var(--shadow-card); }
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img { height: 68px; }
.navbar-logo .logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }
.btn-inversores {
  background: #10b981;
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  margin-left: 1rem;
}
.btn-inversores:hover {
  background: #059669;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 70vh;
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.7) 0%, rgba(10,14,26,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.hero-stock-count {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}
.hero-stock-count span {
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0 4px;
  display: inline-block;
  text-shadow: 0 0 10px rgba(220,20,60,0.5);
  animation: stockPulse 3s ease-in-out infinite;
}
@keyframes stockPulse {
  0%, 100% { transform: scale(1); text-shadow: 0 0 10px rgba(220,20,60,0.5); }
  50% { transform: scale(1.1); text-shadow: 0 0 20px rgba(220,20,60,0.8), 0 0 40px rgba(220,20,60,0.3); }
}

.btn-vender {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 14px 32px;
  background: linear-gradient(135deg, #1a9e4d 0%, #22b85a 50%, #1a9e4d 100%);
  background-size: 200% 200%;
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(37,211,102,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  animation: shimmerVender 5s ease infinite, pulseVender 4s ease-in-out infinite;
}
.btn-vender::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-vender:hover::before { left: 100%; }
.btn-vender:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  color: #fff;
}
@keyframes shimmerVender {
  0% { background-position: 0% 50%; filter: brightness(1); }
  50% { background-position: 100% 50%; filter: brightness(1.06); }
  100% { background-position: 0% 50%; filter: brightness(1); }
}
@keyframes pulseVender {
  0%,100% { box-shadow: 0 4px 12px rgba(26,158,77,0.3), inset 0 1px 0 rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.12); filter: brightness(1); }
  50% { box-shadow: 0 0 15px rgba(26,158,77,0.5), inset 0 1px 0 rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.25); filter: brightness(1.05); }
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--accent); transform: scale(1.2); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, #dc143c 0%, #ff4466 50%, #dc143c 100%);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 15px rgba(220,20,60,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  animation: shimmerBtn 2.5s ease infinite, sweepLight 3s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(220,20,60,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #fff;
}
@keyframes shimmerBtn {
  0% { background-position: 0% 50%; filter: brightness(1); }
  50% { background-position: 100% 50%; filter: brightness(1.15); }
  100% { background-position: 0% 50%; filter: brightness(1); }
}
@keyframes sweepLight {
  0% { box-shadow: 0 4px 15px rgba(220,20,60,0.3), inset 0 1px 0 rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.15); }
  50% { box-shadow: 0 0 20px rgba(220,20,60,0.6), 0 0 40px rgba(255,68,102,0.4), inset 0 1px 0 rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.4); }
  100% { box-shadow: 0 4px 15px rgba(220,20,60,0.3), inset 0 1px 0 rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.15); }
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  color: #fff;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; letter-spacing: 1.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-title .accent-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  margin: 1rem auto;
  border-radius: 2px;
}
.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s;
}
.about-image:hover img { transform: scale(1.05); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(220,20,60,0.15);
}
.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(220,20,60,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
  font-size: 1.5rem;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== VEHICLE CARDS ===== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.vehicle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220,20,60,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.vehicle-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: pointer;
}
.vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.vehicle-card:hover .vehicle-img img { transform: scale(1.08); }

/* Badge stock propio */
.vehicle-card {
  position: relative;
}
.stock-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: linear-gradient(135deg, #f5c518, #e6a800);
  color: #1a1a1a;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
}
.vehicle-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.vehicle-photos-count {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vehicle-info {
  padding: 1.2rem;
}
.vehicle-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.vehicle-spec {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vehicle-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.vehicle-price small {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}
.vehicle-actions {
  display: flex;
  gap: 0.5rem;
}
.vehicle-actions .btn { flex: 1; justify-content: center; }

/* ===== FILTERS ===== */
.filters-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: center;
}
.filter-select, .filter-input {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  min-width: 160px;
}
.filter-select:focus, .filter-input:focus {
  outline: none;
  border-color: var(--accent);
}
.results-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-left: auto;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(220,20,60,0.1);
  position: relative;
}
.modal-logo {
  text-align: center;
  margin-bottom: 1rem;
}
.modal-logo img {
  height: 50px;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.modal p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.modal-vehicle-preview {
  display: flex;
  gap: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}
.modal-vehicle-preview img {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.modal-vehicle-preview .info { font-size: 0.85rem; }
.modal-vehicle-preview .info strong { display: block; margin-bottom: 2px; }
.modal-vehicle-preview .info span { color: var(--accent); font-weight: 700; }
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}
.form-group input {
  width: 100%;
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}
.modal-success {
  text-align: center;
  padding: 2rem 0;
}
.modal-success .check-icon {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 1rem;
}
.modal-success h3 { color: var(--success); }

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h3, .footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}
.footer-col p, .footer-col li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  list-style: none;
}
.footer-col a { color: var(--text-secondary); }
.footer-col a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== LOADING ===== */
.loading-spinner {
  display: flex;
  justify-content: center;
  padding: 3rem;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-loader {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

/* ===== GALLERY MODAL ===== */
.gallery-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.gallery-overlay.active { display: flex; }
.gallery-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
}
.gallery-nav:hover { background: rgba(255,255,255,0.2); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.gallery-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}
.no-results svg { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: 80px; right: 20px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
  box-shadow: var(--shadow-card);
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--accent); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] {
  border-color: var(--accent);
}
.faq-item summary {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
  transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:hover {
  color: var(--accent);
}
.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== FEED DE PUBLICACIONES ===== */
/* Feed vertical estilo TikTok/Stories */
.feed-grid {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 520px;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.feed-card {
  display: flex;
  flex-direction: column;
  height: 520px;
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.feed-card:last-child {
  border-bottom: none;
}
.feed-card-media {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.feed-card-media img,
.feed-card-media video {
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
}
@media (max-width: 768px) {
  .feed-grid {
    max-width: 100%;
    height: 80vh;
    height: 80dvh;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .feed-card {
    height: 80vh;
    height: 80dvh;
  }
  .feed-card-header {
    padding: 0.4rem 0.7rem;
  }
  .feed-card-avatar {
    width: 32px;
    height: 32px;
  }
  .feed-card-text {
    padding: 0 0.7rem 0.3rem;
    font-size: 0.8rem;
  }
  .feed-see-more {
    padding: 0 0.7rem 0.3rem;
  }
  .feed-card-cta-row {
    flex-direction: row;
  }
  .feed-card-cta-bar {
    flex: 1;
    padding: 0.4rem 0.6rem;
  }
  .feed-cta-catalog {
    border-top: 1px solid var(--border) !important;
    border-left: 1px solid var(--border);
  }
  .feed-cta-label { font-size: 0.6rem; }
  .feed-cta-desc { font-size: 0.75rem; }
  .feed-cta-btn { padding: 0.35rem 0.6rem; font-size: 0.7rem; }
  .feed-action-btn {
    padding: 0.35rem 0;
    font-size: 0;
  }
  .feed-action-btn svg {
    width: 16px;
    height: 16px;
  }
}
/* Feed card header - estilo Facebook */
.feed-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
}
.feed-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.feed-card-header-info {
  display: flex;
  flex-direction: column;
}
.feed-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.feed-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.feed-card-text {
  padding: 0 0.9rem 0.5rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-card-text.expanded {
  -webkit-line-clamp: unset;
  display: block;
}
.feed-see-more {
  padding: 0 0.9rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
}
.feed-see-more:hover {
  color: var(--text-primary);
}
.feed-card-media {
  position: relative;
  width: 100%;
  background: #0a0a0a;
}
.feed-card-media img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.feed-card-media video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: contain;
  background: #000;
}
.feed-video-wrap {
  position: relative;
}
.feed-tap-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  background: rgba(0,0,0,0.15);
}
.feed-tap-hand {
  font-size: 3.5rem;
  animation: feed-tap-pulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  display: inline-block;
}
@keyframes feed-tap-pulse {
  0%, 100% { transform: rotate(180deg) scaleX(-1) scale(1); opacity: 0.9; }
  50% { transform: rotate(180deg) scaleX(-1) scale(1.35); opacity: 1; }
}
.feed-card-media iframe {
  width: 100%;
  border: none;
  min-height: 400px;
}
/* CTA bar estilo Facebook */
.feed-card-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  background: var(--bg-secondary);
  text-decoration: none;
  border-top: 1px solid var(--border);
  gap: 0.8rem;
}
.feed-cta-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.feed-cta-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feed-cta-desc {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-cta-btn {
  flex-shrink: 0;
  background: #25D366;
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.feed-card-cta-bar:hover .feed-cta-btn {
  background: #1da851;
}
/* Feed actions - estilo Facebook */
.feed-card-cta-row {
  display: flex;
  flex-direction: column;
}
.feed-cta-catalog {
  border-top: none !important;
}
.feed-cta-btn-catalog {
  background: var(--accent) !important;
}
.feed-card-actions {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 0;
}
.feed-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-right: 1px solid var(--border);
}
.feed-action-btn:last-child {
  border-right: none;
}
.feed-action-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.feed-action-btn.liked {
  color: #3b82f6;
}
.feed-action-btn.liked svg {
  fill: #3b82f6;
}
.feed-card-embed {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.feed-card-embed blockquote,
.feed-card-embed iframe {
  margin: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
.feed-embed-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(0,0,0,0.1);
}
.feed-embed-play {
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.feed-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  display: none;
}

/* ===== PRECIO BORROSO (antes de dar datos) ===== */
.vehicle-price.blurred {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vehicle-price.blurred .price-blur {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
}
.vehicle-price.blurred .price-hint {
  font-size: 0.65rem;
  color: var(--accent-light);
  font-weight: 500;
  background: rgba(220,20,60,0.1);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(220,20,60,0.25);
  white-space: nowrap;
}

/* ===== BOTONES POST-IDENTIFICACION ===== */
.btn-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.btn-row .btn { flex: 1; }
.btn-enviar-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  background: #25d366;
  color: white;
  transition: var(--transition);
}
.btn-enviar-info:hover { background: #1da851; transform: scale(1.02); }

.btn-compartir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(59,130,246,0.4);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: #3b82f6;
  transition: var(--transition);
}
.btn-compartir:hover { background: rgba(59,130,246,0.1); border-color: #3b82f6; }

@keyframes pulse-compartir {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}
.btn-compartir { animation: pulse-compartir 2.5s ease-in-out infinite; }

.btn-enviado {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(37,211,102,0.3);
  font-family: 'Inter', sans-serif;
  background: rgba(37,211,102,0.1);
  color: #25d366;
  cursor: default;
  pointer-events: none;
}

/* ===== MODAL PROGRESS BAR ===== */
.modal-progress {
  display: none;
  margin-top: 1.2rem;
}
.modal-progress.active { display: block; }
.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #25d366, #1da851);
  border-radius: 3px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(37,211,102,0.4);
}
.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.progress-step.active {
  color: var(--text-primary);
}
.progress-step.done {
  color: #25d366;
}
.progress-step .step-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.progress-step.active .step-icon {
  background: rgba(37,211,102,0.15);
  border-color: rgba(37,211,102,0.4);
  animation: step-pulse 1s ease-in-out infinite;
}
.progress-step.done .step-icon {
  background: rgba(37,211,102,0.2);
  border-color: #25d366;
}
@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.3); }
  50% { box-shadow: 0 0 0 4px rgba(37,211,102,0.1); }
}

/* ===== MODAL BENEFITS ===== */
.modal-benefits {
  display: flex;
  gap: 6px;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.modal-benefit {
  font-size: 0.65rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}
.modal-privacy {
  text-align: center;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== MODAL COMPARTIR ===== */
.share-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}
.share-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.share-option:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent);
}
.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.share-icon.wa-icon { background: rgba(37,211,102,0.15); }
.share-icon.link-icon { background: rgba(59,130,246,0.15); }
.share-icon.native-icon { background: rgba(220,20,60,0.15); }
.share-option .share-text strong {
  display: block;
  font-size: 0.85rem;
}
.share-option .share-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.friend-input-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.friend-input-row input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.friend-input-row input:focus { border-color: #25d366; }
.friend-input-row .btn-send-friend {
  background: #25d366;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: var(--transition);
}
.friend-input-row .btn-send-friend:hover { background: #1da851; }
.share-copied {
  color: var(--success);
  font-size: 0.75rem;
  text-align: center;
  padding: 4px;
  display: none;
}
.share-copied.show { display: block; }

/* ===== GALLERY GATE (foto 2 bloqueada) ===== */
.gallery-gate {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d1225 0%, #1a2035 50%, #0d1225 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gallery-gate::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(220,20,60,0.06) 0%, transparent 60%);
  animation: gate-glow 4s ease-in-out infinite;
}
@keyframes gate-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.gallery-gate > * { position: relative; z-index: 2; }

.gate-logo {
  width: 70px; height: 70px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(220,20,60,0.3);
}
.gate-photos-preview {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.gate-thumb {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  filter: blur(4px) brightness(0.6);
  border: 1px solid rgba(255,255,255,0.1);
}
.gate-thumb-more {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}
.gate-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: white;
}
.gate-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}
.gate-btn {
  background: #25d366;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  transition: var(--transition);
}
.gate-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}
.gate-hint {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}
/* Gallery dots row */
.gallery-dots {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.gallery-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-dot.active { background: white; transform: scale(1.4); }
.gallery-dot.gate-dot { background: #25d366; opacity: 0.5; }
.gallery-dot.gate-dot.active { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--bg-primary);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  .nav-links.active a { padding: 1rem 0; border-bottom: 1px solid var(--border); }
  .btn-inversores { margin-left: auto; margin-right: 0.5rem; }
  .nav-toggle { display: block; }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }

  .about-grid { grid-template-columns: 1fr; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .filters-bar { flex-direction: column; }
  .filter-select, .filter-input { width: 100%; }
  .results-count { margin-left: 0; }

  .section { padding: 3rem 1rem; }
  .section-title h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .vehicle-actions { flex-direction: column; }
}


/* Hero buttons mobile */
@media (max-width: 768px) {
  .hero-content .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  .hero-content .btn-vender {
    padding: 12px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

/* ===== Botón flotante WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 4000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* ========================================
   MEJORAS 2026-03 - Conversion & Engagement
   ======================================== */

/* ===== WHATSAPP FLOAT ENHANCED ===== */
.whatsapp-float .wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* WhatsApp tooltip bubble */
.wa-tooltip {
  position: fixed;
  bottom: 92px;
  right: 20px;
  z-index: 4001;
  background: #fff;
  color: #333;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  max-width: 230px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  animation: tooltipIn 0.4s ease;
  line-height: 1.4;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 30px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}
.wa-tooltip-close {
  position: absolute;
  top: 2px; right: 6px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
@keyframes tooltipIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== STICKY MOBILE BAR ===== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3500;
  background: rgba(10,14,26,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  gap: 8px;
  align-items: center;
}
@media (max-width: 768px) {
  .mobile-sticky-bar { display: flex; }
  .whatsapp-float { bottom: 72px; }
  .wa-tooltip { bottom: 140px; }
  body { padding-bottom: 60px; }
}
.msb-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.msb-whatsapp { background: #25d366; color: #fff; }
.msb-whatsapp:hover { background: #1da851; color: #fff; }
.msb-call { background: var(--accent); color: #fff; }
.msb-call:hover { background: var(--accent-dark); color: #fff; }
.msb-visit { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border); }
.msb-visit:hover { border-color: var(--accent); color: var(--text-primary); }

/* ===== TRUST BADGES BAR ===== */
.trust-bar {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.trust-badge-icon { font-size: 1rem; }

/* ===== URGENCY BADGES ===== */
.badge-urgency {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  pointer-events: none;
}
.badge-nuevo { background: var(--success); color: #fff; }
.badge-popular { background: var(--warning); color: #1a1a1a; }
.badge-oferta { background: var(--danger); color: #fff; }

/* Vehicle view counter */
.vehicle-views {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.vehicle-views .dot-live {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 1.5s infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Price drop */
.price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 400;
}
.price-drop-tag {
  font-size: 0.65rem;
  background: rgba(239,68,68,0.15);
  color: var(--danger);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* ===== HERO SEARCH BAR ===== */
.hero-search {
  position: relative;
  max-width: 580px;
  margin: 0 auto 1.5rem;
}
.hero-search input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  font-size: 1rem;
  border: 2px solid var(--accent);
  border-radius: 50px;
  background: rgba(10,14,26,0.7);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  outline: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  -webkit-text-fill-color: var(--text-primary);
}
.hero-search input::placeholder { color: var(--text-muted); -webkit-text-fill-color: var(--text-muted); }
.hero-search input:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 25px rgba(220,20,60,0.2);
}
.hero-search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--accent);
  pointer-events: none;
}

/* Quick filter pills */
.hero-quick-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.quick-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(220,20,60,0.1);
  border: 1px solid rgba(220,20,60,0.3);
  color: var(--accent-light);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.quick-pill:hover {
  background: rgba(220,20,60,0.2);
  border-color: var(--accent);
  transform: translateY(-1px);
  color: #fff;
}

/* ===== RECENTLY VIEWED ===== */
.recently-viewed {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.recently-viewed h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.rv-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-secondary) transparent;
}
.rv-grid::-webkit-scrollbar { height: 4px; }
.rv-grid::-webkit-scrollbar-track { background: transparent; }
.rv-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.rv-card {
  min-width: 170px;
  max-width: 170px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.rv-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.rv-card img {
  width: 100%; height: 100px;
  object-fit: cover;
  display: block;
}
.rv-card-info { padding: 8px; }
.rv-card-title { font-size: 0.75rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-card-price { font-size: 0.8rem; color: var(--accent-light); font-weight: 700; }

/* ===== FINANCING CALCULATOR ===== */
.calc-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}
.calc-section h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.calc-section > p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.5rem; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .calc-grid { grid-template-columns: 1fr; }
}
.calc-inputs { display: flex; flex-direction: column; gap: 1.2rem; }
.calc-group { position: relative; }
.calc-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.calc-value { color: var(--accent-light); font-weight: 700; }
.calc-group input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-secondary);
  border-radius: 3px;
  outline: none;
}
.calc-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(220,20,60,0.4);
}
.calc-group input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.calc-result {
  background: var(--bg-primary);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border);
}
.calc-result-label { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.calc-result-amount { font-size: 2.5rem; font-weight: 800; color: var(--accent-light); line-height: 1.1; }
.calc-result-period { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.calc-details { display: flex; gap: 2rem; margin-top: 1rem; }
.calc-detail { text-align: center; }
.calc-detail-value { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
.calc-detail-label { font-size: 0.7rem; color: var(--text-muted); }
.calc-result .btn { margin-top: 1.2rem; width: 100%; justify-content: center; }

/* ===== EXIT INTENT POPUP ===== */
.exit-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.exit-popup-overlay.active { display: flex; }
.exit-popup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from{opacity:0;transform:scale(0.9)} to{opacity:1;transform:scale(1)} }
.exit-popup-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.exit-popup h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.exit-popup h3 span { color: var(--accent-light); }
.exit-popup > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }
.exit-popup-vehicles {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.exit-vehicle-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 8px;
  width: 130px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.exit-vehicle-card:hover { border-color: var(--accent); }
.exit-vehicle-img {
  width: 100%; height: 75px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  margin-bottom: 6px;
  background: var(--bg-card);
}
.exit-vehicle-name { font-size: 0.7rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exit-vehicle-price { font-size: 0.75rem; color: var(--accent-light); font-weight: 700; }

/* ===== SCROLL DEPTH POPUP ===== */
.scroll-popup {
  display: none;
  position: fixed;
  bottom: 24px; left: 1rem; right: 1rem;
  z-index: 3600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  animation: slideUp 0.4s ease;
}
@media (max-width: 768px) {
  .scroll-popup { bottom: 68px; }
}
.scroll-popup.active { display: flex; }
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.scroll-popup-text { flex: 1; }
.scroll-popup-text p { font-size: 0.85rem; font-weight: 600; margin: 0; }
.scroll-popup-text small { color: var(--text-muted); font-size: 0.75rem; }
.scroll-popup .btn { white-space: nowrap; }
.scroll-popup-close {
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer; font-size: 1.2rem;
  flex-shrink: 0;
}
