/* P397 v2 - Home: secciones propias del home + planes, preguntas y franja con el sistema de /personas/ y /empresas/ (Sora en títulos, Inter en texto, máx. 54 px) */
.h7-wrap{max-width:1244px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.h7-sec{position:relative;padding:88px 0;background:#fff}
.h7-gray{background:#f7f5fc}
.h7-warm{background:#fff8f4}
.h7-head{max-width:860px;margin:0 0 34px}
.h7-center{text-align:center;margin-left:auto;margin-right:auto}
.h7-k{display:inline-block;padding:6px 12px;border:1px solid #ffd2bf;border-radius:999px;background:#fff7f2;color:#d4501f;font:800 11px/1.2 Sora,Inter,system-ui,sans-serif;letter-spacing:.12em}
.h7-sec h2,.h7-end h2{margin:14px 0 12px;color:#17112f;font:800 clamp(34px,4.2vw,54px)/1.06 Sora,Inter,system-ui,sans-serif;letter-spacing:-.04em}
.h7-sec h2 em,.h7-end h2 em,.p397-hero h1 em{font-style:normal;color:#ef673b}
.h7-head p{margin:0 auto;max-width:760px;color:#6b6479;font-size:16.5px;line-height:1.7}
.trusti-num{font-family:Sora,Inter,system-ui,sans-serif}
/* botones */
.h7-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.h7-actions-c{justify-content:center}
.h7-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:14px;font:800 16px Sora,Inter,system-ui,sans-serif;text-decoration:none!important;white-space:nowrap;transition:filter .15s,transform .15s}
.h7-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.h7-btn-o{background:linear-gradient(90deg,#f15f2c,#ff8a5c);color:#fff!important;box-shadow:0 14px 30px rgba(241,95,44,.28)}
.h7-btn-p{background:linear-gradient(135deg,#3a1772,#6d33ff);color:#fff!important;box-shadow:0 14px 30px rgba(109,51,255,.25)}
.h7-btn-l{background:#fff;color:#3a1772!important;border:1.5px solid #e4dafb}
.h7-free{margin:14px 0 0;color:#6b6479;font-size:14.5px}
.h7-free a{color:#6d33ff;font-weight:700;text-decoration:none}
.h7-free a:hover{text-decoration:underline}
/* franja */
.h7-band{background:linear-gradient(90deg,#211046,#32115d 50%,#211046);color:#fff;padding:20px 0}
.h7-band-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.h7-band-grid article{display:flex;gap:12px;align-items:flex-start}
.h7-band-grid article>span{color:#a78bfa;font-size:16px;line-height:1.4}
.h7-band-grid strong{display:block;font:700 14px/1.3 Inter,system-ui,sans-serif;color:#fff}
.h7-band-grid p{margin:2px 0 0;color:#cfc3e3;font-size:12.5px}
/* dos caminos */
.h7-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.h7-path{display:flex;flex-direction:column;padding:34px;border:1px solid #ece6f3;border-radius:26px;background:#fff;box-shadow:0 18px 44px rgba(31,18,58,.07)}
.h7-path-b{border:0;background:radial-gradient(circle at 88% 0%,rgba(255,129,84,.18),transparent 40%),linear-gradient(160deg,#2a1150,#1a0b36 60%,#2b1260);color:#fff}
.h7-path-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.h7-pk{color:#6d33ff;font:800 11.5px Sora,Inter,sans-serif;letter-spacing:.12em}
.h7-path-b .h7-pk{color:#ffb195}
.h7-badge{padding:5px 10px;border:1px solid rgba(255,177,149,.5);border-radius:999px;color:#ffb195;font:800 10px Sora,Inter,sans-serif;letter-spacing:.08em}
.h7-path h3{margin:10px 0 16px;color:#17112f;font:700 clamp(26px,2.2vw,31px)/1.18 Sora,Inter,system-ui,sans-serif;letter-spacing:-.025em}
.h7-path-b h3{color:#fff}
.h7-list{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:10px}
.h7-list li{position:relative;padding-left:28px;color:#3d3552;font-size:14.5px;line-height:1.55}
.h7-list li::before{content:"✓";position:absolute;left:0;top:1px;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#efe9ff;color:#6d33ff;font-size:11px;font-weight:800}
.h7-path-b .h7-list li{color:#e9e2f4}
.h7-path-b .h7-list li::before{background:#ef673b;color:#fff}
.h7-price{margin:auto 0 18px;padding-top:4px;color:#5d5470;font-size:14px}
.h7-price .trusti-num{color:#17112f;font-weight:800;font-size:16px}
.h7-path-b .h7-price{color:#d8cfe4}
.h7-path-b .h7-price .trusti-num{color:#ffb195}
.h7-path .h7-btn{align-self:flex-start}
/* preguntas */
.h7-faq-in{max-width:1004px}
.h7-faq{border-top:1px solid #ece6f3}
.h7-faq details{border-bottom:1px solid #ece6f3}
.h7-faq summary{display:flex;align-items:center;gap:20px;padding:20px 4px;cursor:pointer;list-style:none}
.h7-faq summary::-webkit-details-marker{display:none}
.h7-qn{flex:0 0 36px;color:#ef673b;font-weight:800;font-size:14px}
.h7-q{flex:1;color:#17112f;font:700 17px/1.4 Sora,Inter,sans-serif}
.h7-qt{flex:0 0 34px;width:34px;height:34px;border:1px solid #e4dafb;border-radius:50%;position:relative}
.h7-qt::before,.h7-qt::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;background:#6d33ff;transform:translate(-50%,-50%)}
.h7-qt::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .2s}
.h7-faq details[open] .h7-qt::after{transform:translate(-50%,-50%) rotate(0)}
.h7-a{padding:0 58px 22px 60px;color:#5d5470;font-size:15.5px;line-height:1.7}
.h7-a .trusti-num{font-weight:700;color:#17112f}
.h7-path h3{margin:10px 0 16px}
/* inicio: dos botones en lugar del formulario */
html.p397 #personal form.p81-entry-form,html.p397 #personal label.consent,html.p397 #personal .form-msg{display:none!important}
.h7-hero-acts{order:4;margin:30px 0 22px}
.h7-hero-acts .h7-actions{margin-top:0}
/* jerarquía: el título del inicio es el más grande (56 px); todos los títulos de sección, 46 px (en celular 40 / 32) */
html.p397 #personal h1{font-size:clamp(40px,4.4vw,56px)!important;line-height:1.04!important}
html.p397 #footprint h2.sec,html.p397 #score .macro-title,html.p397 #ecosystem h2.sec,html.p397 #early h2.sec,html.p397 #score .macro-subtitle,html.p397 #improvement h2.sec,html.p397 #bands [data-i="sclT"],html.p397 #plans h2,html.p397 #faq h2{font-size:clamp(32px,3.6vw,46px)!important;line-height:1.08!important;letter-spacing:-.035em!important}
html.p397 #score [data-i="stS"],html.p397 #score [data-i="scS"],html.p397 #bands [data-i="sclS"],html.p397 #improvement [data-i="ihS"],html.p397 #ecosystem [data-i="ecIntro"],html.p397 #early [data-i="clS"]{font-size:17px!important;line-height:1.7!important}
html.p397 #score .steps4 p{font-size:13px!important;line-height:1.55!important}
/* fondos alternados */
html.p397 #score,html.p397 #improvement{background:#f7f5fc!important}
/* sin líneas divisorias: las secciones se separan por color de fondo y franjas moradas */
html.p397 #footprint,html.p397 #score,html.p397 #improvement,html.p397 #ecosystem,html.p397 #early,html.p397 #score .result-chapter{border-top:0!important;border-bottom:0!important}
.h7-bands{position:relative;padding:88px 0;background:#fff;overflow:hidden}
.h7-bands .scale-head{margin-top:0!important;padding-top:0!important;border-top:0!important}
/* cierre */
.h7-invest-line{margin:16px auto 0;text-align:center;color:#6b6479;font-size:14px}
.h7-invest-line a{color:#6d33ff;font-weight:700;text-decoration:none}
.h7-invest-line a:hover{text-decoration:underline}
/* responsive */
@media (max-width:1020px){.h7-band-grid{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.h7-paths{grid-template-columns:1fr}.h7-path{padding:24px}}
@media (max-width:640px){.h7-wrap{padding:0 18px}.h7-sec,.h7-bands{padding:64px 0}.h7-band-grid{grid-template-columns:1fr}.h7-btn{width:100%}.h7-actions{flex-direction:column}.h7-a{padding:0 4px 20px 56px}.h7-q{font-size:16px}}
html.p397 #improvement{overflow:hidden}
/* imágenes con lo que Trusti muestra hoy: seis áreas y Primera Prioridad */
#cv .chip.h7-st-ok i.live{background:#22b36b}
#cv .chip.h7-st-mid i.live{background:#8b5cf6}
#cv .chip.h7-st-first i.live{background:#ef673b}
#cv .chip.h7-st-first span span{color:#d4501f;font-weight:700}
.h7-rec{font:800 17px/1 Sora,Inter,sans-serif;color:#fff}
html.p397 #score .dims.h7-areas{display:grid!important;grid-template-columns:1fr;gap:6px;margin:10px 0 14px}
.h7-area{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 10px;border:1px solid #eeeafb;border-radius:12px;background:#fbfafd}
.h7-area>i{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#22b36b}
.h7-area.h7-st-mid>i{background:#8b5cf6}
.h7-area.h7-st-first{border-color:#ffd2bf;background:#fff7f2}
.h7-area.h7-st-first>i{background:#ef673b}
.h7-an{flex:1;min-width:0;color:#17112f;font:600 12.5px/1.3 Inter,system-ui,sans-serif}
.h7-as{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#e9f7ef;color:#178b54;font:800 9px/1.2 Sora,Inter,sans-serif;font-style:normal;letter-spacing:.05em;white-space:nowrap}
.h7-st-mid .h7-as{background:#f0ebff;color:#6d33ff}
.h7-st-first .h7-as{background:#ffe6da;color:#d4501f}
#cv .chip.h7-st-first span span{white-space:nowrap}
.h7-band-grid strong .trusti-num{font-weight:800;color:#ffb195}
/* celular: las seis áreas se ven debajo del Score (antes se ocultaban), con su movimiento */
@media (max-width:720px){
  html.p397 #cw{height:auto!important}
  html.p397 #cv{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
  html.p397 #cv .phone{grid-column:1/-1;order:0;margin-bottom:6px}
  html.p397 #cv .chip{display:flex!important;position:static!important;left:auto!important;top:auto!important;right:auto!important;width:auto!important;min-width:0}
  html.p397 #c-email{order:1}html.p397 #c-bank{order:2}html.p397 #c-phone{order:3}html.p397 #c-dev{order:4}html.p397 #c-work{order:5}html.p397 #c-cloud{order:6}
}
@media (min-width:560px) and (max-width:720px){html.p397 #cv{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* medidor: el número va centrado dentro del arco (inicio y lectura explicada) */
html.p397 #personal .gauge-wrap{display:flex;flex-direction:column;align-items:center}
html.p397 #personal .gauge{width:200px!important;height:auto!important;display:block;margin:0 auto}
html.p397 #personal .gauge-wrap .score-line{flex-direction:column;align-items:center;gap:0;margin:-78px 0 0!important}
html.p397 #personal .gauge-wrap .score-num{font-size:44px!important;line-height:1!important}
html.p397 #personal .gauge-wrap .score-max{font-size:12px!important;margin-top:2px}
html.p397 #personal .gauge-wrap .badge{margin-top:16px!important}
html.p397 #score .dash .mini-gauge{display:block;width:220px!important;height:auto!important;margin:6px auto 0}
html.p397 #score .dash .score-line{flex-direction:column;align-items:center;gap:0;margin:-84px 0 0!important}
html.p397 #score .dash .score-num{font-size:48px!important;line-height:1!important}
html.p397 #score .dash .score-max{font-size:12px!important;margin-top:2px}
html.p397 #score .dash .level{margin-top:14px!important}
.h7-band-grid p .trusti-num{font-weight:700;color:#fff}
/* tarjeta del Score del inicio como el panel real (P397 v13) */
html.p397 #personal .phone h2{text-align:left!important;font:800 15px/1.2 Sora,Inter,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase;color:#17112f!important;margin:10px 0 4px!important}
html.p397 #arc1,html.p397 #arc2{stroke:#c58a2a!important}
html.p397 #personal .gauge-wrap .badge{background:#fff8ea!important;border:1.5px solid #e2b766!important;color:#a8701a!important;padding:4px 14px!important;border-radius:999px!important;font:800 12px Sora,Inter,sans-serif!important}
html.p397 #score .dash .level{color:#a8701a!important}
.h7-dot{animation:h7dot .5s ease 1.3s both}
@keyframes h7dot{from{opacity:0}to{opacity:1}}
.h7-phone-read{margin-top:10px;text-align:left}
.h7-mean{border-top:1px dashed #e6e1f2;padding-top:10px}
.h7-mean small{display:block;color:#6b6479;font:800 10.5px Sora,Inter,sans-serif;letter-spacing:.1em}
.h7-mean p{margin:4px 0 0;color:#4b4560;font-size:12.5px;line-height:1.45}
.h7-prio{margin-top:10px;padding:10px 12px;border:1.5px solid #f3b9a3;border-radius:14px;background:#fff}
.h7-prio-top{display:flex;justify-content:space-between;align-items:center;gap:6px;padding-bottom:7px;border-bottom:1px solid #eee}
.h7-prio-top b{color:#17112f;font:800 12px Sora,Inter,sans-serif}
.h7-prio-top em{font-style:normal;padding:3px 7px;border:1px solid #f6c6b3;border-radius:999px;background:#fff1ea;color:#d4501f;font:700 9.5px Sora,Inter,sans-serif;white-space:nowrap}
.h7-prio strong{display:block;margin:7px 0 2px;color:#2d2346;font:800 14px/1.2 Sora,Inter,sans-serif}
.h7-prio p{margin:0;color:#6b6479;font-size:12px;line-height:1.45}
/* v15 - ecosistema: sale Compare, entra la fila 03 (agentes de IA y sistemas autonomos) */
@media (min-width:981px){html.p397 #ecosystem .eco-journey-row.h7-eco-2{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important}}
html.p397 #ecosystem .h7-eco-future{margin-top:34px}
html.p397 #ecosystem .h7-eco-card .eco-product-icon{color:#6d33ff}
html.p397 #ecosystem .h7-eco-vis{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 14px}
html.p397 #ecosystem .h7-eco-vis span{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:#f1ecff;color:#3b2a7a;font-size:12.5px;font-weight:700;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
html.p397 #ecosystem .h7-eco-vis span i{width:7px;height:7px;border-radius:50%;background:#6d33ff;display:inline-block}
html.p397 #ecosystem .h7-eco-vis span:nth-child(2) i{background:#f15f2c}
html.p397 #ecosystem .h7-eco-vis span:nth-child(3) i{background:#c58a2a}
/* v16 - bandas en celular y tableta: tarjetas compactas, texto a todo el ancho, sin el icono grande */
@media (max-width:980px){
html.p397 #bands .scale-grid{gap:12px!important}
html.p397 #bands .scale-card{min-height:0!important;padding:18px 20px 20px!important;gap:4px!important}
html.p397 #bands .scale-card .scale-icon{display:none!important}
html.p397 #bands .scale-card strong{margin-top:2px!important;font-size:21px!important}
html.p397 #bands .scale-card p{max-width:none!important;font-size:14.5px!important;line-height:1.55!important;margin-top:4px!important}
}
@media (min-width:721px) and (max-width:980px){html.p397 #bands .scale-card:last-child{grid-column:1/-1}}
