@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #050505;
  --bg-secondary: #0c0c0c;
  --bg-card: #141414;
  --bg-card-hover: #1e1e1e;
  --bg-input: #1a1a1a;
  --accent-gold: #C8A95B;
  --accent-gold-hover: #dfc175;
  --accent-gold-dark: #9A7E3B;
  --accent-gold-glow: rgba(200, 169, 91, 0.25);
  --text-primary: #F5F5F5;
  --text-secondary: #b5b5b5;
  --text-muted: #6e6e6e;
  --border-color: rgba(255, 255, 255, 0.05);
  --border-gold: rgba(200, 169, 91, 0.2);
  --border-gold-hover: rgba(200, 169, 91, 0.4);
  --font-title: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--bg-primary);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 15px;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  color: var(--accent-gold);
  background: linear-gradient(135deg, #FFF 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
}

.glass-panel {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
}

.glass-panel-gold {
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--bg-primary);
  border: none;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 91, 0.4);
  background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background: rgba(200, 169, 91, 0.05);
  transform: translateY(-2px);
}

.btn-icon {
  margin-left: 8px;
  font-size: 14px;
}

/* HEADER & NAVBAR */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: #000000;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  padding: 10px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.header.scrolled .logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 1px;
}

.mobile-cta {
  display: none;
}

/* BOTONES DE IDIOMA */
.lang-btn-toggle {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.lang-btn-toggle:hover {
  background: rgba(200, 169, 91, 0.05);
  border-color: var(--accent-gold);
  color: #ffffff;
}

/* Ajuste preventivo para laptops medianas (evitar saltos de línea en el menú) */
@media (min-width: 769px) and (max-width: 1200px) {
  .nav-links {
    gap: 16px !important;
  }
  .nav-links a {
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }
  .nav-cta .btn {
    padding: 8px 16px !important;
    font-size: 10px !important;
  }
}

/* MOBILE TOGGLE */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1.0;
}

.hero-overlay {
  display: none;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.25) 45%, rgba(5, 5, 5, 0.8) 80%, var(--bg-primary) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-weight: 700;
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mouse-wheel {
  width: 20px;
  height: 32px;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel::before {
  content: '';
  width: 3px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-down 1.8s infinite;
}

@keyframes scroll-down {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* SECTION GLOBAL HEADERS */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 300;
}

/* VEHICLE FILTERS */
.filters-wrapper {
  margin-bottom: 40px;
}

.search-filters-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-input, .filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: var(--transition-fast);
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(200,169,91,0.1);
}

.filter-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-tab {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.category-tab:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: 0 4px 12px var(--accent-gold-glow);
}

/* VEHICLES GRID & CARDS */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.vehicle-card {
  background-color: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 2px 10px var(--accent-gold-glow);
}

.vehicle-img-container {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #101010;
  overflow: hidden;
}

.vehicle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.vehicle-card:hover .vehicle-img {
  opacity: 0.9;
}

.vehicle-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
}

.vehicle-status-badge.available {
  background-color: rgba(72, 187, 120, 0.15);
  color: #48bb78;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.vehicle-status-badge.sold {
  background-color: rgba(229, 62, 62, 0.15);
  color: #e53e3e;
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.vehicle-details-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-brand {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.vehicle-title {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.vehicle-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spec-icon-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.spec-icon-label svg {
  width: 12px;
  height: 12px;
  fill: var(--accent-gold);
}

.spec-value {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.vehicle-price-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.vehicle-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-val {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 700;
}

.price-sold {
  color: var(--text-muted);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-wa-card {
  padding: 10px 14px;
  font-size: 11px;
  background-color: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-wa-card svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn-wa-card:hover {
  background-color: #25d366;
  color: #050505;
  border-color: #25d366;
}

.btn-wa-card:disabled {
  opacity: 0.3;
  background-color: transparent;
  color: var(--text-muted);
  border-color: var(--border-color);
  cursor: not-allowed;
}

/* SELL VEHICLE SECTION */
.sell-section {
  position: relative;
}

.sell-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}

.sell-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.sell-info p {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.8;
}

.sell-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sell-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sell-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 169, 91, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sell-point-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
}

.sell-point-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.sell-point-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.sell-form-wrapper {
  padding: 40px;
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.sell-form-wrapper label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(200, 169, 91, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.file-upload-container {
  border: 1px dashed var(--border-gold);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background-color: rgba(5, 5, 5, 0.4);
  transition: var(--transition-smooth);
  position: relative;
}

.file-upload-container:hover {
  background-color: rgba(200, 169, 91, 0.03);
  border-color: var(--accent-gold);
}

.file-upload-container input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  margin-bottom: 10px;
}

.file-upload-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-gold-dark);
}

.file-upload-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.file-upload-subtext {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  margin-top: 12px;
}

/* WHY US SECTION */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 40px 32px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--accent-gold);
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.why-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* EXPERIENCIA PREMIUM (EMOTIONAL GRAPHIC) */
.experience-section {
  position: relative;
  padding: 160px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5,5,5,0.9) 20%, rgba(5,5,5,0.5) 50%, rgba(5,5,5,0.9) 80%),
              radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(5,5,5,0.95) 95%);
  z-index: 1;
}

.experience-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.experience-quote {
  font-family: var(--font-title);
  font-size: 40px;
  line-height: 1.4;
  margin-bottom: 28px;
  font-weight: 400;
}

.experience-author {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* TESTIMONIALS SECTION */
.testimonials-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 16px;
}

.testimonial-card {
  padding: 48px;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-gold);
}

.testimonial-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 28px;
}

.testimonial-client h4 {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.testimonial-client p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold-dark);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.slider-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  border-color: var(--accent-gold);
  background-color: rgba(200, 169, 91, 0.05);
}

.slider-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: var(--accent-gold);
  transform: scale(1.4);
}

/* FINAL CTA SECTION */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.cta-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-wrapper h2 {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-wrapper p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background-color: #020202;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-about img {
  height: 48px;
  width: auto;
  margin-bottom: 24px;
}

.footer-col-about p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
}

.social-link:hover {
  border-color: var(--accent-gold);
  background-color: rgba(200, 169, 91, 0.05);
}

.social-link:hover svg {
  fill: var(--accent-gold);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-info-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item span {
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-badge {
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
}

/* SCROLL REVEAL CLASS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sell-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 40px !important; }
  .section-title { font-size: 28px; }
  .experience-quote { font-size: 28px; }
  .testimonial-card { padding: 32px 20px; }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 100px 40px;
    gap: 24px;
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  
  .nav-links.mobile-active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-links .mobile-cta {
    display: block;
    margin-top: 16px;
  }

  .lang-toggle-mobile-li {
    display: block !important;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* FLOATING WHATSAPP WIDGET (BOTÓN DE CONEXIÓN) */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: floatingWaPulse 2.5s infinite;
}

@keyframes floatingWaPulse {
  0% { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-whatsapp-widget::before {
  content: '1';
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #25D366;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
  0% { transform: scale(0.9); }
  100% { transform: scale(1.15); }
}

.floating-whatsapp-widget:hover {
  transform: scale(1.1) rotate(5deg);
  color: white;
}

.floating-whatsapp-widget svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Hover Tooltip */
.wa-tooltip {
  position: absolute;
  right: 70px;
  background-color: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  color: white;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition-smooth);
}

.floating-whatsapp-widget:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* PROTECCIÓN DE IMÁGENES E ICONOS (DESHABILITAR DESCARGAS/COPIAS CASUALES) */
img, svg {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* PREMIUM LOADING SPINNER & SKELETONS */
.premium-spinner {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(200, 169, 91, 0.1);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(200, 169, 91, 0.1);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* DRAG & DROP & PREVIEW STYLES */
.file-upload-container.dragover {
  border-color: var(--accent-gold);
  background-color: rgba(200, 169, 91, 0.08);
}

.file-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
  margin-top: 10px;
  width: 100%;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.file-preview-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background-color: var(--bg-primary);
}

.file-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(229, 62, 62, 0.85);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  transition: var(--transition-fast);
  z-index: 15;
}

.file-preview-remove:hover {
  background-color: rgb(229, 62, 62);
  transform: scale(1.1);
}

/* ELEGANT MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content {
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-gold-glow);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(200, 169, 91, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-gold);
}

.modal-content h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-content .btn {
  width: 100%;
}

/* SECCIÓN VENDE TU VEHÍCULO - CONFIRMACIÓN EXITOSA */
.valuation-success-container {
  display: none; /* Se activa desde JS a flex */
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  min-height: 480px;
  z-index: 1;
  overflow: hidden;
  animation: successFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.valuation-success-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 169, 91, 0.08) 0%, transparent 80%),
              url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="1" fill="rgba%28200,%20169,%2091,%200.15%29"/><line x1="15" y1="0" x2="15" y2="30" stroke="rgba%28200,169,91,0.03%29" stroke-width="0.5"/><line x1="0" y1="15" x2="30" y2="15" stroke="rgba%28200,169,91,0.03%29" stroke-width="0.5"/></svg>') repeat;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.valuation-success-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  background: radial-gradient(circle, rgba(200, 169, 91, 0.15) 0%, rgba(12, 12, 12, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 0 30px var(--accent-gold-glow);
  position: relative;
  animation: successIconPulse 2.5s infinite alternate;
}

@keyframes successIconPulse {
  0% {
    box-shadow: 0 0 20px var(--accent-gold-glow);
    transform: scale(1);
    border-color: var(--accent-gold-dark);
  }
  100% {
    box-shadow: 0 0 40px rgba(200, 169, 91, 0.45);
    transform: scale(1.04);
    border-color: var(--accent-gold);
  }
}

.valuation-success-icon svg {
  width: 44px;
  height: 44px;
  fill: var(--accent-gold);
  filter: drop-shadow(0 0 6px rgba(200, 169, 91, 0.4));
  animation: successCheckmarkIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successCheckmarkIn {
  from {
    transform: scale(0.4) rotate(-15deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.valuation-success-title {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #FFF 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.valuation-success-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 28px;
  font-weight: 300;
}

.valuation-success-container .btn {
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: 2px;
  border-radius: 4px;
  min-width: 200px;
}

/* VEHICLE CARD IMAGE NAVIGATION */
.vehicle-img-container {
  position: relative;
  cursor: pointer;
}

/* Base button styles */
.card-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  opacity: 0;
  transition: var(--transition-smooth);
}

.card-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.card-nav-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.card-nav-btn.prev {
  left: 12px;
}

.card-nav-btn.next {
  right: 12px;
}

.card-nav-btn.prev:hover svg {
  transform: translateX(-1px);
}

.card-nav-btn.next:hover svg {
  transform: translateX(1px);
}

/* Show buttons on hover */
.vehicle-img-container:hover .card-nav-btn {
  opacity: 1;
}

/* Dots indicator container */
.card-dots-container {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 15;
  background: rgba(5, 5, 5, 0.5);
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: var(--transition-smooth);
}

.vehicle-img-container:hover .card-dots-container {
  opacity: 1;
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
}

.card-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.card-dot.active {
  background: var(--accent-gold);
  transform: scale(1.2);
  box-shadow: 0 0 6px var(--accent-gold);
}

/* PREMIUM GALLERY LIGHTBOX MODAL */
.gallery-modal {
  display: none; /* Controlled by JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

/* Prevent body scroll when active */
body.gallery-open {
  overflow: hidden;
}

/* Close button */
.gallery-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 36px;
  font-weight: 300;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 3100;
  line-height: 1;
}

.gallery-close:hover {
  color: var(--accent-gold);
  transform: scale(1.1) rotate(90deg);
}

/* Gallery Content */
.gallery-modal-content {
  flex-grow: 1;
  display: flex;
  width: 100%;
  max-width: 1000px;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-main-view {
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#gallery-main-img, .gallery-main-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#gallery-main-img.loaded, .gallery-main-img.loaded {
  opacity: 1 !important;
  transform: scale(1) !important;
}




/* Modal Nav Buttons */
.gallery-modal-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  border-radius: 50% !important;
  background: rgba(12, 12, 12, 0.8) !important;
  border: 1px solid var(--border-gold) !important;
  color: var(--accent-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: var(--transition-smooth) !important;
  z-index: 3050 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.gallery-modal-nav.prev {
  left: 20px !important;
}

.gallery-modal-nav.next {
  right: 20px !important;
}


.gallery-modal-nav svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.gallery-modal-nav:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-gold-glow);
}


.gallery-modal-nav.prev:hover svg {
  transform: translateX(-2px);
}

.gallery-modal-nav.next:hover svg {
  transform: translateX(2px);
}

/* Bottom thumbnails strip */
.gallery-thumbnails-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 8px;
}

.gallery-thumbnails-wrapper::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  padding: 2px 10px;
}

.gallery-thumb {
  width: 72px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.4;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-thumb:hover {
  opacity: 0.8;
  border-color: rgba(200, 169, 91, 0.4);
  transform: translateY(-2px);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow), 0 0 0 1px var(--accent-gold);
  transform: scale(1.05) translateY(-2px);
}

/* Mobile Lightbox responsiveness & card overrides */
@media (max-width: 768px) {
  .card-nav-btn {
    opacity: 1; /* Always show on touch screens */
    width: 28px;
    height: 28px;
  }
  .card-dots-container {
    opacity: 1;
  }
  
  .gallery-modal {
    padding: 30px 16px;
  }
  .gallery-close {
    top: 16px;
    right: 20px;
    font-size: 32px;
  }
  .gallery-main-view {
    height: 60vh;
  }
  .gallery-modal-nav {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .gallery-modal-nav.prev {
    left: 8px;
  }
  .gallery-modal-nav.next {
    right: 8px;
  }
  .gallery-thumb {
    width: 60px;
    height: 40px;
  }
}

/* SKELETON LOADER ANIMATIONS & CARDS */
.skeleton-card {
  background-color: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
  opacity: 0.85;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #141414 25%, #1f1f1f 50%, #141414 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite linear;
}

.skeleton-img {
  width: 100%;
  height: 220px;
}

.skeleton-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.skeleton-brand {
  width: 30%;
  height: 12px;
  border-radius: 2px;
}

.skeleton-title {
  width: 70%;
  height: 20px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.skeleton-spec {
  height: 24px;
  border-radius: 3px;
}

.skeleton-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.skeleton-price {
  width: 40%;
  height: 24px;
  border-radius: 4px;
}

.skeleton-btn {
  width: 35%;
  height: 36px;
  border-radius: 4px;
}

@keyframes loading-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Transiciones de opacidad para el micro-carrusel de fotos */
.vehicle-img {
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilos de soporte para spinner premium */
.premium-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200, 169, 91, 0.1);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin: 0 auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ==========================================================================
   NUEVOS ESTILOS REDISEÑO PREMIUM (BARRA MÉTRICAS, PATRIMONIO, BLOG)
   ========================================================================== */

/* 1. Pilares del Hero */
.hero-pillars {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  width: 100%;
  max-width: 900px;
}

.hero-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.hero-pillar-item:hover {
  background: rgba(200, 169, 91, 0.05);
  border-color: var(--border-gold-hover);
  transform: translateY(-5px);
}

.pillar-icon {
  font-size: 24px;
  color: var(--accent-gold);
  line-height: 1;
  text-shadow: 0 0 10px var(--accent-gold-glow);
}

.hero-pillar-item h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.hero-pillar-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* 2. Barra de Métricas */
.metrics-bar {
  background: linear-gradient(180deg, #050505 0%, #0c0c0c 50%, #050505 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 40px 0;
  position: relative;
}

.metrics-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.metric-item {
  text-align: center;
  flex: 1;
  transition: var(--transition-smooth);
}

.metric-item:hover {
  transform: translateY(-2px);
}

.metric-item h3 {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-gold);
  background: linear-gradient(to bottom, #ffffff 20%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.metric-item p {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.25) 50%, transparent);
}

/* 3. Sección de Patrimonio (Compra / Inversión con video hover) */
.patrimonio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 25px;
}

.patrimonio-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: row;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #0a0a0a;
  transition: var(--transition-smooth);
}

.patrimonio-text-side {
  flex: 0.9;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.patrimonio-video-side {
  flex: 1.4;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.patrimonio-video-side video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.65;
  filter: grayscale(20%);
  transition: var(--transition-smooth);
}

.patrimonio-video-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #0a0a0a 0%, rgba(10, 10, 10, 0.8) 4%, rgba(10, 10, 10, 0) 15%);
  pointer-events: none;
  z-index: 2;
}

.patrimonio-header-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.patrimonio-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.patrimonio-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.patrimonio-header-text h3 {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  margin: 0;
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.patrimonio-header-text p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  line-height: 1.3;
}

.patrimonio-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  text-align: left;
}

.patrimonio-bullets li {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.patrimonio-btn-wrap {
  margin-top: auto;
  text-align: left;
}

.patrimonio-btn {
  display: inline-block;
  width: auto;
  min-width: 180px;
}

/* Outlined buttons */
.btn-outline {
  border: 1px solid rgba(255, 215, 0, 0.3);
  background-color: transparent;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 9px 18px;
  border-radius: 4px;
  transition: var(--transition-fast);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

/* Hover effect on patrimonio cards */
.patrimonio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(212, 175, 55, 0.05);
}

.patrimonio-card:hover .patrimonio-video-side video {
  opacity: 0.85;
  filter: grayscale(0%);
  transform: scale(1.03);
}

.patrimonio-card:hover .patrimonio-icon-wrap {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.patrimonio-card:hover .patrimonio-icon {
  color: #000000;
}

/* 4. Sección Blog (Inteligencia de Mercado) */
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 30px;
}

.section-header-left {
  flex: 1;
}

.section-header-right {
  flex-shrink: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.blog-img-container {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.blog-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.blog-link {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.blog-link:hover {
  color: var(--accent-gold-hover);
  transform: translateX(4px);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-hover);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.blog-card:hover .blog-img-container img {
  transform: scale(1.05);
}

/* Overrides para el fondo blanco premium de la sección Blog */
.blog-section {
  background-color: #ffffff !important;
}

.blog-section .section-title {
  color: #000000;
}

.blog-section .section-subtitle {
  color: #555555;
}

.blog-section .btn-secondary {
  color: #111111;
  border: 1px solid #111111;
  background: transparent;
}

.blog-section .btn-secondary:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.blog-section .blog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.blog-section .blog-card h3 {
  color: #111111;
}

.blog-section .blog-card p {
  color: #555555;
}

.blog-section .blog-link {
  color: #b5943b;
}

.blog-section .blog-link:hover {
  color: #8c6f2a;
}

.blog-section .blog-card:hover {
  border-color: #b5943b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   MEDIA QUERIES / RESPONSIVE REDISEÑO
   ========================================================================== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-pillars {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }
  
  .metrics-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .metric-divider {
    width: 60px;
    height: 1px;
  }
  
  .patrimonio-grid {
    grid-template-columns: 1fr;
  }
  
  .patrimonio-card {
    flex-direction: column;
    height: auto;
  }
  
  .patrimonio-text-side {
    padding: 30px;
  }
  
  .patrimonio-video-side {
    height: 220px;
    width: 100%;
  }

  .patrimonio-video-fade {
    background: linear-gradient(to top, #0a0a0a 0%, rgba(10, 10, 10, 0.95) 20%, transparent 100%);
  }
  
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .section-header-right {
    width: 100%;
  }
  
  .section-header-right .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos de Iconos SVG Premium */
.svg-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-gold);
  display: block;
  transition: var(--transition-smooth);
}

.patrimonio-icon {
  width: 32px;
  height: 32px;
}

/* Standalone page helper to clear fixed header */
.standalone-page-section {
  padding-top: 140px !important;
  min-height: 70vh;
}


/* HIGH CONTRAST LIGHT THEME FOR VALUATION & COMPRAR PAGES */
body.valuation-page {
  background-color: #ffffff !important;
  color: #111111 !important;
}

body.valuation-page .valuation-header-section {
  background: #ffffff !important;
}

body.valuation-page .valuation-header-section h1 {
  color: #111111 !important;
}

body.valuation-page .valuation-header-section p {
  color: #555555 !important;
}

body.valuation-page .sell-form-wrapper {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08) !important;
}

body.valuation-page .form-group label {
  color: #222222 !important;
  font-weight: 600 !important;
}

body.valuation-page .form-control {
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
  color: #111111 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

body.valuation-page .form-control::placeholder {
  color: #888888 !important;
}

body.valuation-page .form-control:focus {
  border-color: #9A7B32 !important;
  box-shadow: 0 0 8px rgba(154, 123, 50, 0.25) !important;
}

/* COMPRAR PAGE LIGHT CONTRAST */
body.comprar-page {
  background-color: #ffffff !important;
  color: #111111 !important;
}

body.comprar-page #inventario {
  background-color: #ffffff !important;
}

body.comprar-page .filter-wrapper {
  background-color: #fcfcfc !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

body.comprar-page .filter-group label {
  color: #333333 !important;
}

body.comprar-page .filter-input,
body.comprar-page .filter-select {
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
  color: #111111 !important;
}

body.comprar-page .filter-input::placeholder {
  color: #888888 !important;
}

body.comprar-page .vehicle-card {
  background-color: #ffffff !important;
  border: 1px solid #eeeeee !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.comprar-page .vehicle-title {
  color: #111111 !important;
}

body.comprar-page .vehicle-details {
  color: #555555 !important;
}

body.comprar-page .vehicle-price {
  color: #9A7B32 !important;
}


/* ELEGANT HIGH-CONTRAST VEHICLE CARDS FOR COMPRAR PAGE */
body.comprar-page .vehicle-card,
.vehicle-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

body.comprar-page .vehicle-card:hover,
.vehicle-card:hover {
  transform: translateY(-6px) !important;
  border-color: #9A7B32 !important;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1) !important;
}

body.comprar-page .vehicle-img-container,
.vehicle-img-container {
  height: 220px !important;
  background-color: #f8fafc !important;
  position: relative !important;
  overflow: hidden !important;
}

body.comprar-page .vehicle-img,
.vehicle-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

body.comprar-page .vehicle-details-body,
.vehicle-details-body {
  padding: 20px 22px !important;
}

body.comprar-page .vehicle-brand,
.vehicle-brand {
  color: #9A7B32 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 4px !important;
}

body.comprar-page .vehicle-title,
.vehicle-title {
  color: #0f172a !important;
  font-family: var(--font-title) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 14px !important;
}

body.comprar-page .vehicle-specs-grid,
.vehicle-specs-grid {
  background: #f8fafc !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  border: 1px solid #f1f5f9 !important;
  margin-bottom: 12px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
}

body.comprar-page .spec-icon-label,
.spec-icon-label {
  color: #64748b !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

body.comprar-page .spec-icon-label svg,
.spec-icon-label svg {
  fill: #9A7B32 !important;
}

body.comprar-page .spec-value,
.spec-value {
  color: #1e293b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.comprar-page .financial-indices,
.financial-indices {
  margin: 10px 0 16px 0 !important;
  color: #475569 !important;
  font-size: 11px !important;
}

body.comprar-page .financial-indices strong,
.financial-indices strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.comprar-page .vehicle-price-cta,
.vehicle-price-cta {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 14px !important;
  margin-top: auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

body.comprar-page .price-label,
.price-label {
  color: #64748b !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

body.comprar-page .price-val,
.price-val {
  color: #0f172a !important;
  font-family: var(--font-title) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

body.comprar-page .btn-wa-card,
.btn-wa-card {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 9px 16px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
}

body.comprar-page .btn-wa-card svg,
.btn-wa-card svg {
  fill: #ffffff !important;
}

body.comprar-page .btn-wa-card:hover,
.btn-wa-card:hover {
  background-color: #20bd5a !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35) !important;
}


/* HIGH CONTRAST BLACK LABELS & CATEGORY TABS FOR COMPRAR PAGE */
body.comprar-page .standalone-page-section,
body.comprar-page .inventory-section {
  background-color: #ffffff !important;
}

body.comprar-page .section-tag {
  color: #9A7B32 !important;
  font-weight: 700 !important;
}

body.comprar-page .section-title {
  color: #111111 !important;
}

body.comprar-page .section-subtitle {
  color: #333333 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

body.comprar-page .filter-wrapper {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  padding: 24px 28px !important;
  margin-bottom: 35px !important;
}

body.comprar-page .filter-group label,
.filter-group label {
  color: #111111 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

body.comprar-page .filter-input,
body.comprar-page .filter-select,
.filter-input,
.filter-select {
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
}

body.comprar-page .filter-input::placeholder,
.filter-input::placeholder {
  color: #64748b !important;
  font-weight: 500 !important;
}

/* CATEGORY TABS HIGH CONTRAST */
body.comprar-page .category-tab,
.category-tab {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  padding: 10px 24px !important;
  transition: all 0.3s ease !important;
}

body.comprar-page .category-tab:hover,
.category-tab:hover {
  background: #9A7B32 !important;
  color: #ffffff !important;
  border-color: #9A7B32 !important;
}

body.comprar-page .category-tab.active,
.category-tab.active {
  background: #9A7B32 !important;
  color: #ffffff !important;
  border-color: #9A7B32 !important;
  box-shadow: 0 4px 12px rgba(154, 123, 50, 0.3) !important;
}


/* BRIGHTNESS & HIGH CONTRAST ENHANCEMENTS FOR IMAGES 1, 2, AND 3 */

/* Imagen 2: Experience Section - Lighten dark overlay */
.experience-overlay {
  background: rgba(0, 0, 0, 0.45) !important;
}

.experience-quote {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.experience-author {
  color: #d4af37 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9) !important;
  font-weight: 600 !important;
}

/* Imagen 3: CTA Section - Lighten dark overlay */
.cta-overlay {
  background: radial-gradient(circle at center, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.65) 90%) !important;
}

.cta-wrapper .section-title,
.cta-wrapper h2 {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9) !important;
}

.cta-wrapper p {
  color: #f1f5f9 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9) !important;
  font-weight: 400 !important;
}


/* 3 IMPROVEMENTS: BLACK HEADER LINKS, POLISHED WHITE FILTER BOX, ENLARGED LOGO */

/* 1. Header Navigation Links in Black for Light Pages */


/* 100% PERFECTLY HARMONIZED HEADER RULES (COLORS RESTORED & DIMENSIONS LOCKED) */

/* Base Header Layout */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease !important;
}

/* Base Top State for Inner Pages (comprar & vender) -> White Background with Black Text */
body.comprar-page .header:not(.scrolled),
body.valuation-page .header:not(.scrolled) {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

body.comprar-page .header:not(.scrolled) .nav-links a,
body.valuation-page .header:not(.scrolled) .nav-links a {
  color: #111111 !important;
}

body.comprar-page .header:not(.scrolled) .lang-btn-toggle,
body.valuation-page .header:not(.scrolled) .lang-btn-toggle {
  color: #111111 !important;
  border-color: #cbd5e1 !important;
}

/* Scrolled Header State for ALL Pages -> Black Background with White Text */
.header.scrolled,
body.comprar-page .header.scrolled,
body.valuation-page .header.scrolled {
  background-color: #000000 !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.header.scrolled .nav-links a,
body.comprar-page .header.scrolled .nav-links a,
body.valuation-page .header.scrolled .nav-links a {
  color: #ffffff !important;
}

.header.scrolled .nav-links a:hover,
body.comprar-page .header.scrolled .nav-links a:hover,
body.valuation-page .header.scrolled .nav-links a:hover {
  color: var(--accent-gold) !important;
}

.header.scrolled .lang-btn-toggle,
body.comprar-page .header.scrolled .lang-btn-toggle,
body.valuation-page .header.scrolled .lang-btn-toggle {
  color: #ffffff !important;
  border-color: var(--border-gold) !important;
}

/* STRICTLY UNIFIED DIMENSIONS, LOGO SIZE, TYPOGRAPHY AND PADDING FOR ALL PAGES */
.nav-container,
body.comprar-page .nav-container,
body.valuation-page .nav-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px 24px !important;
  box-sizing: border-box !important;
  transition: padding 0.3s ease !important;
}

.header.scrolled .nav-container,
body.comprar-page .header.scrolled .nav-container,
body.valuation-page .header.scrolled .nav-container {
  padding: 10px 24px !important;
}

.logo,
body.comprar-page .logo,
body.valuation-page .logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.logo img,
body.comprar-page .logo img,
body.valuation-page .logo img {
  height: 30px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: height 0.3s ease !important;
}

.header.scrolled .logo img,
body.comprar-page .header.scrolled .logo img,
body.valuation-page .header.scrolled .logo img {
  height: 28px !important;
}

@media (min-width: 993px) {
  .nav-links,
  body.comprar-page .nav-links,
  body.valuation-page .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.nav-links a,
body.comprar-page .nav-links a,
body.valuation-page .nav-links a {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  white-space: nowrap !important;
  padding: 6px 0 !important;
  transition: color 0.3s ease !important;
}

.header:not(.scrolled) .nav-links a {
  color: var(--text-secondary);
}

.nav-cta .btn,
body.comprar-page .nav-cta .btn,
body.valuation-page .nav-cta .btn {
  padding: 10px 20px !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
}

.lang-btn-toggle,
body.comprar-page .lang-btn-toggle,
body.valuation-page .lang-btn-toggle {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  background: transparent !important;
}


/* Forza Mobile Nav-CTA Fix */
@media (max-width: 992px) {
    .nav-cta {
        display: none !important;
    }
}


/* Forza Strict Mobile Menu Fix */
@media (max-width: 992px) {
  .nav-links,
  body.comprar-page .nav-links,
  body.valuation-page .nav-links {
    display: none !important;
  }
  .nav-links.mobile-active,
  body.comprar-page .nav-links.mobile-active,
  body.valuation-page .nav-links.mobile-active {
    display: flex !important;
  }
}
