/* ZENVU — www.zenvu.eu. CSS propio, sin framework. Colores del manual de marca v1.0. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-wght.woff2') format('woff2'); }

:root {
  --navy: #102038; --blue: #2990F8; --deep: #1760DC; --grey: #F6F8FC; --white: #fff;
  --ink: #102038; --muted: #4A5872; --line: #DFE6F1; --line-strong: #C9D6EA;
  --ok: #157347; --ok-bg: #E5F4EC; --warn: #8A5300; --warn-bg: #FFF2DC;
  --radius: 14px; --radius-sm: 10px;
  --wrap: 1200px; --gutter: 20px;
  --shadow: 0 1px 2px rgba(16,32,56,.06), 0 8px 24px rgba(16,32,56,.06);
  --font: 'Inter', Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); margin-bottom: 1rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; }
.lead-sm { font-size: 1.1rem; color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.4em; border-radius: 999px; font: 600 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: .95rem; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Iconos */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-md { width: 30px; height: 30px; color: var(--deep); margin-bottom: 14px; }
.ic-lg { width: 36px; height: 36px; color: var(--deep); }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand img { width: 150px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; max-height: calc(100vh - 72px); overflow-y: auto; }
.nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .nav-sub-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; font: 500 1.05rem var(--font); color: var(--navy); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }
.nav-sub-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.nav-sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { list-style: none; margin: 0; padding: 4px 0 8px 12px; display: none; }
.nav-sub-btn[aria-expanded="true"] + .nav-sub { display: block; }
.nav-sub a { display: block; padding: 10px 0; color: var(--muted); text-decoration: none; }
.nav-sub a:hover, .nav-sub a[aria-current] { color: var(--deep); }
.nav-list a[aria-current="page"], .nav-sub-btn.is-active { color: var(--deep); }
.nav-end { display: flex; align-items: center; gap: 16px; padding-top: 16px; }
.nav-lang { font-size: .95rem; color: var(--muted); text-decoration: none; }
.nav-lang:hover { color: var(--navy); }

@media (min-width: 1000px) {
  .brand img { width: 170px; }
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; align-items: center; gap: 28px; padding: 0; border: 0; background: none; max-height: none; overflow: visible; }
  .nav-list { display: flex; gap: 4px; }
  .nav-list > li { position: relative; }
  .nav-list > li > a, .nav-sub-btn { padding: 10px 12px; border: 0; font-size: .97rem; gap: 6px; border-radius: 8px; }
  .nav-list > li > a:hover, .nav-sub-btn:hover { background: var(--grey); }
  .nav-sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; }
  .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { display: block; }
  .nav-sub a { padding: 10px 12px; border-radius: 8px; color: var(--navy); }
  .nav-sub a:hover { background: var(--grey); }
  .has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
  .nav-end { padding: 0; }
}

/* Secciones */
.section { padding: 72px 0; }
.section-alt { background: var(--grey); }
.section-navy { background: var(--navy); color: #C9D6EA; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (min-width: 900px) { .section { padding: 104px 0; } }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 24px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.section-alt .card { border-color: transparent; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.05fr; gap: 72px; } .split-rev > :first-child { order: 2; } }

/* Hero */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--grey) 0%, #fff 100%); }
.hero > .wrap:first-child { display: grid; gap: 32px; align-items: center; }
.hero h1 span { color: var(--deep); display: block; }
.hero-art { display: none; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 72px; }
  .hero > .wrap:first-child { grid-template-columns: 1.35fr 1fr; gap: 48px; }
  .hero-art { display: block; }
  .hero-art svg { max-width: 420px; margin-left: auto; }
}
.verticals-label { margin: 40px 0 14px; font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.verticals { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .verticals { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.vcard { position: relative; display: grid; gap: 10px; height: 100%; padding: 24px 24px 50px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.vcard:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
.vcard-t { font-size: 1.25rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.vcard-d { color: var(--muted); font-size: .98rem; }
.vcard-more { position: absolute; right: 22px; bottom: 20px; color: var(--deep); }

/* Franja de confianza */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 20px 0; display: grid; gap: 14px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .97rem; color: var(--navy); }
.trust .ic { color: var(--deep); }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding: 26px 0; } }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.step-n { position: absolute; top: 24px; right: 24px; font-size: .85rem; font-weight: 700; color: var(--deep); background: var(--grey); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.section .steps li { border: 1px solid var(--line); }
.section-alt .steps li { border: 0; }

/* Lista de características */
.feature-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
@media (min-width: 560px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; gap: 12px; }
.feature-list .ic { color: var(--deep); margin-top: 2px; }
.feature-list strong { display: block; color: var(--navy); }
.feature-list span { color: var(--muted); font-size: .95rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checks li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.2px solid var(--deep); border-bottom: 2.2px solid var(--deep); transform: rotate(-45deg); }

/* Principios */
.principles { margin-top: 40px; }
.principles > div { border-top: 2px solid var(--blue); padding-top: 18px; }
.principles p { margin: 0; }

/* Maqueta del portal */
.mock { margin: 0; }
.mock-win { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(16,32,56,.14); overflow: hidden; font-size: .86rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-bar em { margin-left: 10px; color: #fff; font-style: normal; font-weight: 600; font-size: .82rem; }
.mock-tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.mock-tabs b { font-weight: 500; padding: 8px 10px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.mock-tabs b.on { color: var(--navy); border-bottom-color: var(--blue); font-weight: 600; }
.mock-body { padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis div { background: var(--grey); border-radius: 10px; padding: 10px 12px; }
.mock-kpis span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.3; }
.mock-kpis strong { display: block; font-size: 1.5rem; color: var(--navy); font-variant-numeric: tabular-nums; margin-top: 4px; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .76rem; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .8em; color: var(--muted); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.mock figcaption { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
@media (max-width: 480px) { .mock-table td:nth-child(2), .mock-table th:nth-child(2) { display: none; } .mock-kpis strong { font-size: 1.2rem; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; color: var(--navy); font-size: 1.07rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-a p:last-child { margin: 0; }

/* Banda CTA */
.cta-band { background: var(--navy); color: #C9D6EA; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-in { display: grid; gap: 24px; align-items: center; }
.cta-in p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--blue); color: var(--navy); }
.cta-band .btn-primary:hover { background: #fff; color: var(--navy); }
@media (min-width: 960px) { .cta-in { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* Migas y cabecera de página interior */
.crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.page-hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--grey) 0%, #fff 100%); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 18em; }
@media (min-width: 960px) { .page-hero { padding: 56px 0 80px; } }
.page-hero .split { align-items: start; }

/* Texto largo (guías, legal) */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--grey); color: var(--navy); font-weight: 600; }
.prose blockquote, .note { margin: 1.6em 0; padding: 18px 22px; background: var(--grey); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p:last-child, .note p:last-child { margin: 0; }
.meta { color: var(--muted); font-size: .92rem; }
.toc { background: var(--grey); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 2em; }
.toc h2 { font-size: 1rem; margin: 0 0 .6em; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: .3em 0; }

/* Pie */
.site-footer { background: var(--grey); padding: 64px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; gap: 36px; }
.foot-brand img { width: 150px; margin-bottom: 16px; }
.foot-brand p { color: var(--muted); max-width: 30em; }
.foot-promise { font-weight: 600; color: var(--navy) !important; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--deep); text-decoration: underline; }
.site-footer .btn-primary { color: #fff; text-decoration: none; }
.foot-guides ul { columns: 1; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-guides ul { columns: 2; column-gap: 24px; } .foot-guides li { break-inside: avoid; } .foot-brand, .foot-guides { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.3fr .9fr .9fr 1.6fr; } .foot-brand, .foot-guides { grid-column: auto; } }
.foot-bottom { border-top: 1px solid var(--line-strong); margin-top: 48px; padding-top: 20px; color: var(--muted); font-size: .85rem; display: grid; gap: 8px; }
.foot-bottom p { margin: 0; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 960px) { .foot-bottom { grid-template-columns: 1fr auto; } }

/* Páginas de servicio */
.h-sm { font-size: 1.1rem; margin-bottom: 1rem; }
.includes { box-shadow: var(--shadow); }
.includes .actions { margin: 1.4rem 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--grey); color: var(--navy); font-weight: 600; font-size: .9rem; }
.table tbody th { color: var(--navy); font-weight: 600; }
.table td { color: var(--muted); }
.table tr:last-child > * { border-bottom: 0; }
.section .meta { margin-top: 16px; }
.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .related { grid-template-columns: repeat(4, 1fr); } }
.rel { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #fff; border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); font-weight: 600; border: 1px solid var(--line); height: 100%; }
.rel:hover { border-color: var(--blue); color: var(--navy); }
.rel .ic { color: var(--deep); }
.rel .ic-arrow { margin-left: auto; width: 18px; height: 18px; }
.numbered { padding-left: 1.3em; }
.numbered li { margin-bottom: .9em; padding-left: .3em; }
.numbered li::marker { color: var(--deep); font-weight: 700; }
.product-who { font-size: .85rem !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--deep) !important; margin: -.3em 0 1em !important; }
.product .checks { margin: 0; font-size: .96rem; }
.product .checks li { color: var(--muted); }
@media (max-width: 699px) {
  .table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table tbody th, .table td { display: block; padding: 0; border: 0; }
  .table tbody th { font-size: 1.05rem; margin-bottom: 8px; }
  .table td { margin-top: 6px; font-size: .95rem; }
  .table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--deep); }
}

/* Formularios y encuesta de precios */
[hidden] { display: none !important; }
.page-hero-tight { padding-bottom: 72px; }
.pricing-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } .pricing-intro { position: sticky; top: 104px; } }
.side-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.side-list li { display: flex; gap: 10px; align-items: center; color: var(--navy); font-weight: 500; }
.side-list .ic { color: var(--deep); }
.survey-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(16,32,56,.10); padding: 24px 20px; }
@media (min-width: 640px) { .survey-card { padding: 36px 40px; } }
.progress { height: 6px; background: var(--grey); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 11%; background: var(--blue); border-radius: 999px; transition: width .3s; }
.progress-label { font-size: .85rem; color: var(--muted); margin: 10px 0 20px; min-height: 1.4em; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-active { display: block; }
.step legend { padding: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
.step legend:focus { outline: none; }
.step-count { display: none; }
.help { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.sub-q { font-weight: 600; color: var(--navy); margin: 26px 0 12px; }
.opts { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .opts-2 { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 52px; padding: 12px 16px 12px 48px; border: 1.5px solid var(--line-strong); border-radius: 12px; color: var(--navy); font-weight: 500; line-height: 1.35; transition: border-color .12s, background .12s; position: relative; }
.opt span::before { content: ''; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: #fff; }
.opt input[type=checkbox] + span::before { border-radius: 6px; }
.opt:hover span { border-color: var(--blue); }
.opt input:checked + span { border-color: var(--deep); background: #EEF5FF; }
.opt input:checked + span::before { border-color: var(--deep); background: var(--deep); box-shadow: inset 0 0 0 4px #fff; }
.opt input[type=checkbox]:checked + span::before { box-shadow: none; background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.step-error, .form-error { color: #B42318; font-weight: 500; font-size: .95rem; margin: 14px 0 0; }
.survey-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; flex-wrap: wrap; }
.survey-nav .js-next, .survey-nav .js-submit { margin-left: auto; }
.survey[data-total]:not(.is-stepped) .js-prev, .survey[data-total]:not(.is-stepped) .js-submit { display: none; }
.sub-q-first { margin-top: 0; }
.fields { display: grid; gap: 16px; margin: 8px 0 18px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } .fields-1 { grid-template-columns: 1fr; } }
.field span { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; min-height: 48px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(41,144,248,.25); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B42318; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--deep); }
.check.is-invalid span { color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nojs-note { color: var(--muted); }

/* Guías */
.section-tight { padding-top: 24px; }
.guide .page-hero { padding-bottom: 40px; }
.guide .page-hero h1 { max-width: none; }
.guide .prose { padding-bottom: 40px; }
.guide-services .actions { margin-top: .6em; gap: 8px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .guide-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.guide-card { display: grid; gap: 10px; height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s; }
.guide-card:hover { border-color: var(--blue); color: var(--ink); }
.guide-card-t { font-size: 1.2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; line-height: 1.3; }
.guide-card-d { color: var(--muted); font-size: .97rem; }
.guide-card .link-arrow { color: var(--deep); margin-top: 4px; }

/* Contacto */
.contact-data { display: grid; gap: 18px; margin-top: 28px; }
.contact-data div { display: flex; gap: 14px; }
.contact-data .ic { color: var(--deep); margin-top: 3px; }
.contact-data strong { display: block; color: var(--navy); }
.contact-data span, .contact-data a { color: var(--muted); }

/* Galería de instalaciones */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 20px; } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--grey); }
.gallery figcaption { margin-top: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.section-note { margin-top: 24px; color: var(--muted); max-width: 46em; }

/* ==========================================================================
   Sistema «European Industrial Editorial» (docs/REDISENO-sistema.md)
   Fase 2: solo páginas con body.ed (/fulfillment-ecommerce ES/EN). Sin colores nuevos, sin sombras ni degradados.
   ========================================================================== */
.ed { --ed-gap: 24px; --ed-sec: 64px; --ed-rule: 1px solid var(--navy); --ed-hair: 1px solid var(--line); }
@media (min-width: 900px) { .ed { --ed-sec: 112px; } }
.ed main { background: #fff; }
.ed h1, .ed h2, .ed h3 { font-weight: 600; }
.ed p { max-width: 64ch; }

/* Botones y enlaces: rectangulares, una acción principal por bloque */
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 32px 0 0; }
.ed-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 3px; background: var(--deep); color: #fff; font-weight: 600; text-decoration: none; border: 1.5px solid var(--deep); }
.ed-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.ed-btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.ed-btn-secondary:hover { background: var(--navy); color: #fff; }
.ed-link { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.ed-link:hover { color: var(--deep); }

/* Cabecera de página */
.ed-head { padding: 28px 0 0; }
.ed-head .crumbs ol { margin-bottom: 28px; }
.ed-head-grid { display: grid; gap: 40px; padding-bottom: 40px; }
.ed-head h1 { font-size: clamp(2.2rem, 4.9vw, 3.75rem); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 24px; max-width: 19ch; }
.ed-intro { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--muted); margin: 0; }
.ed-head-aside { border-top: var(--ed-rule); padding-top: 16px; }
.ed-head-aside h2 { font-size: .95rem; letter-spacing: 0; margin: 0 0 8px; }
.ed-head-aside ul { list-style: none; margin: 0; padding: 0; }
.ed-head-aside li { padding: 10px 0; border-bottom: var(--ed-hair); font-size: .97rem; color: var(--ink); }
@media (min-width: 960px) {
  .ed-head { padding-top: 40px; }
  .ed-head-grid { grid-template-columns: 8fr 4fr; gap: var(--ed-gap) 64px; align-items: end; padding-bottom: 56px; }
}

/* Figuras: foto documental, sin sombra, pie de foto */
.ed-fig { margin: 0; }
.ed-fig img { width: 100%; height: auto; display: block; border-radius: 2px; background: var(--grey); }
.ed-fig-4x3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.ed-fig-wide img { aspect-ratio: 21 / 9; object-fit: cover; }
.ed-fig figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; max-width: 64ch; }
@media (max-width: 639px) { .ed-fig-wide img { aspect-ratio: 4 / 3; } }

/* Secciones: regla marino a ancho de retícula en vez de bandas de color */
.ed-sec { padding: 0 0 var(--ed-sec); }
.ed-head + .ed-sec, .ed-grey, .ed-grey + .ed-sec { padding-top: var(--ed-sec); }
/* Regla marino alineada con la columna de contenido (no con el borde de la retícula) */
.ed-sec > .wrap { position: relative; padding-top: 28px; }
.ed-sec > .wrap::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: var(--ed-rule); }
.ed-grey { background: var(--grey); }
.ed-grey > .wrap::before { display: none; }
.ed-sec h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 20px; max-width: 18ch; }
.ed-lead { font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin: 0 0 32px; }
.ed-note { font-size: .92rem; color: var(--muted); margin: 28px 0 0; }
.ed-sec-head { margin-bottom: 32px; }

/* A · cabecera lateral 4/8 */
.ed-a { display: grid; gap: 8px; }
@media (min-width: 960px) { .ed-a { grid-template-columns: 4fr 8fr; gap: 64px; } .ed-a-head h2 { position: sticky; top: 104px; } }

/* B · texto + foto 5/7 */
.ed-b { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .ed-b { grid-template-columns: 5fr 7fr; gap: 64px; } .ed-b-rev .ed-b-media { order: -1; } .ed-b-rev { grid-template-columns: 7fr 5fr; } }

/* Listas con reglas (sustituyen a las rejillas de tarjetas) */
.ed-ruled { list-style: none; margin: 0; padding: 0; display: grid; }
.ed-ruled li { padding: 18px 0 20px; border-top: var(--ed-hair); }
.ed-ruled li:last-child { border-bottom: var(--ed-hair); }
.ed-ruled h3 { font-size: 1.08rem; letter-spacing: -0.01em; margin: 0 0 6px; }
.ed-ruled p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 700px) {
  .ed-ruled-2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .ed-ruled-2 li:nth-last-child(2):nth-child(odd) { border-bottom: var(--ed-hair); }
}

/* Secuencia: es un proceso real, por eso va numerada */
.ed-seq { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: none; }
.ed-seq li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; align-content: start; column-gap: 12px; padding: 18px 0 20px; border-top: var(--ed-hair); }
.ed-seq li:last-child { border-bottom: var(--ed-hair); }
.ed-seq-n { grid-row: span 2; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--deep); font-size: 1.08rem; line-height: 1.5; }
.ed-seq h3 { font-size: 1.08rem; margin: 0 0 4px; }
.ed-seq p { margin: 0; color: var(--muted); }
@media (min-width: 700px) { .ed-seq { grid-template-columns: 1fr 1fr; column-gap: 40px; } .ed-seq li:nth-last-child(2):nth-child(odd) { border-bottom: var(--ed-hair); } }

/* Lista simple del Portal */
.ed-list { list-style: none; margin: 0; padding: 0; columns: 1; }
@media (min-width: 640px) { .ed-list { columns: 2; column-gap: 32px; } }
.ed-list li { padding: 9px 0; border-top: var(--ed-hair); break-inside: avoid; font-size: .98rem; }
.ed .mock-win { box-shadow: none; border: 1px solid var(--line-strong); border-radius: 4px; }
.ed .mock-bar { padding: 10px 14px; }
.ed .mock figcaption { text-align: left; border-top: var(--ed-hair); padding-top: 10px; }

/* Tabla de datos con reglas */
.ed-table-wrap { overflow-x: auto; }
.ed-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ed-table th, .ed-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: var(--ed-hair); }
.ed-table thead th { font-size: .88rem; color: var(--muted); font-weight: 600; border-bottom: var(--ed-rule); }
.ed-table tbody th { font-weight: 600; color: var(--navy); width: 34%; }
.ed-table td { color: var(--ink); }
@media (max-width: 639px) {
  .ed-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ed-table tr { display: block; padding: 14px 0; border-bottom: var(--ed-hair); }
  .ed-table tbody th, .ed-table td { display: block; width: auto; padding: 0; border: 0; }
  .ed-table td { margin-top: 4px; color: var(--muted); }
}

/* Enlaces relacionados */
.ed-links { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 700px) { .ed-links { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.ed-links a { display: block; padding: 16px 0 18px; border-top: var(--ed-hair); text-decoration: none; color: var(--ink); }
.ed-links strong { display: block; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.ed-links a:hover strong { text-decoration-color: currentColor; }
.ed-links span { color: var(--muted); font-size: .95rem; }

/* FAQ */
.ed-faq details { border-top: var(--ed-hair); }
.ed-faq details:last-child { border-bottom: var(--ed-hair); }
.ed-faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; color: var(--navy); }
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--deep); }
.ed-faq details[open] summary::after { content: '−'; }
.ed-faq-a { padding: 0 0 20px; color: var(--muted); }
.ed-faq-a p { margin: 0; }

/* Cierre marino, alineado a la izquierda */
.ed-close { background: var(--navy); color: #C9D6EA; padding: 72px 0; }
@media (min-width: 900px) { .ed-close { padding: 104px 0; } }
.ed-close h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 16px; max-width: 20ch; }
.ed-close p { font-size: 1.15rem; margin: 0; }
.ed-btn-on-dark { background: var(--blue); border-color: var(--blue); color: var(--navy); }
.ed-btn-on-dark:hover { background: #fff; border-color: #fff; color: var(--navy); }
.ed-link-light { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.ed-link-light:hover { color: var(--blue); }
.ed-a > *, .ed-b > *, .ed-head-grid > * { min-width: 0; }

/* Capturas reales del Portal: evidencia, sin efectos */
.capture { margin: 0; }
.capture img { width: 100%; height: auto; display: block; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; }
.capture figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; max-width: 64ch; }
.capture figcaption strong { color: var(--navy); font-weight: 600; }
.capture + .capture { margin-top: 28px; }
.capture-portal-factura-conceptos { max-width: 400px; }
@media (min-width: 960px) { .capture-portal-factura-conceptos { margin-left: auto; } }
.ed-gallery-row { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 700px) { .ed-gallery-row { grid-template-columns: 1fr 1fr; gap: var(--ed-gap); } }
.ed-head-grid:last-child { padding-bottom: 0; }
