/* Misifú · web comercial. Requiere tokens.css y app.css */

:root { --c-ancho: 1200px; --c-gutter: clamp(16px, 4vw, 32px); --c-sec: clamp(64px, 9vw, 120px); --c-cab-alto: 76px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--c-cab-alto) + 16px); }
.c-body { overflow-x: clip; }
.c-ancho { width: 100%; max-width: calc(var(--c-ancho) + 2 * var(--c-gutter)); margin-inline: auto; padding-inline: var(--c-gutter); }
.c-centro { text-align: center; margin-top: var(--mf-e-6); max-width: none; }
.c-body main:focus { outline: none; box-shadow: none; }
.c-body h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }

/* Logo: positivo en claro, negativo en oscuro (salvo alto contraste) */
.logo-neg { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="claro"]):not([data-contraste="alto"]) .logo-pos { display: none; }
  :root:not([data-theme="claro"]):not([data-contraste="alto"]) .logo-neg { display: inline; }
}

/* ---------- Franja superior: firma y opciones de lectura ---------- */
.c-franja { background: var(--mf-superficie-2); border-bottom: 1px solid var(--mf-borde); font-size: var(--mf-t-xs); }
.c-franja-in { display: flex; align-items: center; justify-content: space-between; gap: var(--mf-e-3); min-height: 52px; padding-block: 6px; }
.c-franja-firma { margin: 0; color: var(--mf-texto-suave); }
.c-franja-firma b { color: var(--mf-texto); font-family: var(--mf-fuente-titular); font-weight: 600; }
.c-franja .acc button { min-height: 38px; padding: 4px 12px; }

/* ---------- Cabecera ---------- */
.c-cab { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--mf-fondo) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.c-cab--baja { border-bottom-color: var(--mf-borde); box-shadow: 0 6px 20px rgba(17, 22, 19, .06); }
.c-cab-in { display: flex; align-items: center; justify-content: space-between; gap: var(--mf-e-5); min-height: var(--c-cab-alto); }
.c-logo { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.c-logo img { height: 40px; width: auto; }
.c-nav { display: flex; align-items: center; gap: var(--mf-e-5); }
.c-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.c-nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--mf-r-pill); color: var(--mf-texto); text-decoration: none; font-family: var(--mf-fuente-titular); font-weight: 500; font-size: var(--mf-t-s); transition: background .15s; }
.c-nav ul a:hover { background: var(--mf-superficie-2); }
.c-nav ul a, .c-nav-cta { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) { .c-nav { gap: var(--mf-e-3); } .c-nav ul { gap: 0; } .c-nav ul a { padding: 0 10px; } }
.c-nav ul a[aria-current="page"] { background: var(--mf-lima-claro); color: var(--mf-tinta); box-shadow: inset 0 -3px 0 var(--mf-lima); }
.c-menu-btn { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 2px solid var(--mf-borde-fuerte); border-radius: var(--mf-r-pill); background: var(--mf-superficie); color: var(--mf-texto); font: 600 var(--mf-t-s)/1 var(--mf-fuente-titular); cursor: pointer; }
.c-menu-ico { display: grid; gap: 4px; width: 20px; }
.c-menu-ico i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
[aria-expanded="true"] .c-menu-ico i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .c-menu-ico i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .c-menu-ico i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .js .c-menu-btn { display: inline-flex; }
  .js .c-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--mf-e-4); padding: var(--mf-e-4) var(--c-gutter) var(--mf-e-6); background: var(--mf-fondo); border-bottom: 1px solid var(--mf-borde); box-shadow: 0 20px 30px rgba(17, 22, 19, .12); max-height: calc(100vh - 140px); overflow-y: auto; }
  .js.c-menu-abierto .c-nav { display: flex; }
  .c-nav ul { flex-direction: column; gap: 2px; }
  .c-nav ul a { width: 100%; min-height: 52px; font-size: var(--mf-t-m); border-radius: var(--mf-r-m); }
  .c-nav-cta { width: 100%; }
  html:not(.js) .c-cab-in { flex-wrap: wrap; }
  html:not(.js) .c-nav { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .c-franja-firma { display: none; }
  .c-franja-in { justify-content: center; }
  .c-franja .acc { gap: 6px; flex-wrap: nowrap; }
  .c-franja .acc button { font-size: 0; gap: 0; padding: 0; width: 44px; justify-content: center; }
  .c-franja .acc svg { width: 20px; height: 20px; }
  .c-logo img { height: 34px; }
}

/* ---------- Comunes de sección ---------- */
.c-seccion { padding-block: var(--c-sec); }
.c-seccion--arena { background: var(--mf-superficie-2); }
.c-seccion--tinta { background: var(--mf-tinta); color: #F3F1EA; }
.c-seccion--tinta h2, .c-seccion--tinta h3 { color: #fff; }
.c-seccion--tinta a:not(.btn) { color: var(--mf-lima); }
.c-sec-cab { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.c-sec-cab p:last-child { margin-bottom: 0; }
.c-antetitulo { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--mf-e-3); font: 600 var(--mf-t-xs)/1.3 var(--mf-fuente-titular); letter-spacing: .08em; text-transform: uppercase; color: var(--mf-hoja); }
.c-antetitulo .picto { width: 20px; height: 20px; }
.c-antetitulo--lima, .c-seccion--tinta .c-antetitulo { color: var(--mf-lima); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="claro"]) .c-antetitulo { color: var(--mf-lima); } }
.c-subraya { background-image: linear-gradient(var(--mf-lima), var(--mf-lima)); background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .2em; padding-inline: .04em; animation: c-trazo .9s .25s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes c-trazo { from { background-size: 0 .2em; } to { background-size: 100% .2em; } }
.c-enlace-flecha { font-family: var(--mf-fuente-titular); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.c-enlace-flecha::after { content: "→"; transition: transform .2s; }
.c-enlace-flecha:hover::after { transform: translateX(4px); }
.c-enlace-flecha:hover { text-decoration: underline; }
.c-lista-check { list-style: none; margin: var(--mf-e-4) 0 0; padding: 0; display: grid; gap: 10px; }
.c-lista-check li { position: relative; padding-left: 34px; }
.c-lista-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--mf-lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23111613' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Aparición al entrar en pantalla */
.c-anim [data-aparece] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.c-anim [data-aparece].visto { opacity: 1; transform: none; }

/* ---------- Portada: cabecera ---------- */
.c-hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 40px); overflow: hidden; }
.c-hero + .c-seccion { padding-top: clamp(48px, 6vw, 80px); }
.c-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--mf-lima) 28%, transparent), transparent); pointer-events: none; }
.c-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.c-titular { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: var(--mf-e-5); font-weight: 700; }
.c-entrada { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--mf-texto-suave); max-width: 34em; }
html[data-lf="1"] .c-entrada { color: var(--mf-texto); }
.c-hero-btns { margin-top: var(--mf-e-6); }
.c-hero-datos { list-style: none; padding: 0; margin: var(--mf-e-7) 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: var(--mf-e-5); justify-content: start; border-top: 1px solid var(--mf-borde); padding-top: var(--mf-e-5); }
.c-hero-datos li { display: flex; flex-direction: column; line-height: 1.3; }
.c-hero-datos b { font-family: var(--mf-fuente-titular); font-weight: 600; font-size: var(--mf-t-l); }
.c-hero-datos span { color: var(--mf-texto-suave); font-size: var(--mf-t-xs); }
.c-hero-vis { position: relative; padding: 0 0 40px 48px; }
.c-navegador { margin: 0; background: var(--mf-superficie); border: 1px solid var(--mf-borde); border-radius: 16px; overflow: hidden; box-shadow: var(--mf-sombra-3); }
.c-navegador img { display: block; width: 100%; height: auto; }
.c-navegador-barra { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: var(--mf-n-100); border-bottom: 1px solid var(--mf-borde); }
.c-navegador-barra i { width: 10px; height: 10px; border-radius: 50%; background: var(--mf-n-300); flex: none; }
.c-navegador-barra span { margin-left: 10px; flex: 1; min-width: 0; padding: 3px 12px; border-radius: var(--mf-r-pill); background: var(--mf-blanco); color: var(--mf-n-600); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="claro"]) .c-navegador-barra { background: var(--mf-superficie-2); } :root:not([data-theme="claro"]) .c-navegador-barra span { background: var(--mf-fondo); color: var(--mf-texto-suave); } }
.c-hero-vis .c-navegador { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.c-movil { position: absolute; left: 0; bottom: 0; width: 30%; margin: 0; border: 7px solid var(--mf-tinta); border-radius: 30px; overflow: hidden; background: var(--mf-tinta); box-shadow: var(--mf-sombra-3); }
.c-movil img { display: block; width: 100%; height: auto; border-radius: 22px; }
.c-flota { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; background: var(--mf-superficie); border: 1px solid var(--mf-borde); border-radius: 14px; box-shadow: var(--mf-sombra-2); font-size: var(--mf-t-xs); line-height: 1.25; color: var(--mf-texto-suave); animation: c-flotar 2.4s ease-in-out 2; /* termina antes de 5 s (pauta 2.2.2) */ }
.c-flota b { display: block; color: var(--mf-texto); font-family: var(--mf-fuente-titular); font-size: var(--mf-t-s); }
.c-flota .picto { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--mf-lima); color: var(--mf-tinta); }
.c-flota--a { right: -12px; top: 18%; }
.c-flota--b { right: 8%; bottom: 0; animation-delay: -1.2s; }
@keyframes c-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .c-hero-in { grid-template-columns: minmax(0, 1fr); }
  .c-hero-vis { padding: 0 0 32px 28px; max-width: 640px; }
  .c-flota--a { right: 0; top: -18px; }
}
@media (max-width: 560px) {
  .c-hero-datos { grid-template-columns: 1fr 1fr; }
  .c-hero-datos li:last-child { grid-column: 1 / -1; }
  .c-hero-btns .btn { flex: 1 1 100%; }
  .c-hero-vis { padding: 0 0 24px 18px; }
  .c-hero-vis .c-navegador { transform: none; }
  .c-movil { border-width: 5px; border-radius: 20px; }
  .c-movil img { border-radius: 15px; }
  .c-flota { font-size: 12px; padding: 6px 10px 6px 6px; }
  .c-flota b { font-size: 13px; }
  .c-flota .picto { width: 28px; height: 28px; padding: 5px; }
  .c-flota--b { display: none; }
}

/* ---------- Portada: lista de la ley ---------- */
.c-ley { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.c-ley-intro { position: sticky; top: calc(var(--c-cab-alto) + 32px); }
.c-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mf-e-4); }
.c-checklist li { display: flex; gap: var(--mf-e-4); padding: var(--mf-e-5); background: var(--mf-superficie); border: 1px solid var(--mf-borde); border-radius: var(--mf-r-l); }
.c-checklist h3 { font-size: var(--mf-t-m); margin-bottom: 6px; }
.c-checklist p { margin: 0; font-size: var(--mf-t-s); color: var(--mf-texto-suave); }
html[data-lf="1"] .c-checklist p { color: var(--mf-texto); font-size: var(--mf-t-m); }
.c-art { display: inline-block; margin-bottom: 6px; padding: 1px 9px; border-radius: var(--mf-r-pill); background: var(--mf-superficie-2); color: var(--mf-texto-suave); font: 700 12px/1.7 var(--mf-fuente-texto); white-space: nowrap; }
.c-check { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mf-lima); color: var(--mf-tinta); }
.c-check svg { width: 20px; height: 20px; }
.c-anim .c-checklist li[data-aparece] .c-check { transform: scale(.4); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i, 0) * 70ms + .25s); }
.c-anim .c-checklist li.visto .c-check { transform: none; }
@media (max-width: 1080px) { .c-checklist { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .c-ley { grid-template-columns: minmax(0, 1fr); } .c-ley-intro { position: static; } }

/* ---------- Portada: piezas ---------- */
.c-pieza { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.c-pieza + .c-pieza { margin-top: clamp(64px, 9vw, 120px); }
.c-pieza--inv .c-pieza-txt { order: 2; }
.c-pieza-txt h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.c-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--mf-e-4); border-radius: 50%; background: var(--mf-tinta); color: var(--mf-lima); font: 700 var(--mf-t-l)/1 var(--mf-fuente-titular); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="claro"]) .c-num { background: var(--mf-lima); color: var(--mf-tinta); } }
.c-pieza-img { margin: 0; }
.c-navegador--plano { box-shadow: var(--mf-sombra-3); }
.c-roles { list-style: none; padding: 0; margin: var(--mf-e-5) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-roles li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--mf-r-pill); background: var(--mf-superficie); border: 1px solid var(--mf-borde); font: 500 var(--mf-t-s)/1.2 var(--mf-fuente-titular); }
.c-roles .picto { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--mf-lima-claro); color: var(--mf-hoja); }
.c-mapa-zonas { border-radius: 16px; overflow: hidden; border: 1px solid var(--mf-borde); background: var(--mf-superficie); box-shadow: var(--mf-sombra-3); }
.c-mapa-zonas svg { display: block; width: 100%; height: auto; }
.c-mapa-zonas figcaption { padding: 12px 18px; font-size: var(--mf-t-s); color: var(--mf-texto-suave); border-top: 1px solid var(--mf-borde); }
.z-fondo { fill: #EFEADF; }
.z-agua { fill: #CFE0E3; }
.z-calles path { fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round; }
.z-calles--fin path { stroke-width: 4; stroke: #FBF8F1; }
.z-zona circle { fill: rgba(137, 234, 113, .38); stroke: #185A31; stroke-width: 2.5; stroke-dasharray: 7 6; }
.z-zona text { font: 600 16px var(--mf-fuente-titular); fill: #111613; text-anchor: middle; }
.z-zona text.z-sub { font: 400 13px var(--mf-fuente-texto); fill: #3D4540; }
.z-zona--riesgo circle { fill: rgba(244, 184, 64, .42); stroke: #7A4300; }
.c-anim .visto .z-zona circle { animation: c-latido 2.4s ease-in-out 2; transform-box: fill-box; transform-origin: center; }
.c-anim .visto .z-zona:nth-of-type(2) circle { animation-delay: -1s; }
.c-anim .visto .z-zona:nth-of-type(3) circle { animation-delay: -2s; }
@keyframes c-latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.c-pieza-movil { display: flex; justify-content: center; padding-block: 12px; background: radial-gradient(closest-side, color-mix(in srgb, var(--mf-lima) 40%, transparent), transparent 75%); }
.c-movil--solo { position: relative; width: min(300px, 70%); }
@media (max-width: 860px) {
  .c-pieza { grid-template-columns: minmax(0, 1fr); }
  .c-pieza--inv .c-pieza-txt { order: 0; }
}

/* ---------- Portada: diferencias ---------- */
.c-extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--mf-e-4); }
.c-extras li { padding: var(--mf-e-5); border-radius: var(--mf-r-l); background: var(--mf-superficie); border: 1px solid var(--mf-borde); transition: transform .2s, box-shadow .2s, border-color .2s; }
.c-extras li:hover { transform: translateY(-3px); box-shadow: var(--mf-sombra-2); border-color: var(--mf-borde-fuerte); }
.c-anim .c-extras li[data-aparece].visto:hover { transform: translateY(-3px); }
.c-extras .picto { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--mf-lima-claro); color: var(--mf-hoja); margin-bottom: var(--mf-e-4); }
.c-extras h3 { font-size: var(--mf-t-m); margin-bottom: 6px; }
.c-extras p { margin: 0; font-size: var(--mf-t-s); color: var(--mf-texto-suave); }
.c-compara { max-width: 860px; margin: clamp(40px, 6vw, 64px) auto 0; }
.c-compara .tabla th[scope="row"] { font-family: var(--mf-fuente-texto); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: var(--mf-t-s); color: var(--mf-texto); background: none; white-space: normal; }
.c-compara .tabla td { vertical-align: middle; }
.c-compara .tabla td:last-child { color: var(--mf-texto); }
.c-compara .tabla tbody tr:hover { background: none; }
.c-compara .mini { margin-top: var(--mf-e-3); max-width: none; }
.insignia a { color: inherit; }
@media (max-width: 600px) {
  .c-compara .tabla-envoltura { overflow: visible; }
  .c-compara thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .c-compara table, .c-compara tbody, .c-compara tr, .c-compara th, .c-compara td { display: block; }
  .c-compara tr { padding: 14px 16px; border-bottom: 1px solid var(--mf-borde); }
  .c-compara tr:last-child { border-bottom: 0; }
  .c-compara .tabla th, .c-compara .tabla td { padding: 0; border: 0; }
  .c-compara .tabla th[scope="row"] { margin-bottom: 8px; }
  .c-compara .tabla td { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 32px; }
  .c-compara .tabla td::before { content: none; }
  .c-compara .tabla th[scope="row"] { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .c-compara .tabla td:first-of-type { display: none; }
  .c-compara .tabla th[scope="row"]::after { content: "● Incluido"; flex: none; white-space: nowrap; font-size: var(--mf-t-xs); font-weight: 700; color: var(--mf-activa); background: var(--mf-activa-fondo); border-radius: 999px; padding: 3px 10px; }
  .c-compara .tabla td { display: block; min-height: 0; text-align: left; }
}

/* ---------- Portada: accesibilidad cognitiva ---------- */
.c-cog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.c-cog > div > p { color: #D5DAD5; }
.c-cog-lista { list-style: none; margin: var(--mf-e-5) 0 var(--mf-e-6); padding: 0; display: grid; gap: 12px; }
.c-cog-lista li { position: relative; padding-left: 30px; color: #E7E9E4; }
.c-cog-lista li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 4px; background: var(--mf-lima); }
.c-cog-lista b { color: #fff; }
.c-cog-prueba { color: #C9CEC9 !important; font-size: var(--mf-t-s); margin-bottom: var(--mf-e-4); }
.c-cog-prueba b { color: var(--mf-lima); }
.c-aviso-ej { background: #FBF8F1; color: #111613; border-radius: 22px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 0 0 8px rgba(137, 234, 113, .18), var(--mf-sombra-3); }
.c-aviso-ej h3 { color: #111613; font-size: var(--mf-t-xl); }
.c-aviso-ej p { color: #3D4540; }
.c-aviso-paso { display: inline-block; padding: 3px 12px; border-radius: var(--mf-r-pill); background: #E4F9DE; color: #185A31 !important; font: 600 var(--mf-t-xs)/1.5 var(--mf-fuente-titular); }
.c-aviso-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: var(--mf-e-5); }
.c-aviso-ops > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 12px 8px; border: 2px solid #C9CEC9; border-radius: 14px; background: #fff; text-align: center; font: 500 var(--mf-t-s)/1.25 var(--mf-fuente-titular); }
.c-aviso-ops > span:first-child { border-color: #111613; background: #E4F9DE; box-shadow: inset 0 0 0 2px #111613; }
.c-aviso-ops .picto { width: 40px; height: 40px; color: #185A31; }
html[data-lf="1"] .c-aviso-ej h3 { font-size: var(--mf-t-2xl); }
html[data-contraste="alto"] .c-seccion--tinta { background: #000; }
@media (max-width: 860px) { .c-cog { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .c-aviso-ops { grid-template-columns: minmax(0, 1fr); } .c-aviso-ops > span { flex-direction: row; justify-content: flex-start; min-height: 64px; padding-inline: 14px; text-align: left; } }

/* ---------- Portada: pasos de implantación ---------- */
.c-pasos { list-style: none; margin: 0 0 var(--mf-e-4); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mf-e-5); counter-reset: paso; }
.c-pasos li { position: relative; padding-top: 44px; counter-increment: paso; }
.c-pasos li::before { content: counter(paso); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mf-lima); color: var(--mf-tinta); font: 700 var(--mf-t-s)/1 var(--mf-fuente-titular); z-index: 1; }
.c-pasos li::after { content: ""; position: absolute; top: 15px; left: 40px; right: calc(-1 * var(--mf-e-5) + 8px); height: 2px; background: repeating-linear-gradient(90deg, var(--mf-borde-fuerte) 0 6px, transparent 6px 12px); }
.c-pasos li:last-child::after { display: none; }
.c-pasos-dia { display: block; margin-bottom: 4px; color: var(--mf-hoja); font: 600 var(--mf-t-xs)/1.4 var(--mf-fuente-titular); text-transform: uppercase; letter-spacing: .06em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="claro"]) .c-pasos-dia { color: var(--mf-lima); } }
.c-pasos h3 { font-size: var(--mf-t-l); margin-bottom: 6px; }
.c-pasos p { font-size: var(--mf-t-s); color: var(--mf-texto-suave); margin: 0; }
@media (max-width: 900px) {
  .c-pasos { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .c-pasos li { padding: 0 0 var(--mf-e-6) 52px; }
  .c-pasos li::after { top: 40px; bottom: 8px; left: 15px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--mf-borde-fuerte) 0 6px, transparent 6px 12px); }
}

/* ---------- Tramos de precio ---------- */
.c-tramos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.c-tramos li { display: flex; flex-direction: column; gap: 6px; padding: var(--mf-e-5) var(--mf-e-4); border-radius: var(--mf-r-l); background: var(--mf-superficie); border: 1px solid var(--mf-borde); }
.c-tramo-pob { font: 600 var(--mf-t-s)/1.3 var(--mf-fuente-titular); white-space: nowrap; }
.c-tramo-pob small { display: block; font: 400 var(--mf-t-xs)/1.4 var(--mf-fuente-texto); color: var(--mf-texto-suave); }
.c-tramo-precio { font: 700 clamp(1.6rem, 2.4vw, 2rem)/1.1 var(--mf-fuente-titular); letter-spacing: -.02em; margin-top: auto; padding-top: var(--mf-e-3); font-variant-numeric: tabular-nums; }
.c-tramo-iva { font-size: var(--mf-t-xs); color: var(--mf-texto-suave); line-height: 1.4; }
.c-tramos .c-tramo--medida { background: var(--mf-tinta); border-color: var(--mf-tinta); color: #fff; }
.c-tramo--medida small, .c-tramo--medida .c-tramo-iva { color: #C9CEC9; }
.c-tramo--medida a { color: var(--mf-lima); }
@media (max-width: 1080px) { .c-tramos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .c-tramos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-tramos li { padding: var(--mf-e-4); } }

/* ---------- Preguntas frecuentes ---------- */
.c-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.c-faq-lista { border-top: 1px solid var(--mf-borde); }
.c-faq-lista details { border-bottom: 1px solid var(--mf-borde); }
.c-faq-lista summary { position: relative; display: block; list-style: none; padding: 20px 52px 20px 0; cursor: pointer; font: 600 var(--mf-t-m)/1.35 var(--mf-fuente-titular); }
.c-faq-lista summary::-webkit-details-marker { display: none; }
.c-faq-lista summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--mf-superficie-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23185A31' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .25s, background-color .2s; }
.c-faq-lista details[open] summary::after { transform: rotate(45deg); background-color: var(--mf-lima); }
.c-faq-lista summary:hover { color: var(--mf-hoja); }
.c-faq-lista details p { margin: 0 0 22px; color: var(--mf-texto-suave); }
@media (max-width: 860px) { .c-faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Demostración ---------- */
.c-demo { padding-top: 0; padding-bottom: clamp(48px, 7vw, 96px); }
.c-demo-caja { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 6vw, 72px); border-radius: 32px; background: var(--mf-tinta); color: #E7E9E4; }
.c-demo-caja::before { content: ""; position: absolute; left: -10%; bottom: -60%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(137, 234, 113, .22), transparent); pointer-events: none; }
.c-demo-caja > * { position: relative; }
.c-demo-caja h2 { color: #fff; }
.c-demo-caja p { color: #D5DAD5; }
.c-demo-caja .c-antetitulo { color: var(--mf-lima); }
.c-btn-claro { background: transparent; border-color: #F3F1EA; color: #fff; }
.c-btn-claro:hover { background: #fff; border-color: #fff; color: var(--mf-tinta); }
.c-demo-roles { padding: var(--mf-e-5); border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.c-demo-roles-t { font: 600 var(--mf-t-s)/1.3 var(--mf-fuente-titular); color: #fff !important; margin-bottom: var(--mf-e-3); }
.c-demo-roles ul { list-style: none; margin: 0 0 var(--mf-e-3); padding: 0; display: grid; gap: 6px; }
.c-demo-roles a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 14px 6px 8px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font: 500 var(--mf-t-s)/1.2 var(--mf-fuente-titular); transition: background .15s, color .15s; }
.c-demo-roles a:hover { background: var(--mf-lima); color: var(--mf-tinta); }
.c-demo-roles a .picto { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: rgba(137, 234, 113, .16); color: var(--mf-lima); }
.c-demo-roles a:hover .picto { background: rgba(17, 22, 19, .1); color: var(--mf-tinta); }
.c-demo-roles a span { flex: 1; }
.c-flecha { width: 20px; height: 20px; transition: transform .2s; }
.c-demo-roles a:hover .c-flecha { transform: translateX(3px); }
.c-demo-roles .mini { margin: 0; color: #B9BFB9; }
html[data-contraste="alto"] .c-demo-caja, html[data-contraste="alto"] .c-pie { background: #000; }
@media (max-width: 860px) { .c-demo-caja { grid-template-columns: minmax(0, 1fr); border-radius: 24px; } .c-demo-caja .btn { flex: 1 1 100%; } }

/* ---------- Páginas interiores ---------- */
.c-pag-cab { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--mf-borde); background: linear-gradient(180deg, var(--mf-fondo), var(--mf-superficie-2)); }
.c-pag-cab h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; line-height: 1.05; max-width: 18em; }
.c-pag-cab .c-entrada { margin-bottom: 0; }
.c-pag-cuerpo { padding-block: clamp(48px, 7vw, 96px); }
.c-dos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.c-lateral { position: sticky; top: calc(var(--c-cab-alto) + 24px); display: grid; gap: var(--mf-e-4); }
@media (max-width: 900px) { .c-dos { grid-template-columns: minmax(0, 1fr); } .c-lateral { position: static; } }
.c-prosa { max-width: 46rem; }
.c-prosa h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: clamp(40px, 6vw, 64px); }
.c-prosa h2:first-child { margin-top: 0; }
.c-prosa h3 { margin-top: var(--mf-e-6); }
.c-prosa ul, .c-prosa ol { padding-left: 1.3em; }
.c-prosa li { margin-bottom: 8px; max-width: var(--mf-medida); }
.c-prosa .tabla-envoltura { margin-block: var(--mf-e-5); }
.c-cita { margin: var(--mf-e-5) 0; padding: var(--mf-e-4) var(--mf-e-5); border-left: 5px solid var(--mf-lima); background: var(--mf-superficie); border-radius: 0 var(--mf-r-m) var(--mf-r-m) 0; }
.c-cita p:last-child { margin-bottom: 0; }
.c-nota { font-size: var(--mf-t-s); color: var(--mf-texto-suave); }
.c-indice { padding: var(--mf-e-5); border-radius: var(--mf-r-l); background: var(--mf-superficie); border: 1px solid var(--mf-borde); }
.c-indice h2 { font-size: var(--mf-t-m); margin-bottom: var(--mf-e-3); }
.c-indice ol { margin: 0; padding-left: 1.2em; font-size: var(--mf-t-s); }
.c-indice li { margin-bottom: 6px; }
.c-tarjeta-tinta { padding: var(--mf-e-5); border-radius: var(--mf-r-l); background: var(--mf-tinta); color: #E7E9E4; }
.c-tarjeta-tinta h2, .c-tarjeta-tinta h3 { color: #fff; font-size: var(--mf-t-l); }
.c-tarjeta-tinta p { color: #D5DAD5; }
.c-tarjeta-tinta .btn { width: 100%; }

/* Tabla ley punto por punto */
.c-tabla-ley th[scope="row"] { white-space: nowrap; font-family: var(--mf-fuente-titular); color: var(--mf-texto); text-transform: none; letter-spacing: 0; font-size: var(--mf-t-s); background: none; }
.c-tabla-ley td:last-child { min-width: 14em; }
.c-tabla-ley tbody tr:hover { background: none; }

/* ---------- Precios ---------- */
.c-calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--mf-borde); box-shadow: var(--mf-sombra-3); background: var(--mf-superficie); }
.c-calc-form { padding: clamp(24px, 4vw, 48px); }
.c-calc-form h2 { font-size: var(--mf-t-xl); }
.c-calc-form .campo input { font: 600 var(--mf-t-xl)/1 var(--mf-fuente-titular) !important; min-height: 64px !important; letter-spacing: .01em; }
.c-calc-rapido { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--mf-e-4); }
.c-calc-rapido button { min-height: 40px; padding: 4px 14px; border-radius: var(--mf-r-pill); border: 2px solid var(--mf-borde); background: var(--mf-superficie); color: var(--mf-texto); font: 600 var(--mf-t-xs)/1 var(--mf-fuente-titular); cursor: pointer; }
.c-calc-rapido button:hover { border-color: var(--mf-texto); }
.c-calc-res { padding: clamp(24px, 4vw, 48px); background: var(--mf-tinta); color: #E7E9E4; display: flex; flex-direction: column; justify-content: center; }
.c-calc-res .c-tramo-nom { font: 600 var(--mf-t-s)/1.3 var(--mf-fuente-titular); color: var(--mf-lima); margin: 0 0 var(--mf-e-2); }
.c-calc-res .c-calc-cifra { font: 700 clamp(2.6rem, 6vw, 4rem)/1 var(--mf-fuente-titular); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; margin: 0 0 6px; }
.c-calc-cifra small { font-size: .35em; font-weight: 500; letter-spacing: 0; color: #C9CEC9; }
.c-calc-desglose { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: var(--mf-e-5) 0 0; padding-top: var(--mf-e-4); border-top: 1px solid rgba(255, 255, 255, .16); font-variant-numeric: tabular-nums; }
.c-calc-desglose dt { color: #C9CEC9; }
.c-calc-desglose dd { margin: 0; text-align: right; color: #fff; font-weight: 700; }
.c-calc-desglose .c-total { font-size: var(--mf-t-l); color: var(--mf-lima); }
.c-calc-res p { color: #D5DAD5; margin: var(--mf-e-4) 0 0; font-size: var(--mf-t-s); }
.c-calc-res a { color: var(--mf-lima); }
@media (max-width: 860px) { .c-calc { grid-template-columns: minmax(0, 1fr); border-radius: 22px; } }
.c-tabla-precios td.num, .c-tabla-precios th.num { white-space: nowrap; }
.c-tabla-precios tr.c-activo td, .c-tabla-precios tr.c-activo th { background: var(--mf-lima-claro); color: var(--mf-tinta); }
.c-tabla-precios th[scope="row"] { font-family: var(--mf-fuente-texto); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: var(--mf-t-s); color: var(--mf-texto); background: none; white-space: normal; }
.c-incluye { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--mf-e-4); }
.c-incluye li { padding: var(--mf-e-5); border-radius: var(--mf-r-l); background: var(--mf-superficie); border: 1px solid var(--mf-borde); }
.c-incluye h3 { display: flex; align-items: center; gap: 10px; font-size: var(--mf-t-m); margin-bottom: 6px; }
.c-incluye h3::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mf-lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23111613' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.c-incluye p { overflow-wrap: anywhere; margin: 0; font-size: var(--mf-t-s); color: var(--mf-texto-suave); }
.c-bloques { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--mf-e-5); }
.c-bloque { padding: clamp(24px, 3vw, 36px); border-radius: var(--mf-r-l); background: var(--mf-superficie); border: 1px solid var(--mf-borde); }
.c-bloque h3 { font-size: var(--mf-t-xl); }
.c-bloque .picto { width: 40px; height: 40px; color: var(--mf-hoja); margin-bottom: var(--mf-e-3); }
.c-bloque ul { padding-left: 1.2em; }
.c-bloque li { margin-bottom: 6px; }

/* ---------- Pictogramas (página de accesibilidad cognitiva) ---------- */
.c-pictos { list-style: none; margin: var(--mf-e-5) 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.c-pictos li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: var(--mf-e-4) 8px; border-radius: var(--mf-r-m); background: var(--mf-superficie); border: 1px solid var(--mf-borde); font: 500 var(--mf-t-s)/1.2 var(--mf-fuente-titular); text-align: center; }
.c-pictos .picto { width: 48px; height: 48px; color: var(--mf-hoja); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="claro"]) .c-pictos .picto, :root:not([data-theme="claro"]) .c-extras .picto, :root:not([data-theme="claro"]) .c-bloque .picto { color: var(--mf-lima); } :root:not([data-theme="claro"]) .c-extras .picto, :root:not([data-theme="claro"]) .c-roles .picto { background: var(--mf-superficie-2); color: var(--mf-lima); } }
.c-par { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mf-e-4); margin: var(--mf-e-5) 0; }
.c-par > div { padding: var(--mf-e-5); border-radius: var(--mf-r-l); border: 1px solid var(--mf-borde); background: var(--mf-superficie); }
.c-par > div:last-child { border: 2px solid var(--mf-hoja); background: var(--mf-lima-claro); color: var(--mf-tinta); }
.c-par h3 { font-size: var(--mf-t-s); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--mf-e-3); }
.c-par p { margin: 0; }
@media (max-width: 700px) { .c-par { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contacto ---------- */
.c-form-caja { padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--mf-superficie); border: 1px solid var(--mf-borde); box-shadow: var(--mf-sombra-2); }
.c-trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.c-obligatorio { color: var(--mf-incidencia); }
.c-pasos-contacto { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mf-e-4); counter-reset: pc; }
.c-pasos-contacto li { position: relative; padding-left: 48px; counter-increment: pc; }
.c-pasos-contacto li::before { content: counter(pc); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mf-lima); color: var(--mf-tinta); font: 700 var(--mf-t-s)/1 var(--mf-fuente-titular); }
.c-pasos-contacto b { display: block; font-family: var(--mf-fuente-titular); }
.c-gracias { text-align: center; max-width: 640px; margin-inline: auto; }
.c-gracias .c-check { width: 88px; height: 88px; margin: 0 auto var(--mf-e-5); }
.c-gracias .c-check svg { width: 48px; height: 48px; }
.c-gracias p { margin-inline: auto; }

/* ---------- Pie ---------- */
.c-pie { background: var(--mf-tinta); color: #C9CEC9; padding-block: clamp(48px, 7vw, 88px) var(--mf-e-6); font-size: var(--mf-t-s); }
.c-pie a { color: #F3F1EA; text-decoration-color: rgba(137, 234, 113, .5); }
.c-pie a:hover { color: var(--mf-lima); }
.c-pie :focus-visible { outline-color: #F3F1EA; }
.c-pie-rejilla { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--mf-e-6); }
.c-pie-marca > img { height: 44px; width: auto; margin-bottom: var(--mf-e-4); }
.c-pie-marca p { max-width: 30em; }
.c-pie-rw { display: flex; flex-direction: column; gap: 10px; margin-top: var(--mf-e-5); }
.c-pie-rw span { color: #F3F1EA; font-family: var(--mf-fuente-titular); font-weight: 500; }
.c-pie-rw img { height: 36px; width: auto; display: block; }
.c-pie-rw a { display: inline-block; align-self: flex-start; border-radius: 4px; }
.c-pie h2 { font-size: var(--mf-t-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--mf-lima); margin-bottom: var(--mf-e-4); }
.c-pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.c-pie ul a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.c-pie ul a:hover { text-decoration: underline; }
.c-pie-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--mf-e-4); margin-top: clamp(40px, 6vw, 72px); padding-top: var(--mf-e-5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--mf-t-xs); }
.c-pie-base p { margin: 0; }
.c-pie-sarao { display: inline-flex; align-items: center; gap: 10px; }
.c-pie-sarao img { height: 30px; width: auto; display: block; }
.c-pie-sarao a { border-radius: 4px; }
@media (max-width: 860px) { .c-pie-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-pie-marca { grid-column: 1 / -1; } }
@media (max-width: 420px) { .c-pie-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c-pie ul a { line-height: 1.3; padding-block: 6px; } }

/* ---------- Página de error en el host principal ---------- */
.c-body > main > .tarjeta { margin: clamp(40px, 8vw, 96px) auto !important; width: calc(100% - 2 * var(--c-gutter)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c-anim [data-aparece] { opacity: 1; transform: none; }
  .c-hero-vis .c-navegador { transform: none; }
}
/* Tablas: sin borde en la última fila y apiladas en móvil */
.c-body .tabla tr:last-child th { border-bottom: 0; }
@media (max-width: 600px) {
  .c-apilada .tabla-envoltura, .tabla-envoltura:has(.c-tabla-precios), .tabla-envoltura:has(.c-tabla-ley) { overflow: visible; }
  .c-tabla-precios thead, .c-tabla-ley thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .c-tabla-precios, .c-tabla-precios tbody, .c-tabla-precios tr, .c-tabla-precios th, .c-tabla-precios td,
  .c-tabla-ley, .c-tabla-ley tbody, .c-tabla-ley tr, .c-tabla-ley th, .c-tabla-ley td { display: block; }
  .c-tabla-precios tr, .c-tabla-ley tr { padding: 14px 16px; border-bottom: 1px solid var(--mf-borde); }
  .c-tabla-precios tr:last-child, .c-tabla-ley tr:last-child { border-bottom: 0; }
  .c-tabla-precios th, .c-tabla-precios td, .c-tabla-ley th, .c-tabla-ley td { padding: 0 !important; border: 0 !important; text-align: left !important; min-width: 0 !important; }
  .c-tabla-precios th[scope="row"], .c-tabla-ley th[scope="row"] { margin-bottom: 6px; font-size: var(--mf-t-s); }
  .c-tabla-precios td { display: flex; justify-content: space-between; gap: 12px; }
  .c-tabla-precios td::before { content: attr(data-etq); color: var(--mf-texto-suave); }
  .c-tabla-ley td { margin-top: 8px; }
  .c-tabla-ley td::before { content: attr(data-etq); display: block; font: 600 var(--mf-t-xs)/1.4 var(--mf-fuente-titular); text-transform: uppercase; letter-spacing: .06em; color: var(--mf-texto-suave); }
}
@media print { .c-franja, .c-cab, .c-demo, .c-pie { display: none !important; } }
.c-prosa .c-par h3 { margin-top: 0; }
.c-prosa .c-pictos { padding-left: 0; }
.c-prosa .c-pictos li { margin: 0; }
/* Logo de Sarao en blanco sobre el pie oscuro (JLM, 13/11/2026) */
.c-pie-sarao img{filter:brightness(0) invert(1)}

/* Formulario de contacto por bloques (13/11/2026) */
.c-form-contacto fieldset { border: 0; padding: 0; margin: 0 0 var(--mf-e-6); }
.c-form-contacto legend { display: flex; align-items: center; gap: 10px; font: 600 var(--mf-t-l)/1.2 var(--mf-fuente-titular); margin-bottom: var(--mf-e-4); padding: 0; }
.c-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mf-tinta); color: var(--mf-lima); font: 700 15px/1 var(--mf-fuente-titular); flex: none; }
.c-opciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.c-opcion { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--mf-borde); border-radius: var(--mf-r-m); background: var(--mf-superficie); cursor: pointer; transition: border-color .15s, background .15s; }
.c-opcion:hover { border-color: var(--mf-borde-fuerte); }
.c-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.c-opcion b { display: block; font: 600 var(--mf-t-s)/1.3 var(--mf-fuente-titular); }
.c-opcion small { display: block; color: var(--mf-texto-suave); font-size: var(--mf-t-xs); line-height: 1.35; margin-top: 2px; text-align: left; }
.c-opcion-ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mf-superficie-2); font: 700 15px/1 var(--mf-fuente-titular); color: var(--mf-hoja); }
.c-opcion:has(input:checked) { border-color: var(--mf-tinta); background: var(--mf-lima-claro); box-shadow: inset 0 0 0 1px var(--mf-tinta); }
.c-opcion:has(input:checked) .c-opcion-ico { background: var(--mf-tinta); color: var(--mf-lima); }
.c-opcion:has(input:focus-visible) { outline: 3px solid var(--mf-foco); outline-offset: 2px; }
.c-form-pie { display: flex; align-items: center; gap: var(--mf-e-4); flex-wrap: wrap; border-top: 1px solid var(--mf-borde); padding-top: var(--mf-e-5); }
.c-form-pie p { flex: 1; min-width: 200px; text-align: left !important; }
#resumen-errores a { display: block; color: inherit; font-weight: 600; margin-top: 4px; }
@media (max-width: 720px) { .c-opciones { grid-template-columns: 1fr; } }

/* ---------- Pie: que se distinga del contenido (13/11/2026) ---------- */
.c-pie { position: relative; box-shadow: inset 0 4px 0 var(--mf-lima); }
@media (max-width: 860px) {
  .c-pie { margin-top: 40px; border-radius: 28px 28px 0 0; background: #0A0D0B; padding-top: 44px; box-shadow: inset 0 5px 0 var(--mf-lima); }
  .c-pie::before { content: ""; position: absolute; top: 14px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
  .c-pie-rejilla { gap: 28px 20px; }
  .c-pie-marca { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 20px; text-align: center; }
  .c-pie-marca > img { margin-inline: auto; height: 38px; }
  .c-pie-marca p { margin-inline: auto; text-align: center !important; }
  .c-pie-rw { align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .c-pie-rw a { align-self: center; }
  .c-pie h2 { margin-bottom: 8px; }
  .c-pie ul { gap: 0; }
  .c-pie ul a { min-height: 40px; font-size: .92rem; }
  .c-pie nav[aria-label="Información legal"] { grid-column: 1 / -1; }
  .c-pie nav[aria-label="Información legal"] ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .c-pie-base { flex-direction: column; justify-content: center; text-align: center; gap: 14px; margin-top: 28px; }
}
html[data-contraste="alto"] .c-pie { background: #000; }

/* ---------- Seguridad (/seguridad) ---------- */
.c-seg-destacado { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: var(--mf-tinta); color: #E7E9E4; }
.c-seg-destacado h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; letter-spacing: -.015em; }
.c-seg-destacado-txt p:not(.c-antetitulo) { color: #D5DAD5; margin-bottom: 0; }
.c-seg-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mf-e-4); }
.c-seg-vs > div { padding: var(--mf-e-5); border-radius: var(--mf-r-l); }
.c-seg-vs h3 { display: flex; align-items: center; gap: 10px; font-size: var(--mf-t-m); margin-bottom: var(--mf-e-3); }
.c-seg-vs ul { margin: 0; padding-left: 1.1em; font-size: var(--mf-t-s); }
.c-seg-vs li { margin-bottom: 8px; }
.c-seg-vs li:last-child { margin-bottom: 0; }
.c-seg-vs-mal { background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .28); }
.c-seg-vs-mal h3 { color: #fff; }
.c-seg-vs-mal li { color: #C9CEC9; }
.c-seg-vs-bien { background: var(--mf-lima-claro); color: var(--mf-tinta); border: 2px solid var(--mf-lima); }
.c-seg-vs-bien h3 { color: var(--mf-tinta); }
.c-seg-signo { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; font-weight: 700; line-height: 1; }
.c-seg-vs-mal .c-seg-signo { background: #FDE6E3; color: #8F1C16; }
.c-seg-vs-bien .c-seg-signo { background: var(--mf-lima); color: var(--mf-tinta); }
html[data-lf="1"] .c-seg-vs ul { font-size: var(--mf-t-m); }
.c-seg-medidas, .c-seg-roles { margin-top: clamp(56px, 8vw, 104px); }
.c-seg-grupos { columns: 3 320px; column-gap: var(--mf-e-5); }
.c-seg-grupo { break-inside: avoid; margin-bottom: var(--mf-e-5); padding: clamp(22px, 3vw, 32px); border-radius: var(--mf-r-l); background: var(--mf-superficie); border: 1px solid var(--mf-borde); }
.c-seg-grupo h3 { display: flex; align-items: center; gap: 12px; font-size: var(--mf-t-l); margin-bottom: var(--mf-e-4); }
.c-seg-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mf-lima-claro); color: var(--mf-hoja); }
.c-seg-ico .picto { width: 26px; height: 26px; }
.c-seg-grupo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.c-seg-grupo li { position: relative; padding-left: 26px; font-size: var(--mf-t-s); color: var(--mf-texto-suave); }
.c-seg-grupo li::before { content: ""; position: absolute; left: 0; top: .4em; width: 14px; height: 14px; border-radius: 4px; background: var(--mf-lima); }
.c-seg-grupo li b { color: var(--mf-texto); }
html[data-lf="1"] .c-seg-grupo li { font-size: var(--mf-t-m); color: var(--mf-texto); }
.c-tabla-roles th[scope="row"] { white-space: normal; min-width: 9em; }
.c-tabla-roles td:last-child { color: var(--mf-texto-suave); }
.c-seg-roles .tabla-envoltura + .c-nota { margin-top: var(--mf-e-4); }
.c-seg-cierre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--mf-e-5); margin-top: clamp(56px, 8vw, 96px); padding: clamp(28px, 4vw, 48px); border-radius: 28px; }
.c-seg-cierre > div:first-child { flex: 1 1 420px; min-width: 0; }
.c-seg-cierre h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.c-seg-cierre p { margin-bottom: 0; }
.c-seg-cierre .btn { width: auto; }
html[data-contraste="alto"] .c-seg-destacado { background: #000; }
@media (max-width: 1080px) { .c-seg-destacado { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .c-seg-vs { grid-template-columns: minmax(0, 1fr); } .c-seg-destacado, .c-seg-cierre { border-radius: 20px; } .c-seg-cierre-btns, .c-seg-cierre .btn { width: 100%; } }
