/* Cobrarte · web de producto y blog. Fuentes alojadas aquí (sin llamadas a terceros). */
@font-face { font-family: 'Plex Sans'; src: url(/fonts/plexsans.woff2) format('woff2'); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url(/fonts/plexsans-italic.woff2) format('woff2'); font-weight: 100 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(/fonts/plexmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(/fonts/plexmono-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-2: #f5f6f4;
  --bg-3: #eceee9;
  --ink: #111915;
  --ink-2: #414b46;
  --ink-3: #66706b;
  --line: #dfe3de;
  --green: #1d4a37;
  --green-2: #2a6a4f;
  --green-deep: #0f2a1e;
  --green-soft: #e7f0eb;
  --accent: #b8432b;
  --sans: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { width: min(760px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; border-radius: 6px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .9rem; font-weight: 600; color: var(--green-2); letter-spacing: .01em; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 1.4rem; border-radius: 8px; background: var(--green); color: #fff;
  font: 600 1rem var(--sans); text-decoration: none; border: 1.5px solid var(--green); cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-3); background: var(--bg-2); }
.btn.small { min-height: 40px; padding: 0 1rem; font-size: .93rem; }
.btn.light { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn.light:hover { background: var(--green-soft); border-color: var(--green-soft); }
.btn.wa { background: #fff; color: var(--ink); border-color: var(--line); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 2rem; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font: 700 1.25rem var(--sans); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--green); color: #fff; font: 700 1.1rem/1 var(--sans); padding-bottom: 2px; }
.menu { display: flex; gap: 1.6rem; margin-left: auto; }
.menu a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .97rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--green); }
.top-cta { display: flex; gap: .6rem; margin-left: auto; }
.menu + .top-cta { margin-left: 0; }

/* Portada */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(var(--bg-2), var(--bg) 85%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--green-2); }
.lead { margin-top: 24px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%232a6a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* La caja de prueba */
.till { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 30px 60px -32px rgba(15, 42, 30, .35); }
.till-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 2px 4px 12px; flex-wrap: wrap; }
.till-name { font-weight: 600; }
.till-tag { font-size: .8rem; color: var(--ink-3); }
.till-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.till-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.till-prods:empty { display: none; }
.prod { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 70px; padding: 10px 11px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; text-align: left;
  background: var(--bg-2); color: var(--ink); font: 500 .9rem/1.25 var(--sans); touch-action: manipulation; transition: border-color .12s, background .12s; }
.prod:hover { border-color: var(--green-2); background: var(--green-soft); }
.prod:active { transform: scale(.97); }
.prod small { font: 600 .82rem var(--mono); color: var(--green-2); margin-top: auto; }
.ticket { position: relative; background: #fffef9; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 14px 14px 20px; font: 400 .8rem/1.5 var(--mono); display: flex; flex-direction: column; }
.till-prods:empty + .ticket { grid-column: 1 / -1; }
.t-shop { text-align: center; font-weight: 600; letter-spacing: .04em; padding-bottom: 10px; border-bottom: 1px dashed #bcb8ad; }
.t-shop span { font-weight: 400; font-size: .74rem; color: var(--ink-3); letter-spacing: 0; }
.t-lines { list-style: none; margin: 10px 0; padding: 0; flex: 1; min-height: 5.2em; }
.t-lines li { display: flex; justify-content: space-between; gap: 10px; }
.t-lines li b { font-weight: 600; white-space: nowrap; }
.t-lines .empty { color: var(--ink-3); }
.t-tax { margin: 0; padding: 8px 0; border-top: 1px dashed #bcb8ad; font-size: .74rem; color: var(--ink-2); }
.t-tax div { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 0 8px; }
.t-tax dt { margin: 0; } .t-tax dd { margin: 0; text-align: right; }
.t-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--ink); font-weight: 600; }
.t-total b { font-size: 1.4rem; }
.t-pay { margin-top: 12px; min-height: 44px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font: 600 .98rem var(--sans); cursor: pointer; }
.t-pay:disabled { background: #a7b3ad; cursor: default; }
.stamp { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg); border: 3px solid var(--accent); color: var(--accent); border-radius: 6px;
  padding: 2px 14px; font: 700 1.7rem var(--sans); letter-spacing: .08em; background: rgba(255, 254, 249, .85); animation: stamp .25s ease-out; }
@keyframes stamp { from { transform: translate(-50%, -50%) rotate(-10deg) scale(1.5); opacity: 0; } }
.till-foot { margin-top: 12px; font-size: .82rem; color: var(--ink-3); text-align: center; }

/* Cifras y ventajas */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proof-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-in div { padding: 26px 22px; border-left: 1px solid var(--line); }
.proof-in div:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font-size: 1.05rem; font-weight: 600; }
.proof span { color: var(--ink-2); font-size: .95rem; }

/* Secciones */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec.alt { background: var(--bg-2); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.sec-head.row > div { max-width: 640px; }

/* Problemas que resuelve */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.pain h3 { font-size: 1.15rem; }
.pain .before { margin-top: 12px; color: var(--ink-3); font-size: .95rem; }
.pain .after { margin-top: 10px; color: var(--ink); font-size: 1rem; padding-left: 14px; border-left: 3px solid var(--green-2); }

/* Recorrido */
.tour-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 92px; }
.tabs button { text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 8px; font: 500 1rem var(--sans); color: var(--ink-2); cursor: pointer; min-height: 44px; }
.tabs button:hover { background: var(--bg-3); color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
.shot { margin: 0; }
.frame { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 44px -26px rgba(17, 25, 21, .35); cursor: zoom-in; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot figcaption { margin-top: 16px; font-size: 1.05rem; color: var(--ink-2); max-width: 46em; min-height: 3.2em; }
.shot figcaption b { color: var(--ink); }

/* La caja */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; }
.steps h3 { margin-top: 16px; font-size: 1.1rem; }
.steps h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--green); color: #fff; font-size: .85rem; vertical-align: 2px; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: .97rem; }
.note { margin-top: 36px; padding: 18px 22px; background: var(--green-soft); border-radius: var(--r); color: var(--green-deep); font-weight: 500; }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: #fff; }
.sector h3 { font-size: 1.08rem; }
.sector p { margin-top: 8px; color: var(--ink-2); font-size: .95rem; }

/* Web */
.web-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%232a6a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.ticks b { color: var(--ink); }
.flow { margin: 0; display: grid; }
.node { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 2px; }
.node b { font-size: 1.1rem; font-weight: 600; }
.node span { font-family: var(--mono); font-size: .86rem; color: var(--ink-2); }
.node.main { background: var(--green); border-color: var(--green); color: #fff; }
.node.main span { color: #cde2d6; }
.arrow { height: 34px; width: 2px; background: var(--ink-3); justify-self: center; position: relative; }
.arrow::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translate(-50%, -2px) rotate(45deg); }

/* Comparativa */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .97rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--bg-3); font-weight: 600; }
.compare thead th.us { background: var(--green); color: #fff; }
.compare td.us { background: var(--green-soft); font-weight: 500; }
.compare tbody th { font-weight: 500; color: var(--ink); width: 28%; }
.compare td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; }

/* Normativa */
.law-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.law-cols p { color: var(--ink-2); font-size: 1.05rem; }
.law-cols p + p { color: var(--ink); border-left: 3px solid var(--accent); padding-left: 20px; }
.law-cols a { font-weight: 500; }

/* Precios */
.period { display: inline-flex; background: var(--bg-3); border-radius: 8px; padding: 4px; }
.period button { border: 0; background: transparent; border-radius: 6px; padding: 0 16px; min-height: 42px; font: 600 .97rem var(--sans); color: var(--ink-2); cursor: pointer; }
.period button em { font-style: normal; font-size: .8rem; color: var(--accent); margin-left: 4px; }
.period button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 26px; display: flex; flex-direction: column; }
.plan.pick { border: 2px solid var(--green); box-shadow: 0 24px 48px -30px rgba(15, 42, 30, .45); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--green); color: #fff; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.plan h3 { font-size: 1.35rem; }
.for { margin-top: 6px; color: var(--ink-2); min-height: 3.2em; font-size: .97rem; }
.price { margin-top: 18px; font-weight: 600; font-size: 1.1rem; color: var(--ink-2); }
.price b { font-size: 2.9rem; letter-spacing: -.03em; color: var(--ink); font-weight: 600; }
.vat { font-size: .88rem; color: var(--ink-3); }
.plan .btn { margin-top: 20px; width: 100%; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .96rem; }
.plan li { padding-left: 24px; position: relative; color: var(--ink-2); }
.plan li b { color: var(--ink); font-weight: 600; }
.plan li::before { content: ''; position: absolute; left: 0; top: .32em; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 2.8L13 4.6' fill='none' stroke='%232a6a4f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.extras { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; color: var(--ink-2); font-size: .96rem; }
.extras b { color: var(--ink); font-weight: 600; }
.guarantee { margin-top: 26px; text-align: center; color: var(--ink-2); }

/* Preguntas */
.faq-in { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--green-2); }
.qa details[open] summary::after { content: '–'; }
.qa p { padding: 0 0 20px; color: var(--ink-2); max-width: 42em; }

/* Blog en portada */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.post-card:hover { border-color: var(--green-2); }
.post-card .cat { font-size: .82rem; font-weight: 600; color: var(--green-2); }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.post-card .more { margin-top: auto; font-weight: 600; color: var(--green-2); font-size: .93rem; }

/* Contacto y pie */
.contact { background: var(--green-deep); color: #fff; padding: clamp(64px, 8vw, 100px) 0; }
.contact-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: #c9dcd1; margin-top: 16px; font-size: 1.1rem; max-width: 34em; }
.contact-box { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 24px; display: grid; gap: 12px; }
.contact-box .btn { width: 100%; }
.contact-box small { color: #a9c3b5; text-align: center; }
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: .9rem; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--green); text-decoration: underline; }
.foot p { color: var(--ink-2); margin-top: 10px; }
.foot .legal-line { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }

/* Barra fija de contacto en el móvil */
.mbar { display: none; }

/* Blog */
.crumbs { font-size: .9rem; color: var(--ink-3); padding-top: 28px; }
.crumbs a { color: var(--ink-3); }
.blog-hero { padding: 24px 0 40px; border-bottom: 1px solid var(--line); }
.blog-hero p { margin-top: 14px; color: var(--ink-2); font-size: 1.12rem; max-width: 40em; }
.blog-list { padding: 40px 0 80px; }
.article { padding-bottom: 72px; }
.article header { padding: 20px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.article header p.meta { margin-top: 14px; color: var(--ink-3); font-size: .93rem; }
.article header p.dek { margin-top: 16px; font-size: 1.18rem; color: var(--ink-2); }
.prose { font-size: 1.07rem; line-height: 1.72; color: #1f2824; }
.prose h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.22rem; margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote, .prose figure { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-2); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--green-2); padding: 4px 0 4px 18px; color: var(--ink-2); }
.prose .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 0 0 22px; }
.prose .box.warn { background: #fdf3ef; border-color: #f0cfc4; }
.prose .box p:last-child, .prose .box ul:last-child { margin-bottom: 0; }
.prose figure img { border: 1px solid var(--line); border-radius: 8px; }
.prose figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 8px; }
.toc { background: var(--bg-2); border-radius: var(--r); padding: 18px 22px; margin-bottom: 30px; font-size: .97rem; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.cta-box { margin: 40px 0 0; background: var(--green-deep); color: #fff; border-radius: 12px; padding: 28px; display: grid; gap: 14px; justify-items: start; }
.cta-box h2 { color: #fff; font-size: 1.45rem; margin: 0; }
.cta-box p { color: #c9dcd1; margin: 0; }
.sources { margin-top: 36px; font-size: .92rem; color: var(--ink-3); }
.sources ul { padding-left: 1.2em; }
.related { margin-top: 48px; }
.related h2 { font-size: 1.3rem; margin-bottom: 16px; }
.legal { padding: 40px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 36px; }
.legal p, .legal li { color: var(--ink-2); margin-top: 12px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin-top: 16px; }
.legal dt { font-weight: 600; } .legal dd { margin: 0; color: var(--ink-2); }

/* Aviso de cookies */
#cb-cookies { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 620px; margin-left: auto; background: #fff; color: var(--ink); padding: 18px 20px; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: 0 20px 40px -12px rgba(17, 25, 21, .3); display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; }
#cb-cookies p { margin: 0; flex: 1 1 280px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
#cb-cookies a { color: var(--ink); font-weight: 600; }
#cb-cookies div { display: flex; gap: 8px; }
#cb-cookies button { font: 600 .95rem var(--sans); cursor: pointer; border-radius: 8px; padding: 10px 18px; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
#cb-cookies button[data-v="si"] { background: var(--green); border-color: var(--green); color: #fff; }
.foot .linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-3); text-decoration: underline; cursor: pointer; }
@media (max-width: 680px) { #cb-cookies { bottom: 80px; } }

/* Tableta */
@media (max-width: 1060px) {
  .menu { display: none; }
  .hero-in, .web-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tabs button { flex: none; }
  .plans, .extras, .pains, .posts { grid-template-columns: 1fr; }
  .steps, .sectors { grid-template-columns: 1fr 1fr; }
  .proof-in { grid-template-columns: 1fr 1fr; }
  .proof-in div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-in div { border-top: 1px solid var(--line); }
  .proof-in div:nth-child(-n+2) { border-top: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
/* Móvil */
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .top-cta .btn.ghost { display: none; }
  .law-cols, .steps, .sectors, .till-body { grid-template-columns: 1fr; }
  .till-prods { grid-template-columns: 1fr 1fr 1fr; }
  .prod { min-height: 62px; font-size: .8rem; padding: 8px; }
  .cta-row .btn { flex: 1 1 100%; }
  .proof-in { grid-template-columns: 1fr; }
  .proof-in div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line) !important; padding: 16px 0; }
  .proof-in div:first-child { border-top: 0 !important; }
  .foot-in { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .mbar .btn { min-height: 46px; padding: 0 .6rem; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .stamp { animation: none; } }
@media print { .top, .mbar, .cta-box, .contact { display: none; } }
