/* Formulario público de los colaboradores (/r/<codigo>): configurador de
   tarifas por pasos. Se incrusta en webs ajenas: siempre en claro,
   autocontenido (tipografía servida desde aquí). Sin JavaScript es un
   formulario largo; con publico.js (.js en <html>, .cfg-js en el form) va
   por pasos con el resumen fijo (columna en ordenador, barra abajo en el
   móvil). Lo único que llama la atención es el precio, en el panel verde
   pino «Tu tarifa»; todo lo demás, sobrio. */
@font-face {
    font-family: "Instrument Sans";
    src: url("/instrument-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-stretch: 75% 100%;
    font-display: swap;
}
:root {
    --accent: #00b3a4; --accent-btn: #007a70; --accent-btn-hover: #00665e; --accent-ink: #00786e; --accent-soft: rgba(0, 179, 164, .10);
    --pino: #0f3d39; --pino-2: #1a524c; --menta: #8fe6dc;
    --bg: #f3f6f5; --card: #ffffff; --ink: #142220; --ink-2: #3b4b48; --muted: #63736f; --line: #e2e8e6; --line-2: #cdd8d5;
    --danger: #b42318; --danger-soft: #fef3f2;
    --radio: 14px;
    color-scheme: light;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.embed { background: transparent; }
a { color: var(--accent-ink); }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(0, 179, 164, .45); outline-offset: 2px; }

/* ---- Páginas sencillas (gracias, no disponible) ---- */
.pub { max-width: 600px; margin: 0 auto; padding: 20px 16px 28px; }
.embed .pub { padding: 0; }
.pub-cab { display: flex; justify-content: center; padding: 6px 0 18px; }
.pub-logo { height: 32px; width: auto; display: block; }
.pub-caja { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px; }
@media (min-width: 560px) { .pub-caja { padding: 36px 36px 30px; } }
.pub-centro { text-align: center; }
.pub-caja h1 { font-size: 26px; line-height: 1.2; font-stretch: 92%; letter-spacing: -.01em; margin: 0 0 10px; }
.pub-de { display: inline-block; font-size: 13.5px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin: 0; }
.pub-error { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(180, 35, 24, .25); border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; }
.pub-gracias p { color: var(--ink-2); }
.pub-gracias .pub-de { margin-top: 18px; }
.pub-check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2300786e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/34px no-repeat; }
.pub-resumen { text-align: left; margin: 22px auto 0; max-width: 400px; background: var(--pino); color: #eaf6f4; border-radius: var(--radio); padding: 18px 20px; }
.pub-resumen-tit { font-weight: 600; margin: 0 0 8px; color: #eaf6f4 !important; opacity: .85; }
.pub-resumen ul { list-style: none; margin: 0; padding: 0; }
.pub-resumen li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 15px; }
.pub-resumen-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .15); margin: 10px 0 0; padding-top: 10px; color: #fff !important; }
.pub-resumen-total b { font-size: 26px; font-variant-numeric: tabular-nums; }
.pub-resumen-nota { font-size: 13px; color: #eaf6f4 !important; opacity: .75; margin: 4px 0 0; }
.pub-pie { text-align: center; color: var(--muted); font-size: 13px; padding: 28px 0 0; }
.pub-trampa { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---- Configurador ---- */
.cfg { max-width: 1080px; margin: 0 auto; padding: 18px 16px 40px; }
.embed .cfg { padding: 4px 4px 24px; }
.cfg-sin-calc { max-width: 680px; }
.cfg-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.cfg-cuerpo { display: grid; gap: 28px; align-items: start; }
@media (min-width: 920px) { .cfg-js .cfg-cuerpo, .cfg:not(.cfg-sin-calc) .cfg-cuerpo { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; } }
.cfg-main { min-width: 0; scroll-margin-top: 12px; }
.cfg-h1 { font-size: clamp(30px, 4.6vw, 42px); line-height: 1.05; font-weight: 650; font-stretch: 88%; letter-spacing: -.02em; margin: 0 0 8px; }
.cfg-intro { color: var(--ink-2); margin: 0 0 24px; max-width: 34em; }

/* Pasos */
.cfg-pasos { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 26px; padding: 0 0 14px; border-bottom: 1px solid var(--line); counter-reset: paso; }
.cfg-pasos li { counter-increment: paso; display: flex; align-items: center; font-size: 14.5px; color: var(--muted); }
.cfg-pasos li > * { display: inline-flex; align-items: center; gap: 8px; }
.cfg-pasos li > *::before { content: counter(paso); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cfg-pasos li.actual { color: var(--ink); font-weight: 600; }
.cfg-pasos li.actual > *::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.cfg-pasos li.hecho button { background: none; border: 0; padding: 0; color: var(--accent-ink); cursor: pointer; }
.cfg-pasos li.hecho button:hover { text-decoration: underline; }
.cfg-pasos li.hecho > *::before { content: ""; border-color: var(--accent); background: var(--accent-soft)
    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.5' fill='none' stroke='%2300786e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.paso { margin: 0 0 36px; }
.cfg-js .paso { margin: 0; }
.paso-h2 { font-size: 24px; line-height: 1.2; font-weight: 650; font-stretch: 92%; letter-spacing: -.01em; margin: 0 0 4px; }
.paso-h2:focus { outline: none; }
.paso-sub { color: var(--ink-2); margin: 0 0 18px; max-width: 38em; }
.paso-nota { color: var(--muted); font-size: 14.5px; margin: 16px 0 0; }
.paso-aviso { color: var(--danger); font-weight: 500; margin: 14px 0 0; }

/* Qué necesitas */
.tipos { display: grid; gap: 12px; }
@media (min-width: 640px) { .tipos { grid-template-columns: repeat(3, 1fr); } }
.tipo { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 18px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radio); cursor: pointer; transition: border-color .15s; }
.tipo:hover { border-color: var(--accent); }
.tipo input, .tarifa input, .opcion input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tipo:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tipo:has(input:focus-visible), .tarifa:has(input:focus-visible), .opcion:has(input:focus-visible) { outline: 3px solid rgba(0, 179, 164, .45); outline-offset: 2px; }
.tipo-txt { display: flex; flex-direction: column; gap: 2px; }
.tipo-txt b { font-size: 19px; font-weight: 650; }
.tipo-txt span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.tipo-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft) center/24px no-repeat; }
.tipo-fibra .tipo-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300786e' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 18c4-9 14-9 18 0'/%3E%3Cpath d='M6.5 18c2.5-5 8.5-5 11 0'/%3E%3Cpath d='M10 18c1-1.6 3-1.6 4 0'/%3E%3C/svg%3E"); }
.tipo-radio .tipo-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300786e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11v10M9 21h6'/%3E%3Ccircle cx='12' cy='9' r='1.6'/%3E%3Cpath d='M8.5 5.5a5 5 0 0 0 0 7M15.5 5.5a5 5 0 0 1 0 7M5.7 3a9 9 0 0 0 0 12M18.3 3a9 9 0 0 1 0 12'/%3E%3C/svg%3E"); }
.tipo-movil .tipo-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300786e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E"); }
.tipo-nose { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 14px 18px; border-style: dashed; background: transparent; }
.tipo-nose .tipo-txt { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.tipo-nose .tipo-txt b { font-size: 16px; }

.packs { margin: 26px 0 0; }
.packs-tit { font-weight: 600; margin: 0 0 10px; }
.packs-lista { display: grid; gap: 10px; }
@media (min-width: 640px) { .packs-lista { grid-template-columns: repeat(3, 1fr); } }
.pack { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; text-align: left; padding: 14px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink); transition: border-color .15s; }
.pack:hover { border-color: var(--accent); }
.pack-nombre { font-weight: 650; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pack-precio { grid-row: 1 / 3; grid-column: 2; font-weight: 650; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; align-self: center; }
.pack-precio small, .tarifa-precio small, .opcion-precio small { font-size: .62em; font-weight: 500; color: var(--muted); }
.pack-desc { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.pack-dest { border-color: var(--accent); }

.badge { display: inline-block; font-size: 12.5px; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }

/* Velocidad */
.tarifas { display: grid; gap: 12px; align-items: start; }
@media (min-width: 720px) { .tarifas { grid-template-columns: repeat(3, 1fr); } }
.tarifa-caja { display: flex; flex-direction: column; }
.tarifa { position: relative; display: grid; gap: 4px; padding: 20px 18px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radio); cursor: pointer; transition: border-color .15s; }
.tarifa:hover { border-color: var(--accent); }
.tarifa:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tarifa:has(input:checked)::after { content: ""; position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent)
    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.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.tarifa-arriba { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-right: 30px; }
.tarifa-vel { font-size: 30px; line-height: 1.1; font-weight: 650; font-stretch: 85%; letter-spacing: -.02em; }
.tarifa-corto { color: var(--ink-2); font-weight: 500; }
.tarifa-precio { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; margin: 6px 0 2px; }
.tarifa-ventajas { display: grid; gap: 3px; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.tarifa-ventajas span { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.tarifa-ventajas span::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 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2300a090' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.tarifa-dest { border-color: var(--line-2); }

/* «Sube a…»: pegado debajo de la tarjeta elegida. */
.upsell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 11px 14px; font-size: 14.5px; color: var(--ink); background: var(--accent-soft); border-radius: 0 0 12px 12px; }
.tarifa-caja .upsell { margin: -2px 6px 0; }
.upsell-btn { background: none; border: 0; padding: 0; font-weight: 600; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.upsell-btn:hover { color: var(--pino); }

/* Líneas móviles */
.lineas { display: grid; gap: 12px; }
.linea { margin: 0; padding: 14px 16px 16px; border: 1.5px solid var(--line); border-radius: var(--radio); background: var(--card); min-width: 0; }
.linea-tit { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; margin: 0 0 10px; font-weight: 650; float: left; }
.linea-tit + * { clear: both; }
.linea-quitar { background: none; border: 0; padding: 2px 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linea-quitar:hover { color: var(--danger); }
.linea-opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.opcion { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 11px; cursor: pointer; transition: border-color .15s, background .15s; }
.opcion:hover { border-color: var(--accent); }
.opcion:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.opcion-dato { font-weight: 650; font-size: 17px; }
.opcion-precio { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cfg-js .opcion-nada { display: none; }
.linea .upsell { margin: 10px 0 0; border-radius: 10px; }
.lineas-botones { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 14px 0 0; }

/* Tus datos */
.grupo { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.grupo legend, .campos label, .paso > label { font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 0; margin: 0 0 7px; display: block; }
.opc { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.campos { display: grid; gap: 14px; margin: 0 0 20px; }
@media (min-width: 560px) { .campos { grid-template-columns: 1fr 1fr; } .campo-ancho { grid-column: 1 / -1; } }
.cfg input[type=text], .cfg input[type=number], .cfg input[type=tel], .cfg input[type=email], .cfg textarea {
    display: block; width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2);
    border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.cfg textarea { resize: vertical; min-height: 84px; margin: 0 0 18px; }
.cfg input:focus, .cfg textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 179, 164, .18); }
.ubicacion .campos { margin-bottom: 0; }
.gps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.btn-gps { display: inline-flex; align-items: center; gap: 8px; }
.ico-gps { width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300786e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='6.5'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%2300786e'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center/contain no-repeat; }
.gps-estado { margin: 0; font-size: 14.5px; color: var(--muted); }
.gps-ok { color: var(--accent-ink); font-weight: 500; }
.gps-ko { color: var(--danger); }

.pub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-chips-sec { margin-top: 10px; }
.pub-chip { position: relative; cursor: pointer; }
.pub-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pub-chip span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; font-size: 15px; transition: background .15s, border-color .15s; }
.pub-chip:hover span { border-color: var(--accent); }
.pub-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pub-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0, 179, 164, .3); }
.pub-chips-sec .pub-chip span { font-size: 14px; padding: 7px 13px; }
.pub-chips-sec .pub-chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }

.casilla { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); margin: 0 0 14px; cursor: pointer; }
.casilla input { width: 19px; height: 19px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent-btn); }
.casilla small { color: var(--muted); font-weight: 400; font-size: 14px; }
.extras { margin: -6px 0 18px 29px; }
.casilla-consent { margin: 4px 0 8px; padding: 13px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.pub-legal { font-size: 12.5px; color: var(--muted); margin: 0 0 20px; line-height: 1.5; }

/* Botones */
.btn-prim { display: inline-flex; justify-content: center; align-items: center; font-weight: 600; font-size: 16.5px; color: #fff; background: var(--accent-btn); border: 0; border-radius: 12px; padding: 14px 26px; cursor: pointer; transition: background .15s; }
.btn-prim:hover { background: var(--accent-btn-hover); }
.btn-enviar { width: 100%; font-size: 17px; padding: 16px; }
.btn-sec { font-weight: 600; font-size: 15.5px; color: var(--accent-ink); background: var(--card); border: 1.5px solid var(--accent); border-radius: 11px; padding: 10px 18px; cursor: pointer; transition: background .15s; }
.btn-sec:hover { background: var(--accent-soft); }
.btn-sec:disabled { opacity: .6; cursor: progress; }
.btn-texto { background: none; border: 0; padding: 10px 2px; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-texto:hover { color: var(--ink); }
.paso-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.paso-nav [data-seguir] { margin-left: auto; min-width: 160px; }
.en-datos .paso-nav { border-top: 0; padding-top: 0; margin-top: 12px; }

/* ---- Resumen «Tu tarifa» (lo memorable) ---- */
.resumen-caja { background: var(--pino); color: #eaf6f4; border-radius: 18px; padding: 22px 22px 20px; }
.resumen-tit { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--menta); }
.resumen-lineas { list-style: none; margin: 0; padding: 0; }
.resumen-lineas button { display: flex; justify-content: space-between; gap: 12px; width: 100%; background: none; border: 0; padding: 6px 0; color: #eaf6f4; text-align: left; cursor: pointer; font-size: 15.5px; }
.resumen-lineas button:hover span { text-decoration: underline; text-underline-offset: 3px; }
.resumen-lineas b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.resumen-vacio { margin: 0; color: #eaf6f4; opacity: .75; font-size: 15px; }
.resumen-total { display: flex; flex-direction: column; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.resumen-cifra { font-size: 60px; line-height: 1; font-weight: 700; font-stretch: 80%; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.resumen-cifra small { font-size: 20px; font-weight: 600; letter-spacing: 0; font-stretch: 100%; color: var(--menta); }
.resumen-cifra.cambia { animation: cifra .35s ease-out; }
@keyframes cifra { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.resumen-iva { font-size: 13.5px; opacity: .8; margin-top: 8px; }
.resumen-nojs { margin: 0; font-size: 14.5px; opacity: .85; }
html.js .resumen-nojs { display: none; }
.resumen-incluye { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 5px; font-size: 14.5px; }
.resumen-incluye li { position: relative; padding-left: 22px; }
.resumen-incluye li::before { content: ""; position: absolute; left: 0; top: .3em; width: 15px; height: 15px; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%238fe6dc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-claro { display: block; width: 100%; margin: 18px 0 0; font-weight: 650; font-size: 16.5px; color: var(--pino); background: var(--menta); border: 0; border-radius: 12px; padding: 13px; cursor: pointer; transition: background .15s; }
.btn-claro:hover { background: #fff; }
.resumen-letra { margin: 12px 0 0; font-size: 12.5px; opacity: .7; line-height: 1.45; }

@media (min-width: 920px) {
    .resumen { position: sticky; top: 18px; }
}
/* Móvil (y el iframe estrecho): barra fija abajo y el resumen como hoja. */
.barra { display: none; }
@media (max-width: 919px) {
    .cfg-js.con-total { padding-bottom: 96px; }
    .cfg-js .barra { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--pino); color: #fff; box-shadow: 0 -6px 24px rgba(15, 61, 57, .18); }
    .cfg-js .barra[hidden] { display: none; }
    .barra-total { font-size: 24px; font-weight: 700; font-stretch: 85%; font-variant-numeric: tabular-nums; }
    .barra-btn { background: none; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; border-radius: 10px; padding: 8px 14px; font-weight: 600; cursor: pointer; }
    .cfg-js .resumen { position: fixed; left: 0; right: 0; bottom: 0; z-index: 19; padding: 0 8px calc(70px + env(safe-area-inset-bottom));
        transform: translateY(110%); visibility: hidden; transition: transform .25s ease-out, visibility 0s .25s; pointer-events: none; }
    .cfg-js .resumen.abierto { transform: none; visibility: visible; transition: transform .25s ease-out; pointer-events: auto; }
    .cfg-js .resumen-caja { border-radius: 18px 18px 0 0; max-height: 70vh; overflow: auto; box-shadow: 0 -10px 30px rgba(15, 61, 57, .25); }
    .cfg-js .resumen-cifra { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .cfg-js .resumen { transition: none; }
    .resumen-cifra.cambia { animation: none; }
}

/* «Más elegida»: pestaña sobre el borde (no descuadra las tarjetas). */
.tarifa-dest { margin-top: 0; }
.tarifa-dest .badge { position: absolute; top: -12px; left: 16px; background: var(--pino); color: var(--menta); }
.tarifas { padding-top: 12px; }
.pack-dest .badge { background: var(--pino); color: var(--menta); }

/* ¿Para quién es? (2026-11-04): particular, autónomo/PYME, empresa. Las empresas no ven precios. */
.tipo-seg-residencial .tipo-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300786e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E"); }
.tipo-seg-pyme .tipo-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300786e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9l1.5-5h13L20 9'/%3E%3Cpath d='M4 9h16v2a2.7 2.7 0 0 1-5.3 0 2.7 2.7 0 0 1-5.4 0A2.7 2.7 0 0 1 4 11z'/%3E%3Cpath d='M5 13v7h14v-7M10 20v-4h4v4'/%3E%3C/svg%3E"); }
.tipo-seg-empresa .tipo-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300786e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='10' height='18' rx='1'/%3E%3Cpath d='M14 9h6v12h-6M7.5 7h3M7.5 11h3M7.5 15h3M17 13h0M17 17h0'/%3E%3C/svg%3E"); }
.cfg-empresa .resumen, .cfg-empresa .barra, .cfg-empresa .casilla-negocio, .cfg-empresa .extras { display: none !important; }
.cfg-empresa .cfg-cuerpo { grid-template-columns: minmax(0, 1fr) !important; }
