/* v3.3.0 · Colores de la web: los documentos legales toman los colores del tema si los publica como variables
 * (--gf-legal-*, o los del tema Gestifácil --gw-*) y, si no, una paleta neutra azul pizarra (antes verde fijo).
 * Para otro tema basta con definir en su CSS, por ejemplo: :root{--gf-legal-primary:#123456;--gf-legal-accent:#e66f08} */
.gf-legal{--gflegal:var(--gf-legal-primary,var(--gw-navy,#1e3a5f));--gflegal-2:var(--gf-legal-primary2,var(--gw-navy2,#2c5282));--gflegal-accent:var(--gf-legal-accent,var(--gw-orange,#c2620a));--gflegal-link:var(--gf-legal-link,var(--gw-blue2,#1d4ed8));--gflegal-soft:var(--gf-legal-soft,var(--gw-soft,#f1f5f9));--gflegal-bg2:var(--gf-legal-bg,var(--gw-bg,#f8fafc));--gflegal-line:var(--gf-legal-line,var(--gw-line,#e2e8f0));--gflegal-text:var(--gf-legal-text,var(--gw-text,#1f2937));--gflegal-muted:var(--gf-legal-muted,var(--gw-muted,#64748b));max-width:1180px;margin:24px auto 50px;padding:0 18px;color:var(--gflegal-text);line-height:1.7}.gf-legal__hero{padding:34px;border-radius:20px;background:linear-gradient(135deg,var(--gflegal),var(--gflegal-2));color:#fff}.gf-legal__hero span{display:block;color:var(--gflegal-accent);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.gf-legal__hero h1{margin:5px 0 4px;font-size:clamp(27px,4vw,42px);line-height:1.12}.gf-legal__hero p{margin:0;color:rgba(255,255,255,.85)}.gf-legal__body{padding:18px 0}.gf-legal section{scroll-margin-top:100px;margin:18px 0;padding:25px;background:#fff;border:1px solid var(--gflegal-line);border-radius:16px;box-shadow:0 8px 26px rgba(15,23,42,.06)}.gf-legal h2{margin:0 0 12px;color:var(--gflegal);font-size:22px}.gf-legal h3{margin:18px 0 7px;font-size:16px;color:var(--gflegal)}.gf-legal p{margin:9px 0}.gf-legal a{color:var(--gflegal-link)}.gf-legal__identity{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:18px 0}.gf-legal__identity div{padding:14px;border-radius:12px;background:var(--gflegal-soft);border:1px solid var(--gflegal-line)}.gf-legal__identity dt{font-size:11px;text-transform:uppercase;font-weight:800;color:var(--gflegal-muted)}.gf-legal__identity dd{margin:3px 0 0;font-weight:700}.gf-legal__toc{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.gf-legal__toc a{padding:8px 12px;background:var(--gflegal-soft);border-radius:999px;text-decoration:none;font-weight:700;font-size:13px}.gf-legal__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.gf-legal__cards>div{padding:15px;border:1px solid var(--gflegal-line);border-radius:12px;background:var(--gflegal-soft)}.gf-legal__cards h3{margin-top:0}.gf-legal__cards small{color:var(--gflegal-muted)}.gf-legal__table{overflow:auto}.gf-legal table{width:100%;border-collapse:collapse;min-width:650px}.gf-legal th,.gf-legal td{text-align:left;padding:10px;border-bottom:1px solid var(--gflegal-line);vertical-align:top}.gf-legal th{font-size:12px;text-transform:uppercase;color:var(--gflegal-muted);background:var(--gflegal-soft)}.gf-legal code{font-size:12px}@media(max-width:600px){.gf-legal{padding:0 12px}.gf-legal__hero{padding:24px 20px}.gf-legal section{padding:19px}.gf-legal__toc{display:grid;grid-template-columns:1fr 1fr}}
.gf-legal__button{display:inline-flex;padding:9px 14px;border-radius:999px;background:var(--gflegal);color:#fff!important;text-decoration:none;font-weight:800}

.gf-legal__payments{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:14px 0}.gf-legal__payment{margin:0!important;padding:16px!important;border-radius:13px!important;background:var(--gflegal-soft)!important;box-shadow:none!important}.gf-legal__payment h3{margin:0 0 4px}.gf-legal__payment-type{margin:0 0 8px!important;color:var(--gflegal-muted);font-size:13px;font-weight:800}.gf-legal__payment-extra{padding:12px 14px;border-left:4px solid var(--gflegal-accent);background:#fffaf0;border-radius:8px}

/* v3.1.0 · documentos legales extensos */
.gf-legal__toc{display:flex;flex-wrap:wrap;gap:7px 12px}
.gf-legal__model{border:1px dashed #94a3b8;border-radius:12px;padding:16px;background:#f8fafc}
.gf-legal__sources{padding-left:1.35rem}.gf-legal__sources li{margin:.35rem 0}
.gf-legal__note{border-left:4px solid #2563eb;background:#eff6ff;padding:12px 14px;border-radius:8px}


/* v3.2.0 · formulario de desistimiento rellenable */
.gf-legal__withdrawal{margin-top:14px}.gf-legal__withdrawal-intro{padding:14px 16px;border-radius:12px;background:var(--gflegal-soft);border:1px solid var(--gflegal-line)}.gf-legal__withdrawal-intro p{margin:3px 0}.gf-legal__withdrawal-form{margin-top:16px}.gf-legal__withdrawal-form fieldset{margin:0 0 16px;padding:16px;border:1px solid var(--gflegal-line);border-radius:14px;background:var(--gflegal-soft)}.gf-legal__withdrawal-form legend{padding:0 8px;color:var(--gflegal);font-weight:800}.gf-legal__form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gf-legal__withdrawal-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:var(--gflegal-text)}.gf-legal__withdrawal-form input[type=text],.gf-legal__withdrawal-form input[type=email],.gf-legal__withdrawal-form input[type=date],.gf-legal__withdrawal-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--gflegal-line);border-radius:10px;background:#fff;padding:11px 12px;font:inherit;color:var(--gflegal-text)}.gf-legal__withdrawal-form input:focus,.gf-legal__withdrawal-form textarea:focus{outline:0;border-color:var(--gflegal-link);box-shadow:0 0 0 3px rgba(29,78,216,.14)}.gf-legal__form-wide{grid-column:1/-1;margin-top:10px}.gf-legal__choice{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:12px 0}.gf-legal__choice>span{width:100%;font-weight:800;color:var(--gflegal-text)}.gf-legal__choice label{display:inline-flex;flex-direction:row;align-items:center;gap:7px;font-weight:600}.gf-legal__withdrawal-statement{padding:14px 16px;border-left:4px solid var(--gflegal-accent);background:#fffaf0;border-radius:9px}.gf-legal__check{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;margin:16px 0;font-weight:600!important}.gf-legal__check input{margin-top:5px}.gf-legal__form-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.gf-legal__button{border:0;cursor:pointer;font:inherit}.gf-legal__button--secondary{background:var(--gflegal-soft)!important;color:var(--gflegal)!important;border:1px solid var(--gflegal-line)!important}.gf-legal__form-privacy{margin-top:12px!important;color:var(--gflegal-muted);font-size:13px}.gf-legal__reviews-auto>p:first-child{margin-top:0}.gf-legal__reviews-auto>p:last-child{margin-bottom:0}
@media(max-width:650px){.gf-legal__form-grid{grid-template-columns:1fr}.gf-legal__form-actions{display:grid}.gf-legal__form-actions>*{justify-content:center;text-align:center}.gf-legal__choice{display:grid}}
