/* MCheco Rent Car — Landing styles */
:root {
  --black: #0A0A0A;
  --red: #E03127;
  --red-deep: #B81E16;
  --white: #FFFFFF;
  --cream: #F5F1EA;
  --text: #2E2E2E;
  --text-soft: #6B6B6B;
  --bg: #FFFFFF;
  --bg-alt: #F5F1EA;
  --surface: #FFFFFF;
  --on-bg: #0A0A0A;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.16);
  --nav-bg: rgba(255, 255, 255, 0.85);

  --f-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --pad-x: clamp(16px, 5vw, 80px);
  --section-y: clamp(64px, 10vw, 140px);
  --max-w: 1440px;
}

[data-theme="dark"] {
  --black: #FFFFFF;
  --white: #0A0A0A;
  --cream: #161616;
  --text: #E6E6E6;
  --text-soft: #9A9A9A;
  --bg: #0A0A0A;
  --bg-alt: #141414;
  --surface: #161616;
  --on-bg: #FFFFFF;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --nav-bg: rgba(10, 10, 10, 0.78);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.35s ease, color 0.35s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}
.eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 2px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-bg);
  text-wrap: balance;
  margin: 0;
}
.h-display { font-size: clamp(40px, 9vw, 128px); line-height: 0.95; letter-spacing: -0.035em; font-weight: 800; }
.h-section { font-size: clamp(32px, 5.5vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.italic-accent { font-style: italic; font-weight: 500; color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-deep); box-shadow: 0 8px 20px rgba(224, 49, 39, 0.28); }
.btn-black { background: var(--on-bg); color: var(--bg); }
.btn-black:hover { opacity: 0.88; }
.btn-sm { padding: 10px 14px; font-size: 13px; }
.btn-lg { padding: 16px 24px; font-size: 15px; }

/* ---------- Navbar — fixed + frosted glass ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(10,10,10,0.06);
}
[data-theme="dark"] .nav { background: rgba(10, 10, 10, 0.85); }
[data-theme="dark"] .nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* Push content below fixed navbar */
body > #root > *:first-child,
.nav + * { margin-top: 0; }
#root { padding-top: 65px; }
@media (min-width: 600px) { #root { padding-top: 69px; } }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 12px; padding-bottom: 12px;
  min-width: 0;
}
.nav-links { display: none; gap: 28px; font-size: 14px; font-weight: 500; color: var(--text); }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--red); transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
@media (min-width: 600px) { .nav-right { gap: 8px; } }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px; overflow: hidden;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
}
.lang-toggle button { padding: 6px 9px; color: var(--text-soft); font-weight: 600; }
.lang-toggle button.active { background: var(--on-bg); color: var(--bg); }
.theme-toggle {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--on-bg);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--on-bg); color: var(--bg); border-color: var(--on-bg); }

.logo { display: inline-flex; align-items: center; height: 38px; min-width: 0; flex-shrink: 1; }
@media (min-width: 600px) { .logo { height: 44px; } }
.logo img { height: 100%; width: auto; display: block; max-width: 100%; object-fit: contain; }
/* light mode → black-text logo (logo-light.png); dark mode → white-text logo (logo-dark.png) */
.logo .l-on-dark { display: none; }
.logo .l-on-light { display: block; }
[data-theme="dark"] .logo .l-on-dark { display: block; }
[data-theme="dark"] .logo .l-on-light { display: none; }

.footer .logo { height: 48px; }

/* On very narrow phones, hide the WhatsApp label text in navbar */
@media (max-width: 460px) {
  .nav-right .btn-sm { padding: 8px 10px; }
  .nav-right .btn-sm span { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-alt); transition: background 0.35s ease; padding: 0; }
.hero-inner {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 70px; padding-bottom: 0;
  gap: 16px;
}
@media (min-width: 980px) {
  .hero-inner { padding-top: 80px; padding-bottom: 40px; gap: 32px; }
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: end; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 .accent { color: var(--red); font-style: italic; font-weight: 600; }
.hero-sub { font-size: clamp(15px, 1.3vw, 19px); max-width: 480px; color: var(--text); line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.hero-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: var(--on-bg); width: 100%; }
@media (min-width: 980px) { .hero-photo { max-height: 70vh; } }

/* Hero ticker — desktop: row; mobile: 2x2 grid */
.hero-ticker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
@media (min-width: 720px) {
  .hero-ticker {
    display: flex; flex-wrap: wrap; gap: 32px 48px;
    align-items: center; padding-top: 24px;
  }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text); font-weight: 500;
  min-width: 0;
}
.ticker-item .star { color: var(--red); font-size: 14px; flex-shrink: 0; }
@media (min-width: 720px) { .ticker-item { font-size: 12px; letter-spacing: 0.1em; } }

.hero-meta {
  position: absolute; top: clamp(40px, 7vw, 80px); right: var(--pad-x);
  display: none; flex-direction: column; align-items: flex-end; gap: 6px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-soft);
}
@media (min-width: 980px) { .hero-meta { display: flex; } }
.hero-meta strong { color: var(--on-bg); font-weight: 700; }

/* ---------- Photo placeholder ---------- */
.photo-ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 6px, rgba(255,255,255,0.10) 6px, rgba(255,255,255,0.10) 12px),
    linear-gradient(135deg, #1a1a1a 0%, #2b2b2b 60%, #1a1a1a 100%);
  color: rgba(255,255,255,0.7);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 14px;
  overflow: hidden;
}
.photo-ph.cream {
  background:
    repeating-linear-gradient(135deg, rgba(10,10,10,0.04) 0, rgba(10,10,10,0.04) 6px, rgba(10,10,10,0.08) 6px, rgba(10,10,10,0.08) 12px),
    linear-gradient(135deg, #efe7d4 0%, #ede4cf 60%, #e6dcc3 100%);
  color: rgba(10,10,10,0.55);
}
.photo-ph.warm {
  background:
    repeating-linear-gradient(135deg, rgba(204,0,0,0.06) 0, rgba(204,0,0,0.06) 6px, rgba(204,0,0,0.12) 6px, rgba(204,0,0,0.12) 12px),
    linear-gradient(135deg, #f3e9d8 0%, #f7c9a3 60%, #e8a878 100%);
  color: rgba(10,10,10,0.6);
}
.photo-ph .corner-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92); color: #0A0A0A;
  padding: 4px 8px; border-radius: 4px; font-size: 9px; letter-spacing: 0.1em; font-weight: 600;
}
.photo-ph.cream .corner-tag, .photo-ph.warm .corner-tag { background: rgba(10,10,10,0.85); color: white; }

/* ---------- Section header ---------- */
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.section-head .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head h2 { flex: 1 1 60%; min-width: 0; }
.section-head p { max-width: 440px; color: var(--text-soft); font-size: 14px; margin: 0; flex: 0 1 380px; }
@media (min-width: 720px) { .section-head { margin-bottom: 48px; } .section-head p { font-size: 15px; } }

/* Catalog section sits immediately after hero — tighter top padding */
#catalogo { padding-top: 48px; }

/* ---------- Search mode toggle ---------- */
.search-mode {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
}
.search-mode button {
  flex: 1 1 50%;
  padding: 9px 12px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 999px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: all 0.18s ease;
}
.search-mode button.active { background: var(--on-bg); color: var(--bg); }
@media (min-width: 480px) { .search-mode button { font-size: 14px; padding: 10px 16px; } }

/* ---------- Filter bar ---------- */
.filter-bar {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
@media (min-width: 560px) {
  .filter-bar.by-date { grid-template-columns: 1fr 1fr; }
  .filter-bar.by-date .cat-field { grid-column: 1 / -1; }
  .filter-bar.by-date .filter-cta { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .filter-bar.by-date {
    grid-template-columns: 1fr 1fr 1.6fr auto;
  }
  .filter-bar.by-date .cat-field { grid-column: auto; }
  .filter-bar.by-date .filter-cta { grid-column: auto; }
}
.filter-bar.by-vehicle { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .filter-bar.by-vehicle { grid-template-columns: 1fr auto; }
}

.filter-field {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 56px;
  justify-content: center;
  border: 1px solid var(--line);
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.filter-field label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.filter-field input,
.filter-field select {
  border: none; outline: none; background: transparent;
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  color: var(--on-bg); padding: 0; width: 100%; min-width: 0;
  max-width: 100%;
  color-scheme: light;
}
[data-theme="dark"] .filter-field input,
[data-theme="dark"] .filter-field select { color-scheme: dark; }

.category-chips {
  display: flex; gap: 6px;
  overflow-x: auto;
  align-items: center;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-chips::-webkit-scrollbar { display: none; }
.chip {
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--text);
  white-space: nowrap; transition: all 0.15s ease;
  flex-shrink: 0;
}
.chip.active { background: var(--on-bg); color: var(--bg); border-color: var(--on-bg); }
.filter-cta {
  background: var(--red); color: white; border-radius: 12px;
  padding: 10px 20px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; width: 100%;
}
.filter-cta:hover { background: var(--red-deep); }

/* Availability result panel for "by vehicle" mode */
.avail-panel {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 720px) { .avail-panel { padding: 28px; } }
.avail-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.avail-head .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.avail-head .name { font-family: var(--f-display); font-size: clamp(22px, 3.5vw, 30px); font-weight: 800; color: var(--on-bg); letter-spacing: -0.02em; }
.avail-list { display: grid; grid-template-columns: 1fr; gap: 8px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .avail-list { grid-template-columns: 1fr 1fr; } }
.avail-list li {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: var(--on-bg);
}
.avail-list li .pill {
  font-family: var(--f-mono); font-size: 10px; padding: 3px 7px;
  border-radius: 4px; background: rgba(40, 180, 90, 0.12); color: #1d8a48;
  letter-spacing: 0.08em; font-weight: 700; text-transform: uppercase;
}
[data-theme="dark"] .avail-list li .pill { background: rgba(80, 220, 130, 0.14); color: #6ee29b; }
.avail-cta { display: inline-flex; align-self: flex-start; }

/* ---------- Vehicle grid ---------- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) { .vehicle-grid { gap: 16px; } }
/* Rental catalog: 2-col mobile → 3-col desktop */
#catalogo .vehicle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 880px) {
  #catalogo .vehicle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
/* En venta: 2-col mobile → 3-col desktop */
.sale-section .vehicle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 880px) {
  .sale-section .vehicle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.load-more-row { display: flex; justify-content: center; margin-top: 32px; }

.vcard {
  background: var(--bg-alt);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
  min-width: 0;
}
@media (min-width: 880px) { .vcard { border-radius: var(--r-lg); } }
.vcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(10,10,10,0.25);
  border-color: var(--line);
}
.vcard-photo { aspect-ratio: 4/3; position: relative; overflow: hidden; width: 100%; }
.vcard-slides {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.vcard-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; overflow: hidden; }
.vcard-slide .photo-ph { transition: transform 0.5s ease; }
.vcard:hover .vcard-slide .photo-ph { transform: scale(1.04); }

.vcard-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: #0A0A0A;
  display: grid; place-items: center; z-index: 3;
  opacity: 0; transition: opacity 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.vcard-arrow.left { left: 6px; }
.vcard-arrow.right { right: 6px; }
.vcard:hover .vcard-arrow { opacity: 1; }
.vcard-arrow:hover { background: white; }
@media (max-width: 720px) {
  .vcard-arrow { opacity: 1; width: 24px; height: 24px; background: rgba(255,255,255,0.85); }
  .vcard-arrow.left { left: 4px; }
  .vcard-arrow.right { right: 4px; }
}
@media (min-width: 880px) {
  .vcard-arrow { width: 34px; height: 34px; }
  .vcard-arrow.left { left: 10px; }
  .vcard-arrow.right { right: 10px; }
}

.vcard-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 2;
}
.vcard-dots span { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: all 0.25s ease; }
.vcard-dots span.active { background: white; width: 14px; border-radius: 3px; }

.vcard-tag {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,0.95); color: #0A0A0A;
  padding: 4px 8px; border-radius: 999px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  font-family: var(--f-mono); z-index: 4;
}
@media (min-width: 880px) { .vcard-tag { top: 12px; right: 12px; padding: 5px 10px; font-size: 11px; } }
.vcard-tag.red { background: var(--red); color: white; }

.vcard-body {
  padding: 12px 12px 14px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
  min-width: 0;
}
@media (min-width: 640px) { .vcard-body { padding: 14px 16px 16px; gap: 10px; } }
@media (min-width: 880px) { .vcard-body { padding: 18px 20px 20px; gap: 12px; } }

.vcard-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; min-width: 0; }
.vcard-name {
  font-family: var(--f-display); font-weight: 700;
  font-size: 14px; line-height: 1.15; color: var(--on-bg); letter-spacing: -0.015em;
  min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 640px) { .vcard-name { font-size: 16px; } }
@media (min-width: 880px) { .vcard-name { font-size: 19px; line-height: 1.1; } }
.vcard-year { font-family: var(--f-mono); font-size: 11px; color: var(--text-soft); font-weight: 500; flex-shrink: 0; }
@media (min-width: 880px) { .vcard-year { font-size: 12px; } }

.vcard-cats { display: flex; gap: 4px; flex-wrap: wrap; }
.vcard-cats span {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 6px; border-radius: 4px;
  background: rgba(127,127,127,0.12); color: var(--text); font-weight: 600;
}
@media (min-width: 640px) { .vcard-cats { gap: 5px; } .vcard-cats span { font-size: 10px; padding: 4px 7px; } }

.vcard-specs {
  display: flex; gap: 8px;
  font-size: 10px; color: var(--text-soft); font-weight: 500;
  border-top: 1px solid var(--line); padding-top: 8px;
  flex-wrap: wrap;
}
@media (min-width: 640px) { .vcard-specs { gap: 12px; font-size: 11px; padding-top: 10px; } }
@media (min-width: 880px) { .vcard-specs { gap: 14px; font-size: 12px; padding-top: 12px; } }
.vcard-specs span { display: inline-flex; align-items: center; gap: 4px; }

.vcard-price {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 800; color: var(--on-bg); letter-spacing: -0.02em;
  word-break: break-word;
}
@media (min-width: 640px) { .vcard-price { font-size: 20px; } }
@media (min-width: 880px) { .vcard-price { font-size: 24px; } }
.vcard-price small { font-family: var(--f-mono); font-size: 10px; color: var(--text-soft); font-weight: 500; letter-spacing: 0.08em; margin-left: 4px; }

.vcard-cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 9px 12px;
  background: var(--surface); border-radius: 10px;
  font-weight: 600; font-size: 11px; color: var(--on-bg);
  border: 1px solid var(--line);
  transition: all 0.18s ease;
  margin-top: auto;
  min-width: 0;
}
.vcard-cta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 640px) { .vcard-cta { font-size: 12px; padding: 10px 14px; } }
@media (min-width: 880px) { .vcard-cta { font-size: 14px; padding: 12px 16px; border-radius: 12px; } }
.vcard-cta:hover { background: var(--on-bg); color: var(--bg); border-color: var(--on-bg); }
.vcard-cta.red { background: var(--red); color: white; border-color: var(--red); }
.vcard-cta.red:hover { background: var(--red-deep); border-color: var(--red-deep); }

.sale-section { background: var(--bg-alt); }
.sale-section .vcard { background: var(--surface); border-color: var(--line); }
.sale-section .filter-bar { background: var(--surface); }
.sale-section .avail-panel { background: var(--surface); }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 880px) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.about-photo { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; width: 100%; min-width: 0; }
.about-copy { display: flex; flex-direction: column; gap: 20px; justify-content: center; min-width: 0; }
.about-copy h2 { max-width: 12ch; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px;
}
.about-stats > div { min-width: 0; }
.about-stats .stat-num { font-family: var(--f-display); font-size: clamp(24px, 3.6vw, 44px); font-weight: 800; color: var(--on-bg); letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.about-stats .stat-num em { color: var(--red); font-style: normal; }
.about-stats .stat-label { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-top: 6px; line-height: 1.4; }
@media (min-width: 720px) { .about-stats .stat-label { font-size: 10px; letter-spacing: 0.12em; margin-top: 8px; } }

/* ---------- Contacto ---------- */
.contact-section { background: #0A0A0A; color: white; }
.contact-section h2 { color: white; }
.contact-section .eyebrow { color: rgba(255,255,255,0.6); }
.contact-section .section-head p { color: rgba(255,255,255,0.6); }

.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 8px;
}
@media (min-width: 560px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 880px) { .contact-grid { gap: 16px; } }
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all 0.2s ease;
  min-height: 0;
  min-width: 0;
}
@media (min-width: 560px) { .contact-card { padding: 18px; gap: 12px; min-height: 180px; } }
@media (min-width: 880px) { .contact-card { padding: 28px; gap: 16px; min-height: 220px; border-radius: var(--r-lg); } }
.contact-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(224, 49, 39, 0.5);
  transform: translateY(-2px);
}
.contact-card .ctype {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
@media (min-width: 880px) { .contact-card .ctype { font-size: 11px; letter-spacing: 0.16em; gap: 8px; } }
.contact-card .cval {
  font-family: var(--f-display); font-size: 16px; font-weight: 700;
  color: white; letter-spacing: -0.02em; line-height: 1.15;
  word-break: break-word;
}
@media (min-width: 560px) { .contact-card .cval { font-size: 17px; } }
@media (min-width: 880px) { .contact-card .cval { font-size: 22px; } }
.contact-card .csub { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: auto; line-height: 1.4; }
@media (min-width: 880px) { .contact-card .csub { font-size: 13px; } }
.contact-card .arrow {
  width: 28px; height: 28px;
  background: var(--red); border-radius: 50%;
  display: grid; place-items: center;
  margin-top: auto; align-self: flex-start;
  transition: transform 0.2s ease;
  color: white;
}
@media (min-width: 880px) { .contact-card .arrow { width: 36px; height: 36px; } }
.contact-card:hover .arrow { transform: translate(4px, -4px); }

/* ---------- Footer ---------- */
.footer {
  background: #0A0A0A; color: rgba(255,255,255,0.7);
  padding-top: 32px; padding-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
@media (min-width: 720px) { .footer .container { font-size: 11px; } }
.footer .footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
@media (min-width: 720px) { .footer .footer-links { gap: 18px; } }
.footer .footer-links a:hover { color: var(--red); }
.footer .logo .l-on-light { display: none; }
.footer .logo .l-on-dark { display: block; }

.wa-svg { width: 18px; height: 18px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease-out both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

.hero[data-variant="dark"] { background: #0A0A0A; color: white; }
.hero[data-variant="dark"] h1 { color: white; }
.hero[data-variant="dark"] .hero-sub { color: rgba(255,255,255,0.75); }
.hero[data-variant="dark"] .eyebrow { color: rgba(255,255,255,0.55); }
.hero[data-variant="dark"] .ticker-item { color: rgba(255,255,255,0.85); }
.hero[data-variant="dark"] .hero-ticker { border-top-color: rgba(255,255,255,0.12); }
.hero[data-variant="white"] { background: var(--bg); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Vehicle filter (by-vehicle mode) ---------- */
.vfilter-wrap {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  width: 100%; max-width: 100%;
}
.vfilter-row {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 16px;
  background: var(--bg-alt);
}
.vfilter-row + .vfilter-row {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
@media (min-width: 640px) {
  .vfilter-row { flex-direction: row; align-items: center; gap: 16px; padding: 16px 20px; }
}
.vfilter-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 700;
  flex-shrink: 0; min-width: 74px;
  display: flex; align-items: center; gap: 6px;
}
.vfilter-label::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--red); flex-shrink: 0;
}

/* ---------- Date range picker — compact bar + popover ---------- */
.drp-bar-wrap {
  position: relative;
  margin-bottom: 28px;
}
.drp-trigger { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.drp-trigger.drp-active {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 2px rgba(224,49,39,0.15);
}
.drp-value {
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  color: var(--on-bg); line-height: 1;
}
.drp-ph { color: var(--text-soft); font-weight: 400; }

.drp-popover {
  position: absolute; top: calc(100% + 6px); left: 0;
  z-index: 80;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(10,10,10,0.18);
  animation: drpFadeIn 0.18s ease;
  min-width: 280px;
  max-width: 320px;
}
@media (max-width: 400px) { .drp-popover { left: 0; right: 0; max-width: 100%; } }
@keyframes drpFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.drp-popover-hint {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red); font-weight: 700;
  margin-bottom: 12px;
}

.drp-month { display: flex; flex-direction: column; gap: 8px; }
.drp-nav { display: flex; align-items: center; justify-content: space-between; }
.drp-nav-btn {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--line);
  color: var(--on-bg); transition: all 0.15s ease;
}
.drp-nav-btn:hover { background: var(--on-bg); color: var(--bg); }
.drp-month-label {
  font-family: var(--f-display); font-weight: 700; font-size: 14px;
  color: var(--on-bg); letter-spacing: -0.01em;
}
.drp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 4px; }
.drp-dow {
  text-align: center; font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.08em; color: var(--text-soft); font-weight: 600;
  padding: 2px 0 5px;
}
.drp-cell {
  aspect-ratio: 1; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all 0.12s ease; user-select: none; color: var(--on-bg);
}
.drp-cell.empty { cursor: default; }
.drp-cell.past { color: var(--text-soft); opacity: 0.35; cursor: not-allowed; }
.drp-cell.open:hover { background: rgba(224,49,39,0.1); color: var(--red); }
.drp-cell.sel-start,
.drp-cell.sel-end { background: var(--red) !important; color: white !important; border-radius: 50%; font-weight: 700; }
.drp-cell.in-range { background: rgba(224,49,39,0.1); color: var(--red); border-radius: 0; }
.cal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: calFadeIn 0.2s ease;
}
@keyframes calFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cal-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border-radius: 20px;
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 24px 20px 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: calSlideUp 0.25s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 85vh; overflow-y: auto;
  z-index: 201;
}
@media (min-width: 560px) {
  .cal-modal {
    top: 20%;
    transform: translateX(-50%);
    padding: 28px 28px 32px;
    max-height: 78vh;
    animation: calSlideUpDesktop 0.25s cubic-bezier(0.34,1.56,0.64,1);
  }
}
@keyframes calSlideUp {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes calSlideUpDesktop {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cal-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.cal-vehicle-name {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(18px, 4vw, 24px); color: var(--on-bg); letter-spacing: -0.02em;
}
.cal-year {
  font-family: var(--f-mono); font-size: 12px; color: var(--text-soft); font-weight: 500;
}
.cal-close {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--line);
  color: var(--on-bg); transition: all 0.15s ease;
}
.cal-close:hover { background: var(--on-bg); color: var(--bg); }

.cal-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cal-nav-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--line);
  color: var(--on-bg); transition: all 0.15s ease;
}
.cal-nav-btn:hover { background: var(--on-bg); color: var(--bg); }
.cal-month-label {
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  color: var(--on-bg); letter-spacing: -0.01em;
}

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.cal-dow {
  text-align: center; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; color: var(--text-soft); font-weight: 600;
  padding: 4px 0 8px;
}
.cal-cell {
  aspect-ratio: 1; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.12s ease; user-select: none;
  position: relative;
}
.cal-cell.empty { background: transparent; cursor: default; }
.cal-cell.open { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.cal-cell.open:hover { background: rgba(34, 197, 94, 0.25); color: #15803d; }
[data-theme="dark"] .cal-cell.open { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
[data-theme="dark"] .cal-cell.open:hover { background: rgba(74, 222, 128, 0.28); }
.cal-cell.past { background: transparent; color: var(--text-soft); opacity: 0.35; cursor: not-allowed; }
.cal-cell.blocked {
  background: rgba(224, 49, 39, 0.08); color: #b91c1c;
  text-decoration: line-through; cursor: not-allowed; opacity: 0.6;
}
[data-theme="dark"] .cal-cell.blocked { background: rgba(224, 49, 39, 0.14); color: #f87171; }
.cal-cell.sel-start,
.cal-cell.sel-end {
  background: var(--red) !important; color: white !important;
  border-radius: 50%; font-weight: 700;
}
.cal-cell.in-range {
  background: rgba(224,49,39,0.12); color: var(--red);
  border-radius: 0;
}
.cal-cell.in-range:first-child { border-radius: 8px 0 0 8px; }
.cal-cell.in-range:last-child  { border-radius: 0 8px 8px 0; }

.cal-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-top: 4px; border-top: 1px solid var(--line);
}
.leg-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-soft); font-weight: 600;
}
.leg-dot {
  width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0;
}
.leg-dot.open    { background: rgba(34, 197, 94, 0.25); border: 1px solid rgba(34,197,94,0.4); }
.leg-dot.blocked { background: rgba(224, 49, 39, 0.35); }
.leg-dot.selected { background: var(--red); }

.cal-range-display {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px;
}
.cal-range-dates {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  color: var(--on-bg); letter-spacing: 0.06em;
}
.cal-confirm { white-space: nowrap; }
.cal-hint {
  text-align: center; font-family: var(--f-mono); font-size: 11px;
  color: var(--text-soft); letter-spacing: 0.08em;
}

/* Venta grid handled by .sale-section .vehicle-grid rules above */
