/* Render Studio — sitio público. Estilo claro, arquitectónico: blanco, negro, líneas finas, esquinas rectas. */
:root {
  --bg: #ffffff; --bg2: #f4f3f0; --text: #111111; --muted: #6e6e6a; --line: #e2e0db; --line2: #cfcdc7;
  --head: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --w: 1240px; --pad: max(16px, calc((100vw - var(--w)) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--head); letter-spacing: -.035em; line-height: 1; }
em { font-style: normal; color: var(--muted); }
.muted { color: var(--muted); } .small { font-size: 13px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; font-weight: 500; font-size: 14px; border: 1px solid var(--text); transition: background .2s, color .2s; cursor: pointer; white-space: nowrap; border-radius: 0; }
.btn.big { padding: 15px 26px; font-size: 15px; }
.btn.dark { background: var(--text); color: #fff; }
.btn.dark:hover { background: #333; border-color: #333; }
.btn.line { background: transparent; color: var(--text); }
.btn.line:hover { background: var(--text); color: #fff; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-family: var(--head); letter-spacing: -.01em; font-size: 16px; }
.links { display: flex; gap: 28px; margin-left: 28px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-login:hover { text-decoration: underline; }
.lang { display: flex; gap: 4px; font: 500 13px var(--sans); color: var(--line2); }
.lang a { color: var(--muted); } .lang a:hover { color: var(--text); } .lang a.on { color: var(--text); }

/* hero */
.hero { padding: 88px 0 0; }
.hero-in { padding: 0 var(--pad); }
.hero h1 { margin: 0; }
.hero h1 .eyebrow { display: block; }
.hero h1 .display { display: block; font-size: clamp(52px, 8.4vw, 124px); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: 36px 0 48px; flex-wrap: wrap; }
.hero .lead { max-width: 520px; font-size: 18px; color: var(--muted); margin: 0; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-media { margin: 0 var(--pad); aspect-ratio: 21/9; overflow: hidden; background: var(--bg2); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-foot { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 var(--pad); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hero-foot span { padding: 16px 0; }
.hero-foot span + span { border-left: 1px solid var(--line); padding-left: 20px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--text); vertical-align: middle; margin-right: 12px; }

/* sections */
.sec { padding: 120px var(--pad); }
.sec.tight { padding-top: 40px; }
.sec.dark { background: var(--bg2); }
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec h2 { font-size: clamp(38px, 5vw, 68px); }
.sub { color: var(--muted); font-size: 18px; margin: 20px 0 0; max-width: 620px; }

figure { margin: 0; }

/* qué es (respuesta directa + tabla) */
.what-grid, .local-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.what .answer { font-size: 20px; line-height: 1.55; margin: 0 0 36px; }
.what .answer strong { font-weight: 600; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp caption { text-align: left; font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-weight: 500; color: var(--muted); font-size: 13px; border-bottom-color: var(--text); }
.cmp tbody th { font-weight: 500; width: 30%; }
.cmp td:last-child { font-weight: 500; }

/* bloque local por país */
.local { padding-bottom: 40px; }
.local-grid { border-top: 1px solid var(--text); padding-top: 40px; }
.local h2 { font-size: clamp(30px, 3.4vw, 46px); }
.local p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.checks li { background: var(--bg); padding: 14px 16px 14px 40px; position: relative; font-size: 14.5px; }
.checks li::before { content: ''; position: absolute; left: 16px; top: 20px; width: 10px; height: 6px; border-left: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(-45deg); }

/* mercados */
.mk { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--text); }
.mk a { display: flex; justify-content: space-between; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: 20px; letter-spacing: -.01em; }
.mk a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.mk a span { color: var(--muted); transition: transform .2s; }
.mk a:hover span { transform: translateX(4px); color: var(--text); }

/* tabs */
.tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); padding: 12px 18px 12px 0; margin-right: 18px; font: 500 14px var(--sans); cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); border-bottom-color: var(--text); }

/* before/after */
.ba { position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--bg2); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 1px; background: #fff; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.ba-handle span::before, .ba-handle span::after { content: ''; position: absolute; top: 16px; border: 6px solid transparent; }
.ba-handle span::before { left: 6px; border-right-color: #111; }
.ba-handle span::after { right: 6px; border-left-color: #111; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 14px; padding: 5px 10px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: #111; pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; background: #111; color: #fff; }
.ba.plan { aspect-ratio: 4/3; max-width: 920px; }
.ba-caption { color: var(--muted); margin: 14px 0 0; font-size: 14px; }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--bg2); }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile:nth-child(6), .tile:nth-child(7) { grid-column: span 2; aspect-ratio: 8/3; } /* última fila completa, sin huecos */
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.tile .t-before { opacity: 0; }
.tile:hover .t-before { opacity: 1; }
.tile .t-lbl { position: absolute; left: 0; bottom: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; padding: 10px 14px; font-weight: 500; font-size: 13.5px; }
.tile .t-lbl small { color: var(--muted); font-size: 12px; font-weight: 400; }

/* variations */
.var-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 28px; }
.var h3 { font-size: 18px; margin: 16px 0 4px; }
.var p { color: var(--muted); margin: 0; font-size: 15px; }

/* video */
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vid { position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--bg2); }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid .v-lbl { position: absolute; left: 0; bottom: 0; background: #fff; padding: 8px 14px; font-weight: 500; font-size: 13.5px; }
.vid .v-lbl small { color: var(--muted); font-weight: 400; margin-left: 8px; font-size: 12.5px; }
.vid.wide { grid-column: span 2; aspect-ratio: 21/9; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--text); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.steps .n { font-family: var(--head); font-size: 14px; color: var(--muted); }
.steps h3 { font-size: 22px; font-family: var(--head); letter-spacing: -.02em; margin: 28px 0 10px; }
.steps p { color: var(--muted); margin: 0; }

/* features */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat > div { background: var(--bg); padding: 32px 28px; }
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { color: var(--muted); margin: 0; font-size: 15px; }

/* pricing */
.seg { display: inline-flex; border: 1px solid var(--text); margin-bottom: 32px; }
.seg button { background: none; border: 0; color: var(--text); padding: 9px 18px; font: 500 14px var(--sans); cursor: pointer; }
.seg button.on { background: var(--text); color: #fff; }
.seg small { color: var(--muted); margin-left: 4px; font-weight: 400; }
.seg button.on small { color: #bbb; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line2); border: 1px solid var(--line2); }
.plan { position: relative; background: var(--bg); padding: 32px 26px 26px; display: flex; flex-direction: column; }
.plan.pop { outline: 2px solid var(--text); outline-offset: -2px; z-index: 1; }
.plan .tag { position: absolute; top: 0; right: 0; background: var(--text); color: #fff; font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; }
.plan h3 { font-size: 20px; font-family: var(--head); }
.plan .for { color: var(--muted); font-size: 13.5px; margin: 6px 0 22px; min-height: 42px; }
.plan .price { font-family: var(--head); font-size: 52px; letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.plan .bill { color: var(--muted); font-size: 13px; margin: 8px 0 22px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; display: flex; justify-content: space-between; gap: 10px; }
.plan li b { font-weight: 500; text-align: right; }
.plan li span { min-width: 0; }
.plan li span { color: var(--muted); }
.plan .btn { width: 100%; }
.plan.pop .btn { background: var(--text); color: #fff; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.extra { border: 1px solid var(--line2); background: var(--bg); padding: 22px 26px; }
.extra h3 { margin: 0 0 6px; font-size: 16px; }
.extra p { margin: 0; color: var(--muted); font-size: 14.5px; }
.fine { color: var(--muted); font-size: 13px; margin: 24px 0 0; }

/* faq */
.faq { max-width: 880px; border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; }
.faq summary h3 { font-size: 18px; font-weight: 500; display: inline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 720px; }

/* final */
.final { display: grid; grid-template-columns: 1fr 1.3fr; border-top: 1px solid var(--line); }
.final-in { padding: 100px 48px 100px var(--pad); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px; }
.final h2 { font-size: clamp(40px, 5vw, 72px); }
.final-img { min-height: 460px; background: var(--bg2); }
.final-img img { width: 100%; height: 100%; object-fit: cover; }
.foot { padding: 72px var(--pad) 32px; border-top: 1px solid var(--line); background: var(--bg2); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot-brand p { color: var(--muted); max-width: 340px; margin: 16px 0 24px; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col h2 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-col a { color: var(--text); width: fit-content; }
.foot-col a:hover { text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line2); padding-top: 24px; font-size: 13px; color: var(--muted); }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1000px) {
  .links { display: none; }
  .plans { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr 1fr; }
  .final { grid-template-columns: 1fr; }
  .final-in { padding: 80px var(--pad); }
  .final-img { min-height: 0; aspect-ratio: 16/9; }
  .what-grid, .local-grid { grid-template-columns: 1fr; gap: 24px; }
  .mk { grid-template-columns: 1fr 1fr; }
  .mk a + a { padding-left: 0; border-left: 0; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav { gap: 12px; }
  .nav-login { display: none; }
  .hero { padding-top: 56px; }
  .checks { grid-template-columns: 1fr; }
  .what .answer { font-size: 17px; }
  .cmp { font-size: 13.5px; }
  .mk { grid-template-columns: 1fr; }
  .nav-r .btn { padding: 8px 12px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-row { margin: 28px 0 36px; gap: 24px; }
  .hero .lead { font-size: 16px; }
  .hero-media { aspect-ratio: 4/3; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot span + span { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .sec { padding-top: 84px; padding-bottom: 84px; }
  .var-grid, .vid-grid, .feat, .plans, .extras { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-left: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .steps h3 { margin-top: 12px; }
  .vid.wide { grid-column: auto; aspect-ratio: 16/9; }
  .tile:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .tile:nth-child(6), .tile:nth-child(7) { aspect-ratio: 16/10; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px; scrollbar-width: none; }
  .tabs button { flex: none; }
  .ba.big { aspect-ratio: 4/3; }
}

/* footer legal links */
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot-legal a:hover { color: var(--text); text-decoration: underline; }

/* legal pages (privacidad / términos) */
.nav.solid { background: #fff; }
.legal { padding: 72px var(--pad) 96px; }
.legal-head { max-width: 820px; margin-bottom: 56px; }
.legal-head h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 18px; }
.legal-upd { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.legal-intro { font-size: 19px; line-height: 1.6; margin: 0; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 72px; align-items: start; border-top: 1px solid var(--line); padding-top: 48px; }
.legal-toc { position: sticky; top: 88px; font-size: 14px; }
.legal-toc h2 { font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; padding: 5px 0; line-height: 1.35; display: grid; grid-template-columns: 26px 1fr; }
.legal-toc li::before { content: counter(toc) '.'; color: var(--muted); display: inline-block; width: 24px; }
.legal-toc a { color: var(--muted); } .legal-toc a:hover { color: var(--text); }
.legal-body-text section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.legal-body-text section:last-child { border-bottom: 0; }
.legal-body-text h2 { font-size: 26px; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 16px; }
.legal-body-text h2 span { color: var(--muted); }
.legal-body-text p, .legal-body-text li { color: #2b2b29; line-height: 1.7; }
.legal-body-text p { margin: 0 0 14px; }
.legal-body-text ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body-text li { margin-bottom: 8px; }
.legal-body-text a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body-text code { font-size: 13px; background: var(--bg2); padding: 1px 5px; }
.legal-body-text b { font-weight: 600; color: var(--text); }
.legal-body .foot { padding: 0 var(--pad) 40px; }
@media (max-width: 900px) {
  .legal { padding-top: 48px; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .legal-toc { position: static; background: var(--bg2); padding: 18px 20px; }
  .legal-intro { font-size: 17px; }
  .legal-body-text h2 { font-size: 22px; }
}
