/* HABITARME · secciones nuevas del home, test de entrada v2 y lector del método (17 oct 2026) */
.hx-sec{padding:76px clamp(20px,7vw,100px);background:#fffaf6;color:#30253a}
.hx-sec.hx-light{background:#f7f1eb}
.hx-sec .hp-title{margin-bottom:14px}
.hx-timeline{list-style:none;margin:30px 0 18px;padding:0;display:grid;gap:12px}
.hx-timeline li{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid #e6dbd2;border-radius:18px;padding:16px 18px}
.hx-n{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#7e6794;color:#fff;font-family:'Spectral',Georgia,serif;font-size:16px}
.hx-timeline b{font-family:'Spectral',Georgia,serif;font-weight:500;font-size:20px;color:#3d2f48}
.hx-timeline p{margin:4px 0 0;line-height:1.6;color:#5d5163}
.hx-phases{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 22px;font-size:14px}
.hx-phases span{padding:6px 12px;border-radius:999px;background:#efe6f3;color:#5b4966}
.hx-grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:26px 0}
.hx-grid4 article{background:#fff;border:1px solid #e6dbd2;border-radius:22px;padding:22px}
.hx-grid4 h3{font-family:'Spectral',Georgia,serif;font-weight:400;font-size:22px;color:#5b4966;margin:8px 0}
.hx-grid4 p{line-height:1.65;margin:0 0 10px}
.hx-grid4 small{color:#8b7f8f;font-size:12.5px;line-height:1.5;display:block}
.hx-tag{font-size:11px;letter-spacing:.22em;color:#c9a96a;font-weight:700}
.hx-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.hx-two div{background:#f3ece6;border-radius:18px;padding:18px 20px}.hx-two p{margin:6px 0 0;line-height:1.6}
.hx-note{font-size:13px;color:#8b7f8f;margin-top:18px}
.hx-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,5vw,60px);align-items:center}
@media (max-width:860px){.hx-split{grid-template-columns:1fr}}
.hx-list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:12px}
.hx-list li{padding-left:28px;position:relative;line-height:1.65}
.hx-list li::before{content:"";position:absolute;left:4px;top:.55em;width:10px;height:10px;border-radius:50%;background:#c9a96a}
.hx-sample{margin:0}.hx-pages{display:flex;gap:10px;align-items:flex-start;justify-content:center}
.hx-pages img{width:31%;border-radius:6px;box-shadow:0 14px 34px rgba(48,37,58,.18);background:#fbf7f1}
.hx-pages img:nth-child(2){transform:translateY(-14px)}
.hx-sample figcaption{text-align:center;font-size:13px;color:#8b7f8f;margin-top:12px}
.hx-metodo{background:linear-gradient(135deg,#f4ecf6,#fbf6ef)}
.hx-chapters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 24px}
.hx-chapters span{background:#fff;border:1px solid #e3d6e6;border-radius:999px;padding:7px 13px;font-size:14px;color:#5b4966}
.hx-steps{line-height:1.7;padding-left:20px}
.hx-card-quote{background:#7e6794;color:#fff;border-radius:26px;padding:34px}
.hx-card-quote p{font-family:'Spectral',Georgia,serif;font-style:italic;font-size:26px;line-height:1.35;margin:0 0 14px}
.hx-card-quote span{font-size:12px;letter-spacing:.2em;opacity:.8}
.hx-faq details{background:#fff;border:1px solid #e6dbd2;border-radius:16px;padding:16px 20px;margin:0 0 10px}
.hx-faq summary{cursor:pointer;font-family:'Spectral',Georgia,serif;font-size:20px;color:#3d2f48}
.hx-faq p{line-height:1.65;margin:10px 0 0}

/* Overlays (test y método) */
.hx-ov{position:fixed;inset:0;z-index:9000;background:rgba(48,37,58,.55);display:flex;justify-content:center;align-items:flex-start;overflow:auto;padding:24px 12px}
.hx-panel{width:min(820px,100%);background:#fbf7f1;border-radius:26px;padding:clamp(20px,4vw,40px);color:#30253a;box-shadow:0 30px 90px rgba(0,0,0,.3);position:relative}
.hx-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:1px solid #e0d4cb;background:#fff;font-size:20px;cursor:pointer}
.hx-panel h2{font-family:'Spectral',Georgia,serif;font-weight:400;font-size:34px;margin:6px 0 10px}
.hx-panel .hx-kick{font-size:11px;letter-spacing:.24em;color:#7e6794;font-weight:700}
.hx-step{display:none}.hx-step.on{display:block}
.hx-dots{display:flex;gap:6px;margin:12px 0 18px}.hx-dots i{width:28px;height:4px;border-radius:4px;background:#e3d6e6}.hx-dots i.on{background:#7e6794}
.hx-emos{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.hx-emo{border:1px solid #dccfc5;background:#fff;border-radius:999px;padding:8px 14px 8px 10px;font-size:15px;cursor:pointer;display:flex;align-items:center;gap:8px;color:#30253a}
.hx-emo i{width:14px;height:14px;border-radius:50%;display:inline-block}
.hx-emo.on{border-color:#30253a;box-shadow:0 0 0 2px #30253a inset}
.hx-int{display:grid;gap:12px;margin:16px 0}
.hx-int label{display:grid;grid-template-columns:150px 1fr 34px;gap:12px;align-items:center;background:#fff;border-radius:14px;padding:10px 14px;border:1px solid #e6dbd2}
@media(max-width:560px){.hx-int label{grid-template-columns:1fr 34px}.hx-int label input{grid-column:1/3}}
.hx-int b{font-weight:600}.hx-int output{font-weight:700;text-align:right}
.hx-opts{display:grid;gap:8px;margin:12px 0}
.hx-opts label{background:#fff;border:1px solid #e6dbd2;border-radius:14px;padding:12px 14px;cursor:pointer;line-height:1.45}
.hx-opts input{margin-right:10px}
.hx-panel textarea{width:100%;box-sizing:border-box;min-height:96px;border:1px solid #dccfc5;border-radius:14px;padding:12px 14px;font:16px/1.5 inherit;background:#fff;margin:8px 0 14px}
.hx-q{font-family:'Spectral',Georgia,serif;font-size:20px;margin:14px 0 4px;display:block}
.hx-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px;flex-wrap:wrap}
.hx-btn{border:1px solid #d9cbd9;background:#fff;color:#5b4966;border-radius:999px;padding:12px 20px;font-size:15px;cursor:pointer}
.hx-btn.pri{background:#7e6794;color:#fff;border-color:#7e6794}
.hx-btn:disabled{opacity:.45;cursor:default}
.hx-result{background:#fff;border-radius:20px;padding:22px;border:1px solid #e6dbd2;margin:10px 0}
.hx-map{display:grid;gap:8px;margin:12px 0}.hx-map div{display:flex;align-items:center;gap:10px}
.hx-map span.bar{height:10px;border-radius:10px;display:inline-block}
.hx-alert{background:#fff3ee;border:1px solid #f0c9b8;border-radius:16px;padding:14px 16px;line-height:1.6;margin:12px 0}
.hx-tabs{display:flex;gap:6px;overflow:auto;margin:10px 0 16px;padding-bottom:4px}
.hx-tabs button{white-space:nowrap;border:1px solid #e0d4cb;background:#fff;border-radius:999px;padding:8px 13px;font-size:13px;cursor:pointer;color:#5b4966}
.hx-tabs button.on{background:#7e6794;color:#fff;border-color:#7e6794}
.hx-save{font-size:13px;color:#8b7f8f;text-align:center;margin-top:12px}
