/* Tacacorí Autos — demo ficticia. Identidad: asfalto + amarillo de marcador de parabrisas. */
:root {
  --asphalt: #1c1f22;
  --asphalt-2: #262a2e;
  --ink: #17191b;
  --paper: #f3efe6;
  --card: #fffdf8;
  --line: #ddd4c3;
  --muted: #6a645a;
  --yellow: #f6b800;
  --yellow-2: #ffd34d;
  --teal: #146b5d;
  --teal-bg: #dcefe9;
  --rust: #b4471f;
  --rust-bg: #f8e3d8;
  --wa: #1f8f4e;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(23,25,27,.06), 0 10px 30px -18px rgba(23,25,27,.45);
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --demo-h: 34px;
  --head-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + var(--head-h) + 8px); }
html.lock { overflow: hidden; }
body {
  margin: 0; padding-top: var(--demo-h);
  font: 400 1rem/1.55 var(--f-body); font-stretch: 100%;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 850; font-stretch: 88%; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: calc(var(--demo-h) + 8px); }

/* ---------- Barra de demo ---------- */
.demo-bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--demo-h);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 12px; font-size: .8rem; line-height: 1.1;
  background: #0d0f10; color: #e9e4d8; border-bottom: 1px solid #2c3034;
}
.demo-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar__cta { flex: none; color: var(--ink); background: var(--yellow); font-weight: 700; padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.demo-bar__cta:hover { background: var(--yellow-2); }
@media (max-width: 380px) { .demo-bar { font-size: .72rem; gap: 8px; } }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: var(--demo-h); z-index: 50; background: var(--asphalt); color: #f3efe6; border-bottom: 1px solid #000; }
.site-header__in { height: var(--head-h); display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__txt { font: 900 1.25rem/1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; }
.logo__txt small { display: block; font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #b9b2a3; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: #ddd7ca; }
.nav a:hover { background: var(--asphalt-2); color: #fff; }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 750; text-decoration: none; cursor: pointer; line-height: 1.1; text-align: center;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--dark { background: var(--asphalt); color: #fff; }
.btn--dark:hover { background: #33383d; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #18773f; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: rgba(23,25,27,.06); }
.site-header .btn--wa span { display: none; }
@media (min-width: 420px) { .site-header .btn--wa span { display: inline; } }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 1.05rem; flex: none; }
.icon-btn:hover { background: #f0eadc; }

/* ---------- Marcador de parabrisas (firma visual) ---------- */
.marker {
  font-family: var(--f-marker); color: var(--yellow-2); line-height: .98; letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.35);
  transform: rotate(-4deg); pointer-events: none;
}
.ref-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font: 500 .66rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  background: rgba(13,15,16,.72); color: #f1ece0; padding: 5px 7px; border-radius: 5px;
  backdrop-filter: blur(3px);
}
.ref-tag--lg { font-size: .72rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--asphalt); color: #f3efe6; padding: 28px 0 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 26px; position: relative; z-index: 1; }
.eyebrow { font: 500 .78rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin: 0 0 12px; }
.eyebrow--dark { color: var(--rust); }
.hero__title { font-size: clamp(2.1rem, 1.3rem + 4.2vw, 4.1rem); font-weight: 900; font-stretch: 78%; line-height: .98; letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance; }
.hl { color: var(--yellow); }
.hero__lead { color: #cfc8b9; max-width: 34em; font-size: 1.05rem; }
.search {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  background: var(--paper); color: var(--ink); padding: 14px; border-radius: var(--radius);
  box-shadow: 0 24px 50px -28px #000; margin-top: 20px;
}
.search__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.search__f:nth-child(3) { grid-column: 1 / -1; }
.search label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.search__go { grid-column: 1 / -1; min-height: 50px; font-size: 1.05rem; }
@media (min-width: 560px) {
  .search { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
  .search__f:nth-child(3) { grid-column: auto; }
  .search__go { grid-column: auto; }
}
select, input[type=text], input[type=number], input[type=tel], input:not([type]), textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
select { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2317191b' stroke-width='2.4' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
select:focus, input:focus, textarea:focus { border-color: var(--ink); outline: 3px solid rgba(246,184,0,.55); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--rust) !important; background-color: #fff6f2; }

.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.hero__chips li { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid #484e54; color: #ddd7ca; }
.hero__chips li::before { content: "✓ "; color: var(--yellow); }

.hero__photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: #2c3034; box-shadow: 0 30px 60px -30px #000; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__marker { position: absolute; top: 9%; right: 7%; font-size: clamp(1.4rem, 1rem + 2.4vw, 2.6rem); text-align: right; }
.lot-lines {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: repeating-linear-gradient(90deg, transparent 0 70px, var(--yellow) 70px 76px);
  opacity: .9;
  -webkit-mask: linear-gradient(transparent, #000); mask: linear-gradient(transparent, #000);
}
@media (min-width: 900px) {
  .hero { padding: 56px 0 90px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
}

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.sec-head { margin-bottom: 24px; }
.sec-head h2 { margin-bottom: .2em; }
.sec-head__note { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Inventario ---------- */
.inv__layout { display: grid; gap: 18px; }
@media (min-width: 900px) { .inv__layout { grid-template-columns: 260px 1fr; align-items: start; gap: 28px; } }

.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 900px) { .filters { position: sticky; top: calc(var(--demo-h) + var(--head-h) + 16px); } }
.filters__sum { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 800; cursor: pointer; min-height: 52px; }
.filters__sum::-webkit-details-marker { display: none; }
.filters__sum svg { width: 20px; height: 20px; margin-left: auto; transition: transform .2s; }
.filters[open] .filters__sum svg { transform: rotate(180deg); }
.filters__n { font: 500 .72rem/1 var(--f-mono); background: var(--yellow); color: var(--ink); padding: 4px 7px; border-radius: 999px; }
@media (min-width: 900px) { .filters__sum { pointer-events: none; } .filters__sum svg { display: none; } }
.filters__form { display: grid; gap: 14px; padding: 0 16px 16px; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld > label, .fld > legend { font-size: .85rem; font-weight: 700; }
.fld output { font-family: var(--f-mono); font-weight: 500; color: var(--teal); }
input[type=range] { width: 100%; accent-color: var(--asphalt); min-height: 32px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.seg legend { font-size: .85rem; font-weight: 700; margin-bottom: 5px; padding: 0; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; background: #fff; }
.seg input:checked + span { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.seg--big span { min-height: 46px; padding: 8px 16px; font-size: 1rem; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 32px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--asphalt); }
.fav-count { color: var(--muted); font-weight: 500; }

.inv__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.inv__count { margin: 0; color: var(--muted); }
.inv__count strong { color: var(--ink); font-family: var(--f-mono); font-size: 1.1rem; }
.inv__count:focus { outline: none; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-size: .85rem; font-weight: 700; }
.sort select { width: auto; min-width: 170px; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.car { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.car:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(23,25,27,.06), 0 18px 36px -20px rgba(23,25,27,.55); }
.car__link { display: block; text-decoration: none; }
.car__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car__link:focus-visible { outline: none; }
.car:has(.car__link:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.car__ph { position: relative; display: block; aspect-ratio: 3 / 2; background: #d9d1c1; overflow: hidden; }
.car__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car:hover .car__ph img { transform: scale(1.04); }
.car__marker { position: absolute; top: 10px; right: 14px; font-size: 1.45rem; text-align: right; }
.car__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.car__t { font-size: 1.2rem; font-weight: 850; font-stretch: 92%; margin: 0; }
.car__t span { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); font-stretch: 100%; margin-top: 2px; }
.specs-mini { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 .8rem/1.3 var(--f-mono); color: #47433c; }
.specs-mini li + li::before { content: "·"; margin: 0 7px; color: #b3aa98; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price strong { font: 800 1.3rem/1.1 var(--f-display); font-stretch: 95%; letter-spacing: -.01em; }
.price span { font: 500 .85rem/1 var(--f-mono); color: var(--muted); }
.price--lg strong { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.2rem); }
.tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .76rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.tag--trade { background: var(--rust-bg); color: #8a3412; }
.tag--fin { background: var(--teal-bg); color: #0f5348; }
.tag--4x4 { background: var(--asphalt); color: var(--yellow-2); font-family: var(--f-mono); font-weight: 500; }
.tag--off { background: #ece6da; color: #5d574d; }
.fav {
  position: absolute; z-index: 3; top: 10px; left: 10px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255,253,248,.92); color: var(--ink);
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.4);
}
.fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.fav[aria-pressed="true"] { color: #c2341d; }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav:active svg { transform: scale(.85); }
.fav--inline { position: static; width: auto; border-radius: 10px; padding: 0 14px; gap: 6px; display: inline-flex; align-items: center; border: 1px solid var(--line); box-shadow: none; font-weight: 700; margin-left: auto; height: 44px; }

.empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--card); }
.empty svg { width: 120px; margin: 0 auto 12px; color: #b3aa98; }
.empty p { color: var(--muted); max-width: 32em; margin: 0 auto 18px; }
.empty__act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Pasos ---------- */
.steps { background: var(--card); border-block: 1px solid var(--line); }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps__list { grid-template-columns: repeat(4, 1fr); } }
.steps__list li { position: relative; padding: 18px 18px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.steps__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--asphalt); color: var(--yellow); font: 1.4rem/1 var(--f-marker); margin-bottom: 12px; }
.steps__list p { margin: 0; color: #4b463e; }

/* ---------- Financiamiento ---------- */
.fin { background: var(--asphalt); color: #eee8dc; }
.fin__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .fin__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.fin__lead { color: #c9c2b3; max-width: 34em; }
.fin__h3 { margin-top: 26px; color: #fff; }
.req { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.req li { padding-left: 30px; position: relative; }
.req li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--yellow); }
.fin .muted { color: #a9a293; }

.calc { background: var(--card); color: var(--ink); border-radius: 18px; padding: 20px; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.calc--standalone { box-shadow: 0 30px 60px -30px #000; }
.calc__t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 1.25rem; }
.calc__ej { font: 500 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--yellow); color: var(--ink); padding: 5px 8px; border-radius: 5px; }
.calc__price { margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc__out { background: var(--asphalt); color: #fff; border-radius: 12px; padding: 16px; }
.calc__big { margin: 0 0 10px; display: grid; gap: 2px; }
.calc__big span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #b9b2a3; font-weight: 700; }
.calc__big strong { font: 900 clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem)/1.05 var(--f-display); font-stretch: 85%; color: var(--yellow-2); }
.calc__big small { font: 500 .8rem/1.3 var(--f-mono); color: #cfc8b9; }
.calc__dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #3a3f44; padding-top: 10px; }
.calc__dl dt { font-size: .75rem; color: #b9b2a3; }
.calc__dl dd { margin: 0; font: 500 .95rem/1.3 var(--f-mono); }
.calc__legal { font-size: .78rem; color: var(--muted); margin: 0; }
.calc--off p { margin: 0; color: #4b463e; }

/* ---------- Vende o cambia ---------- */
.trade__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .trade__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.card-form, .summary { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.summary:focus { outline: none; }
.summary h3 { margin: 0; font-size: 1.3rem; }
.summary dl { margin: 0; display: grid; gap: 0; }
.summary dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.summary dt { color: var(--muted); font-size: .9rem; }
.summary dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.summary__act { display: flex; flex-wrap: wrap; gap: 10px; }
.summary__act .btn { flex: 1 1 200px; }
.form-err { margin: 0; color: #8a3412; background: var(--rust-bg); padding: 10px 12px; border-radius: 8px; font-weight: 600; }
textarea { resize: vertical; min-height: 70px; }

/* ---------- Reseñas (placeholder) ---------- */
.reviews { padding-top: 0; }
.placeholder { border: 2px dashed #b8ae9b; border-radius: 18px; padding: 28px 22px; text-align: center; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(184,174,155,.12) 14px 28px); }
.placeholder__tag { display: inline-block; font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 5px; }
.placeholder h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); }
.placeholder p:last-child { color: var(--muted); max-width: 36em; margin: 0 auto; }

/* ---------- Ubicación ---------- */
.loc { background: var(--card); border-top: 1px solid var(--line); }
.loc__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .loc__grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; } }
.loc__addr { font-size: 1.1rem; }
.loc__act { margin-top: 18px; }
.map { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; display: block; }
.map__pin { position: absolute; left: 47%; top: 34%; width: 34px; }
.map__label { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; font: 500 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--card); padding: 8px 12px; border-radius: 6px; border: 1px dashed #a79d89; }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 860px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 750; position: relative; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 1.4rem/1 var(--f-mono); color: var(--rust); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 18px; color: #4b463e; }

/* ---------- Footer ---------- */
.footer { background: #0d0f10; color: #bdb6a7; padding: 36px 0 110px; font-size: .9rem; }
@media (min-width: 900px) { .footer { padding-bottom: 36px; } }
.footer__brand { font: 900 1.2rem/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; color: #f3efe6; }
.footer__brand span { font: 500 .75rem/1 var(--f-mono); text-transform: none; color: #8f887a; }
.footer a { color: var(--yellow); }

/* ---------- Barra móvil ---------- */
.mbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(28,31,34,.96); border-top: 1px solid #000; }
.mbar__a { flex: 1; color: #fff; font-weight: 700; text-decoration: none; min-height: 40px; display: flex; align-items: center; }
.mbar .btn { flex: none; }
@media (min-width: 900px) { .mbar { display: none; } }

/* ---------- Ficha (dialog) ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(10,11,12,.62); }
.sheet {
  width: 100%; max-width: 1100px; max-height: 100dvh; height: 100dvh; margin: 0; padding: 0; border: 0;
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
}
@media (min-width: 900px) {
  .sheet { margin: auto; height: auto; max-height: calc(100dvh - 48px); border-radius: 20px; }
}
.sheet[open] { animation: sheet-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
.sheet__in { padding: 0 0 28px; }
.sheet__top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(243,239,230,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 750; text-decoration: none; min-height: 44px; padding-right: 8px; }
.back svg { width: 20px; height: 20px; }
.sheet__grid { display: grid; gap: 20px; padding: 16px; }
@media (min-width: 900px) { .sheet__grid { grid-template-columns: 1.25fr 1fr; padding: 24px 28px 0; gap: 32px; } }
.sheet__grid--b { margin-top: 8px; }
.gal__main { position: relative; border-radius: 14px; overflow: hidden; background: #d9d1c1; aspect-ratio: 3 / 2; touch-action: pan-y; }
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,253,248,.92); font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 2; }
.gal__nav--prev { left: 10px; } .gal__nav--next { right: 10px; }
.gal__count { position: absolute; right: 10px; bottom: 10px; font: 500 .75rem/1 var(--f-mono); background: rgba(13,15,16,.72); color: #fff; padding: 5px 8px; border-radius: 5px; }
.gal__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gal__thumbs button { flex: none; width: 92px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.gal__thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { display: flex; flex-direction: column; gap: 12px; }
.info__t { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); font-weight: 900; font-stretch: 82%; margin: 0; }
.info__t span { display: block; font-size: 1rem; font-weight: 500; font-stretch: 100%; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.info .tags { margin: 0; }
.info__nota { margin: 0; color: #3f3a33; }
.info__act { display: grid; gap: 10px; margin-top: 4px; }
.h3 { font-size: 1.1rem; margin: 6px 0 10px; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 22px; background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { font-weight: 600; color: var(--muted); width: 42%; }
.spec td { font-family: var(--f-mono); font-weight: 500; }

/* ---------- Modal de contacto ---------- */
.modal { width: calc(100% - 32px); max-width: 460px; border: 0; border-radius: 18px; padding: 22px 20px 20px; background: var(--card); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.modal[open] { animation: pop .22s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal__close-f { position: absolute; top: 10px; right: 10px; margin: 0; }
.modal__tag { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--rust); margin: 0 0 10px; }
.modal h2 { font-size: 1.3rem; font-stretch: 95%; padding-right: 40px; }
.bubble { position: relative; background: #dcf7c5; color: #10200a; padding: 12px 14px; border-radius: 12px 12px 12px 4px; white-space: pre-line; margin: 6px 0 14px; font-size: .97rem; line-height: 1.45; box-shadow: 0 1px 0 rgba(0,0,0,.08); overflow-wrap: anywhere; }
.modal__act { display: grid; gap: 10px; margin-top: 14px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .car:hover, .car:hover .car__ph img { transform: none; }
}

/* ---------- Versión PHP: estado "Apartado", formulario de contacto, honeypot ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status-badge { position: absolute; top: 14px; left: 60px; z-index: 2; background: var(--rust); color: #fff; font: 700 .78rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.status-badge--inline { position: static; display: inline-block; margin-bottom: 8px; box-shadow: none; }
.car--apartado .car__ph img { filter: saturate(.55); }
.apartado-note { background: var(--rust-bg); border: 1px solid #ecc3ae; border-radius: 12px; padding: 14px; margin-top: 14px; }
.apartado-note p { color: #6b2a10; margin: 0 0 12px; }
.c-form { display: grid; gap: 12px; }
.c-form h2 { margin-bottom: 0; }
.c-form .small { margin: 0; }
.c-form .btn[disabled], #sum-send[disabled] { opacity: .6; cursor: progress; }

/* Logo (SVG en img/logo.svg) */
.logo-img { display: block; flex: none; width: 38px; height: 38px; }
