:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --surface-soft: #f0f0ee;
  --surface-strong: #171717;
  --line: rgba(17, 17, 17, 0.12);
  --text: #171717;
  --muted: #666666;
  --red: #c8102e;
  --red-dark: #8f0e20;
  --graphite: #252525;
  --gold: #9b7a3a;
  --shadow: 0 18px 46px rgba(17, 17, 17, 0.08);
  --premium-shadow: 0 24px 64px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 94%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #eeeeeb 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body.lightbox-open,
body.service-modal-open {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(286px, 54vw);
  height: 58px;
  padding: 6px 10px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.05);
}

.header-logo {
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.header-logo img {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .header-logo img {
    height: 42px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 245, 243, 0.96) 48%, rgba(26, 26, 26, 0.96) 48%, rgba(11, 11, 11, 0.98) 100%),
    linear-gradient(90deg, #ffffff, #ececea);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: 96px 0 74px;
  text-align: left;
}

.hero-copy {
  max-width: 610px;
}

.hero-logo {
  display: block;
  width: min(430px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 0 28px;
  filter: drop-shadow(0 18px 30px rgba(17, 17, 17, 0.14));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  max-width: 780px;
  margin-bottom: 10px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  margin-bottom: 14px;
  color: var(--graphite);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.hero-services {
  width: min(610px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}

.hero-service {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.13);
  background: rgba(255, 255, 255, 0.74);
  color: var(--graphite);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-service:hover {
  border-color: rgba(200, 16, 46, 0.48);
  color: var(--red);
  transform: translateY(-1px);
}

.hero-spotlight {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.72)),
    #121212;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.hero-spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 34px 24px 126px;
  background: linear-gradient(135deg, #222222, #090909);
  transition: transform 220ms ease;
}

.hero-spotlight:hover img {
  transform: scale(1.025);
}

.spotlight-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(200, 16, 46, 0.55);
  background: rgba(200, 16, 46, 0.14);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spotlight-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.spotlight-content strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.spotlight-content span {
  color: #d6d6d6;
  font-size: 0.9rem;
  font-weight: 700;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  transform: translateY(-28px);
  background: rgba(17, 17, 17, 0.12);
  box-shadow: var(--premium-shadow);
}

.service-strip-item {
  min-height: 96px;
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 20px;
  border: 0;
  border-top: 2px solid transparent;
  background: #ffffff;
  color: var(--graphite);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.service-strip-item:hover {
  border-top-color: var(--red);
  background: #fbfbfa;
  color: var(--red);
}

.service-strip-item strong {
  font-size: 0.95rem;
}

.service-strip-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(200, 16, 46, 0.2);
}

.btn-outline {
  border-color: rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.64);
  color: var(--graphite);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: rgba(255, 74, 79, 0.9);
  background: rgba(215, 25, 32, 0.82);
  color: #ffffff;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
  scroll-margin-top: 96px;
}

.service-item[id] {
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-intro {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  gap: 24px;
}

.catalog-actions {
  margin-top: 24px;
}

.catalog-actions button[hidden] {
  display: none;
}

.catalog-actions a[hidden] {
  display: none;
}

.catalog-section[hidden] {
  display: none;
}

.inventory-toolbar {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(220px, 1.25fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
}

.inventory-toolbar[hidden] {
  display: none;
}

.inventory-search,
.inventory-select {
  display: grid;
  gap: 8px;
}

.inventory-search span,
.inventory-select span {
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-search input,
.inventory-select select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  padding: 0 13px;
  outline: none;
}

.inventory-select select {
  color-scheme: light;
}

.inventory-clear {
  min-height: 48px;
  white-space: nowrap;
}

.inventory-search input:focus,
.inventory-select select:focus {
  border-color: rgba(255, 74, 79, 0.88);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.16);
}

.inventory-empty {
  grid-column: 1 / -1;
  max-width: 640px;
  padding: 26px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-left: 3px solid var(--red);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.inventory-empty h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.inventory-empty p {
  margin-bottom: 18px;
  color: var(--muted);
}

.vehicle-card,
.vehicle-detail,
.service-item {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.vehicle-card {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  border-color: rgba(17, 17, 17, 0.11);
  background: var(--surface);
  box-shadow: var(--premium-shadow);
  isolation: isolate;
}

.vehicle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-top: 2px solid var(--red);
  background: transparent;
}

.vehicle-gallery {
  background: #f2f2f0;
}

.vehicle-image {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f6f6f4, #e9e9e6);
}

.vehicle-main-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 92%;
  max-height: 92%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
}

.vehicle-photo-button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.vehicle-photo-button:focus-visible,
.detail-photo-button:focus-visible {
  outline: 3px solid rgba(255, 74, 79, 0.72);
  outline-offset: -3px;
}

.vehicle-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(17, 17, 17, 0.08) 100%);
}

.vehicle-city {
  position: absolute;
  left: 22px;
  top: 18px;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--graphite);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.demo-badge {
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(201, 168, 106, 0.5);
  background: rgba(9, 9, 9, 0.68);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.demo-note {
  margin: -4px 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.vehicle-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.vehicle-thumb {
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.vehicle-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vehicle-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.56);
}

.vehicle-thumb.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.16);
}

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

.vehicle-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.vehicle-topline span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  border: 1px solid rgba(200, 16, 46, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vehicle-year {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
}

.status.reservado {
  background: rgba(255, 184, 77, 0.14);
  color: #ffc46b;
  border-color: rgba(255, 184, 77, 0.35);
}

.status.vendido {
  background: rgba(150, 150, 150, 0.16);
  color: #5c5c5c;
  border-color: rgba(17, 17, 17, 0.18);
}

.status.recien-llegado {
  background: rgba(37, 37, 37, 0.08);
  color: var(--graphite);
  border-color: rgba(37, 37, 37, 0.2);
}

.status.nuevo-precio {
  background: rgba(155, 122, 58, 0.12);
  color: var(--gold);
  border-color: rgba(155, 122, 58, 0.28);
}

.vehicle-card h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.vehicle-summary {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 4.2em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.price-box {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #f5f5f3;
}

.price-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-price {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.62rem;
  font-weight: 900;
  line-height: 1;
}

.vehicle-sold-label {
  width: fit-content;
  margin-bottom: 0;
  padding: 8px 12px;
  border: 1px solid rgba(160, 12, 24, 0.2);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sold-price-box {
  background: rgba(215, 25, 32, 0.06);
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.spec {
  min-height: 54px;
  padding: 10px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(17, 17, 17, 0.025);
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
}

.vehicle-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: auto;
}

.vehicle-whatsapp,
.vehicle-details-link {
  width: 100%;
  min-height: 44px;
  font-size: 0.88rem;
}

.vehicle-details-link {
  border-color: rgba(255, 74, 79, 0.78);
  background: rgba(215, 25, 32, 0.16);
  color: #ffffff;
}

.detail-section {
  padding-top: 0;
  padding-bottom: 68px;
}

.detail-section.is-hidden {
  display: none;
}

.detail-section[hidden] {
  display: none;
}

.detail-section .section-heading {
  margin-bottom: 18px;
}

.detail-section h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.arrivals-section {
  padding-top: 18px;
}

.about-section,
.trust-section {
  display: none;
}

.arrival-panel {
  max-width: 760px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    #101010;
  box-shadow: var(--shadow);
}

.arrival-panel p {
  margin-bottom: 18px;
  color: var(--muted);
}

.vehicle-detail {
  max-width: 980px;
  padding: 22px;
  position: relative;
  border-left: 3px solid var(--red);
  background: var(--surface);
}

.detail-close {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid rgba(255, 74, 79, 0.62);
  background: rgba(215, 25, 32, 0.12);
  color: #ffffff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.detail-close:hover {
  border-color: rgba(255, 74, 79, 0.95);
  background: rgba(215, 25, 32, 0.78);
  transform: translateY(-1px);
}

.vehicle-detail p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-media {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #f2f2f0;
}

.detail-main-image {
  aspect-ratio: 4 / 3;
}

.detail-photo-button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-content h3 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}

.detail-content .vehicle-whatsapp {
  margin-top: 20px;
}

.detail-info-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.detail-info-block h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.detail-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-feature-list li {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 10px 9px 24px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(17, 17, 17, 0.025);
  color: var(--graphite);
  font-size: 0.9rem;
}

.detail-feature-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.16);
}

.quick-services-section {
  padding-top: 58px;
  padding-bottom: 54px;
}

.compact-heading {
  max-width: 520px;
  margin-bottom: 22px;
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-service-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid rgba(215, 25, 32, 0.7);
  background:
    radial-gradient(circle at 86% 18%, rgba(215, 25, 32, 0.18), transparent 9rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #101010;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.quick-service-card span {
  margin-bottom: 12px;
  color: #ff5b60;
  font-size: 0.72rem;
  font-weight: 900;
}

.quick-service-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.18;
}

.quick-service-card p {
  margin-bottom: 0;
  color: #d0d0d0;
  font-size: 0.88rem;
}

.quick-service-card .service-link {
  margin-top: auto;
  min-height: 36px;
  font-size: 0.8rem;
}

.services-detail-section[hidden] {
  display: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-item {
  min-height: 260px;
  padding: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 25, 32, 0.24), transparent 12rem),
    linear-gradient(135deg, #252525, #080808 74%);
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-item[hidden] {
  display: none;
}

#financiamiento {
  order: 1;
}

#servicio-consignacion {
  order: 2;
}

#servicio-parte-pago {
  order: 3;
}

#servicio-busqueda {
  order: 4;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(215, 25, 32, 0.62);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.78) 68%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.service-item:nth-child(2) {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.11), transparent 11rem),
    radial-gradient(circle at 82% 74%, rgba(215, 25, 32, 0.2), transparent 12rem),
    linear-gradient(145deg, #1f1f1f, #070707 76%);
}

.service-item:nth-child(3) {
  background:
    linear-gradient(120deg, rgba(215, 25, 32, 0.18), transparent 42%),
    linear-gradient(145deg, #2a2a2a, #090909 72%);
}

.service-item:nth-child(4) {
  background:
    radial-gradient(circle at 72% 20%, rgba(215, 25, 32, 0.28), transparent 14rem),
    linear-gradient(135deg, #2a2a2a, #090909 72%);
}

.service-item:nth-child(5) {
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.1), transparent 11rem),
    linear-gradient(135deg, rgba(215, 25, 32, 0.16), transparent 46%),
    linear-gradient(145deg, #242424, #080808 74%);
}

.service-item:nth-child(6) {
  background:
    radial-gradient(circle at 24% 26%, rgba(255, 255, 255, 0.12), transparent 12rem),
    radial-gradient(circle at 80% 70%, rgba(215, 25, 32, 0.22), transparent 13rem),
    linear-gradient(135deg, #202020, #080808 74%);
}

.service-item:hover {
  border-color: rgba(215, 25, 32, 0.5);
  transform: translateY(-2px);
}

.service-content {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.service-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-item p,
.about-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-item p {
  color: #d2d2d2;
}

.service-link {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0 13px;
  border: 1px solid rgba(255, 74, 79, 0.74);
  background: rgba(215, 25, 32, 0.18);
  color: #ffffff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-link:hover {
  border-color: rgba(255, 74, 79, 1);
  background: rgba(215, 25, 32, 0.82);
  transform: translateY(-1px);
}

.service-link.service-form-trigger {
  border-color: rgba(255, 92, 96, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 34px rgba(215, 25, 32, 0.24);
}

.service-link.service-form-trigger:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #ee252c, var(--red-dark));
}

.service-detail {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  animation: serviceReveal 180ms ease both;
}

.service-detail[hidden] {
  display: none;
}

.service-detail h4 {
  margin: 16px 0 10px;
  color: #ffffff;
  font-size: 0.88rem;
}

.service-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-left: 17px;
  color: #d9d9d9;
  font-size: 0.9rem;
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.service-whatsapp {
  width: 100%;
  margin-top: 18px;
  min-height: 42px;
  font-size: 0.86rem;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(215, 25, 32, 0.18), transparent 26rem),
    rgba(0, 0, 0, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid rgba(215, 25, 32, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 8%, rgba(215, 25, 32, 0.18), transparent 15rem),
    linear-gradient(145deg, #202020, #090909 74%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
  padding: 30px;
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}

.service-modal.is-open .service-modal-panel {
  transform: translateY(0) scale(1);
}

.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 13, 13, 0.8);
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-modal-close:hover {
  border-color: rgba(215, 25, 32, 0.72);
  background: rgba(28, 28, 28, 0.94);
  transform: translateY(-1px);
}

.service-modal-heading {
  max-width: 620px;
  padding-right: 54px;
  margin-bottom: 24px;
}

.service-modal-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
}

.service-modal-heading p:last-child {
  margin: 0;
  color: #d5d5d5;
}

.service-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-field {
  display: grid;
  gap: 8px;
}

.service-field-full {
  grid-column: 1 / -1;
}

.service-field span {
  color: #f1f1f1;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-field input,
.service-field select,
.service-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  font: inherit;
  font-size: 0.94rem;
  padding: 11px 12px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-field textarea {
  resize: vertical;
}

.service-field select {
  color-scheme: dark;
}

.service-field input:focus,
.service-field select:focus,
.service-field textarea:focus {
  border-color: rgba(255, 74, 79, 0.88);
  background: rgba(255, 255, 255, 0.082);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.16);
}

.service-form-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(215, 25, 32, 0.9);
  background: rgba(255, 255, 255, 0.052);
  color: #cfcfcf;
  font-size: 0.86rem;
}

.service-form-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
}

@keyframes serviceReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section p {
  max-width: 920px;
  font-size: 1.12rem;
}

.trust-section {
  padding-top: 54px;
  padding-bottom: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid div {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 42px;
  position: relative;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--graphite);
  font-weight: 700;
}

.trust-grid div::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.14);
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid rgba(215, 25, 32, 0.78);
  background:
    radial-gradient(circle at 84% 20%, rgba(215, 25, 32, 0.2), transparent 16rem),
    linear-gradient(135deg, #202020, #090909 72%);
  box-shadow: var(--premium-shadow);
  overflow: hidden;
}

.location-map {
  position: relative;
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.18), transparent 48%),
    linear-gradient(145deg, #1b1b1b, #080808);
}

.location-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 42%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%, rgba(0, 0, 0, 0.28));
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.95) brightness(0.62);
}

.location-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.location-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(215, 25, 32, 0.45);
  background: rgba(215, 25, 32, 0.12);
  color: #ff6a6f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.location-content h3 {
  max-width: 560px;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  line-height: 1.08;
}

.location-content p {
  max-width: 560px;
  margin: 0;
  color: #d5d5d5;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.location-contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 26px;
}

.business-hours {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid rgba(215, 25, 32, 0.9);
  background: rgba(255, 255, 255, 0.052);
}

.business-hours span {
  color: #ff767b;
  font-size: 0.76rem;
  font-weight: 900;
}

.business-hours strong {
  color: #ffffff;
}

.business-hours p {
  color: #cfcfcf;
  font-size: 0.86rem;
}

.location-contact-list > a,
.location-contact-card {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.location-contact-list > a:hover,
.location-contact-card:hover {
  border-color: rgba(215, 25, 32, 0.66);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.location-contact-list span {
  color: #9d9d9d;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.location-contact-list strong,
.location-contact-card a {
  color: #ffffff;
  font-size: 0.96rem;
}

.location-contact-card a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.location-contact-card a:hover {
  color: #ff5b60;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #21b557;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #c9c9c9;
  background:
    radial-gradient(circle at 16% 0%, rgba(215, 25, 32, 0.14), transparent 18rem),
    linear-gradient(180deg, #0d0d0d, #060606);
}

.footer-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-logo {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.55));
}

.site-footer p {
  margin-bottom: 0;
}

.footer-tagline {
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.25fr 1fr;
  gap: 22px;
  padding: 28px 0;
}

.footer-column {
  min-width: 0;
}

.footer-column h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column p,
.footer-column a {
  display: block;
  margin: 0 0 8px;
  color: #c9c9c9;
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: #ff5b60;
}

.footer-contact-person {
  margin-bottom: 16px;
}

.footer-contact-person:last-child {
  margin-bottom: 0;
}

.footer-contact-person strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(215, 25, 32, 0.58);
  background: rgba(215, 25, 32, 0.14);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.footer-disclaimer {
  max-width: 900px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8f8f8f;
  font-size: 0.82rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(215, 25, 32, 0.16), transparent 28rem),
    rgba(0, 0, 0, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  max-width: 80vw;
  max-height: 80vh;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #101010;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  transform: scale(0.98);
  transition: transform 180ms ease;
}

.lightbox.is-open .lightbox-frame {
  transform: scale(1);
}

.lightbox-image {
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 101;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 18, 0.78);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: rgba(215, 25, 32, 0.72);
  background: rgba(28, 28, 28, 0.92);
  transform: translateY(-1px);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(calc(-50% - 1px));
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* Sutil ajuste de escala general para una lectura mas compacta. */
.navbar {
  min-height: 74px;
  gap: 22px;
}

.brand {
  width: min(268px, 52vw);
  height: 54px;
}

.hero {
  min-height: 680px;
}

.hero-content {
  padding: 96px 0 74px;
}

.hero-logo {
  width: min(410px, 100%);
  max-width: 100%;
  margin-bottom: 26px;
}

.hero-text {
  margin-bottom: 28px;
}

.hero-services {
  width: min(600px, 100%);
  margin-top: 32px;
}

.btn {
  min-height: 45px;
  padding: 0 18px;
}

.section {
  padding: 80px 0;
}

.service-strip {
  padding: 0;
}

.section-heading {
  margin-bottom: 26px;
}

.vehicle-grid {
  gap: 22px;
}

.inventory-toolbar {
  margin-bottom: 22px;
}

.inventory-search input,
.inventory-select select,
.inventory-clear {
  min-height: 45px;
}

.inventory-empty {
  padding: 24px;
}

.vehicle-image {
  padding: 17px;
}

.vehicle-body {
  padding: 19px;
}

.vehicle-thumb {
  height: auto;
}

.price-box,
.spec {
  padding: 13px;
}

.vehicle-actions {
  gap: 8px;
}

.vehicle-whatsapp,
.vehicle-details-link {
  min-height: 42px;
}

.detail-section {
  padding-bottom: 64px;
}

.arrival-panel,
.vehicle-detail,
.service-content {
  padding: 22px;
}

.service-content {
  min-height: 244px;
}

.services-grid {
  gap: 17px;
}

.trust-section {
  padding-top: 54px;
}

.trust-grid {
  gap: 13px;
}

.trust-grid div {
  min-height: 79px;
  padding: 17px 17px 17px 40px;
}

.location-panel,
.location-map,
.location-map iframe {
  min-height: 405px;
}

.location-content {
  padding: 32px;
}

.location-actions {
  margin-top: 22px;
}

.location-contact-list {
  gap: 9px;
  margin-top: 24px;
}

.business-hours {
  margin-top: 22px;
  padding: 13px 15px;
}

.location-contact-list > a,
.location-contact-card {
  padding: 13px 15px;
}

.footer-shell {
  padding: 40px 0 32px;
}

.footer-brand {
  gap: 20px;
  padding-bottom: 26px;
}

.footer-columns {
  gap: 20px;
  padding: 26px 0;
}

.whatsapp-float {
  right: 21px;
  bottom: 21px;
  width: 55px;
  height: 55px;
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 245, 243, 0.96) 58%, rgba(26, 26, 26, 0.96) 58%, rgba(11, 11, 11, 0.98) 100%),
      linear-gradient(90deg, #ffffff, #ececea);
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 90px 0 58px;
    text-align: left;
  }

  .hero-spotlight {
    min-height: 360px;
  }

  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
    margin-top: 0;
  }

  .hero-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
  }

  .vehicle-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .inventory-toolbar {
    grid-template-columns: 1fr;
  }

  .vehicle-image {
    min-height: 0;
  }

  .vehicle-main-image {
    min-height: 0;
  }

  .vehicle-image::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(17, 17, 17, 0.08) 100%);
  }

  .services-grid,
  .quick-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-panel {
    grid-template-columns: 1fr;
  }

  .location-map,
  .location-map iframe {
    min-height: 300px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-tagline {
    text-align: left;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .navbar,
  .section,
  .hero-content {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    width: min(226px, 64vw);
    height: 48px;
    padding: 5px 8px;
  }

  .header-logo {
    width: auto;
    height: auto;
    padding: 0;
  }

  .header-logo img {
    height: 42px;
  }

  .brand-logo {
    object-position: center;
  }

  .hero {
    min-height: 0;
  }

  .hero-logo {
    width: min(70vw, 282px);
    max-width: 100%;
    margin-bottom: 19px;
  }

  .hero-subtitle {
    font-size: clamp(1.25rem, 7vw, 1.65rem);
  }

  .hero-text {
    font-size: 0.96rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-spotlight {
    min-height: 310px;
  }

  .hero-spotlight img {
    padding: 24px 16px 116px;
  }

  .section {
    padding: 60px 0;
  }

  .service-strip {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .quick-services-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .hero-services,
  .services-grid,
  .quick-services-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

.location-panel {
    min-height: 0;
  }

  .location-map,
  .location-map iframe {
    min-height: 244px;
  }

  .location-content {
    padding: 21px 17px;
  }

  .location-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-shell {
    width: min(100% - 24px, 1120px);
    padding: 32px 0 28px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .vehicle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vehicle-card {
    box-shadow: var(--premium-shadow);
  }

  .vehicle-image {
    min-height: 0;
  }

  .vehicle-main-image {
    min-height: 0;
  }

  .vehicle-city {
    left: 16px;
    top: 16px;
  }

  .vehicle-thumbs {
    gap: 7px;
    padding: 8px;
  }

  .vehicle-thumb {
    height: auto;
  }

  .vehicle-topline {
    align-items: flex-start;
  }

  .price-box {
    padding: 12px;
  }

  .vehicle-body,
  .vehicle-detail {
    padding: 19px;
  }

  .detail-specs {
    grid-template-columns: 1fr;
  }

  .detail-feature-list {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 18px;
  }

  .service-modal {
    align-items: end;
    padding: 12px;
  }

  .service-modal-panel {
    max-height: 92vh;
    padding: 22px 18px 18px;
  }

  .service-modal-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .service-modal-heading {
    padding-right: 48px;
    margin-bottom: 18px;
  }

  .service-form-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-frame,
  .lightbox-image {
    max-width: 92vw;
    max-height: 75vh;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
  }

  .lightbox-nav {
    width: 50px;
    height: 58px;
    font-size: 2.35rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}

/* Estructura catalogo primero */
.site-header {
  background: rgba(255, 255, 255, 0.94);
}

.navbar {
  min-height: 64px;
}

.brand {
  width: min(226px, 48vw);
  height: 46px;
  box-shadow: none;
}

.nav-links {
  gap: 18px;
}

.header-whatsapp {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(200, 16, 46, 0.28);
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-whatsapp:hover {
  background: var(--red);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero {
  min-height: 330px;
  align-items: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-media {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(245, 245, 243, 0.94)),
    linear-gradient(90deg, #ffffff, #ececea);
}

.hero-content {
  display: block;
  width: min(1120px, calc(100% - 32px));
  padding: 58px 0 52px;
  text-align: left;
}

.hero-copy {
  max-width: 640px;
}

.hero-logo {
  width: min(330px, 72vw);
  margin-bottom: 18px;
}

.hero-subtitle {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.hero-text {
  max-width: 510px;
  margin-bottom: 22px;
}

.catalog-section {
  padding-top: 62px;
}

.catalog-section .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.inventory-toolbar {
  grid-template-columns: minmax(150px, 1fr) minmax(140px, 0.8fr) minmax(220px, 1.2fr) auto;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.vehicle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vehicle-card {
  border-radius: 0;
  box-shadow: 0 16px 42px rgba(17, 17, 17, 0.08);
}

.vehicle-image {
  aspect-ratio: 16 / 11;
  padding: 14px;
}

.vehicle-body {
  min-height: 390px;
}

.vehicle-card h3 {
  min-height: 2.85em;
}

.vehicle-actions {
  grid-template-columns: 1fr 1fr;
}

.vehicle-whatsapp,
.vehicle-details-link {
  min-width: 0;
  padding-inline: 12px;
}

.sold-section[hidden] {
  display: none;
}

.about-section,
.services-section,
.advisor-section {
  display: block;
}

.about-section {
  padding-top: 58px;
  padding-bottom: 58px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.about-section .section-heading {
  max-width: 840px;
}

.about-section .section-intro {
  max-width: 820px;
}

.trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.services-section {
  padding-top: 62px;
}

.services-compact-grid,
.advisor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.advisor-card {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-top: 2px solid rgba(200, 16, 46, 0.5);
  background: #ffffff;
  color: var(--graphite);
  font: inherit;
  text-align: left;
  box-shadow: var(--shadow);
}

.service-card {
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-top-color: var(--red);
  transform: translateY(-2px);
}

.service-card strong,
.advisor-card h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 1rem;
}

.service-card span,
.advisor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.advisor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.advisor-card a,
.contact-list a {
  color: var(--red);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.advisor-card > span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-section {
  padding-top: 62px;
}

.advisor-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-top: 2px solid var(--red);
  background: #ffffff;
  box-shadow: var(--premium-shadow);
}

.advisor-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.contact-list {
  display: grid;
  gap: 8px;
}

.contact-list span {
  color: var(--muted);
  font-weight: 800;
}

.advisor-contact .btn {
  white-space: nowrap;
}

.footer-tagline {
  max-width: 420px;
}

@media (max-width: 980px) {
  .header-whatsapp {
    display: none;
  }

  .vehicle-grid,
  .services-compact-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-clear {
    width: 100%;
  }

  .inventory-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .navbar,
  .section,
  .hero-content {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 42px 0 38px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inventory-toolbar,
  .vehicle-grid,
  .services-compact-grid,
  .advisor-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .inventory-search {
    grid-column: auto;
  }

  .inventory-clear {
    width: 100%;
  }

  .vehicle-body {
    min-height: 0;
  }

  .vehicle-actions {
    grid-template-columns: 1fr;
  }

  .advisor-panel {
    padding: 18px;
  }

  .advisor-contact {
    grid-template-columns: 1fr;
  }
}

/* Home premium directo */
:root {
  --whatsapp: #25d366;
  --whatsapp-dark: #128c3f;
}

.brand.brand-text {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--graphite);
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-whatsapp,
.whatsapp-link,
a[href*="wa.me"] {
  color: var(--whatsapp);
}

.header-whatsapp {
  border-color: rgba(37, 211, 102, 0.34);
  background: rgba(37, 211, 102, 0.1);
}

.header-whatsapp:hover {
  background: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp,
.vehicle-whatsapp,
.service-form-submit,
.advisor-contact .btn-whatsapp {
  border-color: var(--whatsapp);
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover,
.vehicle-whatsapp:hover,
.service-form-submit:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
}

.hero-slider {
  min-height: 0;
  display: block;
  background: #f2f2ef;
}

.hero-track {
  width: 200%;
  display: flex;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  width: 50%;
  min-height: clamp(470px, 68vw, 760px);
  flex: 0 0 50%;
}

.hero-cover {
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 30px);
  background: #ecece8;
}

.hero-cover-image {
  display: block;
  width: min(100%, 1460px);
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 52px rgba(17, 17, 17, 0.14));
}

.hero-cover-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vw, 42px);
  z-index: 2;
  justify-content: center;
  transform: translateX(-50%);
}

.hero-cover-actions .btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--graphite);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(12px);
}

.hero-cover-actions .btn-primary {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.hero-cover-actions .btn-outline {
  border-color: rgba(17, 17, 17, 0.22);
}

.hero-advisors {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-content: center;
  padding: clamp(42px, 7vw, 92px) max(24px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, #ffffff 0%, #f3f3f0 52%, #202020 52%, #0d0d0d 100%);
}

.hero-advisor-copy h2 {
  max-width: 560px;
  font-size: clamp(2.35rem, 5.4vw, 5rem);
}

.hero-advisor-copy p:last-child {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-advisor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-advisor-card,
.hero-contact-strip {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero-advisor-card {
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
}

.hero-advisor-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-advisor-card h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 1.15rem;
}

.hero-advisor-card p,
.hero-advisor-card a {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.hero-advisor-card a {
  color: var(--graphite);
  font-weight: 800;
}

.hero-contact-strip {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 18px;
}

.hero-contact-strip a,
.hero-contact-strip span {
  font-size: 0.92rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-contact-strip span {
  color: var(--muted);
}

.hero-whatsapp {
  grid-column: 2;
  width: fit-content;
  min-width: 220px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.13);
  background: rgba(255, 255, 255, 0.76);
  color: var(--graphite);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
  background: #ffffff;
  transform: translateY(calc(-50% - 1px));
}

.hero-arrow-prev {
  left: 18px;
}

.hero-arrow-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.22);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--red);
}

.catalog-section {
  padding-top: 72px;
}

.vehicle-card {
  min-height: 100%;
}

.vehicle-gallery {
  flex: 0 0 auto;
}

.vehicle-body {
  min-height: 360px;
}

.vehicle-card h3 {
  min-height: 3.45em;
  margin-bottom: 15px;
}

.vehicle-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.vehicle-specs .spec {
  min-height: 58px;
}

.price-box {
  margin-top: auto;
}

.vehicle-details-link {
  border-color: #171717;
  background: #171717;
  color: #ffffff;
  box-shadow: 0 13px 28px rgba(17, 17, 17, 0.16);
}

.vehicle-details-link:hover {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
}

.vehicle-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-dark);
  box-shadow: none;
}

.vehicle-whatsapp:hover {
  color: #ffffff;
}

.services-section {
  padding-top: 58px;
  padding-bottom: 58px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.services-compact-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
  min-height: 138px;
  border-top-color: rgba(17, 17, 17, 0.22);
}

.advisor-card a {
  color: var(--graphite);
}

.contact-list .whatsapp-link {
  color: var(--whatsapp);
}

@media (max-width: 1080px) {
  .hero-advisors {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, #ffffff, #f3f3f0);
  }

  .hero-contact-strip,
  .hero-whatsapp {
    grid-column: auto;
  }

  .services-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-slide {
    min-height: clamp(520px, 130vw, 700px);
  }

  .hero-cover {
    align-content: center;
    padding: 18px 12px 112px;
  }

  .hero-cover-image {
    width: 100%;
    max-height: 60vh;
  }

  .hero-cover-actions {
    width: min(100% - 32px, 360px);
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-advisors {
    padding: 44px 18px 84px;
  }

  .hero-advisor-grid,
  .hero-contact-strip,
  .services-compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-whatsapp {
    width: 100%;
  }

  .hero-arrow {
    width: 40px;
    height: 48px;
    font-size: 1.9rem;
  }

  .hero-arrow-prev {
    left: 8px;
  }

  .hero-arrow-next {
    right: 8px;
  }

  .vehicle-body,
  .vehicle-card h3 {
    min-height: 0;
  }
}

/* Vitrina simple y ficha individual */
.vehicle-showcase-card {
  min-height: 100%;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.08);
}

.vehicle-showcase-card::before {
  border-top-color: rgba(17, 17, 17, 0.16);
}

.vehicle-card-image-link {
  display: block;
  padding: 0;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f7f7f5, #e8e8e4);
}

.vehicle-card-image-link .vehicle-main-image {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: contain;
  padding: 16px;
  transition: transform 220ms ease;
}

.vehicle-card-image-link:hover .vehicle-main-image {
  transform: scale(1.025);
}

.vehicle-card-badges {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  margin: 0;
}

.vehicle-showcase-card .vehicle-body {
  min-height: 260px;
  padding: 19px;
}

.vehicle-showcase-card h3 {
  min-height: 3em;
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.vehicle-card-meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.vehicle-showcase-card .price-box {
  margin-top: auto;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  background: transparent;
}

.vehicle-showcase-card .price-box span {
  color: var(--muted);
}

.vehicle-showcase-card .vehicle-price {
  font-size: 1.45rem;
}

.vehicle-showcase-card .vehicle-actions {
  grid-template-columns: 1fr;
}

.vehicle-showcase-card .vehicle-details-link {
  min-height: 48px;
  background: #171717;
  color: #ffffff;
}

.vehicle-detail-page {
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f0 45%, #eeeeeb 100%);
}

.vehicle-page-section {
  padding-top: 54px;
}

.vehicle-page-detail {
  max-width: none;
  padding: 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
}

.detail-back-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #ffffff;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 900;
  transition: border-color 180ms ease, transform 180ms ease;
}

.detail-back-link:hover {
  border-color: rgba(200, 16, 46, 0.42);
  transform: translateY(-1px);
}

.vehicle-page-detail .detail-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.vehicle-page-detail .detail-media,
.vehicle-page-detail .detail-content {
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.vehicle-page-detail .detail-main-image {
  aspect-ratio: 16 / 10;
  padding: 18px;
}

.vehicle-page-detail .detail-main-image .vehicle-main-image {
  max-width: 100%;
  max-height: 100%;
}

.vehicle-page-detail .detail-content {
  padding: 24px;
}

.vehicle-page-detail .detail-content h3 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
}

.detail-main-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.detail-description p {
  color: var(--muted);
  line-height: 1.6;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.detail-actions .btn {
  min-width: 0;
  padding-inline: 12px;
}

@media (max-width: 900px) {
  .vehicle-page-detail .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .vehicle-showcase-card .vehicle-body {
    min-height: 0;
  }

  .vehicle-showcase-card h3 {
    min-height: 0;
  }

  .vehicle-page-section {
    padding-top: 34px;
  }

  .vehicle-page-detail .detail-content {
    padding: 18px;
  }

  .detail-main-data {
    grid-template-columns: 1fr;
  }
}

/* Ajustes finos hero/contacto */
.brand.brand-text {
  gap: 3px;
  align-items: baseline;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.86);
  color: #f0f0ee;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.brand.brand-text span {
  color: #f4f4f1;
  -webkit-text-stroke: 0;
}

.brand.brand-text strong {
  color: var(--red);
  font-weight: 900;
}

.hero-slide {
  min-height: clamp(430px, 54vw, 660px);
}

.hero-cover {
  padding: clamp(8px, 1.8vw, 22px) clamp(10px, 2vw, 26px) clamp(86px, 7vw, 118px);
}

.hero-cover-image {
  width: min(100%, 1672px);
  max-height: none;
  image-rendering: auto;
  transform: translateZ(0);
  filter:
    brightness(1.12)
    contrast(1.07)
    saturate(1.05)
    drop-shadow(0 22px 44px rgba(17, 17, 17, 0.1));
}

.hero-advisors {
  min-height: clamp(390px, 46vw, 560px);
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1fr);
  gap: clamp(18px, 3.4vw, 44px);
  padding-top: clamp(30px, 4.6vw, 58px);
  padding-bottom: clamp(46px, 5.2vw, 70px);
}

.hero-advisor-copy h2 {
  font-size: clamp(2rem, 4.1vw, 3.8rem);
}

.hero-advisor-copy p:last-child {
  max-width: 500px;
  margin-top: 14px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.hero-advisor-grid {
  gap: 12px;
}

.hero-advisor-card {
  min-height: 136px;
  gap: 6px;
  padding: 17px 18px;
}

.hero-advisor-card h3 {
  font-size: 1.04rem;
}

.hero-advisor-card p,
.hero-advisor-card a {
  font-size: 0.88rem;
}

.hero-contact-strip {
  gap: 7px 14px;
  padding: 14px 16px;
}

.hero-contact-strip a,
.hero-contact-strip span {
  font-size: 0.85rem;
}

a.btn-whatsapp,
.btn.btn-whatsapp,
a.vehicle-whatsapp,
.service-form-submit {
  background: linear-gradient(135deg, var(--whatsapp), #19bd58);
  border-color: var(--whatsapp);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
  box-shadow: 0 15px 34px rgba(37, 211, 102, 0.28);
}

a.btn-whatsapp:hover,
.btn.btn-whatsapp:hover,
a.vehicle-whatsapp:hover,
.service-form-submit:hover {
  background: linear-gradient(135deg, var(--whatsapp-dark), #0f7d39);
  color: #ffffff;
}

.hero-whatsapp {
  min-height: 42px;
  min-width: 198px;
}

.advisor-section {
  display: none;
}

@media (max-width: 1080px) {
  .hero-advisors {
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 76px;
  }
}

@media (max-width: 760px) {
  .brand.brand-text {
    font-size: 0.82rem;
  }

  .hero-slide {
    min-height: clamp(455px, 116vw, 640px);
  }

  .hero-cover {
    padding: 18px 8px 108px;
  }

  .hero-cover-image {
    width: min(142vw, 1672px);
    max-width: none;
  }

  .hero-advisors {
    padding: 34px 16px 78px;
  }

  .hero-advisor-copy h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero-advisor-card {
    min-height: 0;
    padding: 15px;
  }

  .hero-contact-strip {
    padding: 14px;
  }
}

/* Compactacion vitrina y flechas galeria */
@media (min-width: 1040px) {
  .catalog-section .vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.vehicle-showcase-card {
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.085);
}

.vehicle-card-image-link {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.vehicle-card-image-link .vehicle-main-image {
  padding: 13px;
}

.vehicle-card-badges {
  left: 10px;
  top: 10px;
  gap: 5px;
}

.vehicle-status-ribbon {
  position: absolute;
  top: 18px;
  right: -34px;
  z-index: 2;
  width: 132px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.92);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transform: rotate(38deg);
}

.vehicle-status-ribbon.reservado {
  background: rgba(31, 31, 31, 0.92);
}

.vehicle-status-ribbon.vendido {
  background: rgba(72, 72, 72, 0.94);
}

.vehicle-showcase-card .status {
  min-height: 24px;
  padding: 0 7px;
  font-size: 0.66rem;
}

.vehicle-showcase-card .vehicle-body {
  min-height: 238px;
  padding: 16px;
}

.vehicle-showcase-card h3 {
  min-height: 0;
  margin-bottom: 8px;
  font-size: 1.03rem;
  line-height: 1.22;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vehicle-card-meta {
  margin-bottom: 12px;
  font-size: 0.84rem;
}

.vehicle-showcase-card .price-box {
  margin-bottom: 14px;
}

.vehicle-showcase-card .price-box span {
  margin-bottom: 2px;
  font-size: 0.68rem;
}

.vehicle-showcase-card .vehicle-price {
  font-size: 1.36rem;
}

.vehicle-showcase-card .vehicle-actions {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8px;
}

.vehicle-showcase-card .vehicle-details-link,
.vehicle-showcase-card .vehicle-whatsapp {
  min-height: 42px;
  padding-inline: 10px;
  font-size: 0.82rem;
}

.vehicle-showcase-card .vehicle-details-link {
  background: #0d0d0d;
  border-color: #0d0d0d;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.16);
}

.vehicle-showcase-card .vehicle-details-link:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(200, 16, 46, 0.22);
}

.vehicle-showcase-card .vehicle-whatsapp {
  box-shadow: none;
}

.detail-main-image {
  position: relative;
}

.detail-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.68);
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.detail-gallery-nav:hover {
  border-color: rgba(200, 16, 46, 0.76);
  background: rgba(200, 16, 46, 0.88);
  transform: translateY(calc(-50% - 1px));
}

.detail-gallery-prev {
  left: 14px;
}

.detail-gallery-next {
  right: 14px;
}

.lightbox-nav {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(8, 8, 8, 0.78);
  color: #ffffff;
  font-size: 2.85rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.lightbox-nav:hover {
  border-color: rgba(200, 16, 46, 0.86);
  background: rgba(200, 16, 46, 0.9);
}

@media (max-width: 980px) {
  .catalog-section .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .catalog-section .vehicle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .catalog-section .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-showcase-card .vehicle-body {
    padding: 12px;
  }

  .vehicle-card-image-link {
    aspect-ratio: 16 / 10.5;
  }

  .vehicle-showcase-card .vehicle-actions {
    grid-template-columns: 1fr;
  }

  .vehicle-showcase-card .vehicle-details-link,
  .vehicle-showcase-card .vehicle-whatsapp {
    min-height: 40px;
  }

  .detail-gallery-nav,
  .lightbox-nav {
    width: 52px;
    height: 52px;
    font-size: 2.45rem;
  }

  .detail-gallery-prev {
    left: 9px;
  }

  .detail-gallery-next {
    right: 9px;
  }
}

/* Cierre visible del visor de imagenes */
.lightbox-close {
  top: 20px;
  right: 20px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.86);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.lightbox-close:hover {
  border-color: rgba(200, 16, 46, 0.9);
  background: rgba(200, 16, 46, 0.92);
  color: #ffffff;
  transform: translateY(-1px) scale(1.03);
}

@media (max-width: 560px) {
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 56px;
    height: 56px;
    font-size: 1.95rem;
  }
}

/* Ajustes mobile del hero slider */
@media (max-width: 760px) {
  .hero-slider {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero-track {
    align-items: stretch;
    touch-action: pan-y;
  }

  .hero-slide {
    min-height: auto;
  }

  .hero-cover {
    min-height: calc(100svh - 74px);
    align-content: center;
    padding: 76px 10px 110px;
    background: #080808;
  }

  .hero-cover-image {
    width: min(100%, 520px);
    max-width: 100%;
    height: auto;
    max-height: calc(100svh - 230px);
    object-fit: contain;
    object-position: center center;
  }

  .hero-advisors {
    max-height: calc(100svh - 74px);
    min-height: calc(100svh - 74px);
    align-content: start;
    padding: 34px 16px 104px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .hero-advisor-copy,
  .hero-advisor-grid,
  .hero-contact-strip,
  .hero-whatsapp {
    max-width: 100%;
  }

  .hero-arrow {
    top: auto;
    bottom: 54px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: none;
  }

  .hero-arrow:hover {
    transform: translateY(-1px);
  }

  .hero-dots {
    bottom: 28px;
  }
}

@media (max-width: 420px) {
  .hero-cover {
    min-height: 520px;
    padding-top: 72px;
    padding-bottom: 112px;
  }

  .hero-cover-image {
    width: 100%;
    max-height: 330px;
  }

  .hero-advisors {
    max-height: calc(100svh - 64px);
    min-height: calc(100svh - 64px);
  }
}

/* Correccion mobile del slide de asesores */
@media (max-width: 760px) {
  .hero-slider,
  .hero-slide,
  .hero-advisors {
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .hero-track {
    width: 200%;
    max-width: 200%;
  }

  .hero-advisors {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 50%;
    min-width: 0;
    padding: 30px 14px 118px;
    grid-template-columns: 1fr;
    overflow-y: auto;
    touch-action: pan-y;
  }

  .hero-advisors > *,
  .hero-advisor-copy,
  .hero-advisor-grid,
  .hero-advisor-card,
  .hero-contact-strip,
  .hero-whatsapp {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-advisor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-advisor-card {
    padding: 15px;
  }

  .hero-contact-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .hero-contact-strip a,
  .hero-contact-strip span,
  .hero-advisor-card a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-whatsapp {
    margin-top: 2px;
    margin-bottom: 8px;
  }
}

@media (max-width: 420px) {
  .hero-advisors {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 124px;
  }
}

/* Galeria de detalle: mostrar vehiculo completo */
.vehicle-page-detail .detail-media,
.vehicle-page-detail .detail-main-image,
.lightbox-frame {
  background: #0d0d0d;
}

.vehicle-page-detail .detail-main-image .vehicle-main-image,
.detail-main-image .vehicle-main-image,
.lightbox-image {
  object-fit: contain;
  object-position: center center;
}

.vehicle-page-detail .detail-main-image .vehicle-main-image,
.detail-main-image .vehicle-main-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 760px) {
  .vehicle-page-detail .detail-main-image,
  .detail-main-image {
    aspect-ratio: 16 / 10;
    min-height: 260px;
    padding: 10px;
    background: #0d0d0d;
  }

  .vehicle-page-detail .detail-main-image .vehicle-main-image,
  .detail-main-image .vehicle-main-image {
    padding: 0;
  }

  .lightbox-frame {
    background: #0a0a0a;
  }

  .lightbox-image {
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 78vh;
  }
}

/* Forzar galeria de detalle sin recorte */
.vehicle-page-detail .detail-main-image {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: clamp(320px, 38vw, 560px);
  padding: 0;
  overflow: hidden;
  background: #0b0b0b;
}

.vehicle-page-detail .detail-photo-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  background: transparent;
}

.vehicle-page-detail .detail-photo-button .vehicle-main-image,
.vehicle-page-detail .detail-main-image .vehicle-main-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
}

.lightbox-frame {
  background: #090909;
}

.lightbox-frame .lightbox-image {
  width: auto !important;
  height: auto !important;
  max-width: 92vw !important;
  max-height: 82vh !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 760px) {
  .vehicle-page-detail .detail-main-image {
    aspect-ratio: 16 / 10;
    min-height: clamp(260px, 68vw, 390px);
  }

  .vehicle-page-detail .detail-photo-button {
    padding: 10px;
  }

  .lightbox-frame .lightbox-image {
    max-width: 94vw !important;
    max-height: 78vh !important;
  }
}

/* Evitar solapamiento del header en ficha */
.vehicle-detail-page .vehicle-page-section {
  padding-top: 96px;
  scroll-margin-top: 96px;
}

@media (max-width: 760px) {
  .vehicle-detail-page .vehicle-page-section {
    padding-top: 86px;
    scroll-margin-top: 86px;
  }
}

/* Centrado estricto de fotos en ficha */
.vehicle-page-detail .detail-main-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-page-detail .detail-photo-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.vehicle-page-detail .detail-photo-button .vehicle-main-image,
.vehicle-page-detail .detail-main-image .vehicle-main-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.lightbox-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-frame .lightbox-image {
  display: block !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Proporcion horizontal en galeria mobile */
@media (max-width: 760px) {
  .vehicle-page-detail .detail-main-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .vehicle-page-detail .detail-photo-button {
    padding: 8px;
  }
}

/* Centrado final del visor principal de detalle */
.vehicle-page-detail .detail-main-image {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b0b0b;
}

.vehicle-page-detail .detail-photo-button {
  inset: 0;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: 0;
  background: transparent;
}

.vehicle-page-detail .detail-photo-button .vehicle-main-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}
