/* 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; }

/* ===== 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;
  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;
}
.feed-card-embed blockquote {
  margin: 0 !important;
  max-width: 100% !important;
}
.feed-card-embed {
  position: relative;
}
.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;
}

/* ===== 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); }
  .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;
}
