/* ==========================================================================
   SEMINUEVOS LORETO · styles.css (tema WordPress)
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
  --ink: #161b3d;
  --ink-2: #3a4060;
  --muted: #5d6280;
  --line: #e3e5ef;
  --line-2: #d2d6e6;
  --bg: #ffffff;
  --bg-2: #f5f6fa;
  --bg-3: #eceef5;
  --dark: #141a45;
  --dark-2: #222a5e;
  --teal: #c8243a;
  --teal-dark: #a11b2e;
  --teal-soft: #fbe9ec;
  --amber: #a86a0c;
  --amber-soft: #fbf0dc;
  --red: #b3261e;
  --red-soft: #fbe8e6;
  --blue: #2f5f9e;
  --blue-soft: #e5edf7;
  --violet: #6a4fa3;
  --violet-soft: #eee9f7;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 26, 69, .05), 0 12px 32px rgba(20, 26, 69, .08);
  --shadow-lg: 0 24px 64px rgba(20, 26, 69, .18);
  --font: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1240px;
  --navy: #252e7c;
  --navy-soft: #e8eaf6;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. RESET Y BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ==========================================================================
   3. WORDPRESS · ESTRUCTURA GENERAL
   ========================================================================== */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .sl-main > *, .entry-content > * { margin-block-start: 0; margin-block-end: 0; }
.wp-block-columns { margin-bottom: 0; }
.wp-block-group.sl-header, .sl-hero, .sl-section, .sl-page-head, .sl-page, .sl-footer { padding-left: 24px; padding-right: 24px; }
html { scroll-behavior: smooth; }
.sl-main [id] { scroll-margin-top: 88px; }
.sl-mount { width: 100%; }
.sl-stack > * + * { margin-top: 20px; }
.wp-block-image.sl-img { margin: 0; }
.wp-block-image.sl-img img { display: block; width: 100%; height: auto; border-radius: 22px; }
.wp-block-list { margin: 0; }
.sl-admin-main .sl-mount { min-height: 100vh; }

/* ==========================================================================
   4. HEADER Y LOGO (bloques nativos)
   ========================================================================== */
.sl-header-part { position: sticky; top: 0; z-index: 40; }
.admin-bar .sl-header-part { top: 32px; }
.wp-block-group.sl-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.sl-header-inner { min-height: 72px; gap: 12px 24px; }
.wp-block-image.sl-logo { margin: 0; }
.wp-block-image.sl-logo img { display: block; height: 52px; width: auto; }
.sl-nav { font-size: 14px; font-weight: 600; gap: 2px; }
.sl-nav .wp-block-navigation-item__content { padding: 8px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.sl-nav .wp-block-navigation-item__content:hover { background: var(--bg-2); color: var(--ink); }
.sl-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.sl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 18px; padding: 10px 0; }
.sl-header-actions { gap: 10px; }

/* ==========================================================================
   5. BOTONES (bloques nativos)
   ========================================================================== */
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .2s var(--ease); }
.sl-btn-sm .wp-block-button__link { min-height: 40px; padding: 0 16px; font-size: 14px; }
.sl-btn-dark .wp-block-button__link { background: var(--ink); color: #fff; }
.sl-btn-dark .wp-block-button__link:hover { background: #000; color: #fff; }
.sl-btn-outline .wp-block-button__link { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.sl-btn-outline .wp-block-button__link:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.sl-actions { gap: 12px; }

/* ==========================================================================
   6. HERO Y BUSCADOR
   ========================================================================== */
.wp-block-group.sl-hero { background: linear-gradient(180deg, var(--navy-soft) 0%, #fff 100%); padding-top: 64px; padding-bottom: 72px; }
.sl-hero-grid.wp-block-columns { gap: 56px; align-items: center; margin-bottom: 40px; }
.sl-hero-copy > * + * { margin-top: 22px; }
.sl-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); font-weight: 500; }
.sl-dark .sl-eyebrow { color: #ff8a9a; }
.sl-hero-title { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.sl-hero-sub { font-size: 19px; color: var(--ink-2); max-width: 30em; }
.sl-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sl-points li { display: flex; align-items: center; gap: 8px; }
.sl-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.sl-img-hero img { aspect-ratio: 5 / 4; object-fit: cover; }
.search-card { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.search-card-title { font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.search-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }
.search-grid .btn { height: 46px; }

/* ==========================================================================
   7. SECCIONES Y PÁGINAS
   ========================================================================== */
.wp-block-group.sl-section { padding-top: 96px; padding-bottom: 96px; }
.wp-block-group.sl-alt { background: var(--bg-2); }
.wp-block-group.sl-dark { background: var(--dark); color: #fff; }
.sl-section-head { gap: 16px 24px; margin-bottom: 36px; }
.sl-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.sl-sub { color: var(--muted); font-size: 17px; max-width: 36em; }
.sl-head-copy > .sl-sub { margin-top: 10px; }
.sl-dark .sl-sub { color: #b9c2c5; }
.sl-link-arrow a { font-weight: 700; font-size: 15px; text-decoration: none; }
.sl-link-arrow a::after { content: " →"; }
.sl-split.wp-block-columns { gap: 56px; align-items: center; }
.sl-checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sl-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.sl-checks li::before { content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.sl-dark .sl-checks li::before { background: rgba(255, 255, 255, .12); color: #fff; }
.wp-block-group.sl-page-head { padding-top: 48px; padding-bottom: 28px; }
.sl-page-head h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.sl-page-head p { color: var(--muted); font-size: 17px; margin-top: 8px; }
.wp-block-group.sl-page { padding-bottom: 96px; }
.wp-block-group.sl-page-top { padding-top: 40px; }
.sl-form-cols.wp-block-columns { gap: 48px; align-items: flex-start; }
.sl-form-cols .sl-form-col { flex-basis: 58%; }
.sl-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sl-card > * + * { margin-top: 10px; }
.sl-card-title { font-size: 20px; font-weight: 800; }
.sl-calc-page .calc, #financiamiento .calc { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.sl-404 > * + * { margin-top: 16px; }
.sl-posts .sl-post-title { font-size: 26px; margin-top: 32px; }

/* ==========================================================================
   8. CÓMO FUNCIONA
   ========================================================================== */
.sl-steps.wp-block-columns { gap: 20px; }
.wp-block-column.sl-step { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sl-step > * + * { margin-top: 12px; }
.sl-step-num { font-family: var(--mono); font-size: 13px; color: var(--teal-dark); }
.sl-step h3 { font-size: 19px; font-weight: 800; }
.sl-step p:not(.sl-step-num) { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   9. PREGUNTAS FRECUENTES
   ========================================================================== */
.sl-faq { border-top: 1px solid var(--line); max-width: 880px; }
.wp-block-details.sl-faq-item { border-bottom: 1px solid var(--line); margin: 0; }
.sl-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 700; }
.sl-faq-item summary::-webkit-details-marker { display: none; }
.sl-faq-item summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--teal); }
.sl-faq-item[open] summary::after { content: "–"; }
.sl-faq-item p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* ==========================================================================
   10. FOOTER (bloques nativos)
   ========================================================================== */
.wp-block-group.sl-footer { background: var(--dark); color: #c4ccd0; padding-top: 64px; padding-bottom: 28px; }
.sl-footer-cols.wp-block-columns { gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sl-footer-brand > * + * { margin-top: 14px; }
.sl-footer-brand p { font-size: 14px; max-width: 26em; }
.wp-block-image.sl-logo-footer { display: inline-block; padding: 12px 16px; background: #fff; border-radius: var(--radius-sm); }
.wp-block-image.sl-logo-footer img { height: 110px; }
.sl-footer-title { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: 0; }
.sl-footer-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.sl-footer a { color: #c4ccd0; text-decoration: none; }
.sl-footer a:hover { color: #fff; }
.sl-demo { font-family: var(--mono); font-size: 11px !important; color: #7b878c; }
.sl-footer-bottom { padding-top: 24px; gap: 16px; font-size: 13px; align-items: center; }
.sl-legal { gap: 18px; align-items: center; }
.sl-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sl-legal-links a { color: #98a3a8; }
.sl-access a { font-size: 11px; color: #59656b; }
.sl-access a:hover { color: #aab4b8; }

/* ==========================================================================
   11. COMPONENTES · BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #a42b22; color: #fff; }
.btn-delete { color: var(--red); border-color: var(--red-soft); }
.btn-delete:hover { color: #fff; background: var(--red); border-color: var(--red); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-xs { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { background: var(--bg-3); border-color: var(--bg-3); color: #9aa2a7; cursor: not-allowed; }

/* ==========================================================================
   12. COMPONENTES · FORMULARIOS
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input[type="range"] { height: 28px; padding: 0; border: 0; accent-color: var(--teal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field input:disabled, .field select:disabled { background: var(--bg-2); color: var(--muted); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .req { color: var(--red); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { font-size: 12px; font-weight: 600; color: var(--red); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.form-msg { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--red-soft); color: var(--red); }
.form-msg.is-ok { background: var(--teal-soft); color: var(--teal-dark); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.success-box { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 32px; background: var(--teal-soft); border-radius: var(--radius); }
.success-box h3 { font-size: 22px; }

/* ==========================================================================
   13. COMPONENTES · PLACEHOLDERS DE IMAGEN
   ========================================================================== */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, #eef1f1 0 12px, #e5e9ea 12px 24px);
  color: var(--muted);
}
.ph span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  background: rgba(255, 255, 255, .9);
  padding: 5px 10px;
  border-radius: 6px;
  text-align: center;
  max-width: 85%;
}
.ph-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-hero { aspect-ratio: 5 / 4; border-radius: 22px; }
.ph-wide { aspect-ratio: 16 / 7; border-radius: 22px; }

/* ==========================================================================
   14. COMPONENTES · UTILIDADES
   ========================================================================== */
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.detail-similar { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 56px 0 24px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.link-arrow { font-weight: 700; font-size: 15px; display: inline-flex; gap: 6px; }
.link-arrow::after { content: "→"; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { display: block; height: 44px; width: auto; padding: 4px 8px; background: #fff; border-radius: 8px; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name strong { font-weight: 800; }
.form-legend { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); grid-column: 1 / -1; padding-top: 6px; }
.demo-note { font-family: var(--mono); font-size: 11px; color: #7b878c; }

/* ==========================================================================
   15. COMPONENTES · TARJETAS DE VEHÍCULO
   ========================================================================== */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-wrap:empty { display: none; }
.more-wrap .btn { min-width: 240px; padding: 14px 28px; }
.more-wrap .more-left { opacity: .7; font-weight: 500; margin-left: 4px; }
.car-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.car-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.car-media { position: relative; display: block; background: var(--bg-2); }
.car-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.car-year { font-size: 13px; color: var(--muted); font-weight: 600; }
.car-title { font-size: 20px; font-weight: 800; }
.car-title a { color: var(--ink); }
.car-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.car-specs li { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); padding: 4px 9px; border-radius: 6px; }
.car-price { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 8px; margin-top: auto; padding-top: 8px; }
.price { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.monthly { font-size: 13px; color: var(--teal-dark); font-weight: 600; }
.car-card.is-sold .ph, .car-card.is-sold .ph-img { filter: grayscale(1); opacity: .7; }
.car-card.is-sold .price { color: var(--muted); text-decoration: line-through; }
.tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: var(--teal-dark); }
.tag-sold { background: var(--red); color: #fff; }
.tag-warn { background: var(--amber-soft); color: var(--amber); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.tag-sold .dot { background: #fff; }
.fav-btn { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; line-height: 1; color: var(--ink-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.fav-btn:hover { color: var(--red); }
.fav-btn.is-on { color: var(--red); }

/* ==========================================================================
   16. COMPONENTES · INVENTARIO Y FILTROS
   ========================================================================== */
.buy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 17px; font-weight: 800; }
.text-btn { border: 0; background: none; padding: 0; font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.text-btn:hover { color: var(--teal); }
.range-val { font-family: var(--mono); font-weight: 500; color: var(--teal-dark); font-size: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg button { height: 36px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 600; }
.seg button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.count { font-size: 18px; font-weight: 700; }
.count strong { color: var(--teal-dark); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.sort select { height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 14px; background: #fff; }
.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.empty h3 { color: var(--ink); font-size: 20px; }

/* ==========================================================================
   17. COMPONENTES · FICHA DEL VEHÍCULO
   ========================================================================== */
.detail { padding-bottom: 96px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.gallery-main .ph, .gallery-main .ph-img { aspect-ratio: 16 / 10; }
/* Zoom de la foto principal + visor a pantalla completa */
.gallery-main[data-action="zoom"] { position: relative; cursor: zoom-in; }
.gallery-main[data-action="zoom"]:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(20, 26, 69, .85); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; transition: transform .2s var(--ease); }
.gallery-main[data-action="zoom"]:hover .zoom-hint { transform: scale(1.06); }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: rgba(8, 11, 36, .95); color: #fff; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.lb-count { font-size: 14px; font-weight: 600; opacity: .85; }
.lb-tools { display: flex; gap: 8px; }
.lb button { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; }
.lb.is-zoomed .lb-stage { cursor: grab; }
.lb.is-dragging.is-zoomed .lb-stage { cursor: grabbing; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; flex: none; transition: opacity .2s; -webkit-user-drag: none; }
.lb.is-loading .lb-img { opacity: .25; }
.lb-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px !important; padding: 0 0 4px !important; }
.lb-nav.is-prev { left: 12px; }
.lb-nav.is-next { right: 12px; }
.lb-hint { margin: 0; padding: 8px 14px 14px; text-align: center; font-size: 12px; opacity: .65; }
@media (max-width: 700px) { .lb-nav { width: 42px; height: 42px; } .lb-hint { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .lb-img { transition: none; } }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumb-btn { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; }
.thumb-btn.is-active { border-color: var(--teal); }
.thumb-btn .ph span { font-size: 9px; padding: 3px 5px; }
.detail-info { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.detail-title { font-size: 32px; font-weight: 800; }
.detail-price { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price .price { font-size: 34px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.spec-grid dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.spec-grid dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; }
.sold-banner { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--red); color: #fff; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }
.sold-banner .dot { background: #fff; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber); font-weight: 700; font-size: 14px; }
.detail-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 16px; }
.info-card h2 { font-size: 20px; font-weight: 800; }
.info-card p { color: var(--ink-2); }
.detail-sections-full { margin-top: 20px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.feature-list li { font-size: 14px; padding-left: 14px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ==========================================================================
   18. COMPONENTES · SIMULADOR DE FINANCIAMIENTO
   ========================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.calc-fields { display: flex; flex-direction: column; gap: 18px; }
.calc-out { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.calc-min { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.calc-label { font-size: 13px; font-weight: 700; color: #b9c2c5; text-transform: uppercase; letter-spacing: .06em; }
.calc-monthly { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.calc-monthly small { font-size: 16px; font-weight: 600; color: #b9c2c5; }
.calc-dl { margin: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.calc-dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.calc-dl dt { color: #b9c2c5; }
.calc-dl dd { margin: 0; font-weight: 700; }
.disclaimer { font-size: 12px; color: #9aa6aa; }
.calc-compact { grid-template-columns: 1fr; }
.calc-compact .calc-monthly { font-size: 34px; }
.finance-page { padding-bottom: 96px; }
.finance-page .calc { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ==========================================================================
   19. ADMIN · LOGIN
   ========================================================================== */
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg-2); }
.login-side { background: var(--dark); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.login-side .brand { color: #fff; }
.login-side h2 { font-size: 36px; font-weight: 800; max-width: 12em; }
.login-side p { color: #b9c2c5; max-width: 28em; }
.login-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.login-card h1 { font-size: 30px; font-weight: 800; }
.login-card .lead { color: var(--muted); }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-links { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.demo-box { font-size: 13px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px dashed var(--line-2); color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.demo-box code { font-family: var(--mono); font-size: 12px; }
.security-note { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   20. ADMIN · ESTRUCTURA
   ========================================================================== */
.admin { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: var(--bg-2); }
.admin-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 22px 16px; background: var(--dark); color: #c4ccd0; }
.admin-side .brand { color: #fff; padding: 0 8px; }
.admin-side .brand-sub { display: block; font-size: 11px; font-family: var(--mono); color: #7b878c; font-weight: 400; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #c4ccd0; }
.admin-nav a:hover { background: var(--dark-2); color: #fff; }
.admin-nav a.is-active { background: var(--teal); color: #fff; }
.nav-sep { height: 1px; background: rgba(255, 255, 255, .08); margin: 10px 4px; }
.nav-count { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(255, 255, 255, .12); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.side-foot { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.sync { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9aa6aa; }
.sync .dot { color: #3fbfae; }
.sync.is-pulse .dot { color: #fff; box-shadow: 0 0 0 4px rgba(63, 191, 174, .35); }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 32px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.admin-title { font-size: 22px; font-weight: 800; }
.admin-crumb { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.admin-user { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.user-chip { display: flex; flex-direction: column; text-align: right; line-height: 1.25; }
.user-chip strong { font-size: 14px; }
.role-pill { font-size: 11px; font-weight: 700; color: var(--teal-dark); }
.admin-content { padding: 28px 32px 64px; display: flex; flex-direction: column; gap: 24px; }
.admin-mobile-nav { display: none; }
.denied { padding: 48px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.denied h2 { font-size: 22px; }
.denied p { color: var(--muted); }

/* ==========================================================================
   21. ADMIN · DASHBOARD
   ========================================================================== */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.kpi-value { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.kpi-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi.is-accent { background: var(--teal); border-color: var(--teal); color: #fff; }
.kpi.is-accent .kpi-label { color: #d4efeb; }
.kpi a { color: inherit; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-title { font-size: 16px; font-weight: 800; }
.panel-sub { font-size: 13px; color: var(--muted); }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart-axis { stroke: var(--line-2); stroke-width: 1; }
.chart-bar { fill: var(--teal); }
.chart-bar.alt { fill: var(--ink-2); }
.chart-track { fill: var(--bg-2); }
.chart-val { font-family: var(--mono); font-size: 11px; fill: var(--ink); }
.chart-lbl { font-family: var(--font); font-size: 11px; font-weight: 600; fill: var(--muted); }
.fill-adquirido { fill: var(--violet); }
.fill-en_preparacion { fill: var(--blue); }
.fill-disponible { fill: var(--teal); }
.fill-apartado { fill: var(--amber); }
.fill-vendido { fill: var(--red); }
.fill-oculto { fill: #8b959a; }
.fill-nueva { fill: var(--teal); }
.fill-contactado { fill: var(--blue); }
.fill-en_proceso { fill: var(--amber); }
.fill-completada { fill: var(--ink-2); }
.fill-cancelada { fill: #8b959a; }
.recent-list { display: flex; flex-direction: column; }
.recent-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.recent-item:last-child { border-bottom: 0; }
.recent-item .thumb { width: 56px; border-radius: 8px; }
.recent-item strong { display: block; font-size: 14px; }
.recent-item span.sub { font-size: 12px; color: var(--muted); }
.panel-foot { display: flex; justify-content: center; padding-top: 4px; }

/* ==========================================================================
   22. ADMIN · TABLAS Y FILTROS
   ========================================================================== */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.toolbar-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar select, .toolbar input { height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 14px; background: #fff; }
.toolbar input[type="search"] { min-width: 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-count { font-family: var(--mono); font-size: 11px; opacity: .7; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 980px; }
.table th { text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fafbfb; }
.table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .sub { display: block; font-size: 12px; color: var(--muted); }
.table .muted { color: var(--muted); }
.table-empty { padding: 40px; text-align: center; color: var(--muted); }
.thumb { width: 72px; border-radius: 8px; overflow: hidden; }
.thumb .ph span { font-size: 8px; padding: 2px 4px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: 260px; }
.act { border: 0; background: none; padding: 0; font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.act:hover { color: var(--teal); text-decoration: underline; }
.act-strong { color: var(--ink); }
.act-danger { color: var(--red); }
.act.is-disabled { color: #a9b1b5; cursor: not-allowed; text-decoration: none; }

/* ==========================================================================
   23. ADMIN · ESTADOS
   ========================================================================== */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-select { height: 32px; border-radius: 999px; padding: 0 28px 0 12px; font: inherit; font-size: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.st-adquirido { background: var(--violet-soft); color: var(--violet); }
.st-en_preparacion { background: var(--blue-soft); color: var(--blue); }
.st-disponible { background: var(--teal-soft); color: var(--teal-dark); }
.st-apartado { background: var(--amber-soft); color: var(--amber); }
.st-vendido { background: var(--red-soft); color: var(--red); }
.st-oculto { background: var(--bg-3); color: var(--ink-2); }
.st-nueva { background: var(--teal-soft); color: var(--teal-dark); }
.st-contactado { background: var(--blue-soft); color: var(--blue); }
.st-en_proceso { background: var(--amber-soft); color: var(--amber); }
.st-completada { background: var(--bg-3); color: var(--ink); }
.st-cancelada { background: var(--bg-3); color: var(--muted); }
.type-pill { font-size: 12px; font-weight: 700; color: var(--ink-2); }

/* ==========================================================================
   24. ADMIN · FORMULARIO DE VEHÍCULO
   ========================================================================== */
.vform { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.vform-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.vform-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.form-section-title { font-size: 16px; font-weight: 800; display: flex; justify-content: space-between; gap: 10px; }
.form-section-title span { font-size: 12px; font-weight: 600; color: var(--muted); }
.margin-box { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.margin-box div { display: flex; justify-content: space-between; gap: 10px; }
.margin-box .total { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 800; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-item { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; }
.photo-item.is-main { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-soft); }
.photo-main-tag { position: absolute; top: 8px; left: 8px; background: var(--teal); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.photo-tools { display: flex; justify-content: space-between; gap: 4px; padding: 6px 8px; background: #fff; border-top: 1px solid var(--line); }
.photo-tools button { border: 0; background: none; padding: 4px 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); border-radius: 6px; }
.photo-tools button:hover { background: var(--bg-2); color: var(--ink); }
.photo-tools button[disabled] { color: #c3c9cc; background: none; cursor: default; }
.upload-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 4 / 3; border: 2px dashed var(--line-2); border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; padding: 10px; }
.upload-box:hover { border-color: var(--teal); color: var(--teal-dark); }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.locked-note { font-size: 13px; color: var(--muted); padding: 12px 14px; background: var(--bg-2); border-radius: var(--radius-sm); }

/* ==========================================================================
   25. ADMIN · PESTAÑAS
   ========================================================================== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.tab { padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--teal-dark); border-bottom-color: var(--teal); }

/* ==========================================================================
   26. MODAL
   ========================================================================== */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(15, 20, 22, .55); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.modal { width: 100%; max-width: 520px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-height: calc(100vh - 48px); overflow-y: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 0; }
.modal-head h2 { font-size: 22px; font-weight: 800; }
.modal-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.modal-close { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--bg-2); font-size: 20px; line-height: 1; }
.modal-close:hover { background: var(--bg-3); }
.modal-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.effect-list { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); padding: 14px 16px; background: var(--bg-2); border-radius: var(--radius-sm); }
.effect-list li { padding-left: 16px; position: relative; }
.effect-list li::before { content: "•"; position: absolute; left: 2px; color: var(--teal); }
.confirm-q { font-size: 17px; font-weight: 700; }

/* ==========================================================================
   27. TOAST
   ========================================================================== */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); transition: opacity .2s, transform .2s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: var(--red); }

/* ==========================================================================
   28. RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .sl-header-actions { display: none; }
  .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-grid .btn { grid-column: 1 / -1; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vform { grid-template-columns: 1fr; }
  .vform-side { position: static; }
}
@media (max-width: 980px) {
  .sl-steps.wp-block-columns { flex-wrap: wrap; }
  .sl-steps.wp-block-columns.wp-block-columns > .wp-block-column { flex-basis: calc(50% - 10px); }
  .detail-grid, .login-page { grid-template-columns: 1fr; }
  .detail-info, .filters { position: static; }
  .buy-layout { grid-template-columns: 1fr; }
  .detail-sections, .panel-grid, .calc { grid-template-columns: 1fr; }
  .login-side { display: none; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .admin-mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; background: var(--dark); }
  .admin-mobile-nav a { flex-shrink: 0; padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #c4ccd0; }
  .admin-mobile-nav a.is-active { background: var(--teal); color: #fff; }
  .admin-top, .admin-content { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 782px) {
  .admin-bar .sl-header-part { top: 46px; }
  .wp-block-group.sl-hero { padding-top: 40px; }
  .sl-hero-grid.wp-block-columns, .sl-split.wp-block-columns, .sl-form-cols.wp-block-columns, .sl-footer-cols.wp-block-columns { gap: 32px; }
  .wp-block-image.sl-logo img { height: 44px; }
}
@media (max-width: 640px) {
  .wp-block-group.sl-header, .sl-hero, .sl-section, .sl-page-head, .sl-page, .sl-footer { padding-left: 16px; padding-right: 16px; }
  .wp-block-group.sl-section { padding-top: 64px; padding-bottom: 64px; }
  .search-grid, .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .sl-steps.wp-block-columns.wp-block-columns > .wp-block-column { flex-basis: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form-card { padding: 20px; }
  .kpi-value { font-size: 28px; }
}


/* ==========================================================================
   29. AMBIENTE PROFESIONAL · INTERACCIONES CON IMÁGENES
   ========================================================================== */
/* Imágenes con acercamiento suave al pasar el cursor */
.wp-block-image.sl-img, .wp-block-image.sl-cat-img { overflow: hidden; border-radius: 22px; }
.wp-block-image.sl-img img, .sl-cat-img img, .car-media .ph, .car-media .ph-img { transition: transform .6s var(--ease); }
.sl-img-zoom:hover img, .sl-cat-card:hover .sl-cat-img img, .car-card:hover .car-media .ph, .car-card:hover .car-media .ph-img { transform: scale(1.05); }
.sl-img-hero { box-shadow: var(--shadow-lg); }
.car-media { overflow: hidden; }

/* Tarjetas que se elevan */
.car-card, .wp-block-column.sl-step, .sl-testi-card, .sl-cat-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.car-card:hover, .wp-block-column.sl-step:hover, .sl-testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wp-block-button .wp-block-button__link { box-shadow: 0 6px 18px rgba(200, 36, 58, .22); }
.sl-btn-outline .wp-block-button__link, .sl-btn-dark .wp-block-button__link { box-shadow: none; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.btn-primary { box-shadow: 0 6px 18px rgba(200, 36, 58, .22); }
.tag { background: var(--navy); color: #fff; }
.tag-sold { background: var(--ink); }
.st-disponible { background: var(--navy-soft); color: var(--navy); }
.price { color: var(--ink); }
.monthly { color: var(--navy); }

/* Barra de confianza */
.wp-block-group.sl-trust { background: var(--dark); color: #fff; padding: 36px 24px; }
.sl-trust-grid.wp-block-columns { gap: 24px; }
.sl-trust-item { text-align: center; }
.sl-trust-item + .sl-trust-item { border-left: 1px solid rgba(255, 255, 255, .12); }
.sl-trust-num { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.sl-trust-label { font-size: 14px; color: #c3c7e0; margin-top: 4px; }

/* Categorías con imagen */
.sl-cats.wp-block-columns { gap: 20px; }
.sl-cat-card { position: relative; border-radius: 22px; overflow: hidden; background: var(--dark); }
.wp-block-image.sl-cat-img { margin: 0; border-radius: 0; }
.sl-cat-img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sl-cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 26, 69, 0) 40%, rgba(20, 26, 69, .92) 100%); pointer-events: none; }
.sl-cat-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: #fff; }
.sl-cat-copy > * + * { margin-top: 6px; }
.sl-cat-title { font-size: 24px; font-weight: 800; color: #fff; }
.sl-cat-sub { font-size: 14px; color: #dfe2f2; }
.sl-cat-link a { display: inline-flex; margin-top: 8px; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.sl-cat-link a::after { content: "\00a0→"; transition: margin .3s var(--ease); }
.sl-cat-card:hover .sl-cat-link a::after { margin-left: 4px; }
.sl-cat-link a::before { content: ""; position: absolute; inset: 0; z-index: 2; }

/* Testimonios y prueba social */
.sl-proof.wp-block-columns { gap: 56px; align-items: center; margin-bottom: 56px; }
.sl-proof-copy > * + * { margin-top: 20px; }
.sl-testis.wp-block-columns { gap: 20px; }
.sl-testi-card { height: 100%; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sl-testi-card > * + * { margin-top: 16px; }
.sl-stars { color: #e3a008; letter-spacing: 2px; font-size: 15px; }
.sl-quote { font-size: 16px; color: var(--ink-2); }
.sl-testi-author { gap: 12px; align-items: center; }
.wp-block-image.sl-avatar { margin: 0; flex-shrink: 0; }
.sl-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sl-author-name { font-size: 15px; }
.sl-author-car { font-size: 13px; color: var(--muted); }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .car-card:hover, .wp-block-column.sl-step:hover, .sl-testi-card:hover, .wp-block-button .wp-block-button__link:hover { transform: none; }
}
@media (max-width: 980px) {
  .sl-cats.wp-block-columns { flex-wrap: wrap !important; }
  .sl-cats.wp-block-columns > .wp-block-column { flex-basis: calc(50% - 10px) !important; }
  .sl-trust-grid.wp-block-columns { flex-wrap: wrap !important; }
  .sl-trust-grid.wp-block-columns > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
  .sl-trust-item + .sl-trust-item { border-left: 0; }
}
@media (max-width: 600px) {
  .sl-cats.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
  .sl-cat-img img { aspect-ratio: 16 / 11; }
}

/* ==========================================================================
   30. FOTOGRAFÍAS PRINCIPALES (VENDER MI AUTO Y ADQUISICIONES)
   ========================================================================== */
.sl-img-feature { box-shadow: var(--shadow-lg); }
.sl-img-feature img { aspect-ratio: 7 / 5; object-fit: cover; }
.acq-hero { position: relative; overflow: hidden; border-radius: var(--radius); margin-bottom: 24px; background: var(--dark); box-shadow: var(--shadow); }
.acq-hero-img { display: block; width: 100%; height: 240px; object-fit: cover; transition: transform .6s var(--ease); }
.acq-hero:hover .acq-hero-img { transform: scale(1.04); }
.acq-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 26, 69, .94) 0%, rgba(20, 26, 69, .6) 55%, rgba(20, 26, 69, .1) 100%); }
.acq-hero-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 32px; max-width: 560px; color: #fff; }
.acq-hero-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #ff8a9a; }
.acq-hero-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.acq-hero-sub { font-size: 15px; color: #dfe2f2; }
@media (max-width: 640px) { .acq-hero-img { height: 300px; } .acq-hero-copy { padding: 22px; } }

/* ==========================================================================
   31. IMÁGENES EN SECCIONES DE INICIO
   ========================================================================== */
.wp-block-column.sl-step { overflow: hidden; padding-top: 0; }
.wp-block-image.sl-step-img { margin: 0 -28px 8px; overflow: hidden; }
.sl-step-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.wp-block-column.sl-step:hover .sl-step-img img { transform: scale(1.05); }
.sl-img-banner { margin-bottom: 28px !important; }
/* El banner trae el texto dentro de la imagen: se muestra completo (sin recortar) y centrado en cualquier pantalla */
.sl-img-banner img { aspect-ratio: 1200 / 438; object-fit: contain; object-position: center; }
.sl-faq-cols.wp-block-columns { gap: 56px; align-items: flex-start; }
.sl-faq-media { flex-basis: 38% !important; flex-grow: 0 !important; position: sticky; top: 96px; }
.sl-img-tall img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 52% 65%; }
.car-media .ph-img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 781px) {
  .sl-faq-media { position: static; flex-basis: 100% !important; }
  .sl-img-tall img { aspect-ratio: 16 / 10; }
}

/* ==========================================================================
   32. VENDER MI AUTO · FOTOGRAFÍA ADICIONAL
   ========================================================================== */
.sl-vender-foto { display: flex; align-items: center; justify-content: center; }
.sl-vender-foto .wp-block-image { width: 100%; margin: 0 auto; }
.sl-vender-foto img { width: 100%; aspect-ratio: 700 / 513; object-fit: cover; object-position: center; }

/* ==========================================================================
   33. ANIMACIONES DINÁMICAS (solo CSS, sin scripts adicionales)
   Usa animaciones ligadas al scroll donde el navegador las soporta;
   en navegadores sin soporte el contenido se muestra normal.
   ========================================================================== */
@keyframes sl-fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes sl-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sl-scale-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sl-slide-left { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes sl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes sl-header-shadow { from { box-shadow: none; } to { box-shadow: 0 8px 30px rgba(20, 26, 69, .10); } }
@keyframes sl-shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* Entrada del hero al cargar */
  .sl-hero-copy > * { animation: sl-fade-up .8s var(--ease) backwards; }
  .sl-hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .sl-hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .sl-hero-copy > *:nth-child(4) { animation-delay: .24s; }
  /* La flotación va en el contenedor para no bloquear el zoom de la imagen al pasar el cursor */
  .sl-img-hero { animation: sl-slide-left 1s var(--ease) .15s backwards, sl-float 7s ease-in-out 1.2s infinite; }
  .sl-mount-buscador, .sl-hero .search-card { animation: sl-fade-up .9s var(--ease) .35s backwards; }

  /* Botón principal con brillo */
  .wp-block-button:not(.sl-btn-outline):not(.sl-btn-dark) .wp-block-button__link, .btn-primary {
    background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: sl-shine 1.6s ease-in-out 1.5s 2;
  }

  @supports (animation-timeline: view()) {
    /* Encabezado gana sombra al hacer scroll */
    .wp-block-group.sl-header { animation: sl-header-shadow linear both; animation-timeline: scroll(); animation-range: 0 120px; }

    /* Aparición de secciones al entrar en pantalla */
    .sl-section-head, .sl-trust-item, .sl-cat, .wp-block-column.sl-step, .sl-testi, .sl-proof-media, .sl-proof-copy,
    .sl-split > .wp-block-column, .sl-faq-item, .sl-faq-media, .sl-form-cols > .wp-block-column, .sl-img-banner,
    .car-card, .calc, .sl-footer-cols > .wp-block-column {
      /* backwards: al terminar la entrada se libera transform y el hover (elevación) vuelve a funcionar */
      animation: sl-fade-up linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .sl-cat, .sl-img-banner, .sl-proof-media { animation-name: sl-scale-in; }
    .sl-trust-item { animation-range: entry 10% entry 70%; }
  }
}

/* ==========================================================================
   34. SECCIONES SIN IMAGEN (prueba social y vender mi auto)
   ========================================================================== */
.sl-proof.wp-block-columns { margin-bottom: 0; justify-content: center; }
.sl-proof-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.sl-proof-copy .sl-sub { margin-left: auto; margin-right: auto; }
.sl-proof-copy .sl-actions { justify-content: center; }
.sl-dark .sl-split.wp-block-columns { justify-content: center; }
.sl-dark .sl-split > .sl-stack:only-child { max-width: 760px; text-align: center; }
.sl-dark .sl-split > .sl-stack:only-child .sl-sub { margin-left: auto; margin-right: auto; }
.sl-dark .sl-split > .sl-stack:only-child .sl-checks { align-items: center; }
.sl-dark .sl-split > .sl-stack:only-child .sl-actions { justify-content: center; }

/* ==========================================================================
   35. ENLACE A MAPAS
   ========================================================================== */
.sl-map-link { text-decoration: underline; text-underline-offset: 3px; }
.sl-map-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.wp-block-button__link.sl-map-link { text-decoration: none; }
.sl-card .sl-actions { margin-top: 16px; }

/* ==========================================================================
   36. CONTACTO DIRECTO · WHATSAPP, TELÉFONO Y CORREO
   ========================================================================== */
.sl-btn-wa .wp-block-button__link { background-color: #15803d; color: #fff; box-shadow: 0 6px 18px rgba(21, 128, 61, .25); }
.sl-btn-wa .wp-block-button__link:hover { background-color: #166534; color: #fff; }
.sl-btn-wa .wp-block-button__link::before { content: ""; width: 18px; height: 18px; margin-right: 8px; flex-shrink: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 .9c.3.1.5.2.5.3.1.2.1.7-.1 1.2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 .9c.3.1.5.2.5.3.1.2.1.7-.1 1.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wp-block-group.sl-wa { padding-top: 0; }
.sl-wa-card { max-width: 900px; margin: 0 auto; padding: 48px 40px; text-align: center; border-radius: 28px; background: linear-gradient(135deg, #eafaf1 0%, #f5f6fa 100%); border: 1px solid #cdeedb; box-shadow: var(--shadow); }
.sl-wa-card > * + * { margin-top: 16px; }
.sl-wa-card .sl-eyebrow { color: #15803d; }
.sl-wa-card .sl-sub { margin-left: auto; margin-right: auto; }
.sl-wa-card .sl-actions { justify-content: center; margin-top: 28px; }
.sl-card .sl-actions { gap: 8px; flex-wrap: wrap; }
.sl-footer-list a { text-decoration: none; }
@media (max-width: 640px) { .sl-wa-card { padding: 36px 20px; } .sl-wa-card .sl-actions .wp-block-button { width: 100%; } .sl-wa-card .sl-actions .wp-block-button__link { width: 100%; } }

/* ==========================================================================
   37. CONTACTO · TARJETA VISÍTANOS
   ========================================================================== */
.sl-visit.sl-card { padding: 32px; box-shadow: var(--shadow); }
.sl-visit > * + * { margin-top: 0; }
.sl-visit .sl-card-title { margin-bottom: 20px; }
.sl-info { border-top: 1px solid var(--line); }
.sl-info-row { position: relative; padding: 16px 0 16px 52px; border-bottom: 1px solid var(--line); min-height: 72px; }
.sl-info-row::before { content: ""; position: absolute; left: 0; top: 16px; width: 38px; height: 38px; border-radius: 12px; background-color: var(--navy-soft); }
.sl-info-row::after { content: ""; position: absolute; left: 10px; top: 26px; width: 18px; height: 18px; background-color: var(--navy); -webkit-mask: var(--sl-ico) center / contain no-repeat; mask: var(--sl-ico) center / contain no-repeat; }
.sl-info-dir { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.sl-info-tel { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.sl-info-mail { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.sl-info-hora { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.sl-info-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sl-info-value { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.sl-info-value a { color: var(--ink); text-decoration: none; }
.sl-info-value a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.sl-visit-actions.wp-block-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.sl-visit-actions .wp-block-button { width: 100%; margin: 0; }
.sl-visit-actions .wp-block-button__link { width: 100%; min-height: 44px; padding: 0 12px; font-size: 14px; }
.sl-visit-actions .sl-btn-block { grid-column: 1 / -1; }
.sl-visit-actions .sl-btn-block .wp-block-button__link { min-height: 50px; font-size: 15px; }
@media (max-width: 420px) { .sl-visit.sl-card { padding: 24px 20px; } .sl-visit-actions.wp-block-buttons { grid-template-columns: 1fr; } }

/* ==========================================================================
   38. CONTACTO · AJUSTES DE ESPACIO EN VISÍTANOS
   ========================================================================== */
.sl-info-value, .sl-info-value a { overflow-wrap: anywhere; word-break: break-word; }
.sl-info-mail .sl-info-value { font-size: 14px; }
.sl-visit-actions.wp-block-buttons { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.sl-visit-actions .wp-block-button__link { white-space: nowrap; padding: 0 10px; font-size: 13.5px; letter-spacing: -0.01em; }
.sl-visit-actions .sl-btn-block .wp-block-button__link { font-size: 15px; }

/* ==========================================================================
   39. ACABADO FINAL · MICROINTERACCIONES (inspiradas en Sonner y Vaul)
   Curvas de salida rápidas, respuesta táctil al presionar, notificaciones
   apiladas y modal tipo "bottom sheet" en celular.
   ========================================================================== */
:root { --ease: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1); }

/* Respuesta al presionar */
.btn, .wp-block-button__link, .chip, .seg button, .fav-btn, .thumb-btn, .act { transition: transform .16s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:active, .wp-block-button__link:active, .chip:active, .seg button:active, .thumb-btn:active { transform: scale(.97); }
.fav-btn:active { transform: scale(.88); }

/* Efectos hover solo en dispositivos con puntero (evita estados pegados en celular) */
@media (hover: none) {
  .car-card:hover, .wp-block-column.sl-step:hover, .sl-testi-card:hover, .wp-block-button .wp-block-button__link:hover { transform: none; }
  .sl-img-zoom:hover img, .sl-cat-card:hover .sl-cat-img img, .car-card:hover .car-media .ph, .car-card:hover .car-media .ph-img, .wp-block-column.sl-step:hover .sl-step-img img, .acq-hero:hover .acq-hero-img { transform: none; }
}

/* Foco visible y consistente */
a:focus-visible, button:focus-visible, select:focus-visible, .wp-block-button__link:focus-visible, summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

/* Notificación estilo Sonner */
.toast { left: auto; right: 24px; bottom: 24px; transform: translateY(16px) scale(.96); max-width: 360px; padding: 14px 18px; border-radius: 14px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 38px rgba(20, 26, 69, .16), 0 2px 6px rgba(20, 26, 69, .06); font-size: 14px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toast.is-show { transform: none; }
.toast::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #15803d; vertical-align: 1px; }
.toast.is-error { background: #fff; color: var(--red); border-color: var(--red-soft); }
.toast.is-error::before { background: var(--red); }

/* Modal con entrada suave; bottom sheet en celular */
@keyframes sl-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sl-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sl-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
.modal-backdrop { background: rgba(20, 26, 69, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: sl-overlay-in .3s var(--ease) both; }
.modal { animation: sl-dialog-in .35s var(--ease) both; border-radius: 20px; }
@media (max-width: 640px) {
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal { max-width: none; border-radius: 22px 22px 0 0; max-height: 88vh; animation: sl-sheet-in .45s var(--ease) both; }
  .modal::before { content: ""; display: block; width: 40px; height: 5px; margin: 10px auto 0; border-radius: 99px; background: var(--line-2); }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* Acordeón con apertura suave */
.sl-faq-item summary { transition: color .2s; }
.sl-faq-item summary::after { transition: transform .3s var(--ease); }
.sl-faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .sl-faq-item[open] > p { animation: sl-fade-up .4s var(--ease) both; }
}

/* Detalles tipográficos */
body { font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; }
.price, .kpi-value, .calc-monthly, .sl-trust-num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .modal, .modal-backdrop, .toast { animation: none !important; transition: opacity .2s !important; }
  .btn:active, .wp-block-button__link:active { transform: none; }
}

/* ==========================================================================
   40. CONTACTO · REDISEÑO (panel con canales y formulario)
   ========================================================================== */
.wp-block-group.sl-contact { padding-top: 32px; }
.sl-contact-panel { position: relative; overflow: hidden; border-radius: 32px; background: radial-gradient(120% 140% at 0% 0%, #2a3488 0%, var(--dark) 55%, #10143a 100%); color: #fff; padding: 56px; box-shadow: var(--shadow-lg); }
.sl-contact-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 36, 58, .35), rgba(200, 36, 58, 0) 70%); pointer-events: none; }
.sl-contact-cols.wp-block-columns { position: relative; z-index: 1; gap: 56px; align-items: stretch; }
.sl-contact-info { display: flex; flex-direction: column; }
.sl-contact-info > * + * { margin-top: 16px; }
.sl-contact .sl-eyebrow { color: #ff8a9a; }
.sl-contact-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.sl-contact-sub { font-size: 17px; color: #c9cde6; max-width: 30em; }
.sl-ctiles { display: grid; gap: 12px; margin-top: 28px !important; }
.sl-ctile { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease); }
.sl-ctile::before { content: ""; grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1) var(--sl-ico) center / 20px no-repeat; }
.sl-ctile::after { content: ""; grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; background-color: rgba(255, 255, 255, .5); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s var(--ease), background-color .25s; }
.sl-ctile:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.sl-ctile:hover::after { transform: translate(2px, -2px); background-color: #fff; }
.sl-ctile:active { transform: scale(.985); }
.sl-ctile-label { grid-column: 2; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9ea4cc; }
.sl-ctile-value { grid-column: 2; margin: 2px 0 0 !important; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.sl-ctile-value a { color: #fff; text-decoration: none; }
.sl-ctile-value a::before { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.sl-ctile-value a:focus-visible { outline: none; }
.sl-ctile:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.sl-ctile-wa::before { background-color: #15803d; }
.sl-ctile-wa { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.6-4.6A8.5 8.5 0 1 1 8 19.6L3 21z'/%3E%3Cpath d='M9 10c.5 2 2 3.5 4 4l1.2-1.2 2 .8v1.6c-3.5.6-8-3.9-7.4-7.4H10l.8 2L9 10z'/%3E%3C/svg%3E"); }
.sl-ctile-tel { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.sl-ctile-mail { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.sl-visit-row { position: relative; margin-top: auto !important; padding: 20px 0 0 58px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sl-contact-info .sl-visit-row { margin-top: 28px !important; }
.sl-visit-row::before { content: ""; position: absolute; left: 0; top: 20px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.sl-visit-row > * + * { margin-top: 4px; }
.sl-visit-addr { font-size: 15px; font-weight: 600; line-height: 1.45; }
.sl-visit-addr a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.sl-visit-addr a:hover { text-decoration-color: #fff; }
.sl-visit-hours { font-size: 14px; color: #c9cde6; }
.sl-contact-form { padding: 32px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.sl-contact-form-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; color: var(--ink); }
.sl-contact-form .form-card { padding: 0; border: 0; box-shadow: none; background: transparent; }
.sl-contact-form .form-actions .btn { width: 100%; }
.sl-contact-form .success-box { background: var(--navy-soft); }
@media (max-width: 980px) {
  .sl-contact-panel { padding: 40px 28px; border-radius: 26px; }
  .sl-contact-cols.wp-block-columns { flex-wrap: wrap !important; gap: 36px; }
  .sl-contact-cols.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 640px) {
  .wp-block-group.sl-contact { padding-left: 12px; padding-right: 12px; }
  .sl-contact-panel { padding: 32px 18px; border-radius: 22px; }
  .sl-contact-form { padding: 22px 18px; border-radius: 18px; }
  .sl-ctile-value { font-size: 15px; }
}

/* ==========================================================================
   41. ESTADO DE CARGA (datos desde Supabase)
   ========================================================================== */
.sl-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 160px; color: var(--muted); font-size: 15px; font-weight: 600; }
.sl-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--navy); animation: sl-spin .8s linear infinite; }
@keyframes sl-spin { to { transform: rotate(360deg); } }
.sl-admin-main .sl-loading { min-height: 100vh; }
button[disabled] { cursor: progress; }

/* ==========================================================================
   42. ADMIN · MARCA Y TIPO DE VEHÍCULO
   ========================================================================== */
.field-brand-other { display: none; }
.form-grid:has(#f-brand option[value="__otra"]:checked) .field-brand-other { display: flex; }
.type-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.type-opt { position: relative; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-opt span { display: flex; align-items: center; justify-content: center; height: 52px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s, transform .16s var(--ease); }
.type-opt:hover span { border-color: var(--navy); }
.type-opt input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.type-opt input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.type-opt:active span { transform: scale(.97); }
@media (max-width: 640px) { .type-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   43. FOOTER · REDES SOCIALES
   ========================================================================== */
.sl-social { margin-top: 22px !important; }
.sl-social-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9ea4cc; }
.sl-social-list { list-style: none; padding: 0; margin: 10px 0 0 !important; display: flex; gap: 10px; }
.sl-social-link { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 0; color: transparent !important; position: relative; transition: background-color .2s, transform .16s var(--ease), border-color .2s; }
.sl-social-link::before { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; background: #fff; -webkit-mask: var(--sl-ico) center / contain no-repeat; mask: var(--sl-ico) center / contain no-repeat; }
.sl-social-link:hover { background: var(--teal); border-color: var(--teal); }
.sl-social-link:active { transform: scale(.94); }
.sl-social-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sl-social-instagram { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 8.2A3.2 3.2 0 1 1 12 8.8a3.2 3.2 0 0 1 0 6.4zM17.3 5.5a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4zM7.5 2h9A5.5 5.5 0 0 1 22 7.5v9a5.5 5.5 0 0 1-5.5 5.5h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2zm0 1.8A3.7 3.7 0 0 0 3.8 7.5v9a3.7 3.7 0 0 0 3.7 3.7h9a3.7 3.7 0 0 0 3.7-3.7v-9a3.7 3.7 0 0 0-3.7-3.7z'/%3E%3C/svg%3E"); }
.sl-social-facebook { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-8.2h2.8l.4-3.2h-3.2V8.5c0-.9.3-1.6 1.6-1.6h1.7V4.1c-.3 0-1.3-.1-2.5-.1-2.5 0-4.2 1.5-4.2 4.3v2.3H7.3v3.2h2.8V22z'/%3E%3C/svg%3E"); }
.sl-social-tiktok { --sl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 2h-3.2v13.3a2.9 2.9 0 1 1-2.9-2.9c.3 0 .6 0 .9.1V9.2a6.1 6.1 0 1 0 5.2 6V8.4a7.9 7.9 0 0 0 4.4 1.4V6.6c-2.4 0-4.4-2-4.4-4.6z'/%3E%3C/svg%3E"); }

/* ==========================================================================
   44. REFINAMIENTO VISUAL (tipografía, profundidad, movimiento)
   ========================================================================== */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -0.025em; text-wrap: balance; }
h1 { line-height: 1.04; }
h2 { line-height: 1.1; }
p, li { text-wrap: pretty; }
[id] { scroll-margin-top: 96px; }
::selection { background: var(--navy); color: #fff; }
.sl-price, [class*="price"], .sl-step-num, .sl-stat, .kpi-value { font-variant-numeric: tabular-nums; }
.sl-eyebrow { letter-spacing: .14em; }
.sl-cat-card, .sl-card, .sl-step, .sl-faq-item, .vcard, .card {
  box-shadow: 0 1px 2px rgba(20, 26, 69, .04), 0 8px 24px -12px rgba(20, 26, 69, .12);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.sl-cat-card:hover, .sl-card:hover, .vcard:hover {
  box-shadow: 0 2px 4px rgba(20, 26, 69, .05), 0 24px 48px -20px rgba(20, 26, 69, .28);
  transform: translateY(-4px);
}
.sl-img img, .sl-cat-img img, .sl-step-img img { outline: 1px solid rgba(20, 26, 69, .06); outline-offset: -1px; }
.wp-block-button__link, .btn { transition: transform .16s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.wp-block-button__link:active, .btn:active { transform: scale(.97); }
a:focus-visible, button:focus-visible, .wp-block-button__link:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   45. ACORDEÓN · APERTURA Y CIERRE SUAVES
   ========================================================================== */
:root { interpolate-size: allow-keywords; }
.sl-faq-item summary { padding: 22px 4px; margin: 0 -4px; border-radius: 10px; -webkit-tap-highlight-color: transparent; user-select: none; transition: color .25s var(--ease), background-color .25s var(--ease); }
.sl-faq-item summary:hover { color: var(--navy); }
.sl-faq-item summary::after { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); line-height: 1; transition: transform .45s cubic-bezier(.32, .72, 0, 1), background-color .25s, color .25s; }
.sl-faq-item[open] summary::after { background: var(--navy); color: #fff; }
.sl-faq-item::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .5s cubic-bezier(.32, .72, 0, 1), opacity .35s ease, content-visibility .5s allow-discrete; }
.sl-faq-item[open]::details-content { block-size: auto; opacity: 1; }
.sl-faq-item[open] > p { animation: none; }
@media (prefers-reduced-motion: reduce) { .sl-faq-item::details-content { transition: none; } }

/* ==========================================================================
   46. SCROLL · APARICIÓN LIMPIA (una sola vez, escalonada)
   ========================================================================== */
@supports (animation-timeline: view()) {
  .sl-section-head, .sl-trust-item, .sl-cat, .wp-block-column.sl-step, .sl-testi, .sl-proof-media, .sl-proof-copy, .sl-split > .wp-block-column, .sl-faq-item, .sl-faq-media, .sl-form-cols > .wp-block-column, .sl-img-banner, .car-card, .calc, .sl-footer-cols > .wp-block-column, .sl-wa-card { animation: none !important; }
}
.wp-block-button__link, .btn-primary { animation: none !important; background-image: none !important; }
.sl-js .sl-reveal { opacity: 0; translate: 0 28px; transition: opacity .9s cubic-bezier(.16, 1, .3, 1), translate .9s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--sl-d, 0ms); will-change: opacity, translate; }
.sl-js .sl-reveal.sl-scale { translate: 0 16px; scale: .97; transition-property: opacity, translate, scale; }
.sl-js .sl-reveal.is-in { opacity: 1; translate: 0 0; scale: 1; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .sl-js .sl-reveal { opacity: 1; translate: none; scale: none; transition: none; }
}

/* ==========================================================================
   47. SCROLL · MOVIMIENTO MÍNIMO POR SECCIÓN
   ========================================================================== */
.sl-js .sl-reveal, .sl-js .sl-reveal.sl-scale { opacity: 0; translate: 0 14px; scale: none; transition: opacity .7s cubic-bezier(.16, 1, .3, 1), translate .7s cubic-bezier(.16, 1, .3, 1); transition-delay: 0ms; }
.sl-js .sl-reveal.is-in { opacity: 1; translate: 0 0; }
@supports (animation-timeline: view()) {
  .sl-mount-buscador, .sl-hero:not(.sl-hero-cover) .search-card, .sl-hero:not(.sl-hero-cover) h1, .sl-hero .sl-sub, .sl-hero .sl-actions { animation: none !important; }
}
.sl-cat-card:hover, .sl-card:hover, .vcard:hover, .car-card:hover { transform: translateY(-2px); }

/* ==========================================================================
   37. HERO CON IMAGEN DE FONDO (bloque Portada nativo)
   ========================================================================== */
.wp-block-cover.sl-hero-cover { position: relative; display: flex; align-items: center; min-height: min(760px, 92vh); padding-top: 96px; padding-bottom: 64px; overflow: hidden; background: var(--dark); color: #fff; }
.sl-hero-cover .wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% center; z-index: 0; }
.sl-hero-cover .wp-block-cover__background { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16, 20, 58, .94) 0%, rgba(16, 20, 58, .82) 38%, rgba(16, 20, 58, .35) 72%, rgba(16, 20, 58, .2) 100%), linear-gradient(0deg, rgba(16, 20, 58, .7) 0%, rgba(16, 20, 58, 0) 40%); }
.sl-hero-cover .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; }
.sl-hero-cover .sl-hero-grid.wp-block-columns { margin-bottom: 48px; }
.sl-hero-cover .sl-hero-copy { max-width: 640px; }
.sl-hero-cover .sl-eyebrow { color: #ff8a9a; }
.sl-hero-cover .sl-hero-title { color: #fff; text-wrap: balance; }
.sl-hero-cover .sl-hero-sub { color: #dfe2f2; }
.sl-hero-cover .sl-points { color: #fff; }
.sl-hero-cover .sl-points li::before { background: #ff5a6e; box-shadow: 0 0 0 4px rgba(255, 90, 110, .2); }
.sl-hero-cover .search-card { border-color: transparent; box-shadow: 0 30px 80px rgba(8, 10, 30, .45); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes sl-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
  .sl-hero-cover .wp-block-cover__image-background { animation: sl-hero-zoom 1.8s var(--ease) backwards; }
}
@media (max-width: 782px) {
  .wp-block-cover.sl-hero-cover { min-height: 0; padding-top: 56px; padding-bottom: 40px; }
  .sl-hero-cover .wp-block-cover__image-background { object-position: 62% center; }
  .sl-hero-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(16, 20, 58, .78) 0%, rgba(16, 20, 58, .9) 100%); }
  .sl-hero-cover .sl-hero-grid.wp-block-columns { margin-bottom: 32px; }
}

/* ==========================================================================
   38. PREGUNTAS FRECUENTES · FOTO DEL PATIO Y LLAMADO A CONTACTO
   ========================================================================== */
.sl-img-tall.sl-img-lote img { aspect-ratio: 4 / 3; object-position: 30% center; }
.wp-block-group.sl-faq-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; padding: 24px 28px; border-radius: var(--radius); background: var(--navy-soft); border: 1px solid var(--line); }
.sl-faq-cta-copy > * + * { margin-top: 4px; }
.sl-faq-cta-title { font-size: 19px; font-weight: 800; color: var(--ink); }
.sl-faq-cta-sub { font-size: 15px; color: var(--ink-2); }
.sl-faq-cta .sl-actions { margin: 0; }
@media (max-width: 640px) {
  .wp-block-group.sl-faq-cta { padding: 20px; }
  .sl-faq-cta .sl-actions, .sl-faq-cta .wp-block-button, .sl-faq-cta .wp-block-button__link { width: 100%; }
}

/* ==========================================================================
   39. FORMA DE PAGO (financiamiento o contado)
   ========================================================================== */
.pay-note { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pay-note::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--muted); }
.pay-note.is-fin { color: #17703b; }
.pay-note.is-fin::before { background: #15803d; }
.car-card .pay-note { margin: -4px 0 4px; }
.detail-price .pay-note { margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); }
.detail-price .pay-note.is-fin { background: #eafaf1; }

/* ==========================================================================
   40. SIMULADOR · SEGURO Y TABLA DE AMORTIZACIÓN
   ========================================================================== */
.calc-ins { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.calc-ins input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--teal); flex-shrink: 0; }
.calc-ins small { display: block; font-weight: 500; color: var(--muted); }
.calc-amort { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
.calc-amort summary { cursor: pointer; font-size: 14px; font-weight: 700; color: #fff; }
.calc-amort summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.amort-wrap { margin-top: 12px; max-height: 320px; overflow: auto; border-radius: 10px; background: #fff; }
.amort { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.amort th { position: sticky; top: 0; background: var(--dark-2); color: #fff; font-weight: 700; text-align: right; padding: 8px 10px; white-space: nowrap; }
.amort td { text-align: right; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.amort th:first-child, .amort td:first-child { text-align: center; }
.amort tr:nth-child(even) td { background: var(--bg-2); }
.calc-price { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); }
.calc-price-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.calc-price-value { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

/* ==========================================================================
   41. PREGUNTAS FRECUENTES · DISEÑO SIN IMAGEN
   ========================================================================== */
.sl-faq-layout.wp-block-columns { gap: 64px; align-items: flex-start; }
.wp-block-column.sl-faq-intro { flex: 0 0 38% !important; position: sticky; top: 104px; }
.sl-faq-intro > * + * { margin-top: 16px; }
.sl-faq-intro .sl-sub { max-width: 26em; }
.sl-faq-section .sl-faq { counter-reset: faq; border-top: 0; max-width: none; display: flex; flex-direction: column; gap: 12px; }
.sl-faq-section .wp-block-details.sl-faq-item { counter-increment: faq; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 24px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.sl-faq-section .sl-faq-item:hover { border-color: var(--line-2); }
.sl-faq-section .sl-faq-item[open] { border-color: var(--navy); box-shadow: 0 12px 32px -16px rgba(37, 46, 124, .35); }
.sl-faq-section .sl-faq-item summary { align-items: center; justify-content: flex-start; gap: 16px; padding: 20px 0; margin: 0; font-size: 17px; }
.sl-faq-section .sl-faq-item summary::before { content: counter(faq, decimal-leading-zero); flex: none; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--teal); letter-spacing: .04em; }
.sl-faq-section .sl-faq-item summary::after { margin-left: auto; }
.sl-faq-section .sl-faq-item summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.sl-faq-section .sl-faq-item p { padding: 0 0 22px 36px; }
.sl-faq-section .wp-block-group.sl-faq-cta { display: block; margin-top: 32px; padding: 28px; border: 0; border-radius: 20px; background: var(--dark); color: #fff; }
.sl-faq-section .sl-faq-cta > * + * { margin-top: 8px; }
.sl-faq-section .sl-faq-cta-title { color: #fff; font-size: 20px; }
.sl-faq-section .sl-faq-cta-sub { color: #dfe2f2; }
.sl-faq-section .sl-faq-cta .sl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sl-btn-ghost-light .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; }
.sl-btn-ghost-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 900px) {
  .sl-faq-layout.wp-block-columns { flex-wrap: wrap !important; gap: 32px; }
  .wp-block-column.sl-faq-intro { flex-basis: 100% !important; position: static; }
}
@media (max-width: 640px) {
  .sl-faq-section .wp-block-details.sl-faq-item { padding: 0 18px; }
  .sl-faq-section .sl-faq-item summary { font-size: 16px; gap: 12px; }
  .sl-faq-section .sl-faq-item p { padding-left: 0; }
  .sl-faq-section .sl-faq-cta .wp-block-button, .sl-faq-section .sl-faq-cta .wp-block-button__link { width: 100%; }
}

/* ==========================================================================
   42. RESULTADO ÚNICO DE BÚSQUEDA (resaltado breve)
   ========================================================================== */
.car-card.is-match { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(37, 46, 124, .2), var(--shadow); transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }

/* ==========================================================================
   43. PROMOCIÓN · AFINACIÓN GRATIS
   ========================================================================== */
.sl-promo.wp-block-group { padding-top: 48px; padding-bottom: 48px; }
.wp-block-group.sl-promo-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 48px; border-radius: 24px; background: var(--dark); color: #fff; box-shadow: 0 30px 60px -30px rgba(16, 20, 58, .55); }
.sl-promo-copy > * + * { margin-top: 16px; }
.sl-promo-copy .sl-eyebrow { color: #ff8a9a; }
.sl-promo-copy .sl-title { color: #fff; text-wrap: balance; }
.sl-promo-copy .sl-sub { color: #dfe2f2; max-width: 34em; }
.sl-promo-mark { background: none; color: #fff; box-shadow: inset 0 -0.32em 0 rgba(227, 38, 63, .85); padding: 0 .05em; }
.sl-promo-copy .sl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sl-promo-steps { counter-reset: promo; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sl-promo-steps li { counter-increment: promo; position: relative; padding: 18px 20px 18px 64px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dfe2f2; font-size: 15px; line-height: 1.5; }
.sl-promo-steps li::before { content: counter(promo); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e3263f; color: #fff; font-weight: 800; font-size: 14px; }
.sl-promo-steps strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.sl-promo-terms { grid-column: 1 / -1; font-size: 13px; color: #b9bede; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; }
.promo-note { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff1f3; color: var(--ink); font-size: 14px; line-height: 1.45; }
.promo-note strong { color: #c01d33; }
.promo-folio { display: grid; gap: 4px; margin: 16px 0; padding: 16px; border-radius: var(--radius-sm); border: 1px dashed #e3263f; background: #fff1f3; text-align: center; }
.promo-folio-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.promo-folio-code { font-family: var(--mono); font-size: 24px; letter-spacing: .08em; color: #c01d33; }
.promo-folio-note { font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) {
  .wp-block-group.sl-promo-card { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
}
@media (max-width: 640px) {
  .sl-promo-copy .wp-block-button, .sl-promo-copy .wp-block-button__link { width: 100%; }
}

/* ==========================================================================
   44. RENTA PARA EMPRESAS (demostración · renta.html)
   ========================================================================== */
.wp-block-group.sl-rent-hero { background: var(--dark); color: #fff; padding-top: 88px; padding-bottom: 88px; }
.sl-rent-hero-grid.wp-block-columns { max-width: var(--container); margin: 0 auto; gap: 56px; align-items: center; }
.sl-rent-hero-copy > * + * { margin-top: 20px; }
.sl-rent-hero .sl-eyebrow { color: #ff8a9a; }
.sl-rent-hero .sl-hero-title { color: #fff; font-size: clamp(34px, 4.6vw, 56px); text-wrap: balance; }
.sl-rent-hero .sl-sub { color: #dfe2f2; }
.sl-rent-hero .sl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sl-rent-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sl-rent-benefits li { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dfe2f2; font-size: 14px; line-height: 1.5; }
.sl-rent-benefits strong { display: block; margin-bottom: 4px; color: #fff; font-size: 16px; }
.sl-rent-grid { list-style: none; margin: 0; padding: 0; }
.sl-rent-media { margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.sl-rent-media img { width: 86%; height: auto; object-fit: contain; }
.sl-rent-status { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eafaf1; color: #17703b; }
.sl-rent-status.is-rentado { background: var(--bg-3); color: var(--ink-2); }
.sl-rent-status.is-mantenimiento { background: #fff4e0; color: #8a5a00; }
.sl-rent-price { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--navy); }
.sl-rent-form .btn { width: 100%; }
.sl-rent-req { position: sticky; top: 104px; }
.sl-rent-note { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .sl-rent-hero-grid.wp-block-columns { flex-wrap: wrap !important; gap: 32px; }
  .sl-rent-req { position: static; }
}
@media (max-width: 640px) {
  .wp-block-group.sl-rent-hero { padding-top: 56px; padding-bottom: 56px; }
  .sl-rent-benefits { grid-template-columns: minmax(0, 1fr); }
  .sl-rent-hero .wp-block-button, .sl-rent-hero .wp-block-button__link { width: 100%; }
}

/* ==========================================================================
   45. RENTA EMPRESAS · BANDA EN INICIO Y ENLACES
   ========================================================================== */
.sl-rent-band.wp-block-group { padding-top: 24px; padding-bottom: 24px; }
.wp-block-group.sl-rent-band-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; max-width: 1240px; margin: 0 auto; padding: 36px 40px; border-radius: 24px; background: var(--navy-soft); border: 1px solid var(--line); }
.sl-rent-band-copy { flex: 1 1 420px; }
.sl-rent-band-copy > * + * { margin-top: 10px; }
.sl-rent-band .sl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.sl-btn-ghost .wp-block-button__link { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.sl-btn-ghost .wp-block-button__link:hover { background: var(--bg-2); color: var(--ink); }
.sl-nav a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
@media (max-width: 640px) {
  .wp-block-group.sl-rent-band-card { padding: 24px 20px; }
  .sl-rent-band .wp-block-button, .sl-rent-band .wp-block-button__link { width: 100%; }
}

/* ==========================================================================
   46. RENTA · FILTROS, BOTONES Y DETALLE DE UNIDAD
   ========================================================================== */
.sl-rent-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.sl-rent-card[hidden] { display: none; }
.sl-rent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sl-rent-actions .btn { width: 100%; white-space: normal; text-align: center; }
.sl-rent-modal { display: grid; gap: 16px; }
.sl-rent-modal-media { position: relative; margin: 0; border-radius: var(--radius-sm); background: var(--bg-2); display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; }
.sl-rent-modal-media img { width: 80%; height: auto; object-fit: contain; }
.sl-rent-dl { color: var(--ink); }
.sl-rent-dl dt { color: var(--muted); }
.sl-rent-dl dd { color: var(--ink); text-align: right; }
@media (max-width: 420px) { .sl-rent-actions { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   47. RENTA · UNIDADES DESDE EL PANEL (galería y etiquetas)
   ========================================================================== */
.sl-rent-media .ph-img { width: 100%; height: 100%; object-fit: cover; }
.sl-rent-media .ph-img[src*="auto-"] { width: 86%; height: auto; object-fit: contain; }
.sl-rent-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(16, 20, 58, .75); color: #fff; font-size: 12px; font-weight: 700; }
.sl-rent-gallery { display: grid; gap: 8px; }
.sl-rent-modal-media .ph-img { width: 100%; height: 100%; object-fit: cover; }
.sl-rent-modal-media .gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 22px; cursor: pointer; box-shadow: var(--shadow); }
.sl-rent-modal-media .gal-prev { left: 10px; }
.sl-rent-modal-media .gal-next { right: 10px; }
.sl-rent-modal-media .gal-nav:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sl-rent-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.sl-rent-thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--bg-2); cursor: pointer; aspect-ratio: 4 / 3; }
.sl-rent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-rent-thumb.is-active { border-color: var(--navy); }
.sl-rent-modal-status { margin: 0; }
.sl-rent-modal-status .sl-rent-status { position: static; display: inline-block; }
.rent-pill { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); font-size: 11px; font-weight: 700; }
@media (max-width: 520px) { .sl-rent-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   48. PANEL · SECCIÓN RENTA
   ========================================================================== */
.kpi-grid.kpi-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.status-select.st-rent-disponible { background: #eafaf1; color: #17703b; border-color: #bfe8cf; }
.status-select.st-rent-rentado { background: var(--navy-soft); color: var(--navy); border-color: var(--line-2); }
.status-select.st-rent-mantenimiento { background: #fff4e0; color: #8a5a00; border-color: #f1d9a8; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 720px) { .kpi-grid.kpi-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   49. CORRECCIONES DE DIAGNÓSTICO
   ========================================================================== */
#cotizar .sl-form-cols.wp-block-columns { gap: 32px; }
#cotizar .sl-form-cols > .wp-block-column:last-child { flex: 0 0 300px; min-width: 0; }
#cotizar .sl-form-cols > .wp-block-column:first-child { flex: 1 1 0; min-width: 0; }
@media (max-width: 1100px) {
  #cotizar .sl-form-cols.wp-block-columns { flex-wrap: wrap !important; }
  #cotizar .sl-form-cols > .wp-block-column { flex: 1 1 100% !important; }
  .sl-rent-req { position: static; }
}
.modal-favs .car-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ==========================================================================
   50. PÁGINAS LEGALES Y TIPO "OTRO"
   ========================================================================== */
.wp-block-group.sl-legal-page { padding-top: 64px; padding-bottom: 80px; }
.wp-block-group.sl-legal-page > .sl-legal-body { max-width: 780px; margin-inline: auto; }
.sl-legal-body { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.sl-legal-body > * + * { margin-top: 14px; }
.sl-legal-body h2 { margin-top: 36px; font-size: 20px; font-weight: 800; color: var(--ink); }
.sl-legal-body ul { padding-left: 20px; }
.sl-legal-body li + li { margin-top: 6px; }
.sl-legal-body a { color: var(--navy); text-decoration: underline; }
.sl-legal-meta { font-size: 14px; color: var(--muted); }
.sl-legal-draft { padding: 12px 16px; border-radius: var(--radius-sm); background: #fff4e0; color: #6b4600; font-size: 14px; }
.type-picker + .field-hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .wp-block-group.sl-legal-page { padding-top: 40px; padding-bottom: 56px; } }

/* ==========================================================================
   51. PANEL · AGENDA DE CITAS
   ========================================================================== */
.ag-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.ag-head { flex-wrap: wrap; gap: 12px; }
.ag-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.ag-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 14px; }
.ag-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ag-dot::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ag-c, var(--muted)); }
.ag-prueba { --ag-c: #252e7c; --ag-bg: #e8eaf6; }
.ag-compra { --ag-c: #c8243a; --ag-bg: #fdecef; }
.ag-renta { --ag-c: #17703b; --ag-bg: #eafaf1; }
.ag-venta { --ag-c: #8a5a00; --ag-bg: #fff4e0; }
.ag-contacto { --ag-c: #5d6280; --ag-bg: #f1f2f7; }
.ag-grid { display: grid; grid-template-columns: 56px repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ag-corner, .ag-day { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.ag-day { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); }
.ag-day strong { font-size: 18px; color: var(--ink); }
.ag-day.is-today strong { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; }
.ag-hour { padding: 6px 6px 0; font-size: 11px; color: var(--muted); text-align: right; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ag-cell { min-height: 58px; padding: 4px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; cursor: pointer; transition: background .15s; }
.ag-cell:hover { background: var(--bg-2); }
.ag-cell.is-today { background: rgba(37, 46, 124, .03); }
.ag-ev { display: grid; gap: 1px; width: 100%; padding: 5px 7px; border: 0; border-left: 3px solid var(--ag-c); border-radius: 6px; background: var(--ag-bg); color: var(--ink); text-align: left; font: inherit; font-size: 11px; line-height: 1.3; cursor: pointer; }
.ag-ev strong { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-ev span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.ag-ev .ag-ev-time { font-weight: 700; color: var(--ag-c); }
.ag-ev:hover { filter: brightness(.97); }
.ag-ev:focus-visible, .ag-cell:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.ag-ev.is-cancel { opacity: .5; text-decoration: line-through; }
.ag-ev.is-done { opacity: .7; }
.ag-list { display: none; }
.ag-list-day { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.ag-list-day h3 { font-size: 14px; font-weight: 800; color: var(--ink); }
.ag-list-day.is-today h3 { color: var(--navy); }
.ag-pend { display: grid; gap: 10px; max-height: 640px; overflow: auto; }
.ag-pend-item { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.ag-pend-item .btn { justify-self: start; margin-top: 4px; }
.ag-pick { display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.ag-pick-item { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: left; font: inherit; cursor: pointer; }
.ag-pick-item:hover { border-color: var(--navy); }
.ag-dl dd a { color: var(--navy); }
.ag-msg { padding: 10px 12px; border-radius: 8px; background: var(--bg-2); font-size: 14px; color: var(--ink-2); white-space: pre-line; }
.ag-actions { flex-wrap: wrap; }
.link-btn { display: block; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--navy); font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 1100px) { .ag-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .ag-grid { display: none; } .ag-list { display: block; } }
.margin-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.ag-pend-item .sub, .ag-pick-item .sub { display: block; font-size: 13px; color: var(--muted); }
.ag-pend-item strong { font-size: 14px; }

/* ==========================================================================
   MÓVIL · ANIMACIONES MÁS LIGERAS Y ESTABLES
   - Sin will-change permanente en secciones enteras (creaba capas gráficas gigantes: parpadeos y zonas en blanco)
   - Desplazamiento por enlaces instantáneo en móvil (la página mide ~21,000 px; el suave recorría miles de px con imágenes cargando)
   - Sin efectos hover "pegados" al tocar; ventanas emergentes sin desenfoque de fondo (pesado en teléfonos)
   ========================================================================== */
.sl-js .sl-reveal { will-change: auto; }
@media (max-width: 782px) {
  html { scroll-behavior: auto; }
  .modal-backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(20, 26, 69, .55); }
}
@media (hover: none) {
  .car-card:hover, .wp-block-column.sl-step:hover, .sl-testi-card:hover, .sl-cat-card:hover, .sl-card:hover, .vcard:hover { transform: none; }
  .car-card:hover .car-media .ph, .car-card:hover .car-media .ph-img, .sl-cat-card:hover .sl-cat-img img, .sl-img-zoom:hover img,
  .wp-block-column.sl-step:hover .sl-step-img img, .acq-hero:hover .acq-hero-img { transform: none; }
}
/* ==========================================================================
   29. MÓVIL: MENÚ DESPLEGABLE Y BARRA FIJA LLAMAR / WHATSAPP
   ========================================================================== */
.nav-toggle, .mobile-cta { display: none; }
/* Escritorio: los 8 apartados caben siempre en una sola fila junto al logo y al botón (ancho útil del encabezado: 1240 px) */
@media (min-width: 1101px) {
  .sl-header-part .sl-nav { flex-wrap: nowrap; font-size: 13px; gap: 0; }
  .sl-header-part .sl-nav .wp-block-navigation-item__content { padding: 8px 7px; white-space: nowrap; }
}
@media (max-width: 1300px) { .sl-header-actions { display: none; } }
/* Hasta 1100 px los 8 apartados van en el menú desplegable (no caben en una fila) */
@media (max-width: 1100px) {
  .sl-header-part .sl-nav { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sl-header-part .sl-nav.is-open { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 140px); overflow-y: auto; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20, 26, 69, .14); }
  .sl-header-part .sl-nav.is-open .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 48px; padding: 0 8px; font-size: 16px; border-radius: 10px; border-bottom: 1px solid var(--line); }
}
/* Pantallas bajas (celular horizontal): dos columnas para que los 8 apartados se vean sin desplazarse */
@media (max-width: 1100px) and (max-height: 560px) {
  .sl-header-part .sl-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
}
@media (max-width: 781px) {
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 26, 69, .08); }
  .mobile-cta a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; }
  .mobile-cta-call { background: var(--navy); color: #fff; }
  .mobile-cta-wa { background: #15803d; color: #fff; }
  body:has(.mobile-cta) { padding-bottom: 68px; }
  .toast { bottom: 84px; }
  html.lb-open .mobile-cta { display: none; }
}

/* Recién llegados: 4 unidades en una fila (escritorio), 2 × 2 (tableta) o una columna (móvil) */
[data-sl="destacados"] .car-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { [data-sl="destacados"] .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { [data-sl="destacados"] .car-grid { grid-template-columns: 1fr; } }

/* Ventana emergente abierta: el fondo no se desplaza (se compensa el ancho de la barra de scroll para que no salte) */
html.modal-open { overflow: hidden; padding-right: var(--sbw, 0px); }
/* Pickup: la camioneta queda centrada en la tarjeta (la foto original la trae corrida a la izquierda) */
.sl-cat-img img[src*="cat-pickup"] { object-position: 41% 50%; }
@media (max-width: 600px) { .sl-cat-img img[src*="cat-pickup"] { object-position: 30% 50%; } }

/* ==========================================================================
   30. CÓMO FUNCIONA: número animado por paso (sustituye a las fotos)
   ========================================================================== */
.sl-step-visual { position: relative; margin: 0 -28px 8px; aspect-ratio: 2 / 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #fff 0%, var(--navy-soft) 100%); }
.sl-step-visual svg { position: absolute; inset: 0; margin: auto; width: 128px; height: 128px; transform: rotate(-90deg); overflow: visible; }
.sv-track, .sv-ring { fill: none; stroke-width: 7; }
.sv-track { stroke: rgba(37, 46, 124, .13); }
.sv-ring { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); transition: stroke-dashoffset 1.1s var(--ease) .15s; }
.sv-num { position: relative; display: flex; height: 1em; font-size: 46px; line-height: 1; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sv-roll { display: block; height: 1em; overflow: hidden; }
.sv-roll-in { display: flex; flex-direction: column; transform: translateY(calc(var(--n) * -1em)); transition: transform 1s var(--ease) .15s; }
.sv-roll-in i { display: block; height: 1em; font-style: normal; }
/* Con JS el paso arranca en 0 y, al entrar en pantalla, el anillo se llena y el dígito gira hasta su número */
html.sl-js .sl-step-visual:not(.is-in) .sv-ring { stroke-dashoffset: 100; }
html.sl-js .sl-step-visual:not(.is-in) .sv-roll-in { transform: none; }
.sl-step-visual.is-in .sv-ring { animation: sv-glow 1.6s ease-out 1.1s 1; }
@keyframes sv-glow { 0% { filter: drop-shadow(0 0 0 rgba(200, 36, 58, 0)); } 40% { filter: drop-shadow(0 0 8px rgba(200, 36, 58, .55)); } 100% { filter: drop-shadow(0 0 0 rgba(200, 36, 58, 0)); } }
@media (max-width: 640px) { .sl-step-visual { aspect-ratio: 5 / 2; } .sl-step-visual svg { width: 112px; height: 112px; } .sv-num { font-size: 40px; } }
@media (prefers-reduced-motion: reduce) { .sv-ring, .sv-roll-in { transition: none; } .sl-step-visual.is-in .sv-ring { animation: none; } }

/* ==========================================================================
   31. HERO: ENTRADA CINEMATOGRÁFICA (≈6 s, termina en la posición original)
   Fondo con zoom y deriva muy lentos; el texto, el panel y los campos entran en cascada.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  :root { --hero-ease: cubic-bezier(.65, 0, .35, 1); }
  @keyframes hero-bg { from { transform: scale(1.035) translate3d(14px, 0, 0); } to { transform: none; } }
  @keyframes hero-rise-15 { from { opacity: 0; transform: translate3d(0, 15px, 0); } to { opacity: 1; transform: none; } }
  @keyframes hero-rise-20 { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
  @keyframes hero-rise-12 { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
  @keyframes hero-rise-24 { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
  @keyframes hero-slide-x { from { opacity: 0; transform: translate3d(-14px, 0, 0); } to { opacity: 1; transform: none; } }
  @keyframes hero-field { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
  @keyframes hero-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

  .sl-hero-cover .wp-block-cover__image-background { animation: hero-bg 7s var(--hero-ease) both; }
  .sl-hero-cover .sl-hero-copy > .sl-eyebrow { animation: hero-rise-15 .8s var(--hero-ease) .2s backwards; }
  .sl-hero-cover .sl-hero-copy > .sl-hero-title { animation: hero-rise-20 1s var(--hero-ease) .45s backwards; }
  .sl-hero-cover .sl-hero-copy > .sl-hero-sub { animation: hero-rise-12 .9s var(--hero-ease) .75s backwards; }
  .sl-hero-cover .sl-hero-copy > .sl-points { animation: none; }
  .sl-hero-cover .sl-points li { animation: hero-slide-x .8s var(--hero-ease) 1.05s backwards; }
  .sl-hero-cover .sl-points li:nth-child(2) { animation-delay: 1.15s; }
  .sl-hero-cover .sl-points li:nth-child(3) { animation-delay: 1.25s; }
  .sl-hero-cover .sl-mount-buscador { animation: none; }
  /* El panel lo pinta JS tras cargar el inventario: --hero-t (segundos ya transcurridos) mantiene la secuencia alineada con el texto */
  .sl-hero-cover .search-card { animation: hero-rise-24 .8s var(--hero-ease) calc(1.35s - var(--hero-t, 0s)) backwards; }
  .sl-hero-cover .search-grid > * { animation: hero-field .55s var(--hero-ease) calc(2.1s - var(--hero-t, 0s)) backwards; }
  .sl-hero-cover .search-grid > :nth-child(2) { animation-delay: calc(2.15s - var(--hero-t, 0s)); }
  .sl-hero-cover .search-grid > :nth-child(3) { animation-delay: calc(2.2s - var(--hero-t, 0s)); }
  .sl-hero-cover .search-grid > :nth-child(4) { animation-delay: calc(2.25s - var(--hero-t, 0s)); }
  .sl-hero-cover .search-grid > :nth-child(5) { animation-delay: calc(2.3s - var(--hero-t, 0s)); }
  .sl-hero-cover .search-grid > :nth-child(6) { animation-delay: calc(2.35s - var(--hero-t, 0s)); }
  .sl-hero-cover .search-grid > .btn.btn-primary { animation: hero-field .55s var(--hero-ease) calc(2.4s - var(--hero-t, 0s)) backwards, hero-pulse 1.3s var(--hero-ease) calc(2.95s - var(--hero-t, 0s)) 1 !important; }
  /* Si el panel se vuelve a pintar (favoritos, volver a la pestana) no repite la entrada */
  .sl-hero-cover .sl-no-intro .search-card, .sl-hero-cover .sl-no-intro .search-grid > *, .sl-hero-cover .sl-no-intro .search-grid > .btn.btn-primary { animation: none !important; }
}

/* ==========================================================================
   32. HERO: MAQUETA DE TELÉFONO (decorativa)
   ========================================================================== */
.sl-hero-cover .sl-mount { position: relative; z-index: 3; }
.sl-hero-visual.wp-block-column { flex: 0 0 300px; height: 430px; position: relative; }
.sl-phone-wrap { position: absolute; top: -70px; left: 0; width: 300px; pointer-events: none; }
.sl-phone-tilt { position: relative; transform: rotate(-6deg); transform-origin: 50% 100%; }
.sl-phone { position: relative; height: 500px; padding: 10px; border-radius: 46px; background: linear-gradient(160deg, #2a3068 0%, #10143a 60%); box-shadow: 0 40px 90px rgba(6, 8, 28, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.sl-phone-island { position: absolute; z-index: 2; top: 18px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #0b0e2b; }
.sl-phone-screen { height: 100%; padding: 52px 20px 24px; border-radius: 37px; background: linear-gradient(180deg, #fff 0%, #f1f2fa 100%); color: var(--navy); overflow: hidden; }
.sl-ph-logo { width: auto; height: 22px; margin-bottom: 14px; }
.sl-ph-tag { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #c8243a; }
.sl-ph-title { margin: 6px 0 14px; font-size: 25px; font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.sl-ph-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.sl-ph-type { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 2px; border-radius: 12px; font-size: 10px; font-weight: 600; color: var(--ink-2); }
.sl-ph-type img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; background: #fff; border-radius: 8px; }
.sl-ph-type.is-on { background: #fff; box-shadow: 0 6px 16px rgba(20, 26, 69, .14); }
.sl-ph-card { overflow: hidden; border-radius: 16px; box-shadow: 0 10px 26px rgba(20, 26, 69, .22); }
.sl-ph-card img { width: 100%; height: 124px; object-fit: cover; }
.sl-ph-pill { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 6px; padding: 7px 14px; border-radius: 99px; background: #fde4e8; color: #b3182f; font-size: 12px; font-weight: 700; }
.sl-ph-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0324b; }
.sl-ph-note { font-size: 11px; font-weight: 500; color: var(--ink-2); }
/* MÃ³vil: la maqueta pasa debajo del texto, centrada y reducida; su parte baja queda tapada por el panel de bÃºsqueda */
@media (max-width: 781px) {
  .sl-hero-visual.wp-block-column { height: 400px; }
  .sl-phone-wrap { left: 50%; top: 0; margin-left: -150px; scale: .8; transform-origin: 50% 0; }
}

.sl-ph-scroll { display: block; }
.sl-ph-promo { margin-top: 24px; padding: 18px 16px 16px; border-radius: 18px; background: linear-gradient(160deg, #2a3068 0%, #151a4d 100%); color: #fff; box-shadow: 0 12px 28px rgba(20, 26, 69, .3); }
.sl-ph-promo-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #ff8a9a; }
.sl-ph-promo-title { margin: 6px 0 14px; font-size: 18px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.sl-ph-promo-btn { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 99px; background: #c8243a; color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 8px 18px rgba(200, 36, 58, .45); }

@media (prefers-reduced-motion: no-preference) {
  /* El teléfono emerge desde abajo, de detrás del panel de búsqueda, ya completo y con su pantalla lista */
  @keyframes hero-phone-in { 0% { opacity: 0; transform: translate3d(0, 580px, 0) rotate(-1deg); } 6% { opacity: 1; } 100% { opacity: 1; transform: rotate(-6deg); } }
  @keyframes hero-phone-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -7px, 0); } }
  .sl-phone-wrap { animation: hero-phone-float 8s ease-in-out 3.3s infinite; translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -6px); transition: translate .9s cubic-bezier(.2, .7, .2, 1); }
  .sl-phone-tilt { animation: hero-phone-in 1.3s cubic-bezier(.25, .75, .25, 1) 1.8s backwards; }
  /* La pantalla se desplaza sola: del inicio a la promoción "Afinación gratis", pausa, y regresa (ciclo de 12 s) */
  @keyframes hero-ph-btn { 0%, 31% { transform: none; } 35% { transform: scale(1.05); } 41%, 100% { transform: none; } }
  .sl-ph-scroll { animation: hero-ph-scroll 8s linear 2.4s infinite; }
  @keyframes hero-ph-scroll {
    0%, 10% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .6, 1); }
    12.5% { transform: translate3d(0, -110px, 0); animation-timing-function: cubic-bezier(.08, .7, .2, 1); }
    24% { transform: translate3d(0, -180px, 0); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
    28%, 62% { transform: translate3d(0, -174px, 0); animation-timing-function: cubic-bezier(.3, 0, .6, 1); }
    64.5% { transform: translate3d(0, -100px, 0); animation-timing-function: cubic-bezier(.08, .7, .2, 1); }
    76% { transform: translate3d(0, 6px, 0); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
    80%, 100% { transform: none; }
  }
  .sl-ph-promo-btn { animation: hero-ph-btn 8s ease-in-out 2.4s infinite; }
  .sl-hero-cover .sl-hero-bg { inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 4px + var(--sy, 0) * .18px); transition: translate .4s cubic-bezier(.2, .7, .2, 1); }
}
/* Barra superior de la pantalla: tapa el contenido que se desplaza detrás de la isla */
.sl-phone-screen { position: relative; }
.sl-phone-screen::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; height: 50px; background: linear-gradient(#fff 60%, rgba(255, 255, 255, 0)); pointer-events: none; }

/* ==========================================================================
   33. HERO: FONDO NEUTRO (sustituye a la fotografía) con la paleta del sitio
   ========================================================================== */
.sl-hero-neutral.wp-block-cover.sl-hero-cover { background: linear-gradient(135deg, #1d2569 0%, #141a4f 52%, #10143a 100%); }
.sl-hero-neutral .wp-block-cover__background { display: none; }
.sl-hero-neutral::before { content: ""; position: absolute; z-index: 0; inset: -12px; pointer-events: none;
  background:
    radial-gradient(46% 62% at 76% 34%, rgba(143, 160, 255, .30) 0%, rgba(143, 160, 255, 0) 70%),
    radial-gradient(38% 50% at 96% 92%, rgba(232, 234, 246, .16) 0%, rgba(232, 234, 246, 0) 70%),
    radial-gradient(34% 46% at 8% 104%, rgba(200, 36, 58, .16) 0%, rgba(200, 36, 58, 0) 70%),
    radial-gradient(30% 40% at 52% 8%, rgba(232, 234, 246, .10) 0%, rgba(232, 234, 246, 0) 70%); }
@media (prefers-reduced-motion: no-preference) {
  .sl-hero-neutral::before { animation: hero-bg 7s var(--hero-ease) both; translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 4px + var(--sy, 0) * .18px); transition: translate .4s cubic-bezier(.2, .7, .2, 1); }
}

/* ==========================================================================
   34. CÓMO FUNCIONA: foto de referencia por paso + anillo con número como insignia
   ========================================================================== */
.wp-block-column.sl-step { position: relative; }
.wp-block-column.sl-step > .sl-step-visual { position: relative; z-index: 2; margin: -34px 0 0; width: 64px; height: 64px; aspect-ratio: auto; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(20, 26, 69, .28); }
.sl-step-visual svg { width: 64px; height: 64px; }
.sv-num { font-size: 26px; }

/* ==========================================================================
   35. SELECTOR DE IDIOMA (globo + código con menú desplegable)
   ========================================================================== */
.sl-lang { position: relative; flex: none; }
.sl-lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 9px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.sl-lang-btn:hover, .sl-lang.is-open .sl-lang-btn { background: var(--bg-2); color: var(--ink); }
.sl-lang-btn:focus-visible, .sl-lang-opt:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sl-lang-chev { transition: transform .2s var(--ease); opacity: .7; }
.sl-lang.is-open .sl-lang-chev { transform: rotate(180deg); }
.sl-lang-menu { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 176px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(20, 26, 69, .16), 0 2px 6px rgba(20, 26, 69, .06); }
.sl-lang-menu[hidden] { display: none; }
.sl-lang-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.sl-lang-opt:hover { background: var(--bg-2); }
.sl-lang-opt .sl-lang-check { opacity: 0; color: var(--navy); }
.sl-lang-opt.is-on { font-weight: 800; }
.sl-lang-opt.is-on .sl-lang-check { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .sl-lang-menu:not([hidden]) { animation: sl-lang-in .16s var(--ease) both; }
  @keyframes sl-lang-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) { .sl-lang { margin-left: auto; } .sl-lang + .nav-toggle { margin-left: 4px; } }
.sl-lang-note { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); font-size: 14px; font-weight: 600; }

/* ==========================================================================
   36. ESCRITORIO: ENCABEZADO EN UNA SOLA FILA Y HERO ALINEADO A LOS BORDES DEL CONTENEDOR
   ========================================================================== */
@media (min-width: 1101px) {
  .sl-header-inner { flex-wrap: nowrap; gap: 16px; }
  .sl-lang-btn { padding: 0 8px 0 7px; }
}
@media (min-width: 1301px) {
  .sl-header-part .sl-nav .wp-block-navigation-item__content { padding: 8px 6px; }
}
@media (min-width: 782px) {
  .sl-hero-cover .sl-hero-grid.wp-block-columns { justify-content: space-between; }
}

/* ==========================================================================
   37. ESCRITORIO: MENÚ PRINCIPAL CENTRADO EN LA PÁGINA
   Logo a la izquierda, apartados al centro exacto, botón e idioma a la derecha (misma columna).
   Si no cabe un lado, la rejilla cede espacio y el menú se desplaza lo mínimo necesario.
   ========================================================================== */
@media (min-width: 1101px) {
  .sl-header-inner { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; justify-content: normal; }
  .sl-header-inner > .sl-logo { grid-column: 1; justify-self: start; }
  .sl-header-inner > .sl-nav { grid-column: 2; justify-self: center; }
  .sl-header-inner > .sl-header-actions { grid-column: 3; grid-row: 1; justify-self: end; margin-right: 92px; }
  .sl-header-inner > .sl-lang { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (min-width: 1301px) {
  .sl-header-part .sl-nav .wp-block-navigation-item__content { padding: 8px 4px; }
}
@media (min-width: 1101px) {
  .sl-header-inner { column-gap: 8px; }
  .sl-header-inner > .sl-header-actions { margin-right: 87px; }
}
@media (min-width: 1301px) {
  .sl-header-part .sl-nav .wp-block-navigation-item__content { padding: 8px 3px; }
  .sl-header-part .sl-btn-sm .wp-block-button__link { padding: 0 14px; font-size: 13px; }
}

/* 38. Seccion "Recien vendidos": se oculta si no hay vendidos */
.sl-section[hidden] { display: none !important; }
.wp-block-group.sl-section#vendidos { padding-top: 0; }

/* 39. Movil: objetivos tactiles de 44 px, campos de 16 px (evita el zoom de iOS) y texto minimo de 12 px */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 781px) {
  select, textarea, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  .field select, .field textarea, .field input:not([type="range"]), .sort select, .toolbar select, .toolbar input { font-size: 16px; }
  .btn-sm { min-height: 44px; }
  .fav-btn { width: 44px; height: 44px; top: 8px; right: 8px; }
  .sl-lang-btn { height: 44px; }
  .sl-social-link { width: 44px; height: 44px; }
  .seg button { height: 44px; }
  .sort select { height: 44px; }
  .text-btn { min-height: 44px; padding: 0 8px; }
  .field input[type="range"] { height: 44px; }
  .calc-amort summary { display: flex; align-items: center; min-height: 44px; }
  .sl-map-link { min-height: 44px; }
  .car-title a, .sl-link-arrow a, .breadcrumb a { position: relative; }
  .car-title a::before, .sl-link-arrow a::before, .breadcrumb a::before { content: ""; position: absolute; inset: -12px -6px; }
  .sl-footer-list a, .sl-legal-links a, .sl-access a, .sl-ctile-value a { display: inline-flex; align-items: center; min-height: 44px; }
  .tag, .sl-access a { font-size: 12px; }
}

/* Imagenes con width/height: la altura se calcula por proporcion (zero specificity: no pisa reglas con altura propia) */
:where(img[width][height]) { height: auto; }

/* 40. Buscador del hero en movil: 3 filtros a la vista y el resto bajo "Mas filtros" */
.search-more { display: none; }
@media (max-width: 781px) {
  .search-more { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; }
  .search-more::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
  .search-card.is-open .search-more::after { margin-top: 3px; transform: rotate(-135deg); }
  .search-card:not(.is-open) .search-grid > :nth-child(n+4):nth-child(-n+6) { display: none; }
}

/* 41. Paginas por tipo de vehiculo (pickups, SUV, sedanes, hatchbacks) */
.sl-topic-count { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--muted); }
.sl-topic-copy { max-width: 760px; margin-top: 64px; }
.sl-topic-copy h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
.sl-topic-copy p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.65; }
.sl-topic-copy a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sl-topic-links { padding-top: 8px; }
