/* V12 Sales landing: "parabrisas del lote".
   Fotografía real de lotes a la luz del día y la oferta escrita a mano con marcador rojo,
   como los precios que se escriben en el vidrio de los autos. Marca: grafito, cromo, blanco y el rojo del logo. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/barlow-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/barlow-condensed-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Permanent Marker"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/permanent-marker-400-latin.woff2") format("woff2"); }

:root {
  --white: #FFFFFF;
  --paper: #F3F4F6;
  --ink: #14171C;
  --ink-2: #4A515B;
  --chrome: #C9CED6;
  --hair: #DDE1E6;
  --red: #D7262E;        /* rojo del logo: marcador y acción */
  --red-deep: #B81E26;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marker: "Permanent Marker", "Barlow Condensed", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(72px, 11vw, 140px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--chrome) var(--white); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--red); color: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 40; background: var(--white); padding: 10px 14px; }

.in { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* ---------- tipografía ---------- */
.display, .motto { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; line-height: .9; }
h1.display { font-size: clamp(3.4rem, 15vw, 6.4rem); line-height: .94; }
h2.display, h2.motto { font-size: clamp(2.2rem, 7vw, 4rem); }
h3 { font: 700 1.14rem/1.3 var(--text); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.32rem); line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.muted { color: var(--ink-2); }
.note { font-size: .95rem; color: var(--ink-2); }
.label { font: 700 .78rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.mk { font-family: var(--marker); color: var(--red); font-weight: 400; line-height: 1; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  font: 700 1rem/1 var(--text); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  background: var(--red); color: var(--white); border: 0; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(184, 30, 38, .55);
  transition: background-color 250ms var(--ease), transform 160ms var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform 400ms var(--ease); }
.btn:active { transform: scale(.98); }
@media (hover: hover) { .btn:hover { background: var(--red-deep); } .btn:hover svg { transform: translateX(4px); } }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .86rem; box-shadow: none; }
.btn-sm .long { display: none; }
@media (min-width: 520px) { .btn-sm .long { display: inline; } }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--chrome); }
.link svg { width: 18px; height: 18px; }
@media (hover: hover) { .link:hover { border-color: var(--ink); } }

/* ---------- barra superior ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--hair); padding-top: env(safe-area-inset-top, 0px); }
.top .in { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 132px; height: auto; display: block; }
.brand-tag { display: block; max-width: 6.6em; padding-left: 10px; border-left: 1px solid var(--hair); font: 700 .6rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
@media (max-width: 599px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand .brand-tag { max-width: none; padding-left: 0; border-left: 0; font-size: .5rem; letter-spacing: .16em; white-space: nowrap; }
}
.top nav { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--hair); }
.lang a, .lang span { display: grid; place-items: center; min-width: 44px; min-height: 44px; font: 700 .8rem/1 var(--text); letter-spacing: .12em; text-decoration: none; color: var(--ink-2); }
.lang [aria-current] { background: var(--paper); color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
.hero-copy { display: grid; gap: 22px; align-content: center; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-photo { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--paper); container-type: inline-size; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
/* nota de marcador escrita "sobre el vidrio" de la foto */
.mk-note { position: absolute; left: 3%; top: 5%; width: 40%; color: var(--red); }
.mk-note .mk-amt { position: relative; display: inline-block; font-family: var(--marker); font-size: max(2.4rem, 11cqi); line-height: 1; padding: .12em .22em; text-shadow: 0 0 10px rgba(255, 255, 255, .65); }
.mk-note .mk-label { display: block; font-family: var(--marker); font-size: max(.95rem, 3.6cqi); line-height: 1.15; margin-top: 2px; text-shadow: 0 0 8px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .9); }
.scribble { position: absolute; inset: -6% -10%; width: 120%; height: 112%; overflow: visible; pointer-events: none; }
.scribble path, .arrow path, .check path { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; }
.scribble path { stroke-width: 3.2; stroke-dasharray: 420; stroke-dashoffset: 0; transition: stroke-dashoffset 1100ms var(--ease); }
.arrow { position: absolute; left: 52%; top: 100%; width: 40%; overflow: visible; }
.arrow path { stroke-width: 2.8; stroke-dasharray: 160; stroke-dashoffset: 0; transition: stroke-dashoffset 700ms var(--ease) 700ms; }
.draw .scribble path { stroke-dashoffset: 420; }
.draw .arrow path { stroke-dashoffset: 160; }
.draw.drawn .scribble path, .draw.drawn .arrow path { stroke-dashoffset: 0; }
.photo-credit { position: absolute; right: 8px; bottom: 6px; font-size: .7rem; color: var(--white); text-shadow: 0 1px 2px rgba(20, 23, 28, .6); }

/* ---------- secciones ---------- */
section { padding-top: var(--section); padding-bottom: var(--section); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); }
.head { display: grid; gap: 16px; align-content: start; }
.head p { max-width: 44ch; }
.paper { background: var(--paper); }

/* problema: lista con reglas */
.pains { display: grid; }
.pains li { display: grid; gap: 6px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--hair); }
.pains li:last-child { border-bottom: 1px solid var(--hair); }
.pains h3 { font: 700 clamp(1.5rem, 4vw, 1.9rem)/1.05 var(--display); text-transform: uppercase; }
.pains p { color: var(--ink-2); max-width: 46ch; }

/* cómo funciona: recorrido con números a mano */
.steps { display: grid; gap: 34px; margin-top: clamp(36px, 5vw, 64px); }
.step { display: grid; gap: 10px; align-content: start; position: relative; }
.step .mk { font-size: clamp(3.2rem, 9vw, 4.4rem); background: var(--paper); justify-self: start; padding-right: 14px; }
.step p { color: var(--ink-2); max-width: 38ch; }
.step .label { margin-top: 6px; }

/* cita exitosa: palomitas a mano */
.checks { display: grid; }
.checks li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--chrome); }
.checks li:last-child { border-bottom: 1px solid var(--chrome); }
.checks p { color: var(--ink-2); }
.box { position: relative; width: 40px; height: 40px; border: 2px solid var(--ink); background: var(--white); }
.check { position: absolute; left: 0; top: -14px; width: 52px; height: 52px; overflow: visible; }
.check path { stroke-width: 5; stroke-dasharray: 80; stroke-dashoffset: 0; transition: stroke-dashoffset 650ms var(--ease); }
.armed .checks li:not(.is-lit) .check path { stroke-dashoffset: 80; stroke-opacity: 0; }
.result { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.result .mk-amt { position: relative; font-family: var(--marker); color: var(--red); font-size: clamp(3rem, 10vw, 4.6rem); line-height: 1; padding: .1em .25em; }
.armed .result:not(.is-lit) .scribble path { stroke-dashoffset: 420; }
.result p { max-width: 30ch; font-weight: 700; }

/* precios: la etiqueta de la ventana */
.price-wrap { display: grid; gap: 40px; align-items: start; margin-top: clamp(36px, 5vw, 56px); }
.sticker { background: var(--white); border: 1px solid var(--hair); border-top: 6px solid var(--ink); padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 48px -28px rgba(20, 23, 28, .35), 0 2px 6px rgba(20, 23, 28, .06); }
.sticker-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sticker-head .display { font-size: clamp(1.5rem, 4vw, 2rem); }
.sticker-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: baseline; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.sticker-row .amount { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.sticker-row p { grid-column: 1 / -1; color: var(--ink-2); font-size: .95rem; }
.sticker-foot { display: grid; gap: 6px; padding-top: 16px; }
.sticker-foot p { color: var(--ink-2); font-size: .95rem; }
.tag { position: relative; justify-self: start; display: grid; gap: 6px; padding: 18px 26px; transform: rotate(-3deg); }
.tag .mk-amt { position: relative; font-family: var(--marker); color: var(--red); font-size: clamp(3.4rem, 10vw, 5rem); line-height: 1; padding: .08em .2em; justify-self: start; }
.tag .mk-label { font-family: var(--marker); color: var(--red); font-size: clamp(1.1rem, 3vw, 1.4rem); line-height: 1.45; max-width: 16ch; }

/* socios fundadores */
.founders ul { display: grid; gap: 12px; }
.founders li { position: relative; padding-left: 28px; }
.founders li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 3px; background: var(--red); transform: skewX(-30deg); }
.founders .actions { margin-top: 10px; }

/* preguntas */
.faq-list { display: grid; }
.faq-item { border-top: 1px solid var(--hair); }
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-weight: 700; font-size: 1.06rem; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 18px; height: 18px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--red); transition: transform 400ms var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0deg); }
.faq-item p { padding-bottom: 22px; color: var(--ink-2); max-width: 64ch; }

/* cierre sobre la foto del lote */
.closing { padding-top: 0; padding-bottom: var(--section); }
.closing-photo { position: relative; height: clamp(220px, 42vw, 520px); overflow: hidden; }
.closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.closing-card { position: relative; margin-top: clamp(-160px, -12vw, -60px); background: var(--white); padding: clamp(28px, 5vw, 56px); display: grid; gap: 20px; box-shadow: 0 30px 60px -36px rgba(20, 23, 28, .45); }
.contact { display: flex; flex-wrap: wrap; gap: 4px 28px; color: var(--ink-2); font-size: .95rem; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; }
.person { display: flex; align-items: center; gap: 16px; }
.person-photo img { width: 64px; height: 64px; object-fit: cover; }
.person-name span::before { content: "· "; }

footer { padding-top: 0; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
footer .in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; color: var(--ink-2); font-size: .95rem; padding-top: 32px; border-top: 1px solid var(--hair); }
footer img { width: 120px; height: auto; }

/* ---------- escritorio ---------- */
@media (min-width: 900px) {
  .brand img { width: 168px; }
  .brand .brand-tag { font-size: .7rem; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .hero-photo { margin-inline: 0 calc(-1 * max(0px, (100vw - 1240px) / 2) - var(--gutter-r)); aspect-ratio: 1 / 1; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .pains { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .pains li:nth-last-child(2) { border-bottom: 1px solid var(--hair); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 2.1rem; height: 2px; background: var(--hair); }
  .price-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .tag { margin-top: 40px; }
  .closing-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; margin-inline: var(--gutter) var(--gutter-r); }
  .closing-card .head { grid-row: 1 / 6; }
}

/* ---------- ejemplos: ficha del comprador ---------- */
.small { font-size: .95rem; }
.sample { font-size: 1.15rem; transform: rotate(-4deg); }
.dealcard, .report { background: var(--white); border: 1px solid var(--hair); border-top: 6px solid var(--ink); padding: clamp(20px, 4vw, 36px); box-shadow: 0 24px 48px -28px rgba(20, 23, 28, .35), 0 2px 6px rgba(20, 23, 28, .06); display: grid; gap: 22px; align-content: start; }
.dealcard-head, .report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; background: var(--paper); border: 1px solid var(--hair); font: 700 1.1rem/1 var(--display); letter-spacing: .04em; }
.who-name { font: 700 1.5rem/1.1 var(--display); text-transform: uppercase; }
.fields { margin: 0; display: grid; gap: 0; }
.fields div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-top: 10px; padding-bottom: 10px; border-top: 1px solid var(--hair); }
.fields dt { font: 700 .78rem/1.5 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fields dd { margin: 0; font-weight: 700; }
.timeline { display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: var(--tcol, 80px) 1fr; gap: 14px; padding-top: 10px; padding-bottom: 10px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--tcol, 80px) + 8px); top: 0; bottom: 0; width: 2px; background: var(--hair); }
.timeline li::after { content: ""; position: absolute; left: calc(var(--tcol, 80px) + 4px); top: 17px; width: 10px; height: 10px; background: var(--white); border: 2px solid var(--ink); }
.timeline li > span:last-child { padding-left: 22px; }
.timeline .t { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .88rem; }
.timeline .end::after { background: var(--red); border-color: var(--red); }
.timeline .end .mk-amt { font-size: 1.8rem; margin-left: 8px; vertical-align: -4px; }

/* ---------- calculadora ---------- */
.calc { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 24px; padding-top: clamp(32px, 5vw, 48px); border-top: 2px solid var(--ink); }
.calc .head h3.display { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.calc-grid { display: grid; gap: 26px; }
.slider { display: grid; gap: 12px; font-weight: 700; }
.slider span { display: flex; justify-content: space-between; gap: 12px; }
.slider output { font: 700 1.6rem/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.slider input { width: 100%; accent-color: var(--red); height: 32px; cursor: pointer; }
.calc-out { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--hair); }
.calc-out div { padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); display: grid; gap: 4px; }
.calc-out dt { font: 700 .78rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.calc-out dd { margin: 0; font: 700 clamp(1.9rem, 6vw, 2.6rem)/1 var(--display); font-variant-numeric: tabular-nums lining-nums; }
.calc-out .hl dd { color: var(--red); font-size: clamp(2.4rem, 8vw, 3rem); }
.calc-out div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.calc-out div:not(.hl) dd { font-size: clamp(1.5rem, 4.5vw, 1.9rem); }

/* ---------- reporte de ejemplo ---------- */
.report { overflow-x: auto; }
.report table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.report th, .report td { text-align: right; padding: 12px 10px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.report th:first-child, .report td:first-child { text-align: left; }
.report thead th { font: 700 .74rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.report tbody th { font-weight: 700; }
.report td:last-child { font-weight: 700; color: var(--red); }

@media (min-width: 900px) {
  .timeline { --tcol: 96px; }
  .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; }
  .calc .note { grid-column: 2; }
  .calc-out { column-gap: 32px; }
  .calc-out .hl dd { font-size: 3.2rem; }
}

/* ---------- regiones: ¿tu región está libre? ---------- */
.market { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 24px; padding-top: clamp(32px, 5vw, 48px); border-top: 2px solid var(--ink); }
.market .head h3.display { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.state-pick { display: grid; gap: 8px; max-width: 360px; }
.state-pick select { appearance: none; -webkit-appearance: none; min-height: 52px; padding: 0 44px 0 16px; border: 2px solid var(--ink); border-radius: 0; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2314171C' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; color: var(--ink); font: 700 1.05rem/1 var(--text); cursor: pointer; }
.market-body { display: grid; gap: 28px; }
.market-pick { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 3vw, 28px); background: var(--paper); border-top: 4px solid var(--red); }
.pick-city { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.pick-summary { color: var(--ink-2); max-width: 46ch; }
.pick-status .mk { font-size: 1.9rem; }
.pick-status.taken { font-weight: 700; }
.market-pick .btn { justify-self: start; }
.market-table { overflow-x: auto; }
.market-table table { width: 100%; border-collapse: collapse; min-width: 340px; font-variant-numeric: tabular-nums; }
.market-table th, .market-table td { text-align: right; padding: 0 10px; height: 52px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.market-table th:first-child { text-align: left; padding-left: 0; }
.market-table thead th { height: 44px; font: 700 .74rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.city-btn { background: none; border: 0; padding: 0; min-height: 44px; font: 700 1rem/1 var(--text); color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--chrome); text-underline-offset: 5px; }
.market-table tr.is-picked { background: var(--paper); }
.market-table tr.is-picked .city-btn { text-decoration-color: var(--red); }
.status { display: inline-block; padding: 4px 10px; font: 700 .78rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.status.open { color: var(--white); background: var(--red); }
.status.taken { color: var(--ink-2); background: var(--hair); }

@media (min-width: 900px) {
  .market-body { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- navegación y página de contacto ---------- */
.nav-link { display: none; align-items: center; min-height: 44px; padding: 0 6px; font: 700 .86rem/1 var(--text); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; }
.nav-link[aria-current] { border-bottom-color: var(--red); }
@media (hover: hover) { .nav-link:hover { border-bottom-color: var(--chrome); } }
@media (min-width: 780px) { .nav-link { display: inline-flex; white-space: nowrap; } .btn-sm { white-space: nowrap; } }
.foot-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; }

.contact-page { padding-top: clamp(40px, 6vw, 88px); }
.contact-page .head { gap: 20px; }
.direct { display: grid; gap: 4px; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--chrome); }
.direct dd { margin: 0; font-size: 1.1rem; }
.direct a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; }
.form-card { background: var(--white); border: 1px solid var(--hair); border-top: 6px solid var(--ink); padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 48px -28px rgba(20, 23, 28, .35), 0 2px 6px rgba(20, 23, 28, .06); }
.form-card form { display: grid; gap: 18px; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.form-head .display { font-size: clamp(1.9rem, 5vw, 2.4rem); }
.field { display: grid; gap: 8px; }
.field .opt { letter-spacing: .04em; text-transform: none; font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--chrome); border-radius: 0; background: var(--white); color: var(--ink); font: 400 17px/1.4 var(--text); transition: border-color 160ms var(--ease); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field [aria-invalid] { border-color: var(--red); }
.pair { display: grid; gap: 18px; }
@media (min-width: 560px) { .pair { grid-template-columns: 1fr 1fr; } }
.hint { margin-top: -8px; font-size: .9rem; color: var(--ink-2); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--red-deep); font-weight: 700; }
.form-card .btn { justify-self: start; }
.form-card .btn:disabled { opacity: .7; cursor: progress; }
.form-done { display: grid; gap: 14px; outline: none; }
.form-done .mk { font-size: clamp(3rem, 10vw, 4.4rem); }
@media (min-width: 900px) {
  .contact-page .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}

/* Mensualidad: precio normal tachado y precio de socio fundador al lado */
.sticker-row .amount.deal { display: grid; grid-template-columns: auto auto; justify-content: end; align-items: baseline; column-gap: 12px; row-gap: 4px; }
.deal .was { font-size: .5em; color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.deal .now { color: var(--red); }
.deal .now-label { grid-column: 1 / -1; justify-self: end; font: 700 .72rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* Calculadora: pago a V12 Sales y ganancia después de V12 Sales */
.calc-out .net { background: var(--paper); padding-left: 16px; padding-right: 16px; border-bottom: 2px solid var(--ink); }
.calc-out .net dt { color: var(--ink); }
.calc-out div.net dd { font-size: clamp(2.4rem, 8vw, 3.2rem); }
@media (max-width: 899px) { .calc-out { column-gap: 16px; } }

/* ---------- ¿Cuánto te cuesta vender un auto? (es/mide-tus-ventas/) ---------- */
.meter-page { padding-top: clamp(40px, 6vw, 88px); }
.meter-page section, .meter-page .ask { padding-top: 0; padding-bottom: 0; }
.meter-head { margin-bottom: clamp(28px, 4vw, 48px); }
.meter-head .lead { max-width: 52ch; }
.scopeinfo { font-weight: 700; }
.meter { display: grid; gap: 24px; align-items: start; }
.meter .note { margin: 6px 0 12px; }
.m-form { display: grid; gap: 0; }
.ask { padding-bottom: 24px !important; margin-bottom: 24px; border-bottom: 1px solid var(--hair); }
.ask:last-of-type { border-bottom: 0; margin-bottom: 0; }
.question { font: 700 clamp(1.5rem, 4vw, 1.9rem)/1.05 var(--display); text-transform: uppercase; }
.meter h3 { font: 700 1.25rem/1.1 var(--display); text-transform: uppercase; }

/* campos */
.entry { min-height: 52px; padding: 10px 12px; border: 2px solid var(--chrome); border-radius: 0; background: var(--white); color: var(--ink); font: 400 17px/1.3 var(--text); text-align: right; font-variant-numeric: tabular-nums; min-width: 0; transition: border-color 160ms var(--ease); }
.entry:focus { border-color: var(--ink); }
.entry:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.entry[aria-invalid=true] { border-color: var(--red); }
.entry:disabled { background: var(--paper); color: var(--ink-2); }
select.entry { appearance: none; -webkit-appearance: none; text-align: left; padding-right: 40px; font-weight: 700; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2314171C' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.entry::placeholder { color: #6B727C; }
.salesline { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.salesline input { width: 110px; font: 700 1.6rem/1 var(--display); }
.salesline span { color: var(--ink-2); }
.m-fields { display: grid; }
.meter .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 140px); gap: 12px; align-items: center; padding: 8px 0; }
.meter .row label { font-weight: 700; }
.meter .row input { width: 100%; }
.meter .amount { position: relative; display: block; }
.meter .amount span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.meter .amount input { padding-left: 26px; }
.visit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.visit-fields label { display: grid; gap: 6px; align-content: start; font-weight: 700; }
.visit-fields .entry { width: 100%; text-align: left; }
.appointment-fields { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
.appointment-fields .entry { max-width: 120px; }
.unknown-sale { display: flex !important; align-items: center; gap: 8px; min-height: 36px; margin-top: 4px; font-weight: 400 !important; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.meter input[type=checkbox] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--red); }
.error { color: var(--red-deep); font-weight: 700; font-size: .95rem; margin-top: 10px; }
.error:empty { display: none; }

/* avisos */
.appointment-notice { margin: 12px 0; padding: 12px 14px; background: #FDF0F0; border: 1px solid #F2C4C6; color: var(--ink); font-size: .95rem; }
.appointment-notice strong { color: var(--red-deep); }
.control-note { margin: 18px 0; padding: 16px 18px; background: var(--paper); border: 1px solid var(--hair); }
.control-note strong { font: 700 1.2rem/1.1 var(--display); text-transform: uppercase; }
.control-note p { font-size: .95rem; color: var(--ink-2); margin-top: 6px; }

/* desplegables dentro del formulario */
.m-more { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair); }
.m-more summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; }
.m-more summary::-webkit-details-marker { display: none; }
.m-more summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat; }
.m-more[open] > summary::after { background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat; }
.visit-extra label { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.visit-extra .entry { width: 110px; }

/* equipo BDC */
.team .team-example { margin: 8px 0 12px; }
.team-toggle { display: flex; align-items: center; gap: 12px; min-height: 48px; width: fit-content; font-weight: 700; cursor: pointer; }
.team-toggle input { appearance: none; -webkit-appearance: none; position: relative; width: 44px !important; height: 26px !important; border: 2px solid var(--ink); border-radius: 99px; background: var(--white); cursor: pointer; transition: background-color 200ms var(--ease); }
.team-toggle input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform 200ms var(--ease); }
.team-toggle input:checked { background: var(--red); border-color: var(--red); }
.team-toggle input:checked::before { transform: translateX(18px); background: var(--white); }
.task-group { border: 0; border-top: 2px solid var(--ink); margin: 22px 0 0; padding: 10px 0 0; min-width: 0; }
.task-group legend { padding: 0 10px 0 0; font: 700 1.2rem/1 var(--display); text-transform: uppercase; }
.task-line { display: grid; grid-template-columns: minmax(0, 1fr) 11em; gap: 12px; align-items: center; margin: 12px 0; font-size: .95rem; }
.task-line select { width: 100%; min-height: 46px; font-size: .95rem; }
.team-status { margin-top: 14px; font-weight: 700; }
.team-status p { margin: 4px 0; }
.team-status .gap { color: var(--red-deep); }
.role { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.role-label { display: flex; align-items: baseline; gap: 10px; font-weight: 700; cursor: pointer; }
.role-task { font-size: .92rem; color: var(--ink-2); margin: 4px 0 0 28px; }
.role .row { margin-left: 28px; }
.role .row label { font-weight: 400; font-size: .92rem; }

/* resultado: la etiqueta del precio */
.m-aside { display: grid; gap: 12px; }
.m-result { background: var(--white); border: 1px solid var(--hair); border-top: 6px solid var(--red); padding: clamp(22px, 4vw, 32px); box-shadow: 0 24px 48px -28px rgba(20, 23, 28, .35), 0 2px 6px rgba(20, 23, 28, .06); }
.m-result-title { font: 700 .78rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.big { display: block; margin: 10px 0 12px; font: 700 clamp(3.4rem, 12vw, 4.6rem)/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.formula { color: var(--ink); }
.breaklist { margin: 10px 0 0; }
.m-pair { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: .95rem; }
.m-pair dd { margin: 0; text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.bdc-result { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--ink); }
.bdc-result p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.bdc-result strong { font: 700 1.5rem/1.1 var(--display); color: var(--ink); }

/* enlaces y guías */
.m-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; border-bottom: 2px solid var(--chrome); background: none; color: var(--ink); font: 700 1rem/1 var(--text); text-decoration: none; cursor: pointer; }
@media (hover: hover) { .m-link:hover { border-color: var(--ink); } }
.scopeinfo .m-link { margin-left: 10px; }
.mobile-result { justify-self: start; margin-top: 18px; }
.below { margin-top: clamp(48px, 7vw, 80px); }
.below .guide { display: grid; gap: 12px; padding-bottom: 22px; max-width: 70ch; color: var(--ink-2); }
.below .guide p { padding-bottom: 0; }
.below .guide ul { display: grid; gap: 10px; }
.below .guide li { position: relative; padding-left: 28px; }
.below .guide li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 3px; background: var(--red); transform: skewX(-30deg); }
.flowlist { margin: 6px 0; }

@media (max-width: 559px) {
  .visit-fields { grid-template-columns: 1fr; }
  .task-line { grid-template-columns: 1fr; gap: 6px; }
  .task-line select { max-width: 16em; }
}
@media (min-width: 900px) {
  .meter { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: 40px; }
  .m-aside { position: sticky; top: 92px; }
  .mobile-result { display: none; }
}
