.hm-metodo {--river-x:url('rio-horizontal.png');--river-y:url('rio-vertical.png');--verde:#143d34;--oliva:#58613f;--texto:#293e33;--suave:#526057;--borde:#d4d7c9;--rio:#eef2e9;background:var(--rio);color:var(--texto);font:16px/1.5 Arial,Helvetica,sans-serif;padding:clamp(34px,4.7vw,70px) 0}
.hm-metodo * {box-sizing:border-box}
.hm-metodo .hm-wrap {width:min(92%,1200px);margin:auto}
.hm-metodo .hm-label {margin:0;color:var(--oliva);font:700 .72rem/1.4 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.hm-metodo h2 {margin:.7rem 0 1rem;color:var(--verde);font:400 clamp(2rem,3.35vw,3.05rem)/1.14 Georgia,serif;letter-spacing:-.035em}
.hm-metodo h3 {color:var(--verde);font:400 clamp(1.4rem,2.4vw,2rem)/1.2 Georgia,serif}
.hm-metodo p {color:var(--suave);margin:0}
.hm-metodo a,.hm-metodo summary {color:var(--verde);text-underline-offset:.22em}
.hm-metodo a:focus-visible,.hm-metodo summary:focus-visible {outline:3px solid #9c792e;outline-offset:3px}
.hm-metodo .hm-ends {display:flex;justify-content:space-between;gap:16px;margin-top:1.8rem;color:var(--oliva);font:italic .92rem Georgia,serif}
.hm-metodo .hm-steps {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;padding:0;margin:.65rem 0 1.3rem;background:var(--river-x) top left/100% 88px no-repeat}
.hm-metodo .hm-steps li {position:relative;min-width:0}
.hm-metodo .hm-step {display:block;padding:95px 12px 5px 0;min-height:153px;text-decoration:none}
.hm-metodo .hm-number {position:absolute;left:50%;top:var(--y);transform:translate(-50%,-50%);width:33px;height:33px;border:2px solid white;border-radius:50%;background:#245543;color:white;text-align:center;font:700 15px/29px Arial,sans-serif}
.hm-metodo .hm-step:hover strong,.hm-metodo .hm-step[aria-current="step"] strong {text-decoration:underline}
.hm-metodo .hm-step[aria-current="step"] .hm-number {outline:2px solid #ad9157}
.hm-metodo .hm-step strong,.hm-metodo .hm-step small {display:block}
.hm-metodo .hm-step strong {font-size:1.02rem}
.hm-metodo .hm-step small {margin:.5rem 0 0;font-size:.9rem;color:var(--suave);line-height:1.45}
.hm-metodo .hm-explore {font-weight:bold;color:var(--oliva);text-decoration:none}
.hm-metodo .hm-explore:hover {text-decoration:underline}
.hm-metodo .hm-panels {margin-top:1.2rem}
.hm-metodo[data-enhanced] .hm-panel:not([open]) {display:none}
@media (max-width:760px) {
 .hm-metodo .hm-wrap {width:calc(100% - 36px)}
 .hm-metodo .hm-ends {display:none}
 .hm-metodo .hm-steps {margin-top:1.3rem;display:block;background:var(--river-y) 0 center/45px 100% no-repeat}
 .hm-metodo .hm-step {padding:5px 0 5px 63px;min-height:86px;display:flex;flex-direction:column;justify-content:center}
 .hm-metodo .hm-number {left:var(--x);top:50%;width:30px;height:30px;line-height:26px}
 .hm-metodo .hm-step small {margin:.15rem 0 0}
}

/* Ficha de etapa como en la maqueta (láminas 7-12) */
.hm-metodo h2,.hm-metodo h3 {letter-spacing:-.012em}
.hm-metodo .hm-number {background:var(--verde)}
.hm-metodo .hm-step[aria-current="step"] .hm-number {outline:3px solid #ad9157;outline-offset:1px}
.hm-metodo .hm-panels {margin-top:2rem}
.hm-metodo .hm-panel {background:var(--fondo,#f7f6f2);border:1px solid var(--borde);border-radius:16px;padding:clamp(22px,3vw,40px);margin:8px 0;scroll-margin-top:16px}
.hm-metodo .hm-panel summary {list-style:none;cursor:pointer;color:var(--oliva);font:700 .74rem/1.4 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.hm-metodo .hm-panel summary::-webkit-details-marker {display:none}
.hm-metodo .hm-panel summary span {margin:0 .5em}
.hm-metodo .hm-body h3 {margin:1rem 0 .9rem;font-size:clamp(1.7rem,3vw,2.55rem);line-height:1.15}
.hm-metodo .hm-intro {font-size:1.05rem;max-width:78ch}
.hm-metodo .hm-mini {list-style:none;padding:0;margin:1.6rem 0 .4rem;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:var(--river-x) top left/100% 64px no-repeat}
.hm-metodo .hm-mini li {position:relative;min-width:0}
.hm-metodo .hm-mini-step {display:block;padding:74px 4px 6px;text-align:center;text-decoration:none;color:var(--suave);font-weight:700;font-size:.92rem}
.hm-metodo .hm-mini .hm-number {background:#fff;color:var(--verde);border:2px solid #4f7a66;width:34px;height:34px;line-height:30px}
.hm-metodo .hm-mini-step[aria-current="step"] {color:var(--verde)}
.hm-metodo .hm-mini-step[aria-current="step"] .hm-number {background:var(--verde);color:#fff;border-color:#fff;box-shadow:0 0 0 2px var(--verde);width:38px;height:38px;line-height:34px;font-size:17px}
.hm-metodo .hm-mini-step:hover .hm-mini-name {text-decoration:underline}
.hm-metodo .hm-pair {display:grid;grid-template-columns:1.15fr 1fr;gap:0;margin-top:1.8rem}
.hm-metodo .hm-example {background:var(--rio);border-radius:12px;padding:clamp(18px,2.2vw,30px) clamp(18px,2vw,26px);min-height:200px}
.hm-metodo .hm-example p {margin-top:1.1rem;color:var(--verde);font:400 clamp(1.1rem,1.5vw,1.3rem)/1.5 Georgia,serif}
.hm-metodo .hm-take {border-left:1px solid var(--borde);margin:12px 0 12px clamp(18px,2.6vw,36px);padding:12px 0 12px clamp(18px,2.6vw,28px)}
.hm-metodo .hm-take p {margin-top:1.4rem;color:var(--verde);font-size:1.08rem;line-height:1.5}
.hm-metodo .hm-controls {display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px 34px;border-top:1px solid var(--borde);margin-top:1.8rem;padding-top:1.4rem;font-size:.95rem;font-weight:700}
.hm-metodo .hm-controls a {text-decoration:none;color:var(--oliva)}
.hm-metodo .hm-controls .hm-next {gap:.45rem;background:#58613f;color:#fff;border-radius:100px;padding:.75rem 1.2rem;min-height:44px;display:inline-flex;align-items:center}
.hm-metodo .hm-controls .hm-next:hover {background:var(--verde)}
.hm-metodo .hm-controls a:not(.hm-next):hover {text-decoration:underline}
@media (max-width:760px) {
 .hm-metodo .hm-mini {background-size:100% 52px;margin-top:1.2rem}
 .hm-metodo .hm-mini li {--y:26px}
 .hm-metodo .hm-mini-name {display:none}
 .hm-metodo .hm-mini-step {padding:52px 0 0;min-height:52px}
 .hm-metodo .hm-mini .hm-number {width:30px;height:30px;line-height:26px;font-size:14px}
 .hm-metodo .hm-mini-step[aria-current="step"] .hm-number {width:34px;height:34px;line-height:30px}
 .hm-metodo .hm-panel {padding:20px 16px}
 .hm-metodo .hm-pair {grid-template-columns:1fr}
 .hm-metodo .hm-example {min-height:0}
 .hm-metodo .hm-take {border-left:0;border-top:1px solid var(--borde);margin:1.2rem 0 0;padding:1.1rem 0 0}
 .hm-metodo .hm-take p {margin-top:.6rem}
 .hm-metodo .hm-controls {grid-template-columns:auto auto;justify-content:space-between}
 .hm-metodo .hm-controls .hm-next {grid-column:1 / -1;justify-content:center}
}