:root {
  --ink: #090d14;
  --ink-2: #121a28;
  --ink-3: #1d283a;
  --paper: #fff;
  --soft: #f3f4f7;
  --muted: #5c6677;
  --muted-d: #aab5c6;
  --red: #e02b34;
  --red-d: #b21d25;
  --gold: #f5b942;
  --line: #e4e7ec;
  --r: 16px;
  --shadow: 0 20px 50px #090d1426;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, .car-price { font-family: var(--display); line-height: 1.02; }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 10px; padding: 10px 18px; font-weight: 700; font-size: .93rem; background: none; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px #e02b3440; }
.btn-primary:hover { background: var(--red-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: #ffffff80; color: #fff; }
.btn-ghost:hover { background: #ffffff1f; }
.btn-outline { border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red-d); }

.draft { background: var(--gold); text-align: center; font-size: .78rem; font-weight: 700; padding: 5px 12px; }

/* encabezado */
.top { position: sticky; top: 0; z-index: 30; height: 90px; margin-bottom: -90px; color: #fff; transition: background .3s, box-shadow .3s, height .25s, margin .25s; }
.top.solid { height: 76px; margin-bottom: -76px; background: #090d14ee; backdrop-filter: blur(12px); box-shadow: 0 6px 24px #0004; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 100%; }
.brand { display: block; flex: none; }
.brand img { width: 128px; height: 70px; padding: 3px 7px; background: #fff; border: 3px solid var(--red); border-radius: 11px; box-shadow: 0 0 0 3px #fff, 0 10px 34px #e02b3499; transition: width .25s, height .25s; }
.top.solid .brand img { width: 108px; height: 60px; padding: 2px 6px; box-shadow: 0 0 0 2px #fff, 0 6px 20px #e02b3480; }
.foot-logo { width: 220px; height: auto; margin-bottom: 14px; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; opacity: .85; border-bottom: 2px solid transparent; padding-block: 4px; }
.nav a:hover { opacity: 1; border-color: var(--red); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: #ffffff14; border: 1px solid #ffffff40; border-radius: 10px; padding: 9px 13px; font-weight: 700; font-size: .85rem; }
.menu { display: none; background: none; border: 0; padding: 8px; }
.menu span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* portada */
.hero { position: relative; min-height: min(780px, 94svh); display: flex; align-items: center; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: transform 7s linear; }
.slide.on { opacity: 1; transform: scale(1); }
.slide.incoming { z-index: 1; }
.hero-bg::after { content: ""; z-index: 2; position: absolute; inset: 0; background: linear-gradient(90deg, #090d14f2 0%, #090d14b8 48%, #090d1440 100%), linear-gradient(0deg, #090d14 0%, transparent 35%); }
.hero-content { pointer-events: none; position: relative; z-index: 2; padding-block: 140px 60px; }
.status { display: inline-flex; align-items: center; gap: 10px; background: #ffffff17; border: 1px solid #ffffff30; border-radius: 99px; padding: 6px 16px; font-size: .85rem; font-weight: 600; backdrop-filter: blur(8px); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 4px #35d07f33; }
.status.closed::before { background: var(--gold); box-shadow: 0 0 0 4px #f5b94233; }
.big-name { font: italic 800 clamp(3.6rem, 11vw, 8rem)/.88 var(--display); text-transform: uppercase; margin: 20px 0 14px; letter-spacing: .01em; }
.big-name span { display: block; }
.big-name span:first-child { color: var(--red); font-size: 1.28em; -webkit-text-stroke: 3px #fff; paint-order: stroke fill; text-shadow: 0 0 34px #e02b34aa, 0 8px 24px #000a; }
.big-name span:last-child { color: #fff; text-shadow: 0 6px 22px #000c; }
.slogan { font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--display); text-transform: uppercase; margin-bottom: 12px; }
.slogan em { color: var(--gold); font-style: normal; }
.lead { max-width: 48ch; font-size: 1.15rem; color: #dbe2ec; }
.finder { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 36px; padding: 18px; max-width: 920px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 30px 70px #0007; }
.finder label { display: grid; gap: 3px; flex: 1 1 170px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.finder .grow { flex-grow: 1.4; }
select, input, textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; color: var(--ink); width: 100%; min-width: 0; font-weight: 500; font-size: .95rem; text-transform: none; letter-spacing: normal; }

.stats { background: var(--ink); color: #fff; border-bottom: 4px solid var(--red); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 30px; }
.stats-grid div { text-align: center; border-left: 1px solid #ffffff1f; padding-inline: 10px; }
.stats-grid div:first-child { border: 0; }
.stats strong { display: block; font: 800 3rem/1 var(--display); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted-d); font-size: .85rem; }

.section { padding-block: 96px; }
.alt { background: var(--soft); }
.dark { background: var(--ink); color: #fff; }
.head { margin-bottom: 40px; }
.head.center { text-align: center; }
.head > p:not(.kicker) { color: var(--muted); max-width: 60ch; margin-top: 10px; }
.head.center > p { margin-inline: auto; }
.dark .head > p:not(.kicker) { color: var(--muted-d); }
.kicker { color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }

.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.category { position: relative; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-3); color: #fff; text-align: left; }
.category img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.category:hover img { transform: scale(1.09); }
.category span { position: absolute; inset: auto 0 0; padding: 50px 16px 16px; background: linear-gradient(transparent, #090d14f0); }
.category b { display: block; font: 800 1.7rem/1 var(--display); text-transform: uppercase; }
.category small { color: var(--gold); font-weight: 600; }

/* inventario */
.toolbar { display: grid; grid-template-columns: 1fr 190px 220px auto; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.search { position: relative; }
.search .ico { position: absolute; left: 13px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search input { padding-left: 40px; }
.toolbar-2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-block: 18px 28px; }
.toolbar-2 p { color: var(--muted); font-weight: 600; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 18px; font-weight: 600; font-size: .88rem; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr)); gap: 26px; }
.car { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.car:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.car-media { position: relative; aspect-ratio: 10 / 7; background: #cdd3dc; overflow: hidden; }
.car-open { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: none; }
.car-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.car:hover .car-open img { transform: scale(1.06); }
.tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; pointer-events: none; }
.tag { display: inline-block; background: var(--gold); color: var(--ink); border-radius: 6px; padding: 2px 10px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tag.red { background: var(--red); color: #fff; }
.fav { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fffe; font-size: 1.1rem; box-shadow: 0 4px 12px #0003; }
.fav[aria-pressed="true"] { color: var(--red); }
.fav[aria-pressed="true"] .ico { fill: currentColor; }
.shots { position: absolute; right: 12px; bottom: 10px; background: #090d14bf; color: #fff; border-radius: 6px; padding: 1px 9px; font-size: .72rem; pointer-events: none; }
.car-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 20px; }
.car-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.car h3 { font-size: 1.6rem; }
.car-price { font-size: 2rem; color: var(--red); white-space: nowrap; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.specs li { background: var(--soft); border-radius: 6px; padding: 3px 10px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.car-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.empty { text-align: center; color: var(--muted); padding: 50px 0; display: grid; justify-items: center; gap: 16px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: step; }
.steps li { position: relative; counter-increment: step; background: var(--ink-2); border: 1px solid #ffffff12; border-radius: var(--r); padding: 30px 24px; }
.steps li::after { content: "0" counter(step); position: absolute; right: 18px; top: 8px; font: italic 800 4rem/1 var(--display); color: #ffffff12; }
.steps .ico { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--red); }
.steps h3 { font-size: 1.7rem; text-transform: uppercase; margin: 20px 0 6px; }
.steps p { color: var(--muted-d); font-size: .93rem; }

.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.book-photo { display: flex; align-items: end; min-height: 420px; border-radius: var(--r); padding: 32px; color: #fff; background: linear-gradient(transparent 40%, #090d14e6), url("fotos/2018-jeep-wrangler/2.jpg") center/cover, var(--ink-3); }
.book-photo h3 { font-size: 2.4rem; text-transform: uppercase; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 5px; font-weight: 600; font-size: .86rem; }
.full { grid-column: 1 / -1; }
.note { font-size: .82rem; color: var(--muted); }

.trade { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.trade-list { list-style: none; display: grid; gap: 20px; }
.trade-list li { display: flex; gap: 16px; align-items: start; }
.trade-list .ico { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--red); color: #fff; }
.trade-list b { display: block; font: 700 1.5rem/1.2 var(--display); text-transform: uppercase; }
.trade-list span { color: var(--muted); font-size: .93rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }

.about-section { background: linear-gradient(#090d14ee, #090d14ee), url("fotos/2018-gmc-yukon/2.jpg") center/cover; }
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-text { color: var(--muted-d); margin-bottom: 28px; font-size: 1.08rem; }
.mention-title { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 16px; color: var(--gold); }
.values { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.values li { background: #ffffff0d; border: 1px solid #ffffff17; border-top: 3px solid var(--red); border-radius: 12px; padding: 20px; }
.values b { display: block; font: 700 1.5rem/1.1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.values span { color: var(--muted-d); font-size: .9rem; }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 22px 20px; color: var(--muted); }

.visit { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
address { display: flex; gap: 12px; font-style: normal; font-weight: 600; font-size: 1.2rem; margin-bottom: 22px; }
address .ico { color: var(--red); width: 28px; height: 28px; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours th, .hours td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours .today { background: var(--soft); }
.hours .today th, .hours .today td { font-weight: 700; }
.hours span { background: var(--red); color: #fff; border-radius: 99px; padding: 1px 9px; font-size: .68rem; margin-left: 6px; text-transform: uppercase; }
.visit .note { margin-block: 10px 20px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: var(--r); background: #dde2e9; box-shadow: var(--shadow); }

.cta { background: linear-gradient(110deg, var(--red-d), var(--red)); color: #fff; padding-block: 56px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }

footer { background: var(--ink); color: var(--muted-d); font-size: .88rem; padding-block: 56px 28px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot b { display: block; color: #fff; font: 700 1.3rem var(--display); text-transform: uppercase; margin-bottom: 8px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #ffffff1a; margin-top: 36px; padding-top: 20px; font-size: .78rem; }

/* ventanas */
body:has(dialog[open]) { overflow: hidden; }
.modal { width: min(1060px, 100% - 24px); max-height: 92dvh; margin: auto; border: 0; border-radius: var(--r); padding: 0; color: var(--ink); background: #fff; box-shadow: 0 40px 100px #0009; overflow: auto; }
.modal[open] { animation: pop .25s ease-out; }
.modal::backdrop { background: #05080dcc; backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(20px); } }
.x { position: sticky; float: right; top: 10px; z-index: 5; margin: 10px 10px -54px 0; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.6rem; line-height: 1; }
.detail { display: grid; grid-template-columns: 1.35fr 1fr; }
.gallery { background: var(--ink); padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
.stage { position: relative; aspect-ratio: 10 / 7; }
.stage img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.arrow { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fffd; font-size: 1.7rem; line-height: 1; }
.prev { left: 10px; }
.next { right: 10px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 90px; border: 2px solid transparent; border-radius: 8px; padding: 0; background: none; overflow: hidden; opacity: .55; }
.thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.thumbs img { aspect-ratio: 10 / 7; object-fit: cover; width: 100%; }
.info { display: flex; flex-direction: column; align-items: start; gap: 14px; padding: 32px 28px; }
.info h2 { font-size: 2.2rem; }
.info .car-price { font-size: 2.8rem; }
.info dl { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.info dl div { background: var(--soft); border-radius: 8px; padding: 8px 12px; }
.info dt { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.info dd { font-weight: 600; font-size: .92rem; }
.info > .btn-lg { width: 100%; }
#compare > h2 { padding: 22px 24px 10px; }
.table-scroll { overflow-x: auto; padding: 0 24px 24px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; table-layout: fixed; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--line); padding: 10px; text-align: center; vertical-align: top; }
.compare-table th { width: 110px; text-align: left; font-size: .8rem; color: var(--muted); }
.compare-table img { border-radius: 8px; aspect-ratio: 10 / 7; object-fit: cover; width: 100%; margin-bottom: 8px; }

.compare-bar { position: fixed; z-index: 25; left: 50%; bottom: 20px; translate: -50% 0; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px 12px 20px; box-shadow: var(--shadow); white-space: nowrap; font-weight: 600; font-size: .9rem; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 100px; translate: -50% 20px; background: var(--ink); color: #fff; border-radius: 10px; padding: 11px 18px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; translate: -50% 0; }
.mobile-bar { display: none; }

/* el maguito de la portada: pasa por detrás del texto */
.hero-content > * { pointer-events: auto; }
.wizard { --w: clamp(160px, 21vw, 270px); --edge: max(2%, calc((100% - 1200px) / 2)); position: absolute; z-index: 2; top: 170px; left: calc(100% - var(--w) - var(--edge)); width: var(--w); padding: 0; border: 0; background: none; animation: bob 3.2s ease-in-out infinite; transition: left 1.8s cubic-bezier(.45,0,.55,1); }
.wizard.at-left { left: var(--edge); }
.wizard.facing-right svg { transform: scaleX(-1); }
.wizard svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 14px 22px #0009); transition: transform .35s; }
.wizard .arm { transform-box: view-box; transform-origin: 104px 163px; }
.wizard #wand-tip { filter: drop-shadow(0 0 8px #f5b942); }
.wizard .arm { animation: wave 1.6s ease-in-out infinite; }
.wizard .eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }
.spark { position: absolute; z-index: 2; margin: -.5em 0 0 -.5em; font-style: normal; line-height: 1; color: #ffcf4d; text-shadow: 0 0 6px #f5b942, 0 0 16px #f5b942; pointer-events: none; }
.spark.white { color: #fff; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes wave { 50% { transform: rotate(-18deg); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
/* teléfono parpadeando */
.top .call, .mobile-bar a.ring, .visit a.wa, .cta a.wa { animation: blink-phone 1s ease-in-out infinite; }
.top .call { font-size: 1.05rem; }
.top .call .ico, .mobile-bar a.ring .ico, .cta a.wa .ico { animation: shake-phone 1s ease-in-out infinite; }
@keyframes blink-phone {
  0%, 100% { background: var(--red); color: #fff; box-shadow: 0 0 0 0 #f5b942cc; }
  50% { background: var(--gold); color: var(--ink); box-shadow: 0 0 22px 7px #f5b94299; }
}
@keyframes shake-phone { 0%, 40%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-18deg); } 20% { transform: rotate(18deg); } }

/* financiamiento */
.financing { background: var(--ink); padding-block: 40px; }
.fin-box { text-align: center; color: #fff; background: linear-gradient(120deg, var(--red-d), var(--red)); border: 3px solid var(--gold); border-radius: var(--r); padding: 28px 20px; animation: cash-glow 1.8s ease-in-out infinite; }
.financing .fin-box { width: min(900px, 100% - 40px); }
.fin-box h2 { font-style: italic; color: #fff; text-shadow: 0 4px 14px #0006; }
.fin-box ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 18px; }
.fin-box li { background: #fff; color: var(--ink); border-radius: 99px; padding: 8px 18px; font: 800 1.35rem/1.1 var(--display); text-transform: uppercase; animation: fin-pop 3s ease-in-out infinite; }
.fin-box li:nth-child(2) { background: var(--gold); animation-delay: 1s; }
.fin-box li:nth-child(3) { animation-delay: 2s; }
.fin-box p { font-size: .78rem; opacity: .85; margin-top: 12px; }
@keyframes fin-pop { 0%, 30%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } }

/* métodos de pago: cada uno una sola vez, flotando en ola */
.payments { background: var(--ink-2); color: #fff; padding-block: 32px 36px; overflow: hidden; }
.payments .head { margin-bottom: 18px; }
.payments h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.pay-grid { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-block: 12px; }
.pay-grid li { animation: pay-float 2.4s ease-in-out infinite; }
.pay-grid li:nth-child(2) { animation-delay: .2s; }
.pay-grid li:nth-child(3) { animation-delay: .4s; }
.pay-grid li:nth-child(4) { animation-delay: .6s; }
.pay-grid li:nth-child(5) { animation-delay: .8s; }
.pay-grid li:nth-child(6) { animation-delay: 1s; }
.pay-grid li { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 136px; height: 96px; text-align: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 8px; }
.pay-grid b { font: 700 .95rem/1.1 var(--display); text-transform: uppercase; }
.pay-grid .logos { display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; max-width: 100%; }
.pay-grid .logos img { width: auto; height: 22px; max-width: 100%; object-fit: contain; }
.pay-grid .logos img[alt="Visa"] { height: 13px; }
.pay-grid .logos img.big { height: 40px; }
.pay-grid .logos .ico { width: 38px; height: 38px; }
.pay-grid li.cash { width: 170px; background: linear-gradient(150deg, #1fbf63, #0b7a3c); border: 3px solid var(--gold); color: #fff; gap: 0; animation: pay-float 2.4s ease-in-out infinite, cash-glow 1.8s ease-in-out infinite; }
.pay-grid .cash .ico { width: 28px; height: 28px; }
.pay-grid .cash b { font: italic 800 2.5rem/.95 var(--display); text-shadow: 0 3px 10px #0006; }
.pay-grid .cash span { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
@keyframes pay-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes cash-glow { 0%, 100% { box-shadow: 0 0 0 0 #f5b94266; } 50% { box-shadow: 0 0 22px 5px #f5b94288; } }
@media (max-width: 620px) {
  .pay-grid { gap: 12px; padding-inline: 20px; }
  .pay-grid li, .pay-grid li.cash { width: calc(50% - 6px); }
}
.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.anim .reveal.in { opacity: 1; transform: none; }

.nav a, .call { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1181px) {
  .nav { gap: 14px; }
}
@media (max-width: 1180px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink-2); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 22px; }
  .top:has(.nav.open) { background: var(--ink); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .book, .trade, .about, .visit, .detail { grid-template-columns: 1fr; gap: 32px; }
  .detail { gap: 0; }
  .book-photo { min-height: 260px; }
  .foot { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
}
@media (max-width: 620px) {
  .hero-content { padding-top: 245px; }
  .wizard { --w: 132px; --edge: 10px; top: 86px; }
  .brand img, .top.solid .brand img { width: 108px; height: 60px; padding: 2px 6px; }
  .call { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .stats-grid div:nth-child(3) { border: 0; }
  .categories { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .category { flex: 0 0 62%; scroll-snap-align: start; }
  .toolbar, .form, .values, .steps { grid-template-columns: 1fr; }
  .finder label { flex-basis: 40%; }
  .finder .grow, .finder .btn { flex-basis: 100%; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .mobile-bar { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: var(--ink); border-top: 3px solid var(--red); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: grid; justify-items: center; gap: 1px; color: #fff; text-decoration: none; font-weight: 600; font-size: .75rem; padding: 9px 4px; }
  .mobile-bar .ico { font-size: 1.15rem; }
  .compare-bar { bottom: 74px; width: calc(100% - 20px); justify-content: space-between; gap: 8px; padding-left: 14px; font-size: .8rem; }
  .compare-bar .btn { padding: 8px 12px; }
}
@media (max-width: 620px) {
  .mobile-bar a.ring { font-size: .92rem; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
