/* ==========================================================================
   GHIOTTI MOTORS · Sitio público
   Dirección de arte: salón de exposición premium de noche.
   ========================================================================== */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(88px, 12vw, 168px) 0; }
.section.tight { padding: clamp(64px, 8vw, 110px) 0; }
.section.deep { background: var(--bg-deep); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.row { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .sec-head.row { grid-template-columns: 1fr auto; gap: 40px; } }
.sec-head .lead { margin-top: 4px; }

/* ---------- motion: palabras con máscara ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }
html.js-motion [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js-motion [data-split] .wi { transform: translateY(110%); }
html.js-motion [data-mask] { clip-path: inset(100% 0 0 0); }
html.js-motion [data-line] { transform: scaleX(0); transform-origin: left; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; pointer-events: none; }
.preloader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg-deep); }
.preloader__half.top { top: 0; } .preloader__half.bot { bottom: 0; }
.preloader__core { position: relative; display: grid; justify-items: center; gap: 22px; }
.preloader__shield { position: relative; width: 64px; height: 75px; }
.preloader__shield img { width: 100%; height: 100%; object-fit: contain; }
.preloader__shield::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,250,235,.95) 50%, transparent 65%); background-size: 260% 100%; background-position: 130% 0;
  -webkit-mask: url("../img/marca/escudo-240.png") center / contain no-repeat; mask: url("../img/marca/escudo-240.png") center / contain no-repeat;
  animation: sheen 1s .15s var(--ease-io) both; mix-blend-mode: screen;
}
@keyframes sheen { to { background-position: -30% 0; } }
.preloader__line { width: 140px; height: 1px; background: var(--gold-line); transform: scaleX(0); }
html:not(.js-motion) .preloader, html.no-preload .preloader { display: none; }

/* ---------- transición entre páginas ---------- */
.curtain { position: fixed; inset: 0; z-index: 880; background: var(--bg-deep); pointer-events: none; transform: translateY(100%); display: grid; place-items: center; }
.curtain img { width: 48px; height: auto; opacity: 0; }
html.is-leaving .curtain { transform: none; transition: transform .55s var(--ease-io); }
html.is-leaving .curtain img { opacity: 1; transition: opacity .3s .25s; }
html.curtain-in .curtain { transform: none; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 300; transition: background-color .5s var(--ease), backdrop-filter .5s, border-color .5s; border-bottom: 1px solid transparent; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px var(--gutter); max-width: calc(var(--maxw) + 2 * 0px); margin: 0 auto; transition: padding .5s var(--ease); }
.brand { display: block; flex: none; padding: 7px 0; } /* área de protección: 10% de la altura de la firma */
.brand img { width: 260px; height: auto; aspect-ratio: 2000 / 533; }
@media (min-width: 1280px) { .brand img { width: 290px; } .header.is-scrolled .brand img { width: 260px; } }
.brand img { transition: width .5s var(--ease); }
.header.is-scrolled { background: rgba(11,11,11,.86); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.header.is-scrolled .header__in { padding-top: 10px; padding-bottom: 10px; }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: none; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a { position: relative; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-2); padding: 12px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-io); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }
.burger { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); position: relative; z-index: 2; transition: border-color .3s, background .3s; flex: none; }
.burger span { position: absolute; width: 18px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { transform: translateY(-4px); } .burger span:nth-child(2) { transform: translateY(4px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }
@media (min-width: 1100px) { .nav { display: flex; } .header__cta { display: inline-flex; } .burger { display: none; } }

/* menú mobile a pantalla completa */
.mmenu { position: fixed; inset: 0; z-index: 290; background: var(--bg-deep); display: flex; flex-direction: column; padding: 120px var(--gutter) calc(32px + env(safe-area-inset-bottom)); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden; overflow-y: auto; }
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu nav { display: grid; gap: 4px; margin-bottom: auto; }
.mmenu nav a { display: flex; align-items: baseline; gap: 16px; font-family: var(--serif); font-size: clamp(30px, 9vw, 46px); line-height: 1.25; letter-spacing: -.02em; padding: 6px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease-out), color .3s; }
.mmenu nav a small { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--gold); }
.mmenu nav a:hover { color: var(--gold-2); }
.menu-open .mmenu nav a { opacity: 1; transform: none; }
.menu-open .mmenu nav a:nth-child(1) { transition-delay: .25s; } .menu-open .mmenu nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .mmenu nav a:nth-child(3) { transition-delay: .35s; } .menu-open .mmenu nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .mmenu nav a:nth-child(5) { transition-delay: .45s; } .menu-open .mmenu nav a:nth-child(6) { transition-delay: .5s; }
.menu-open .mmenu nav a:nth-child(7) { transition-delay: .55s; }
.mmenu__foot { display: grid; gap: 14px; margin-top: 36px; opacity: 0; transition: opacity .6s .55s; }
.menu-open .mmenu__foot { opacity: 1; }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; background: var(--bg-deep); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img, .hero__media video { position: absolute; inset: -6% 0 0 0; width: 100%; height: 106%; object-fit: cover; object-position: 56% 62%; transform-origin: 50% 60%; }
html.m-full .hero__media img.kb { animation: kenburns 26s var(--ease-io) infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1%, -.8%, 0); } }
@media (max-width: 899px) { .hero__media img, .hero__media video { object-position: 30% 60%; } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(11,11,11,.72) 0%, rgba(11,11,11,0) 26%),
  linear-gradient(0deg, rgba(11,11,11,1) 0%, rgba(11,11,11,.86) 26%, rgba(11,11,11,.18) 62%, rgba(11,11,11,.0) 100%); }
@media (min-width: 900px) { .hero__shade { background:
  linear-gradient(180deg, rgba(11,11,11,.7) 0%, rgba(11,11,11,0) 22%),
  linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.7) 34%, rgba(11,11,11,.1) 68%, rgba(11,11,11,0) 100%),
  linear-gradient(0deg, rgba(11,11,11,1) 0%, rgba(11,11,11,0) 30%); } }
.hero__guide { position: absolute; left: var(--gutter); top: 0; bottom: 0; width: 1px; z-index: 0; background: linear-gradient(180deg, rgba(201,164,92,0) 8%, rgba(201,164,92,.55) 40%, rgba(201,164,92,.0) 92%); display: none; }
@media (min-width: 900px) { .hero__guide { display: block; } }
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(96px, 13vh, 150px); max-width: var(--maxw); margin: 0 auto; }
@media (min-width: 900px) { .hero__content { padding-left: calc(var(--gutter) + 44px); } }
.hero .eyebrow { letter-spacing: .2em; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 8.4vw, 116px); line-height: 1; letter-spacing: -.04em; max-width: 11ch; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero__sub { font-size: clamp(15px, 1.35vw, 19px); color: var(--ivory-2); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 479px) { .hero__ctas .btn { flex: 1 1 100%; } }
.hero__unit { position: absolute; right: var(--gutter); bottom: clamp(96px, 13vh, 150px); width: 370px; padding: 20px 22px; border-radius: var(--r); background: rgba(17,17,17,.62); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: none; transition: border-color .4s, translate .6s var(--ease-out); }
.hero__unit:hover { border-color: rgba(201,164,92,.55); translate: 0 -4px; }
.hero__unit .label { color: var(--gold); display: flex; align-items: center; gap: 10px; }
.hero__unit .label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(143,185,150,.18); }
.hero__unit h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 10px 0 4px; }
.hero__unit p { color: var(--ivory-3); font-size: 13px; margin-bottom: 14px; }
.hero__unit .specs .spec { padding: 0 12px; } .hero__unit .specs .spec:first-child { padding-left: 0; }
.hero__unit .spec b { font-size: 13.5px; }
.hero__unit-go { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold); transition: background .4s, color .4s; }
.hero__unit:hover .hero__unit-go { background: var(--gold); color: var(--black); }
@media (min-width: 1180px) { .hero__unit { display: block; } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--ivory-3); font-size: 9.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: scrolldot 2.2s var(--ease-io) infinite; }
@keyframes scrolldot { to { top: 100%; } }
@media (max-width: 899px) { .hero__scroll { display: none; } }

/* ---------- valores ---------- */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.values__grid { display: grid; grid-template-columns: 1fr; }
.value { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.value:first-child { border-top: 0; }
.value__n { grid-row: span 2; font-family: var(--serif); font-size: 15px; color: var(--gold); padding-top: 4px; }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.01em; }
.value p { color: var(--ivory-3); font-size: 14px; max-width: 36ch; }
@media (min-width: 900px) {
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .value { padding: 44px 36px; border-top: 0; border-left: 1px solid var(--line); }
  .value:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- tarjetas de unidad ---------- */
.ucards { display: grid; gap: 18px; }
.rail { grid-auto-flow: column; grid-auto-columns: minmax(270px, 84%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; margin: 0; } }
@media (min-width: 1180px) { .rail, .grid-units { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); } }
.grid-units { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-units { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-units { grid-template-columns: repeat(3, 1fr); } }

.ucard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .5s var(--ease), translate .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.ucard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.ucard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .7s var(--ease); }
.ucard__media .img2 { opacity: 0; }
.ucard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.35) 0%, rgba(11,11,11,0) 30%, rgba(11,11,11,0) 70%, rgba(11,11,11,.35) 100%); pointer-events: none; }
.ucard__badges { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; justify-content: space-between; gap: 8px; }
.ucard__view { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--ivory); color: var(--black); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .6s var(--ease-out); }
.ucard__view .ico { width: 15px; height: 15px; }
.ucard__body { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; flex: 1; }
.ucard__line { position: absolute; top: 0; left: 22px; right: 22px; height: 1px; background: var(--gold-line); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-io); }
.ucard__title { display: grid; gap: 4px; }
.ucard__title h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -.01em; }
.ucard__title h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ucard__title p { font-size: 13px; color: var(--ivory-3); min-height: 1.4em; }
.ucard .specs { transition: translate .6s var(--ease-out); }
.ucard .specs { display: grid; grid-auto-flow: column; justify-content: space-between; flex-wrap: nowrap; }
.ucard .spec { padding: 0 0 0 12px; } .ucard .spec:first-child { padding-left: 0; }
.ucard .spec b { font-size: 13.5px; }
.ucard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.ucard__price { display: grid; line-height: 1.2; }
.ucard__price small { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }
.ucard__price b { font-weight: 700; font-size: 19px; letter-spacing: .01em; white-space: nowrap; }
.ucard { container-type: inline-size; }
@container (max-width: 330px) { .ucard .spec small .ico { display: none; } .ucard .spec { padding-left: 9px; } .ucard .spec b { font-size: 12.5px; } .ucard .spec small { letter-spacing: .14em; font-size: 8.5px; } .ucard__cta { width: 44px; padding: 0; } .ucard__cta .cta-txt { display: none; } .ucard__price b { font-size: 18px; } }
.ucard__cta { position: relative; z-index: 2; }
.ucard.is-sold .ucard__media img { filter: grayscale(.7) brightness(.7); }
@media (hover: hover) and (pointer: fine) {
  .ucard:hover { border-color: rgba(201,164,92,.38); translate: 0 -6px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
  .ucard:hover .ucard__media img { transform: scale(1.06); }
  .ucard:hover .ucard__media .img2 { opacity: 1; }
  .ucard:hover .ucard__view { opacity: 1; transform: none; }
  .ucard:hover .ucard__line { transform: scaleX(1); }
  .ucard:hover .specs { translate: 0 -3px; }
}
.ucard:focus-within { border-color: rgba(201,164,92,.5); }
.note-demo { margin-top: 22px; font-size: 12px; color: var(--ivory-3); display: flex; align-items: center; gap: 8px; }
.note-demo .ico { width: 14px; height: 14px; color: var(--gold); }

/* filtros rápidos */
.quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- buscador ---------- */
.finder { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding: clamp(24px, 4vw, 48px); overflow: hidden; }
.finder::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-line); }
.finder__grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 30px; }
.finder__grid .field.full { grid-column: 1 / -1; }
.finder__go { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 8px; }
.finder__count { font-size: 13px; color: var(--ivory-2); }
.finder__count b { color: var(--gold); font-weight: 700; font-size: 18px; }
@media (min-width: 1024px) { .finder__grid { grid-template-columns: repeat(6, 1fr); } .finder__grid .field.full { grid-column: auto; } .finder__grid .field.w2 { grid-column: span 2; } }

/* ---------- financiación ---------- */
.finance { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1024px) { .finance { grid-template-columns: 1fr 1.05fr; } }
.finance__list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.finance__list li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.finance__list .ico { color: var(--gold); width: 24px; height: 24px; margin-top: 2px; }
.finance__list b { display: block; font-weight: 700; font-size: 14px; letter-spacing: .02em; margin-bottom: 2px; }
.finance__list span { color: var(--ivory-3); font-size: 14px; }
.sim { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 22px; box-shadow: var(--shadow); }
.sim::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: var(--gold-line); }
.sim__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sim__val { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.sim__result { display: grid; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--bg-deep); border: 1px solid var(--line); }
.sim__cuota { display: grid; gap: 4px; }
.sim__cuota b { font-weight: 700; font-size: clamp(34px, 5vw, 50px); line-height: 1.05; color: var(--gold-2); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sim__cuota small { color: var(--ivory-3); font-size: 13px; }
.sim__dl { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.sim__dl div { display: flex; justify-content: space-between; gap: 16px; }
.sim__dl dt { color: var(--ivory-3); } .sim__dl dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.sim__note { font-size: 11.5px; color: var(--ivory-3); line-height: 1.55; display: flex; gap: 8px; }
.sim__note .ico { width: 15px; height: 15px; color: var(--gold); margin-top: 2px; }
.sim.compact { box-shadow: none; padding: 22px; }
.sim.compact .sim__result { padding: 18px; }

/* ---------- cómo comprar (pinneado horizontal) ---------- */
.how { overflow: hidden; }
.how__pin { position: relative; }
.how__head { padding-bottom: 40px; }
.how__track { display: grid; gap: 0; }
.step { position: relative; display: grid; gap: 16px; padding: 34px 0; border-top: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-size: clamp(64px, 12vw, 150px); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(201,164,92,.6); }
.step__ico { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold); }
.step__ico .ico { width: 24px; height: 24px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; }
.step p { color: var(--ivory-2); max-width: 38ch; }
.how__progress { display: none; }
@media (min-width: 1024px) {
  html.m-full .how__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  html.m-full .how__track { display: flex; width: max-content; gap: 0; }
  html.m-full .step { width: min(46vw, 640px); padding: 40px 56px 40px 0; margin-right: 56px; border-top: 0; border-right: 1px solid var(--line); min-height: 52vh; align-content: start; }
  html.m-full .step:last-child { border-right: 0; }
  html.m-full .how__progress { display: block; position: relative; height: 1px; background: var(--line); margin-top: 46px; }
  html.m-full .how__progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
  html:not(.m-full) .how__track { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  html:not(.m-full) .step { border-top: 1px solid var(--line); }
}

/* ---------- vendé / consigná ---------- */
.sell { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 1024px) { .sell { grid-template-columns: .9fr 1.1fr; align-items: start; } .sell__intro { position: sticky; top: 130px; } }
.sell__media { position: relative; margin-top: 36px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.sell__media img { width: 100%; height: 115%; object-fit: cover; filter: brightness(.72) saturate(.9); }
.sell__steps { display: grid; gap: 14px; margin-top: 30px; counter-reset: s; }
.sell__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; color: var(--ivory-2); font-size: 14.5px; }
.sell__steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); color: var(--gold); font-size: 16px; padding-top: 1px; }
.card-form { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); padding: clamp(22px, 3.4vw, 40px); }
.card-form::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: var(--gold-line); }
.card-form h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 6px; }
.form-sep { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 10px 0 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.form-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.drop { position: relative; display: grid; place-items: center; gap: 8px; min-height: 120px; padding: 18px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--ivory-3); font-size: 13px; text-align: center; cursor: pointer; transition: border-color .3s, background .3s; }
.drop:hover, .drop.is-over { border-color: var(--gold); background: var(--gold-soft); color: var(--ivory); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .ico { color: var(--gold); width: 26px; height: 26px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs figure { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.7); display: grid; place-items: center; }
.thumbs button .ico { width: 14px; height: 14px; }
.form-ok { display: grid; justify-items: start; gap: 14px; padding: 8px 0; }
.form-ok .ok-ico { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.form-ok .ok-ico .ico { width: 26px; height: 26px; }
.form-ok h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.form-ok p { color: var(--ivory-2); }
.form-err { color: var(--bad); font-size: 13px; }
.legal { font-size: 11.5px; color: var(--ivory-3); line-height: 1.55; }

/* ---------- ¿no está el auto que buscás? ---------- */
.wanted { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(120% 140% at 100% 0%, rgba(201,164,92,.14) 0%, rgba(201,164,92,0) 50%), var(--surface); padding: clamp(26px, 5vw, 64px); display: grid; gap: 36px; }
@media (min-width: 1024px) { .wanted { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.wanted .form-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { .wanted .form-grid { grid-template-columns: 1fr 1fr; } }
.wanted .form-grid .span-2 { grid-column: 1 / -1; }

/* ---------- entregas (masonry) ---------- */
.masonry { columns: 2 220px; column-gap: 14px; }
@media (min-width: 1024px) { .masonry { columns: 3; column-gap: 18px; } }
.mitem { position: relative; display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--surface); cursor: zoom-in; text-align: left; }
@media (min-width: 1024px) { .mitem { margin-bottom: 18px; } }
.mitem img, .mitem video { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.mitem:hover img { transform: scale(1.05); }
.mitem figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(11,11,11,.9), rgba(11,11,11,0)); display: grid; gap: 2px; }
.mitem figcaption b { font-family: var(--serif); font-weight: 400; font-size: 17px; }
.mitem figcaption small { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.mitem .play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(17,17,17,.6); border: 1px solid var(--ivory-2); display: grid; place-items: center; }
.mitem .tag { position: absolute; top: 12px; left: 12px; }

/* ---------- reseñas ---------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 86%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 10px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .reviews { grid-auto-columns: calc((100% - 32px) / 2.2); } }
@media (min-width: 1100px) { .reviews { grid-auto-columns: calc((100% - 32px) / 3); padding: 4px 0 10px; margin: 0; } }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-height: 280px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars .ico { width: 16px; height: 16px; }
.stars .off { color: var(--line-2); }
.review blockquote { font-family: var(--serif); font-size: 18.5px; line-height: 1.5; letter-spacing: -.005em; color: var(--ivory); flex: 1; }
.review footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review footer b { font-weight: 700; font-size: 14px; display: block; }
.review footer small { color: var(--ivory-3); font-size: 12px; }
.review .tag-ej { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-3); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 10px; white-space: nowrap; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.rail-nav button:hover { background: var(--ivory); color: var(--black); border-color: var(--ivory); }

/* ---------- ubicación ---------- */
.location { display: grid; gap: 18px; }
@media (min-width: 1024px) { .location { grid-template-columns: 1.4fr 1fr; } }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--surface); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px var(--line), inset 0 0 80px rgba(0,0,0,.4); border-radius: inherit; }
.info-card { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; align-content: start; }
.info-row { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.info-row .ico { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.info-row b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); margin-bottom: 4px; }
.info-row p, .info-row li { font-size: 15px; }
.info-row li { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.info-row li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.tiny { font-size: 11.5px; color: var(--ivory-3); }

/* ---------- contacto ---------- */
.contact { display: grid; gap: clamp(36px, 6vw, 96px); }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1fr; align-items: center; } }
.contact__big { font-family: var(--serif); font-size: clamp(38px, 6vw, 84px); line-height: 1.02; letter-spacing: -.035em; }
.contact__big em { font-style: normal; color: var(--gold-2); }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--bg-deep); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer__brand img { width: 280px; height: auto; }
.footer__brand p { color: var(--ivory-3); font-size: 14px; margin-top: 22px; max-width: 34ch; }
.footer h4 { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer li a, .footer li span { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--ivory-2); font-size: 14px; transition: color .3s; }
.footer li a:hover { color: var(--ivory); }
.footer li .ico { width: 16px; height: 16px; color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ivory-3); }
.footer__bottom a { color: var(--ivory-3); min-height: 32px; display: inline-flex; align-items: center; transition: color .3s; }
.footer__bottom a:hover { color: var(--ivory); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- botón flotante de WhatsApp ---------- */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 250; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--black); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); transition: scale .5s var(--ease-out); scale: 0; }
.fab.is-in { scale: 1; }
.fab .ico { width: 28px; height: 28px; }
.fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(201,164,92,.5); animation: ring 2.8s var(--ease) infinite; }
html.m-reduced .fab::after { animation: none; opacity: 0; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.fab.is-in:hover { scale: 1.06; }
.fab__tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 9px 14px; border-radius: var(--r-pill); background: var(--ivory); color: var(--black); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (hover: hover) { .fab:hover .fab__tip { opacity: 1; } }

/* ---------- cursor sutil (desktop) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 950; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(241,237,229,.45); pointer-events: none; display: grid; place-items: center; transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background-color .4s, border-color .4s, opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor span { font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--gold); }
.cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--ivory); border-color: var(--ivory); }
.cursor.is-view span { opacity: 1; }

/* ---------- páginas internas ---------- */
.page-head { padding: clamp(150px, 18vw, 210px) 0 clamp(36px, 5vw, 56px); position: relative; }
.page-head::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-3); margin-bottom: 22px; }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; transition: color .3s; }
.crumbs a:hover { color: var(--gold); }
.crumbs .ico { width: 12px; height: 12px; }

/* stock: filtros */
.stock-layout { display: grid; gap: 28px; }
@media (min-width: 1100px) { .stock-layout { grid-template-columns: 280px 1fr; gap: 44px; align-items: start; } }
.filters { display: none; }
@media (min-width: 1100px) { .filters { display: grid; gap: 22px; position: sticky; top: 110px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); } }
.filters h3 { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.filters .chips .chip { min-height: 40px; padding: 0 14px; font-size: 11px; }
.stock-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.stock-bar .count { color: var(--ivory-2); font-size: 14px; }
.stock-bar .count b { color: var(--ivory); font-weight: 700; }
.stock-bar .select { min-height: 44px; width: auto; padding-top: 8px; padding-bottom: 8px; font-size: 13px; }
.open-filters { display: inline-flex; }
@media (min-width: 1100px) { .open-filters { display: none; } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r-pill); background: var(--gold-soft); border: 1px solid rgba(201,164,92,.35); color: var(--gold-2); font-size: 12px; }
.active-filters button .ico { width: 13px; height: 13px; }

/* ficha */
.unit { display: grid; gap: clamp(28px, 4vw, 56px); padding-top: clamp(110px, 13vw, 140px); }
@media (min-width: 1100px) { .unit { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } .unit__info { position: sticky; top: 110px; } }
.gal { display: grid; gap: 12px; min-width: 0; }
.gal__main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; cursor: zoom-in; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.gal__slide.is-video { cursor: default; background: #000; }
.gal__slide iframe, .gal__slide video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.gal__arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; background: rgba(17,17,17,.6); border: 1px solid var(--line-2); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.gal__arrow:hover { background: var(--ivory); color: var(--black); }
.gal__arrow.prev { left: 14px; } .gal__arrow.next { right: 14px; }
@media (hover: none) { .gal__arrow { display: none; } }
.gal__meta { position: absolute; z-index: 2; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.gal__meta > * { pointer-events: auto; }
.gal__count { height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(17,17,17,.7); display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; backdrop-filter: blur(6px); }
.gal__fs { width: 44px; height: 44px; border-radius: 50%; background: rgba(17,17,17,.7); display: grid; place-items: center; backdrop-filter: blur(6px); }
.gal__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gal__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumbs button { position: relative; flex: 0 0 92px; height: 68px; border-radius: 12px; overflow: hidden; opacity: .5; border: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.gal__thumbs button.is-on { opacity: 1; border-color: var(--gold); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs .ico { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; color: var(--ivory); }
.unit__info { display: grid; gap: 20px; min-width: 0; }
.unit__state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.unit__title { display: grid; gap: 8px; }
.unit__title .brandline { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.unit__title h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.03em; }
.unit__title p { color: var(--ivory-2); font-size: 16px; }
.unit .specs { display: grid; grid-auto-flow: column; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 14px 0; }
.unit .spec b { font-size: 17px; }
.unit__price { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; }
.unit__price b { display: block; font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.unit__price small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }
.unit__ctas { display: grid; gap: 10px; }
@media (min-width: 520px) { .unit__ctas { grid-template-columns: 1fr 1fr; } .unit__ctas .btn:first-child { grid-column: 1 / -1; } }
.unit__conds { display: flex; flex-wrap: wrap; gap: 8px; }
.unit__conds span { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ivory-2); }
.unit__conds .ico { width: 14px; height: 14px; color: var(--gold); }
.unit-sec { padding-top: clamp(56px, 7vw, 96px); }
.unit-sec h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; margin-bottom: 24px; }
.unit-detail { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1024px) { .unit-detail { grid-template-columns: 1fr 1fr; } }
.equip { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 560px) { .equip { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.equip li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.equip .ico { color: var(--gold); width: 18px; height: 18px; }
.sheet { display: grid; }
.sheet div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sheet dt { color: var(--ivory-3); display: inline-flex; gap: 10px; align-items: center; }
.sheet dt .ico { width: 16px; height: 16px; color: var(--gold); }
.sheet dd { font-weight: 700; text-align: right; }
.desc { color: var(--ivory-2); font-size: 16px; line-height: 1.75; max-width: 62ch; white-space: pre-line; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 700; background: rgba(6,6,6,.97); display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s; }
.lb.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; gap: 12px; }
.lb__top span { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ivory-2); }
.lb__top div { display: flex; gap: 8px; }
.lb__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, color .3s; }
.lb__btn:hover { background: var(--ivory); color: var(--black); }
.lb__stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: pinch-zoom; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .45s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.lb__stage img { cursor: zoom-in; }
.lb.is-zoom .lb__stage img { cursor: zoom-out; transform: scale(2.2); transition: transform .45s var(--ease-out), transform-origin 0s; }
.lb__nav { display: flex; justify-content: center; gap: 12px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); }
.lb__cap { text-align: center; font-size: 13px; color: var(--ivory-2); padding: 0 16px 6px; }

/* unidad dentro del modal de consulta */
.lead-unit { display: flex; align-items: center; gap: 14px; padding: 12px; margin-bottom: 18px; border-radius: 14px; background: var(--bg-deep); border: 1px solid var(--line); }
.lead-unit img { width: 76px; height: 57px; border-radius: 9px; object-fit: cover; flex: none; }
.lead-unit b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.25; }
.lead-unit small { color: var(--ivory-3); font-size: 12.5px; }
.ph { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 45%, var(--surface-3), var(--surface)); }
.ph::after { content: ""; position: absolute; inset: 0; margin: auto; width: 46px; height: 54px; background: url("../img/marca/escudo-240.png") center / contain no-repeat; opacity: .25; }

/* compartir */
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- utilidades de layout ---------- */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.center { text-align: center; }
.flex-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* ficha: video y barra fija mobile */
.vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 50%, var(--surface-3), #000); color: var(--ivory); }
.vid-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.play-big { position: relative; width: 78px; height: 78px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(201,164,92,.18); transition: scale .4s var(--ease-out); }
.play-big .ico { width: 30px; height: 30px; margin-left: 4px; }
.vid-poster:hover .play-big { scale: 1.06; }
.vid-lbl { position: absolute; bottom: 18px; left: 18px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.unit-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 240; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(11,11,11,.94); border-top: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); translate: 0 110%; transition: translate .5s var(--ease-out); }
.unit-bar.is-in { translate: 0 0; }
.unit-bar small { display: block; font-size: 11px; color: var(--ivory-3); }
.unit-bar b { font-weight: 700; font-size: 17px; }
@media (min-width: 1100px) { .unit-bar { display: none; } }
.page-unit .fab { display: none; }
.filters-sheet h3 { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.filters h3 + .select, .filters-sheet h3 + .select { margin-top: 2px; }

@media (max-width: 420px) { .unit .spec { padding: 0 0 0 10px; } .unit .spec:first-child { padding-left: 0; } .unit .spec b { font-size: 15px; } .unit .spec small { letter-spacing: .14em; } }

/* ---------- v2: portada con la marca (sin auto suelto) o foto del equipo/local ---------- */
.hero__brand { position: absolute; inset: 0; overflow: hidden; background: var(--bg-deep); }
.hero__lines { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(201,164,92,0) 0 139px, rgba(201,164,92,.07) 139px 140px); -webkit-mask: radial-gradient(70% 80% at 70% 45%, #000 0%, transparent 75%); mask: radial-gradient(70% 80% at 70% 45%, #000 0%, transparent 75%); }
.hero__glow { position: absolute; left: 50%; top: 0; width: 90%; height: 100%; background: radial-gradient(42% 46% at 50% 44%, rgba(214,180,110,.26) 0%, rgba(201,164,92,.10) 38%, rgba(201,164,92,0) 70%); }
.hero__glow::after { content: ""; position: absolute; left: 50%; bottom: 13%; width: 46%; height: 9%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(230,207,156,.16), rgba(230,207,156,0)); }
.hero__beam { position: absolute; inset: -20% -40%; background: linear-gradient(105deg, rgba(255,244,220,0) 42%, rgba(255,244,220,.07) 50%, rgba(255,244,220,0) 58%); }
html.m-full .hero__beam { animation: beam 11s var(--ease-io) infinite; }
@keyframes beam { from { transform: translateX(-28%); } to { transform: translateX(28%); } }
html.m-full .hero__glow { animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .82; } to { opacity: 1; } }
.hero__shield { position: absolute; left: 50%; top: 22%; width: 132px; height: auto; transform: translateX(-50%); }
@media (min-width: 900px) {
  .hero__glow { left: 38%; width: 70%; }
  .hero__shield { left: auto; right: clamp(48px, 9vw, 170px); top: 50%; width: clamp(240px, 27vw, 430px); transform: translateY(-54%); }
  .hero__lines { -webkit-mask: radial-gradient(60% 80% at 75% 45%, #000 0%, transparent 75%); mask: radial-gradient(60% 80% at 75% 45%, #000 0%, transparent 75%); }
}
@media (max-width: 899px) { .hero__glow { left: 5%; width: 90%; top: -12%; } .hero h1 { font-size: clamp(38px, 11vw, 60px); } }
.hero.has-photo .hero__brand { display: none; }
.hero__photo { position: absolute; inset: -6% 0 0 0; width: 100%; height: 106%; object-fit: cover; }
@media (min-width: 1180px) { .hero:not(.has-photo) .hero__unit { display: none; } }

/* entregas: carrusel en el celular, mosaico en la compu */
@media (max-width: 719px) {
  #entregas .masonry { columns: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  #entregas .masonry::-webkit-scrollbar { display: none; }
  #entregas .mitem { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  #entregas .mitem img, #entregas .mitem video { height: 100%; object-fit: cover; }
}
#entregas.section { padding-top: clamp(64px, 9vw, 120px); }
.badge.km0 { color: var(--black); background: var(--gold); border-color: var(--gold); }
.badge.km0::before { display: none; }
.hero__media img.hero__shield { inset: auto; left: 50%; top: 21%; width: 120px; height: auto; object-fit: contain; transform: translateX(-50%); }
@media (min-width: 900px) { .hero__media img.hero__shield { left: auto; right: clamp(56px, 10vw, 190px); top: 50%; width: clamp(220px, 24vw, 380px); transform: translateY(-56%); } }
@media (max-width: 899px) and (max-height: 760px) { .hero__media img.hero__shield { top: 15%; width: 96px; } }
@media (max-width: 899px) { .hero__media img.hero__shield { top: 15%; width: 104px; } }
@media (max-width: 899px) and (max-height: 700px) { .hero__media img.hero__shield { top: 12%; width: 80px; } }
