/* ==========================================================================
   INMOTORS · Sistema visual
   Carbón #111317 · Rojo #C81920 · Blanco #F7F7F5
   ========================================================================== */

:root {
  --carbon: #111317;
  --carbon-2: #181b20;
  --carbon-3: #22262c;
  --line-dark: rgba(247, 247, 245, 0.12);
  --red: #c81920;
  --red-hover: #a9141a;
  --white: #f7f7f5;
  --paper: #ececea;
  --ink-soft: #5b5f66;
  --line-light: rgba(17, 19, 23, 0.12);
  --muted: rgba(247, 247, 245, 0.66);
  --ok: #2f8f5b;

  --font-head: "Archivo", "DejaVu Sans", system-ui, sans-serif;
  --font-body: "Inter", "DejaVu Sans", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--carbon);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}

.h-display { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.035em; }
.h-xl { font-size: clamp(2.2rem, 4.8vw, 4.1rem); }
.h-lg { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.h-md { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.light .lead, .paper .lead { color: var(--ink-soft); }
.accent { color: var(--red); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.light { background: var(--white); color: var(--carbon); }
.paper { background: var(--paper); color: var(--carbon); }
.dark-2 { background: var(--carbon-2); }

.section-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; }

/* Eyebrow con las diagonales del símbolo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.light .eyebrow, .paper .eyebrow { color: var(--ink-soft); }
.eyebrow::before {
  content: ""; width: 22px; height: 12px; flex: none;
  background:
    linear-gradient(to right, currentColor 0 0) 0 0 / 0 0 no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M4 0h4L4 12H0z' fill='%23999'/%3E%3Cpath d='M13 0h4l-4 12H9z' fill='%23C81920'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  --clip: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.02em;
  border: 0; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--clip)), calc(100% - var(--clip)) 100%, 0 100%);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--light { background: var(--white); color: var(--carbon); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--carbon); color: var(--white); }
.btn--dark:hover { background: var(--carbon-3); }
.btn--ghost {
  background: transparent; color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
  clip-path: none;
}
.btn--ghost:hover { background: rgba(247,247,245,.08); }
.light .btn--ghost:hover, .paper .btn--ghost:hover { background: rgba(17,19,23,.05); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.88rem; --clip: 9px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  border-bottom: 1.5px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--red); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header--solid {
  background: rgba(17, 19, 23, 0.96);
  border-bottom-color: var(--line-dark);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid, .site-header--solid { background: rgba(17,19,23,.88); backdrop-filter: blur(10px); }
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 46px; height: auto; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; letter-spacing: 0.14em;
  font-size: 1rem; line-height: 1;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  position: relative; font-size: 0.92rem; font-weight: 500; color: rgba(247,247,245,.8);
  padding: 6px 0; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  position: relative; margin-right: -10px;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white);
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; right: 18px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--carbon);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
}
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: 14px; color: var(--muted); font-size: .95rem; }
.menu-open { overflow: hidden; }

/* ---------- Media placeholders (foto real pendiente) ---------- */
.media {
  position: relative; overflow: hidden; background: var(--carbon-3);
  isolation: isolate;
}
.media::before {
  /* diagonales discretas del símbolo */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(247,247,245,.028) 46px 48px);
}
.media .ph {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; padding: 8%;
  color: rgba(247,247,245,.2);
}
.media .ph svg { width: min(78%, 520px); height: auto; }
.media .ph-tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247,247,245,.45);
}
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3;
  transition: transform 1.1s var(--ease), opacity .6s var(--ease);
}
.media img.is-loading { opacity: 0; }
.media.has-photo .ph, .media.has-photo .ph-tag { display: none; }
.light .media, .paper .media { background: #1b1e23; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .media { position: absolute; inset: 0; }
.hero-media .ph { place-items: center end; padding-right: 6%; }
.hero-media .ph svg { width: min(58%, 760px); }
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17,19,23,.94) 0%, rgba(17,19,23,.72) 42%, rgba(17,19,23,.1) 78%),
    linear-gradient(0deg, rgba(17,19,23,.9) 0%, rgba(17,19,23,0) 45%);
}
.hero .wrap { position: relative; z-index: 5; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.9rem); margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; max-width: 46ch; }

.hero-card {
  justify-self: end; width: 100%; max-width: 340px;
  background: rgba(17,19,23,.82); border: 1px solid var(--line-dark);
  padding: 22px 22px 18px; position: relative;
}
.hero-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: var(--red);
}
.hero-card .hc-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero-card .hc-title { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 14px; }
.hero-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 18px; }
.hero-card dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero-card dd { margin: 0; font-weight: 600; font-size: .95rem; }
.hero-card .hc-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--white); }
.hero-card .hc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-dark); padding-top: 14px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; z-index: 5; transform: translateX(-50%);
  width: 1.5px; height: 44px; background: var(--line-dark); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--carbon); }
.trustbar .wrap { display: grid; grid-template-columns: auto repeat(4, 1fr); align-items: stretch; }
.trustbar .tb-label {
  display: flex; align-items: center; padding: 26px 32px 26px 0;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .18em; color: var(--red);
  border-right: 1px solid var(--line-dark);
}
.trustbar .tb-item {
  display: flex; align-items: center; gap: 14px; padding: 26px 24px;
  border-right: 1px solid var(--line-dark); font-weight: 600; font-size: .98rem;
}
.trustbar .tb-item:last-child { border-right: 0; }
.trustbar svg { width: 26px; height: 26px; color: var(--muted); flex: none; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: left; }
.manifesto blockquote {
  margin: 0; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.8rem); line-height: 1.1; letter-spacing: -0.03em;
  max-width: 22ch;
}
.manifesto blockquote em { font-style: normal; color: var(--red); }
.manifesto .m-grid { display: grid; grid-template-columns: 0.3fr 1fr; gap: 40px; }
.manifesto .m-mark { width: 100%; max-width: 120px; opacity: .9; }

/* ---------- Vehicle cards ---------- */
.v-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.v-card {
  display: flex; flex-direction: column; background: var(--white); color: var(--carbon);
  border: 1px solid var(--line-light); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.v-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(17,19,23,.45); }
.v-card .media { aspect-ratio: 4 / 3; }
.v-card:hover .media img { transform: scale(1.04); }
.v-card .v-badge {
  position: absolute; left: 14px; top: 14px; z-index: 4;
  background: var(--carbon); color: var(--white);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 10px;
}
.v-card .v-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.v-card .v-make { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.v-card h3 { font-size: 1.45rem; margin: 0 0 12px; }
.v-card .v-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--red); letter-spacing: -0.01em; margin-bottom: 14px; }
.v-card .v-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 16px; }
.v-card .v-specs li { display: inline-flex; align-items: center; gap: 7px; }
.v-card .v-specs svg { width: 17px; height: 17px; }
.v-card .v-verify {
  display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ok);
  border-top: 1px solid var(--line-light); padding-top: 14px; margin-top: auto; margin-bottom: 18px;
}
.v-card .v-verify svg { width: 16px; height: 16px; }

.v-card--ask {
  background: var(--carbon-2); color: var(--white); border-color: var(--line-dark);
  justify-content: space-between; padding: 30px 26px;
  position: relative; overflow: hidden;
}
.v-card--ask::after {
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 220px; height: 160px; opacity: .06;
  background: url("../img/logo-mark.svg") no-repeat center / contain;
}
.v-grid > .v-card--ask:nth-child(3n+2) { grid-column: span 2; }
.v-grid > .v-card--ask:nth-child(3n+1) { grid-column: 1 / -1; }
.v-grid > .v-card--ask:nth-child(3n+2), .v-grid > .v-card--ask:nth-child(3n+1) { justify-content: flex-end; padding: clamp(32px, 4vw, 56px); }
.v-grid > .v-card--ask:nth-child(3n+2) h3, .v-grid > .v-card--ask:nth-child(3n+1) h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.v-grid > .v-card--ask:nth-child(3n+2) .btn, .v-grid > .v-card--ask:nth-child(3n+1) .btn { width: auto; align-self: flex-start; margin-top: 12px; }
.v-card--ask h3 { font-size: 1.6rem; max-width: 14ch; margin-top: 16px; }
.v-card--ask p { color: var(--muted); font-size: .98rem; }

.grid-foot { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--top { align-items: start; }
.split .media { aspect-ratio: 4 / 5; }
.split-copy p { max-width: 46ch; }
.split-copy .btn-row { margin-top: 32px; }

.diff-mark {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 13vw, 11rem);
  line-height: .85; letter-spacing: -0.05em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(17,19,23,.18);
  user-select: none; margin-bottom: 8px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.light .steps, .paper .steps { border-top-color: var(--line-light); }
.step { padding: 34px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.light .step + .step, .paper .step + .step { border-left-color: var(--line-light); }
.step .num {
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .1em;
  color: var(--red); display: block; margin-bottom: 42px;
}
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
.light .step p, .paper .step p { color: var(--ink-soft); }
.steps-cta { margin-top: 56px; }

.steps--6 { grid-template-columns: repeat(3, 1fr); }
.steps--6 .step:nth-child(4) { border-left: 0; padding-left: 0; }
.steps--6 .step:nth-child(n+4) { border-top: 1px solid var(--line-light); }

/* ---------- Featured vehicle (editorial sticky) ---------- */
.featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.featured-media { display: grid; gap: 18px; }
.featured-media .media { aspect-ratio: 3 / 2; }
.featured-media .media.tall { aspect-ratio: 4 / 3; }
.featured-media .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.featured-media .row .media { aspect-ratio: 1 / 1; }
.featured-info { position: sticky; top: calc(var(--header-h) + 40px); }
.featured-info .h-xl { margin-bottom: 8px; }
.featured-info .sub { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; font-size: .85rem; color: var(--muted); text-transform: uppercase; }
.featured-info .price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); color: var(--red); letter-spacing: -0.02em; margin: 30px 0 6px; }
.featured-info .spec-list { margin: 28px 0 36px; border-top: 1px solid var(--line-dark); }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: .98rem; }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 600; text-align: right; }
.light .spec-list, .light .spec-list li { border-color: var(--line-light); }
.light .spec-list li span:first-child { color: var(--ink-soft); }

/* ---------- Transparency ---------- */
.transp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.transp .kicker { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 18px; }
.transp h2 { max-width: 16ch; }
.transp .after { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-top: 28px; }
.transp .after em { font-style: normal; color: var(--red); }
.t-list { counter-reset: t; border-top: 1px solid var(--line-light); }
.t-list li {
  display: grid; grid-template-columns: 64px 1fr; align-items: baseline; gap: 12px;
  padding: 22px 0; border-bottom: 1px solid var(--line-light);
}
.t-list .n { font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--red); letter-spacing: .08em; }
.t-list strong { font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; display: block; line-height: 1.15; }
.t-list p { margin: 6px 0 0; color: var(--ink-soft); font-size: .96rem; max-width: 46ch; }

/* ---------- Sell band ---------- */
.sell { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.sell .media { min-height: 420px; }
.sell-copy { padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; background: var(--carbon-2); }
.sell-copy h2 { max-width: 15ch; }
.sell-copy p { color: var(--muted); max-width: 42ch; }
.sell-copy .btn-row { margin-top: 26px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.why li { padding: 40px 40px 40px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.why li:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line-dark); }
.why .n { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: .9rem; letter-spacing: .1em; padding-top: 6px; }
.why h3 { font-size: 1.55rem; margin-bottom: 10px; }
.why p { color: var(--muted); margin: 0; max-width: 40ch; }

/* ---------- Closing CTA ---------- */
.closing { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.closing::before {
  content: ""; position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(60vw, 760px); aspect-ratio: 100 / 60; opacity: .12;
  background: url("../img/logo-mark-white.svg") no-repeat center / contain;
}
.closing .wrap { position: relative; }
.closing h2 { max-width: 16ch; }
.closing p { font-size: 1.15rem; max-width: 44ch; opacity: .92; margin-bottom: 34px; }
.closing .eyebrow { color: rgba(255,255,255,.85); }
.closing .eyebrow::before { filter: brightness(0) invert(1); }

/* ---------- Page hero (internal) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -40px; width: 420px; aspect-ratio: 100/60; opacity: .05;
  background: url("../img/logo-mark-white.svg") no-repeat center / contain; pointer-events: none;
}
.page-hero h1 { max-width: 18ch; margin-bottom: 22px; }
.page-hero .lead { max-width: 52ch; }
.page-hero .btn-row { margin-top: 34px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; align-items: center; }
.filters .f-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-right: 8px; font-weight: 600; }
.chip {
  min-height: 44px; padding: 0 20px; border: 1.5px solid var(--line-light); background: transparent;
  font-weight: 600; font-size: .92rem; cursor: pointer; border-radius: 999px;
  transition: all .2s var(--ease); color: var(--carbon);
}
.chip:hover { border-color: var(--carbon); }
.chip[aria-pressed="true"] { background: var(--carbon); color: var(--white); border-color: var(--carbon); }
.filter-empty {
  display: none; padding: 40px; border: 1.5px dashed var(--line-light); text-align: center; margin-bottom: 28px;
}
.filter-empty.is-visible { display: block; }
.filter-empty p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 20px; }
.inv-count { font-size: .9rem; color: var(--ink-soft); margin-left: auto; }

/* ---------- Vehicle detail ---------- */
.vd-hero { padding: calc(var(--header-h) + 36px) 0 60px; }
.vd-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 60px); align-items: start; }

.gallery-main { aspect-ratio: 16 / 11; }
.gallery-main .ph-tag { font-size: .75rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button {
  padding: 0; border: 0; cursor: pointer; background: none; position: relative;
  outline-offset: 2px;
}
.gallery-thumbs .media { aspect-ratio: 1 / 1; }
.gallery-thumbs .media .ph svg { width: 90%; }
.gallery-thumbs .t-lbl {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 6px 4px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center;
  background: linear-gradient(0deg, rgba(17,19,23,.9), rgba(17,19,23,0)); color: var(--white);
}
.gallery-thumbs button::after {
  content: ""; position: absolute; inset: 0; z-index: 6; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s;
}
.gallery-thumbs button[aria-current="true"]::after { box-shadow: inset 0 0 0 2px var(--red); }

.vd-info { position: sticky; top: calc(var(--header-h) + 24px); }
.vd-info .v-make { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.vd-info h1 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin-bottom: 6px; }
.vd-info .vd-price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.7rem); color: var(--red); margin: 18px 0 18px; letter-spacing: -0.02em; line-height: 1; }
.vd-info .vd-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line-dark); font-size: .88rem; font-weight: 500; border-radius: 999px;
}
.pill svg { width: 16px; height: 16px; color: var(--muted); }
.pill--ok { border-color: rgba(47,143,91,.5); color: #7fd3a4; }
.pill--ok svg { color: #7fd3a4; }
.vd-info .btn-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.vd-info .vd-note { font-size: .88rem; color: var(--muted); margin-top: 18px; display: flex; gap: 10px; }
.vd-info .vd-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--red); }

.essentials { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-light); }
.essentials div { padding: 26px 22px; border-right: 1px solid var(--line-light); }
.essentials div:last-child { border-right: 0; }
.essentials svg { width: 26px; height: 26px; color: var(--red); margin-bottom: 18px; }
.essentials dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.essentials dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }

.status-table { width: 100%; border-collapse: collapse; }
.status-table th, .status-table td { text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.status-table th { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; width: 36%; }
.status-table td { color: var(--ink-soft); }
.status-table .st {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem;
  color: var(--carbon); padding: 6px 12px; background: var(--paper); border-radius: 999px; margin-bottom: 6px;
}
.status-table .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b8b8b8; }
.status-table .st--ok::before { background: var(--ok); }
.status-table .st--ask::before { background: var(--red); }
.status-table small { display: block; font-size: .88rem; }

.gtabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; padding-bottom: 4px; }
.gtabs::-webkit-scrollbar { display: none; }
.gtabs .chip { flex: none; }
.gpanel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gpanel-grid .media { aspect-ratio: 4 / 3; }
.gpanel[hidden] { display: none; }

.wear { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.wear .wear-box { border: 1.5px dashed var(--line-light); padding: 28px; }
.wear .wear-box p { color: var(--ink-soft); margin: 0; }

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(17,19,23,.96); border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform .45s var(--ease);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sticky-bar .sb-name { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.sticky-bar .sb-price { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.sticky-bar .sb-actions { display: flex; gap: 10px; }

/* ---------- Mobile WhatsApp dock ---------- */
.wa-dock {
  display: none; position: fixed; left: 12px; right: 12px; z-index: 85;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transition: transform .4s var(--ease), opacity .3s;
}
.wa-dock .btn { width: 100%; min-height: 56px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.wa-dock.is-hidden { transform: translateY(140%); opacity: 0; }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.checklist li {
  display: flex; align-items: center; gap: 14px; padding: 26px 22px;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
}
.checklist svg { width: 24px; height: 24px; color: var(--red); flex: none; }

/* ---------- Philosophy ---------- */
.philo { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.philo li { padding: 40px 30px 0 0; }
.philo li + li { padding-left: 30px; border-left: 1px solid var(--line-dark); }
.philo .verb { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.05; display: block; margin-bottom: 14px; }
.philo .verb em { font-style: normal; color: var(--red); }
.philo p { color: var(--muted); margin: 0; }

.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.7rem); letter-spacing: -0.01em; }
.formula .plus { color: var(--red); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-aside p { color: var(--ink-soft); }
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 32px; height: 32px; flex: none; border: 1.5px solid var(--line-light); border-radius: 50%; position: relative; transition: all .3s var(--ease); }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq summary .ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .ic { background: var(--red); border-color: var(--red); color: #fff; }
.faq details[open] summary .ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--red); }
.faq .answer { padding: 0 60px 28px 0; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); color: var(--carbon); padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--red); }
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid rgba(17,19,23,.18);
  background: #fff; border-radius: var(--radius); font-size: 16px; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--carbon); }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field .err { display: none; font-size: .8rem; color: var(--red); margin-top: 6px; }
.field.has-error .err { display: block; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { margin: 0; position: relative; }
.radios input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.radios span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid rgba(17,19,23,.18);
  border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; transition: all .2s;
}
.radios input:checked + span { background: var(--carbon); color: var(--white); border-color: var(--carbon); }
.radios input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent a { text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-note svg { width: 16px; height: 16px; color: #25a244; flex: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-list { border-top: 1px solid var(--line-dark); }
.contact-list li { border-bottom: 1px solid var(--line-dark); }
.contact-list a, .contact-list .ci { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 24px 0; }
.contact-list .ci-ic { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-dark); }
.contact-list .ci-ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list strong { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: -0.01em; }
.contact-list a svg.arrow { width: 20px; height: 20px; transition: transform .3s var(--ease); color: var(--muted); }
.contact-list a:hover svg.arrow { transform: translateX(4px); color: var(--red); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose .toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0c0f; padding: clamp(64px, 8vw, 100px) 0 36px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; max-width: 14ch; }
.footer-col h4 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 700; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(247,247,245,.85); transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-col .fc-line { display: flex; align-items: center; gap: 10px; }
.footer-col .fc-line svg { width: 18px; height: 18px; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .85rem; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Reveal (safe) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-split] { opacity: 1; transform: none; }
/* red de seguridad: si el JS falla, todo aparece a los 4s */
.js:not(.io) .reveal { animation: reveal-safety 0s linear 3s forwards; }
@keyframes reveal-safety { to { opacity: 1; transform: none; } }

.hero .h-display .line { display: block; overflow: hidden; }
.hero .h-display .line > span { display: block; animation: rise 1.1s var(--ease) both; }
.hero .h-display .line:nth-child(2) > span { animation-delay: .08s; }
.hero .h-display .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.fade-up { animation: fadeup 1s var(--ease) .35s both; }
.fade-up-2 { animation: fadeup 1s var(--ease) .5s both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .trustbar .wrap { grid-template-columns: repeat(4, 1fr); }
  .trustbar .tb-label { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 18px 0; }
  .trustbar .tb-item:first-of-type { padding-left: 0; }
  .essentials { grid-template-columns: repeat(3, 1fr); }
  .essentials div:nth-child(3) { border-right: 0; }
  .essentials div:nth-child(n+4) { border-top: 1px solid var(--line-light); }
}

/* Tablet */
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { justify-self: start; }
  .hero-media .ph { place-items: start center; padding-top: 22vh; }
  .hero-media .ph svg { width: 80%; }

  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .v-grid > .v-card--ask:nth-child(n) { grid-column: auto; }
  .section-head--split { grid-template-columns: 1fr; }
  .split, .transp, .featured, .contact-grid, .faq-layout, .wear { grid-template-columns: 1fr; }
  .featured-info, .faq-aside, .vd-info { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .light .step:nth-child(n+3), .paper .step:nth-child(n+3) { border-top-color: var(--line-light); }
  .steps--6 { grid-template-columns: repeat(2, 1fr); }
  .steps--6 .step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .steps--6 .step:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-light); }
  .steps--6 .step:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .sell { grid-template-columns: 1fr; }
  .sell .media { aspect-ratio: 16 / 10; min-height: 0; }
  .vd-grid { grid-template-columns: minmax(0, 1fr); }
  .vd-gallery { min-width: 0; }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .manifesto .m-grid { grid-template-columns: 1fr; }
  .manifesto .m-mark { max-width: 80px; }
  .philo { grid-template-columns: 1fr; }
  .philo li, .philo li + li { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
}

/* Mobile */
@media (max-width: 767px) {
  body { font-size: 16px; padding-bottom: 84px; }
  body.has-sticky-bar { padding-bottom: 96px; }
  .wa-dock { display: block; }
  .brand svg { width: 40px; }
  .brand-name { font-size: .92rem; }

  .hero { min-height: 92svh; align-items: flex-end; }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(17,19,23,.97) 8%, rgba(17,19,23,.7) 55%, rgba(17,19,23,.25) 100%);
  }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-card { max-width: none; }
  .scroll-cue { display: none; }

  .trustbar .wrap { grid-template-columns: 1fr 1fr; }
  .trustbar .tb-item { padding: 18px 12px 18px 0; font-size: .92rem; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .trustbar .tb-item:nth-of-type(odd) { padding-left: 0; }
  .trustbar .tb-item:nth-of-type(even) { padding-left: 14px; border-left: 1px solid var(--line-dark); }
  .trustbar .tb-item:nth-last-of-type(-n+2) { border-bottom: 0; }

  .v-grid { grid-template-columns: 1fr; }
  .v-grid > .v-card--ask:nth-child(n) .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line-dark); }
  .light .step, .paper .step { border-top-color: var(--line-light) !important; }
  .step:first-child { border-top: 0; }
  .step .num { margin-bottom: 14px; }
  .steps--6 .step { border-top: 1px solid var(--line-light); }
  .why { grid-template-columns: 1fr; }
  .why li, .why li:nth-child(even) { padding: 30px 0; border-left: 0; grid-template-columns: 50px 1fr; }
  .featured-media .row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .featured-media { gap: 10px; }
  .t-list li { grid-template-columns: 44px 1fr; }
  .split .media { aspect-ratio: 4 / 3; }

  .gallery-thumbs { grid-template-columns: repeat(6, 64px); overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-main { margin: 0 calc(var(--gutter) * -1); }
  .vd-hero { padding-top: calc(var(--header-h) + 16px); }
  .essentials { grid-template-columns: 1fr 1fr; }
  .essentials div { border-right: 1px solid var(--line-light) !important; border-top: 1px solid var(--line-light); }
  .essentials div:nth-child(even) { border-right: 0 !important; }
  .essentials div:nth-child(-n+2) { border-top: 0; }
  .essentials div:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .gpanel-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .status-table th, .status-table td { display: block; width: 100%; }
  .status-table th { border-bottom: 0; padding-bottom: 6px; }
  .status-table td { padding-top: 0; }

  .checklist { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .filters .f-label { width: 100%; }
  .inv-count { width: 100%; margin-left: 0; }
  .faq .answer { padding-right: 0; }
  .sticky-bar .sb-name { display: none; }
  .sticky-bar .sb-actions .btn--ghost { display: none; }
  .contact-list strong { font-size: 1.1rem; }
  .closing .btn-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 36px; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
}

@media (max-width: 380px) {
  .hero-card dl { grid-template-columns: 1fr 1fr; }
  .btn { padding: 0 20px; }
}

/* Movimiento reducido: solo desactivamos lo intrusivo */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after { animation: none; }
}

@media print {
  .site-header, .wa-dock, .sticky-bar, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}

/* Chips sobre fondo oscuro */
.section:not(.light):not(.paper) .chip { color: var(--white); border-color: var(--line-dark); }
.section:not(.light):not(.paper) .chip:hover { border-color: var(--white); }
.section:not(.light):not(.paper) .chip[aria-pressed="true"] { background: var(--white); color: var(--carbon); border-color: var(--white); }

/* ---------- Inventario ampliado · propiedad raíz ---------- */
.lote-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.lote-media { position: relative; display: block; }
.lote-media .media { aspect-ratio: 4 / 3; }
.lote-media:hover .media img { transform: scale(1.03); }
.lote-note {
  position: absolute; right: 12px; bottom: 12px; z-index: 5;
  font-size: .72rem; letter-spacing: .04em; color: #fff;
  background: rgba(17,19,23,.72); padding: 6px 10px;
}
.lote-band .spec-list { margin: 26px 0 30px; border-top: 1px solid var(--line-light); }
.lote-band .spec-list li { border-bottom-color: var(--line-light); }
.lote-band .spec-list li span:first-child { color: var(--ink-soft); }
.lote-band .btn-row { margin-top: 0; }
.lote-caption { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.lote-caption svg { width: 16px; height: 16px; flex: none; color: var(--red); }
.lote-tall { aspect-ratio: 1 / 1; }

.highlights { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.highlights li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.highlights svg { width: 18px; height: 18px; color: var(--red); }

.essentials--3 { grid-template-columns: repeat(3, 1fr); }
.essentials--3 div:nth-child(3) { border-right: 0; }

.gallery-fallback { border: 1.5px dashed var(--line-dark); padding: clamp(24px, 4vw, 40px); }
.gallery-fallback[hidden], .gtabs[hidden], .gallery-thumbs[hidden] { display: none; }
.gallery-fallback .lead { max-width: 56ch; margin-bottom: 22px; }

.featured-media .media.tall { aspect-ratio: 4 / 3; }
.hero-media .media.has-photo img { object-position: 60% 55%; }

@media (max-width: 1023px) {
  .lote-band { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .essentials--3 { grid-template-columns: 1fr; }
  .essentials--3 div { border-right: 0 !important; border-top: 1px solid var(--line-light); grid-column: auto !important; }
  .essentials--3 div:first-child { border-top: 0; }
  .hero-media .media.has-photo img { object-position: 50% 30%; }
  .hero { min-height: 100svh; }
}

/* Hero con foto real: la foto ocupa la derecha en escritorio y arriba en móvil */
@media (min-width: 1024px) {
  .hero-media { left: 34%; }
  .hero-media .media.has-photo img { object-position: 50% 60%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(17,19,23,1) 0%, rgba(17,19,23,.55) 30%, rgba(17,19,23,0) 60%),
      linear-gradient(0deg, rgba(17,19,23,.85) 0%, rgba(17,19,23,0) 40%);
  }
}
@media (max-width: 767px) {
  .hero { display: block; min-height: 0; padding: var(--header-h) 0 44px; }
  .hero-media { position: relative; inset: auto; height: 50svh; min-height: 300px; }
  .hero-media .media.has-photo img { object-position: 45% 60%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(17,19,23,1) 0%, rgba(17,19,23,0) 45%); }
  .hero .wrap { margin-top: -48px; }
}

/* ---------- Galería con fotos reales ---------- */
.gallery-main { background: #0c0d10; }
.gallery-main img { object-fit: contain; cursor: zoom-in; }
.gpanel .media img { cursor: zoom-in; }
.gpanel-grid .media { aspect-ratio: 3 / 4; }
.gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.gallery-thumbs .media img { transition: opacity .2s; }
.gallery-thumbs button[aria-current="false"] .media img { opacity: .72; }
.gallery-thumbs button:hover .media img { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,9,11,.96);
  display: flex; align-items: center; justify-content: center; padding: 56px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-close, .lb-nav {
  position: absolute; border: 0; background: rgba(247,247,245,.08); color: var(--white);
  width: 48px; height: 48px; font-size: 1.9rem; line-height: 1; cursor: pointer; border-radius: 50%;
  display: grid; place-items: center; transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: var(--red); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: .85rem; color: var(--muted); letter-spacing: .08em; }
.lb-open { overflow: hidden; }
@media (max-width: 767px) {
  .lightbox { padding: 60px 8px; }
  .lb-nav { top: auto; bottom: 10px; transform: none; }
  .gallery-thumbs { grid-template-columns: repeat(8, 64px); }
}

.price-old { font-size: .55em; font-weight: 600; color: var(--ink-soft); margin-left: 8px; text-decoration-thickness: 1.5px; letter-spacing: 0; }
.vd-info .price-old { color: var(--muted); }
.v-price--ask, .vd-price--ask { color: var(--white); }
.v-card .v-price--ask { color: var(--carbon); font-size: 1.15rem; }
.vd-info .vd-price--ask { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* Fotos del catálogo siempre centradas */
.media img { object-position: center center; }
.v-card .media img, .lote-media .media img, .featured-media .media img { object-position: 50% 50%; }
