/* =========================================================
   MKR MOTORS — Diseño "Garage tech" (sitio público)
   El panel admin sigue usando style.css + admin.css
   ========================================================= */
:root {
  --ink: #16171A;
  --ink-2: #2A2B30;
  --ink-3: #45474D;
  --muted: #55575E;
  --muted-2: #8C8F96;
  --line: #C2C4C9;
  --line-2: #D9DBDF;
  --bg: #E7E8EB;
  --card: #F6F6F7;
  --white: #FFFFFF;
  --accent: #D7262C;
  --accent-dark: #B3171C;
  --ok-bg: #E3F5EA;
  --ok: #146B3A;
  --warn-bg: #FFF3D6;
  --warn: #7A4B00;
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --f-display: 'Unbounded', 'Arial Black', sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.mono-light { color: var(--muted-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted-2); }
.h-display {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(34px, 4vw, 56px);
}
.section { padding-top: 104px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-lg { min-height: 56px; padding: 18px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.icon-btn:hover { transform: scale(1.06); }
.icon-btn.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.icon-btn svg, .btn svg { width: 18px; height: 18px; }

/* ---------- Navegación ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 24px 0; display: flex; justify-content: center; pointer-events: none; }
.nav-shell {
  pointer-events: auto; position: relative;
  width: 100%; max-width: 1260px; background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 8px 8px 8px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 10px 30px rgba(22, 23, 26, .18);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-links a {
  padding: 12px 16px; border-radius: 999px; color: #C4C6CC; font-size: 15px; font-weight: 500;
  text-decoration: none; transition: background .2s, color .2s;
}
.nav-links a:hover { color: var(--white); background: var(--ink-2); }
.nav-links a.active { color: var(--white); background: var(--ink-2); font-weight: 600; }
.nav-cta { padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink-2); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; background: var(--ink); border-radius: 24px; padding: 10px;
    box-shadow: 0 20px 40px rgba(22, 23, 26, .25);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 18px; }
  .nav-cta { display: none; }
}

/* ---------- Encabezado de páginas internas ---------- */
.page-head { position: relative; padding-top: 72px; padding-bottom: 48px; overflow: hidden; }
.page-head .ghost {
  position: absolute; right: -2vw; top: 20px; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(110px, 18vw, 260px); line-height: .85; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px #C9CBD0; pointer-events: none; user-select: none;
}
.page-head h1 { position: relative; font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.03em; max-width: 900px; }
.page-head p.lead { position: relative; margin-top: 18px; font-size: 18px; color: var(--ink-3); max-width: 620px; }
.page-head .mono { position: relative; display: block; margin-bottom: 14px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: 56px; padding-bottom: 40px; }
.hero-ghost {
  position: absolute; left: 0; right: 0; top: 30px; text-align: center; pointer-events: none; user-select: none;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 22vw, 330px);
  line-height: .85; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px #C9CBD0;
}
.hero-top { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-top h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; max-width: 780px; }
.hero-grid { position: relative; margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }

.hero-tabs { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hero-tab {
  flex: 1; width: 100%; text-align: left; padding: 20px 22px; border-radius: 24px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  transition: background .3s var(--ease), color .3s, border-color .3s;
}
.hero-tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero-tab .t-idx { font-family: var(--f-mono); font-size: 13px; opacity: .7; }
.hero-tab .t-name { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.hero-tab .t-tag { display: block; margin-top: 4px; font-size: 14px; opacity: .75; }

.stage { flex: 3 1 520px; min-width: 0; position: relative; min-height: 480px; background: var(--card); border-radius: var(--radius-xl); overflow: hidden; }
.stage-bars { position: absolute; top: 20px; left: 24px; right: 24px; display: flex; gap: 6px; z-index: 3; }
.stage-bars span { flex: 1; height: 4px; border-radius: 2px; background: rgba(22, 23, 26, .15); overflow: hidden; }
.stage-bars span i { display: block; height: 100%; width: 0; background: var(--accent); }
.stage-bars span.done i { width: 100%; background: var(--ink); }
.stage-bars span.run i { animation: mkrFill var(--dur, 6s) linear forwards; }
.stage-bars span.hold i { width: 100%; }
.stage-badge { position: absolute; top: 40px; left: 24px; z-index: 3; padding: 8px 14px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 700; }
.stage-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease); transform: scale(1.03); }
.stage-slide.on { opacity: 1; transform: none; }
.stage-slide img { width: 100%; height: 100%; object-fit: cover; }
.stage-slide::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(22, 23, 26, .45), transparent); }
.stage-ctrl { position: absolute; left: 24px; bottom: 24px; z-index: 3; display: flex; gap: 8px; }
.stage-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #C2C4C9; }
.stage-empty svg { width: 70%; }

.spec { flex: 1.3 1 280px; min-width: 0; background: var(--ink); color: var(--white); border-radius: var(--radius-xl); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.spec .s-name { margin-top: 6px; font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1.15; }
.spec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.spec dt { font-family: var(--f-mono); font-size: 12px; color: var(--muted-2); }
.spec dd { margin-top: 4px; font-weight: 700; font-size: 17px; }
.spec .s-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid #2E2F34; }
.spec .s-price { margin: 4px 0 18px; font-family: var(--f-display); font-weight: 700; font-size: 30px; }
.fade-swap { animation: mkrFadeUp .5s var(--ease) both; }

/* ---------- Buscador ---------- */
.searchbar { background: var(--white); border-radius: 999px; padding: 10px 10px 10px 26px; display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 0 var(--line-2); }
.searchbar svg { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 18px; height: 52px; background: transparent; color: var(--ink); }
.chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-left: 12px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover, .chip.on { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Marquesina ---------- */
.marquee { background: var(--ink); color: var(--white); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: mkrMarquee 30s linear infinite; font-family: var(--f-display); font-weight: 500; font-size: 22px; white-space: nowrap; }
.marquee-track span { display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ---------- Acordeón por marca ---------- */
.acc-wrap { display: flex; gap: 12px; height: 460px; }
.acc {
  flex: 1; min-width: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--white); text-decoration: none; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: flex .55s var(--ease);
}
.acc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: opacity .5s, transform .8s var(--ease); }
.acc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 23, 26, .85), rgba(22, 23, 26, .05) 55%, rgba(22, 23, 26, .55)); z-index: 1; }
.acc > * { position: relative; z-index: 2; }
.acc img { z-index: 0; }
.acc-wrap:hover .acc { flex: 1; }
.acc-wrap .acc:hover, .acc-wrap:not(:hover) .acc:first-child { flex: 4; }
.acc:hover img, .acc-wrap:not(:hover) .acc:first-child img { opacity: .8; transform: scale(1.04); }
.acc .acc-name { font-family: var(--f-display); font-weight: 700; font-size: 28px; white-space: nowrap; }
.acc .acc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.acc .acc-more { padding: 12px 18px; border-radius: 999px; background: var(--accent); font-size: 14px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.acc:hover .acc-more, .acc-wrap:not(:hover) .acc:first-child .acc-more { opacity: 1; transform: none; }

/* ---------- Tarjetas de vehículo ---------- */
.snap { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 8px; }
.snap::-webkit-scrollbar { display: none; }
.snap > * { scroll-snap-align: start; flex: 0 0 340px; }
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.v-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s;
}
.v-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22, 23, 26, .10); }
.v-media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--line-2); }
.v-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.v-card:hover .v-media img { transform: scale(1.05); }
.v-status { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--ok-bg); color: var(--ok); }
.v-status.vendido { background: #FDE2E3; color: #8E1418; }
.v-status.reservado { background: var(--warn-bg); color: var(--warn); }
.v-body { padding: 18px 8px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.v-top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.v-title { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.v-meta { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.v-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v-price { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.v-go { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.v-go svg { width: 18px; height: 18px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--line-2); border-radius: 999px; }
.pill { padding: 11px 18px; border-radius: 999px; border: 0; cursor: pointer; font-size: 15px; font-weight: 600; background: transparent; color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.skeleton { background: linear-gradient(90deg, #E2E3E6 0%, #EEEFF1 50%, #E2E3E6 100%); background-size: 200% 100%; animation: mkrShimmer 1.4s linear infinite; border-radius: var(--radius-lg); min-height: 380px; }
.empty-state { padding: 60px 24px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--radius-lg); grid-column: 1 / -1; }

/* ---------- Por qué ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--ink); }
.why-item { padding: 32px 28px 32px 0; display: flex; flex-direction: column; gap: 14px; }
.why-n { font-family: var(--f-display); font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.why-item h3 { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.why-item p { color: var(--ink-3); }

/* ---------- Testimonios ---------- */
.mq { overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.mq-track { display: flex; gap: 16px; width: max-content; animation: mkrMarquee 55s linear infinite; }
.mq-track.rev { animation-name: mkrMarqueeR; animation-duration: 62s; }
.mq:hover .mq-track { animation-play-state: paused; }
.t-card { margin: 0; width: 380px; background: var(--card); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.mq-track.rev .t-card { background: var(--white); }
.t-card blockquote { font-size: 16px; line-height: 1.55; color: #26272B; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-card img, .t-card .t-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--line-2); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.t-card strong { display: block; font-size: 15px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--accent); color: var(--white); border-radius: var(--radius-xl); padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band .mono { color: #FFE3E4; }
.cta-band h2 { margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4vw, 54px); line-height: 1.04; letter-spacing: -.02em; }
.cta-band p { margin-top: 12px; color: #FFE3E4; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 120px; background: var(--ink); color: #C4C6CC; border-radius: 40px 40px 0 0; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.f-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; justify-content: space-between; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col .mono { color: var(--muted-2); font-size: 12px; }
.f-col a, .f-col span.v { color: var(--white); text-decoration: none; line-height: 1.6; }
.f-col a:hover { color: #FF8A8E; }
.f-word { margin-top: 64px; font-family: var(--f-display); font-weight: 900; font-size: clamp(52px, 13vw, 190px); line-height: .85; letter-spacing: -.05em; color: var(--white); user-select: none; }
.f-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid #2E2F34; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted-2); }
.f-bottom a { color: var(--muted-2); text-decoration: none; }

/* ---------- Flotantes ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 30px; bottom: 98px; z-index: 59; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Catálogo ---------- */
.filters { background: var(--white); border-radius: var(--radius-lg); padding: 18px; display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line-2);
  background: var(--card); font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 23, 26, .08); }
.result-count { margin: 28px 0 16px; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters .f-search { grid-column: 1 / -1; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }

/* ---------- Detalle ---------- */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 10px 0; }
.back-link svg { width: 18px; height: 18px; }
.detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: var(--card); border-radius: var(--radius-xl); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-main .g-count { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(22, 23, 26, .75); color: #fff; font-family: var(--f-mono); font-size: 12px; }
.gallery-main .g-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-main .g-prev { left: 16px; } .gallery-main .g-next { right: 16px; }
.thumbs { margin-top: 12px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.thumbs button { flex: 0 0 96px; height: 72px; border-radius: 14px; overflow: hidden; border: 3px solid transparent; padding: 0; cursor: pointer; background: var(--line-2); }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .t-video { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.video-box { margin-top: 12px; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video-box iframe { width: 100%; height: 100%; border: 0; }
.d-panel { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.d-card { background: var(--card); border-radius: var(--radius-lg); padding: 28px; }
.d-card.dark { background: var(--ink); color: #fff; }
.d-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; margin-top: 10px; }
.d-price { font-family: var(--f-display); font-weight: 700; font-size: 34px; margin: 18px 0 4px; }
.d-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 8px; }
.d-specs dt { font-family: var(--f-mono); font-size: 12px; color: var(--muted-2); }
.d-specs dd { margin-top: 4px; font-weight: 700; }
.d-actions { display: grid; gap: 10px; margin-top: 22px; }
.feat-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.feat-list li { padding: 8px 14px; border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-md); background: var(--warn-bg); color: var(--warn); font-size: 15px; line-height: 1.5; }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.notice strong { color: #5A3700; }
.notice a { font-weight: 700; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .d-panel { position: static; order: 1; } .detail-left { display: contents; } .d-extra { order: 2; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 12, .94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; }
.lightbox .lb-close { position: absolute; top: 20px; right: 20px; }
.lightbox .lb-prev { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Formularios oscuros (Búscame un auto / contacto) ---------- */
.form-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 960px) { .form-split { grid-template-columns: 1fr; } }
.dark-card { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: 36px; }
.dark-card .mono { color: var(--muted-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .dark-card { padding: 24px; } }
.dfield { position: relative; display: flex; flex-direction: column; gap: 6px; }
.dfield > label { font-size: 13px; font-weight: 600; color: #C4C6CC; }
.dfield > label .req { color: #FF6B70; }
.dfield .hint { font-size: 12px; color: var(--muted-2); }
.dinput {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid #3A3B41;
  background: #222327; color: #fff; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.dinput::placeholder { color: #7D8087; }
.dinput:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.dinput:disabled { opacity: .45; cursor: not-allowed; }
textarea.dinput { min-height: 120px; resize: vertical; }
select.dinput { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23C4C6CC' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.dinput.invalid { border-color: #FF6B70; }
.prefix-wrap { position: relative; }
.prefix-wrap span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #C4C6CC; font-weight: 700; }
.prefix-wrap .dinput { padding-left: 32px; }

.franq-box { border: 1px solid #5A2A2C; background: #2A1718; border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.franq-box .ft { display: flex; gap: 10px; align-items: flex-start; color: #FFD2D4; font-size: 14px; line-height: 1.5; }
.franq-box .ft svg { width: 20px; height: 20px; flex-shrink: 0; color: #FF6B70; margin-top: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #E6E7EA; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

/* Autocompletado */
.ac { position: relative; }
.ac-list {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; max-height: 280px; overflow-y: auto;
  background: #222327; border: 1px solid #3A3B41; border-radius: 14px; padding: 6px; display: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.ac-list.open { display: block; }
.ac-opt { padding: 11px 12px; border-radius: 10px; cursor: pointer; color: #E6E7EA; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.ac-opt small { color: var(--muted-2); font-family: var(--f-mono); font-size: 11px; }
.ac-opt[aria-selected="true"], .ac-opt:hover { background: #33343A; color: #fff; }
.ac-opt mark { background: transparent; color: #FF8A8E; font-weight: 700; }
.ac-empty { padding: 12px; color: var(--muted-2); font-size: 14px; }

.form-msg { margin-top: 14px; padding: 14px 16px; border-radius: 14px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #12321F; color: #A6F0C3; }
.form-msg.err { display: block; background: #3A1416; color: #FFB3B6; }

/* Pasos */
.steps { display: grid; gap: 4px; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 14px 0; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.step h4 { font-size: 16px; font-weight: 700; }
.step p { font-size: 14px; color: #A9ACB3; margin-top: 2px; }
.light .step p { color: var(--ink-3); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }

/* ---------- Página de crédito y franquicias ---------- */
.timeline { position: relative; display: grid; gap: 16px; }
.tl-item { display: grid; grid-template-columns: 76px 1fr; gap: 20px; background: var(--card); border-radius: var(--radius-lg); padding: 26px; }
.tl-n { font-family: var(--f-display); font-weight: 900; font-size: 52px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.tl-item h3 { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.25; }
.tl-item p { margin-top: 8px; color: var(--ink-3); }
.tax { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.tax div { background: var(--ink); color: #fff; border-radius: var(--radius-md); padding: 22px; }
.tax div.acc-c { background: var(--accent); }
.tax b { display: block; font-family: var(--f-display); font-size: 40px; line-height: 1; }
.tax span { display: block; margin-top: 8px; font-size: 14px; color: #D4D5D9; }
.tax div.acc-c span { color: #FFE3E4; }

.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--line-2); border-radius: 999px; width: fit-content; max-width: 100%; }
.tab { padding: 12px 20px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel { margin-top: 16px; background: var(--card); border-radius: var(--radius-lg); padding: 30px; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-family: var(--f-display); font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.req-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.req-big div { background: var(--white); border-radius: var(--radius-md); padding: 22px; }
.req-big b { display: block; font-family: var(--f-display); font-size: 30px; line-height: 1.05; }
.req-big span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 14px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .tl-item { grid-template-columns: 1fr; gap: 8px; } }
.small-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Contacto / Nosotros ---------- */
.info-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.info-tile { background: var(--card); border-radius: var(--radius-md); padding: 22px; }
.info-tile .mono { display: block; margin-bottom: 8px; }
.info-tile a, .info-tile p { font-weight: 700; text-decoration: none; }
.map { border-radius: var(--radius-xl); overflow: hidden; height: 420px; background: var(--line-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
.prose p { color: var(--ink-3); font-size: 17px; margin-bottom: 16px; }
.big-quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; }

/* ---------- Animaciones ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@keyframes mkrMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mkrMarqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes mkrFill { from { width: 0; } to { width: 100%; } }
@keyframes mkrFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mkrShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (max-width: 760px) {
  .acc-wrap { flex-direction: column; height: auto; }
  .acc { min-height: 150px; }
  .acc .acc-more { opacity: 1; transform: none; }
  .snap > * { flex-basis: 82%; }
  .section { padding-top: 80px; }
  .stage { min-height: 340px; }
  .hero-tabs { display: none; }
  .page-head .ghost { top: auto; bottom: 0; font-size: 92px; opacity: .7; }
  .hint-hover { display: none; }
  .hero-grid { margin-top: 28px; }
  .searchbar { border-radius: 24px; flex-wrap: wrap; padding: 12px 12px 12px 18px; }
  .searchbar .btn { width: 100%; }
  .t-card { width: 300px; }
  .cta-band, .d-card { padding: 28px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 20px; bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
