/* Te Gusta? Te Lo Vendo! — tienda */
:root {
  --carbon: #121212; --carbon-2: #1a1a1a; --carbon-3: #242424; --line: #2e2e2e;
  --red: #E3141C; --red-dark: #C8101A; --red-text: #FF4D55;
  --white: #F7F5F2; --muted: #B5B5B5; --green: #30D158; --wa: #25D366;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Barlow, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--carbon); color: var(--white); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--cond); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .95; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(32px, 4.5vw, 48px); }
h3 { font-size: 28px; }
.hl { color: var(--red-text); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.big { font-size: 20px; }
.lead { font-size: 19px; color: #d9d9d9; max-width: 640px; }
.eyebrow { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--red-text); margin: 0 0 6px; letter-spacing: .5px; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 2px; }

/* Logo neón */
.logo { display: inline-flex; flex-direction: column; font-family: var(--cond); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .9; transform: rotate(-4deg); font-size: 22px; white-space: nowrap; }
.logo-a { color: #111; -webkit-text-stroke: 0; text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 14px rgba(255,255,255,.7), 0 0 28px rgba(255,255,255,.35); }
.logo-b { color: #ffe9ea; text-shadow: 0 0 3px #fff, 0 0 10px var(--red), 0 0 22px var(--red), 0 0 44px rgba(227,20,28,.7); margin-left: .45em; }
.logo.sm { font-size: 20px; }
.logo.xl { font-size: clamp(40px, 10vw, 132px); }
.flicker .logo-b { animation: flick 6s infinite; }
.flicker .logo-a { animation: flick 9s infinite 1.3s; }
@keyframes flick {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .25; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .flicker .logo-a, .flicker .logo-b { animation: none; } html { scroll-behavior: auto; } }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(18,18,18,.94); backdrop-filter: blur(8px); border-bottom: 3px solid var(--red); }
.nav-in { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; }
.nav-logo { text-decoration: none; padding: 4px 0; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav-links a { text-decoration: none; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
.nav-links a:hover, .nav-links a[aria-current] { background: var(--red); }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 8px; border: 0; background: var(--red); margin-left: auto; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { width: 22px; height: 3px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-chips { display: none; }
@media (max-width: 900px) {
  .nav-in { padding: 8px 14px; }
  .nav-links, .nav-wa { display: none; }
  .nav-burger { display: flex; }
  .nav-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px; max-height: 0; transition: max-height .3s ease, padding .3s ease; scrollbar-width: none; }
  .nav.open .nav-chips { max-height: 60px; padding: 0 14px 10px; }
  .nav-chips a { flex-shrink: 0; text-decoration: none; background: var(--carbon-3); border: 1px solid #3a3a3a; border-radius: 6px; padding: 8px 12px; font-family: var(--cond); font-style: italic; font-weight: 800; text-transform: uppercase; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; transition-delay: calc(var(--i) * 40ms); }
  .nav.open .nav-chips a { opacity: 1; transform: none; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 8px; border: 0; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 19px; text-transform: uppercase; text-decoration: none; cursor: pointer; color: #fff; background: var(--carbon-3); }
.btn-red { background: var(--red); box-shadow: 0 0 0 0 rgba(227,20,28,.5); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; border: 2px solid #fff; }
.btn-dark { background: #0a0a0a; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-xl { min-height: 58px; font-size: 22px; width: 100%; }
.btn-sm { min-height: 38px; font-size: 15px; padding: 0 14px; background: var(--red); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Secciones */
.sec { max-width: 1240px; margin: 0 auto; padding: 56px 20px; }
.sec.narrow { max-width: 760px; }
.sec.center { text-align: center; }
.sec-head { margin-bottom: 24px; }
.hero { background: radial-gradient(ellipse at 50% 30%, rgba(227,20,28,.22), transparent 60%), var(--carbon); border-bottom: 1px solid var(--line); }
.hero-in { max-width: 1000px; margin: 0 auto; padding: 56px 20px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-sign { padding: 20px 0 10px; }
.hero-title { font-size: clamp(30px, 4.6vw, 52px); max-width: 820px; }
.hero-sub { font-size: 19px; color: #d9d9d9; max-width: 620px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sec-visit .hero-cta { justify-content: flex-start; margin-top: 14px; }
.hero-stats { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-stats li { flex: 1 1 100px; max-width: 220px; background: var(--carbon-2); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; }
@media (max-width: 560px) { .hero-stats { flex-wrap: nowrap; width: 100%; } .hero-stats strong { font-size: 24px; } .hero-stats span { font-size: 12px; } }
.hero-stats strong { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 34px; line-height: 1; }
.hero-stats span { color: var(--muted); font-size: 14px; }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 14px 20px; background: var(--red); font-family: var(--cond); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 18px; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--carbon-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; transition: transform .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); border-color: var(--red); }
.card-img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; background: #0e0e0e; }
.ph-empty { display: flex; align-items: center; justify-content: center; color: #3a3a3a; }
.ph-empty svg { width: 30%; height: 50%; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.card-title { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 21px; text-transform: uppercase; line-height: 1; }
.card-spec { color: var(--muted); font-size: 14px; }
.card-price { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 24px; margin-top: 4px; }
.card-price s, .opp-price s, .ficha-price s { color: var(--muted); font-size: .7em; font-weight: 700; }
.badge { position: absolute; top: 10px; left: 10px; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 14px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.badge.static { position: static; align-self: flex-start; }
.badge-red { background: var(--red); color: #fff; }
.badge-white { background: #fff; color: #0a0a0a; }
.badge-dark { background: #0a0a0a; color: #fff; border: 1px solid #3a3a3a; }
.more { margin: 22px auto 0; display: flex; }
.catalog { margin-top: 26px; }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 14px; border-radius: 6px; background: #0e0e0e; color: #fff; border: 1px solid #3a3a3a; font-family: var(--cond); font-style: italic; font-weight: 700; font-size: 17px; text-transform: uppercase; cursor: pointer; }
.chip.on { background: var(--red); border-color: var(--red); }
.empty { padding: 24px; border: 1px dashed #3a3a3a; border-radius: 10px; text-align: center; color: var(--muted); }
.empty a { color: var(--red-text); }

/* Oportunidades */
.opps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.opp { display: flex; gap: 14px; background: var(--red); border-radius: 12px; padding: 14px; text-decoration: none; border: 3px solid #0a0a0a; box-shadow: 6px 6px 0 #0a0a0a; }
.opp-img { width: 130px; height: 130px; flex-shrink: 0; border-radius: 8px; object-fit: cover; background: #0e0e0e; }
.opp-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.opp-body .card-spec { color: #ffe0e1; }
.opp-title { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; text-shadow: 3px 3px 0 #0a0a0a; }
.opp-price { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 28px; }
.opp-price s { color: #ffd0d2; }
.opp-save { font-weight: 700; }
.tag { align-self: flex-start; font-family: var(--cond); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 14px; padding: 3px 8px; border-radius: 4px; transform: rotate(-3deg); }
.tag-red { background: #fff; color: var(--red-dark); }
.count { font-family: var(--mono); font-weight: 700; font-size: 14px; background: #0a0a0a; color: var(--red-text); padding: 6px 10px; border-radius: 6px; align-self: flex-start; }
.count.big { font-size: 16px; }

/* Planes, pasos, visita */
.sec-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 28px; border-radius: 12px; background: var(--carbon-2); border: 1px solid var(--line); border-top: 6px solid var(--red); text-decoration: none; }
.plan p { margin: 0 0 8px; color: #d9d9d9; }
.plan-light { background: var(--white); color: #111; }
.plan-light p { color: #444; }
.plan-light .eyebrow { color: var(--red-dark); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--carbon-2); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 52px; color: var(--red); line-height: 1; }
.steps strong { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 24px; text-transform: uppercase; }
.steps span { color: var(--muted); }
.sec-visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: center; }
.map { width: 100%; height: 320px; border: 0; border-radius: 12px; }

/* Ficha */
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; }
.ficha-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; background: #0e0e0e; border: 1px solid var(--line); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { width: 72px; height: 72px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; flex-shrink: 0; }
.thumb.on { border-color: var(--red); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.ficha-info { display: flex; flex-direction: column; gap: 12px; }
.ficha-info h1 { margin: 0; }
.ficha-price { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 46px; margin: 0; line-height: 1; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0; }
.specs div { background: var(--carbon-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.specs dt { color: var(--muted); font-size: 13px; }
.specs dd { margin: 0; font-weight: 600; }
.notes { background: var(--carbon-2); border-radius: 8px; padding: 12px; margin: 0; white-space: pre-line; }
.notice { background: #2a0c0e; border: 1px solid #5a161b; padding: 12px; border-radius: 8px; margin: 0; }

/* Formularios */
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form select { min-height: 50px; border-radius: 8px; background: #181818; color: #fff; border: 1px solid #3a3a3a; padding: 0 14px; font: 400 16px var(--body); }
.form input:focus, .form select:focus { border-color: var(--red-text); outline: none; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.form legend { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.alert { background: #2a0c0e; border: 1px solid #5a161b; color: #ffb4ab; padding: 12px 14px; border-radius: 8px; margin: 0; }
.ok { background: #0f2a17; border: 1px solid #1f5c33; color: #9be7b0; padding: 12px 14px; border-radius: 8px; margin: 0; }
.pay-note { display: flex; flex-direction: column; gap: 4px; background: var(--carbon-2); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; padding: 14px; color: #d9d9d9; }
.summary { display: flex; gap: 14px; align-items: center; background: var(--carbon-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 18px 0; }
.summary div { display: flex; flex-direction: column; gap: 2px; }
.summary-img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.code-card { background: #fff; color: #0a0a0a; border-radius: 12px; border-bottom: 8px solid var(--red); padding: 22px; display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.code-card span { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; }
.code-card strong { font-size: clamp(44px, 9vw, 64px); color: var(--red-dark); letter-spacing: 3px; line-height: 1.1; }
.bank { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.copy-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--carbon-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.copy-row span { display: flex; flex-direction: column; min-width: 0; }
.copy-row small { color: var(--muted); }
.copy-row strong { word-break: break-all; }
.upload { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.file-btn { position: relative; }
.estimate { background: #fff; color: #0a0a0a; border-radius: 12px; border-bottom: 8px solid var(--red); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.estimate span { font-family: var(--cond); font-style: italic; font-weight: 800; text-transform: uppercase; color: #444; }
.estimate strong { font-family: var(--cond); font-style: italic; font-weight: 900; font-size: 48px; color: var(--red-dark); line-height: 1; }
.estimate small { color: #595959; }
.done { background: var(--carbon-2); border: 1px solid #1f5c33; border-radius: 12px; padding: 22px; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.checks { padding-left: 22px; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .checks { columns: 1; } }

/* Pie */
.foot { border-top: 3px solid var(--red); background: #0c0c0c; margin-top: 40px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 36px 20px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.foot-brand p { color: var(--muted); }
.foot-col { display: flex; flex-direction: column; gap: 6px; color: #d9d9d9; }
.foot-col strong { font-family: var(--cond); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 19px; color: #fff; }
.foot-legal { max-width: 1240px; margin: 0 auto; padding: 0 20px 26px; color: #8a8a8a; font-size: 13px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #06210f; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 40; }
.wa-float svg { width: 28px; height: 28px; }
