/* ═══════════════════════════════════════════════════════════════════════════
   sector-v1.css — el chrome común de las páginas de sector de poyntia.com
   (/real-estate/, y después /legal/, /finance/, /insurance/, /logistics/,
   /industry/). Es la gramática de la portada (apps/landing/index.html) copiada,
   no reinventada: tokens, píldoras, cabecera, bandas con retícula, tarjetas,
   formulario y pie. Rutas ABSOLUTAS desde la raíz, como grid/index.html.
   Regla de la casa: un tamaño de letra sólo sube respecto a la portada.
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face { font-family:"Geist"; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("/fonts/geist-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:"Geist"; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("/fonts/geist-latinext.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:"Geist Mono"; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("/fonts/geistmono-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; }

:root {
  --bg:#fdfcfc; --bg-2:#f3f2f0; --card:#f5f4f2; --card-2:#eeece9;
  --line:#e9e7e4; --line-2:#dbd8d3;
  --ink:#0a0a0a; --ink-2:#3a3a3a; --ink-3:#787878; --ink-4:#a6a4a0;
  --white:#fff; --blue:#2551d6; --mark:#ffe082; --mark-2:#ffb347;
  --wrap:1176px; --gut:24px;
  --r-xl:28px; --r-l:20px; --r-m:14px; --r-s:10px;
  --sans:"Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:"Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease:cubic-bezier(.2,.7,.2,1);
}
* { box-sizing:border-box }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; scroll-padding-top:84px }
body { margin:0; background:var(--bg-2); color:var(--ink); font:400 18px/1.6 var(--sans);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility }
img, video, svg { display:block; max-width:100% }
img { height:auto }
a { color:inherit }
button { font:inherit; color:inherit }
p { margin:0 }
.wrap { width:min(100% - 2*var(--gut), var(--wrap)); margin-inline:auto }
.muted { color:var(--ink-3) }
.skip { position:absolute; left:-9999px; top:8px; z-index:100; background:#000; color:#fff; padding:10px 14px; border-radius:10px }
.skip:focus { left:12px }
:focus-visible { outline:2px solid var(--blue); outline-offset:3px; border-radius:8px }

/* ── píldoras ─────────────────────────────────────────────────────────── */
.pill { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:42px; padding:0 18px;
  border-radius:999px; border:1px solid transparent; font-size:16px; font-weight:400; line-height:1;
  text-decoration:none; white-space:nowrap; cursor:pointer; background:none;
  transition:background-color .2s, border-color .2s, color .2s, transform .2s var(--ease) }
.pill:active { transform:scale(.98) }
.pill-black { background:#000; color:#fff }
.pill-black:hover { background:#262626 }
.pill-white { background:#fff; color:#000; border-color:var(--line-2) }
.pill-white:hover { border-color:#000 }
.pill-l { height:50px; padding:0 24px; font-size:18px }
.pill .muted { color:var(--ink-4) }

/* ── hoja y cabecera ──────────────────────────────────────────────────── */
.page { background:var(--bg); border-radius:20px 20px 0 0; box-shadow:0 -1px 0 var(--line); position:relative; margin-top:10px }
.nav { position:sticky; top:0; z-index:50; border-radius:20px 20px 0 0; transition:background-color .3s, box-shadow .3s }
.nav.is-stuck { background:rgba(253,252,252,.88); -webkit-backdrop-filter:saturate(1.6) blur(14px); backdrop-filter:saturate(1.6) blur(14px);
  box-shadow:0 1px 0 var(--line); border-radius:0 }
.nav-row { display:flex; align-items:center; gap:44px; height:76px }
.logo { display:flex; align-items:center; flex:none }
.logo img { height:27px; width:auto }
.links { display:flex; gap:30px; font-size:16px }
.links a { text-decoration:none } .links a:hover { color:var(--ink-3) }
.nav-cta { margin-left:auto; display:flex; gap:8px; align-items:center }
.lang-mini { all:unset; cursor:pointer; font-size:14px; color:var(--ink-3); padding:8px 10px; border-radius:999px; letter-spacing:.04em }
.lang-mini:hover { color:var(--ink) }

/* ── portada del sector ───────────────────────────────────────────────── */
.hero { padding:88px 0 0 }
.hero-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:56px; align-items:end }
.eyebrow { font-size:18px; color:var(--ink-3); margin-bottom:14px }
h1 { font-weight:300; font-size:clamp(40px, 3.6vw, 52px); line-height:1.06; letter-spacing:-.03em; margin:0; max-width:15em; text-wrap:balance }
.hero-lede { font-size:19px; line-height:1.6; max-width:33em }
.hero-cta { display:flex; flex-wrap:wrap; gap:10px; margin-top:36px }

/* ── la demo, a lo ancho ─────────────────────────────────────────────── */
.demo-band { padding:56px 0 64px }
.demo-wrap { width:min(100% - 2*var(--gut), 2040px); margin-inline:auto }
.demo-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px 24px; flex-wrap:wrap; margin-bottom:18px }
.demo-head h2 { margin:0; font-size:18px; font-weight:400; color:var(--ink-2) }
.demo-label { display:inline-flex; align-items:center; gap:8px; font-size:15px; color:#7a5200; background:#fff3d1; border-radius:999px; padding:6px 12px }
.demo-label::before { content:""; width:7px; height:7px; border-radius:50%; background:#d08a00 }

/* ── bandas con retícula: filetes y puntos en los cruces ─────────────── */
.band { border-top:1px solid var(--line) }
.band > .wrap { position:relative; border-left:1px solid var(--line); border-right:1px solid var(--line) }
.band > .wrap::before, .band > .wrap::after { content:""; position:absolute; top:-3px; width:5px; height:5px; border-radius:50%; background:#1b1b1b; z-index:2 }
.band > .wrap::before { left:-3px } .band > .wrap::after { right:-3px }
.pad { padding:104px 48px }
.h-l { font-weight:300; font-size:clamp(32px, 3.3vw, 46px); line-height:1.1; letter-spacing:-.025em; margin:0 }
.sec-head { display:grid; grid-template-columns:1.25fr 1fr; gap:56px; align-items:start }
.sec-head > p { margin-top:44px; font-size:19px; line-height:1.6 }
.sec-head .pill { margin-top:30px }

/* «El problema»: datos con su fuente enlazada */
.facts { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:56px }
.fact { background:var(--card); border-radius:var(--r-l); padding:28px 26px 24px; display:flex; flex-direction:column; gap:14px }
.fact b { font-weight:300; font-size:clamp(40px, 3.4vw, 50px); line-height:1; letter-spacing:-.03em }
.fact p { font-size:17px; line-height:1.5; color:var(--ink-2) }
.fact cite { margin-top:auto; font-style:normal; font-size:15px; color:var(--ink-3) }
.fact cite a { color:var(--ink-3); text-underline-offset:3px }

/* tarjetas */
.bento { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; margin-top:56px }
.card { position:relative; background:var(--card); border-radius:var(--r-l); padding:24px; overflow:hidden; min-height:190px;
  display:flex; flex-direction:column; justify-content:flex-end }
.card .cap-t { font-size:15px; color:var(--ink-3); position:relative; z-index:2 }
.card .cap-d { margin-top:4px; font-size:16px; line-height:1.45; max-width:32em; position:relative; z-index:2 }
.bento .card { padding-top:76px }
.ico { position:absolute; top:24px; left:24px; width:32px; height:32px; border-radius:9px; display:grid; place-items:center;
  background:#fff; box-shadow:0 0 0 1px var(--line) }
.ico svg { width:17px; height:17px; stroke:#222; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round }
.step { display:inline-grid; place-items:center; width:21px; height:21px; border-radius:50%; background:#000; color:#fff; font-size:12px; margin-right:6px; vertical-align:1px }

/* «Qué podemos hacer»: problema de hoy → lo que hacen los agentes → lo que recibís */
.uses { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:56px }
.use { background:var(--card); border-radius:var(--r-l); padding:26px 26px 24px; display:flex; flex-direction:column; gap:14px }
.use h3 { margin:0; font-size:21px; font-weight:450; line-height:1.3; letter-spacing:-.01em }
.use dl { margin:0; display:grid; gap:12px }
.use dt { font-size:15px; color:var(--ink-3) }
.use dd { margin:2px 0 0; font-size:16px; line-height:1.5; color:var(--ink-2) }
.use dd .norma { white-space:nowrap; font-size:15px; color:#2f3d66; background:#eef0f6; border-radius:6px; padding:1px 6px }

/* vigilancia: lo que avisan los agentes */
.watch { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:44px }
.watch li { list-style:none; background:#fff; border:1px solid var(--line); border-radius:var(--r-m); padding:20px 22px; font-size:16px; line-height:1.5; color:var(--ink-2) }
.watch li b { display:block; color:var(--ink); font-weight:500; margin-bottom:4px }
.watch { padding:0 }

/* confianza */
.trust { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:52px }
.trust .card { min-height:340px }
.art { position:absolute; left:0; right:0; top:26px; height:200px; display:grid; place-items:center }
.art svg { width:190px; height:170px; stroke:#2a2a2a; fill:none; stroke-width:1.1 }
.art svg .hl { stroke:none; fill:var(--mark) }

/* otros sectores */
.others { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px }
.others .pill[aria-disabled="true"] { color:var(--ink-3); cursor:default; border-color:var(--line) }
.others .pill[aria-disabled="true"]:hover { border-color:var(--line) }

/* ── cierre, contacto y pie (los de la portada) ───────────────────────── */
.end-row { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding:60px 48px }
.end-row .h-l { font-size:clamp(28px, 2.6vw, 36px) }
.end-row div { display:flex; gap:10px; flex-wrap:wrap }
.contact { display:grid; grid-template-columns:1fr 1.05fr; gap:56px; align-items:start }
.contact .lede { margin-top:18px; font-size:19px; line-height:1.6; max-width:28em }
.contact .mail { margin-top:24px; font-size:17px; color:var(--ink-3) }
.contact .mail a { color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line-2) }
.form { background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:28px; box-shadow:0 20px 50px -34px rgba(0,0,0,.3) }
.form .row { display:grid; grid-template-columns:1fr 1fr; gap:14px }
.form label { display:block; font-size:15px; color:var(--ink-3); margin:14px 0 6px }
.form .row label { margin-top:0 }
.form input, .form textarea { width:100%; font:inherit; font-size:17px; color:var(--ink); background:var(--bg); border:1px solid var(--line-2); border-radius:12px; padding:12px 14px; transition:border-color .2s, box-shadow .2s }
.form input:focus, .form textarea:focus { outline:none; border-color:#000; box-shadow:0 0 0 3px rgba(0,0,0,.06) }
.form textarea { resize:vertical; min-height:110px }
.form-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:20px; flex-wrap:wrap }
.form-foot small { font-size:14px; color:var(--ink-3) }
.form-foot small a { color:var(--ink-3) }
.form-msg { margin-top:16px; font-size:16px; color:var(--ink-2) }
.trap { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden }

footer { border-top:1px solid var(--line) }
.foot { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; padding:56px 48px 40px }
.foot img { height:24px; width:auto }
.foot .tag { margin-top:14px; font-size:15px; color:var(--ink-3); max-width:20em }
.foot h4 { margin:0 0 12px; font-size:15px; font-weight:400; color:var(--ink-3) }
.foot ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:15px }
.foot ul a { text-decoration:none } .foot ul a:hover { color:var(--ink-3) }
.lang { display:inline-flex; gap:4px; margin-top:18px; background:var(--bg-2); border-radius:999px; padding:3px }
.lang button { all:unset; cursor:pointer; font-size:14px; padding:6px 12px; border-radius:999px; color:var(--ink-3) }
.lang button[aria-pressed="true"] { background:#fff; color:var(--ink); box-shadow:0 0 0 1px var(--line) }
.legal { padding:20px 48px 40px; font-size:14px; color:var(--ink-3); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; border-top:1px solid var(--line) }
.privacy { padding:0 48px 48px; font-size:14px; color:var(--ink-3); line-height:1.6 }
.privacy summary { cursor:pointer; color:var(--ink-2); font-size:15px; padding:6px 0 }
.privacy p { margin-top:10px; max-width:62em }

.reveal { opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease) }
.reveal.is-in { opacity:1; transform:none }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto }
  *, *::before, *::after { animation:none !important; transition:none !important }
  .reveal { opacity:1; transform:none }
}
/* ── tableta ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .links { display:none }
  .hero { padding-top:64px }
  .hero-grid, .sec-head, .contact { grid-template-columns:1fr; gap:22px }
  .sec-head > p { margin-top:0 }
  .bento { grid-template-columns:repeat(2, 1fr) }
  .facts, .uses, .watch, .trust { grid-template-columns:1fr }
  .trust .card { min-height:300px }
  .foot { grid-template-columns:1fr 1fr }
}
/* ── móvil ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --gut:16px }
  body { font-size:17px }
  .nav-row { height:64px; gap:12px }
  .logo img { height:23px }
  .nav-cta .pill-white { display:none }
  .nav-cta .pill { height:40px; padding:0 16px; font-size:15px }
  h1 { font-size:42px }
  .hero-lede { font-size:18px }
  .hero-cta .pill { flex:1 1 auto }
  .demo-band { padding:36px 0 44px }
  .pad { padding:72px 20px }
  .bento { grid-template-columns:1fr }
  .end-row { padding:44px 20px }
  .foot { grid-template-columns:1fr; padding:44px 20px 28px }
  .legal, .privacy { padding-left:20px; padding-right:20px }
  .form { padding:20px } .form .row { grid-template-columns:1fr; gap:0 } .form .row label { margin-top:14px }
  h1 br, .h-l br { display:none }
}
