/* metodo — generado por refactor modular (verbatim de styles.css) */

.metodo { background: #eef1f0; color: #10231f; padding: var(--sp) 0; }
.metodo__label { font-family: var(--font-sora); font-weight: 600; font-size: 13px; letter-spacing: 1px; color: #9a7600; margin-bottom: 28px; }
.metodo__title { font-family: var(--font-sora); font-weight: 800; font-size: 46px; color: #10231f; line-height: 1.1; margin-bottom: 18px; }
.metodo__subtitle { font-family: var(--font-mont); font-weight: 600; font-size: 18px; color: #1e2b3a; margin-bottom: 64px; }
.metodo__timeline { position: relative; display: flex; justify-content: space-between; gap: 10px; }
.metodo__timeline::before { content: ""; position: absolute; top: 32px; left: 7%; right: 7%; height: 1px; background: rgba(16, 35, 31, 0.25); z-index: 0; }
.metodo__step { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.metodo__node { width: 64px; height: 64px; border-radius: 50%; background: #0b2b54; color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.metodo__etapa { font-family: var(--font-mont); font-weight: 600; font-size: 11px; letter-spacing: 1px; color: #3a4759; margin-bottom: 4px; }
.metodo__name { font-family: var(--font-sora); font-weight: 700; font-size: 20px; color: #10231f; margin-bottom: 14px; }
.metodo__desc { font-family: var(--font-mont); font-size: 14px; line-height: 1.45; color: #3a4759; max-width: 200px; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .metodo__step { cursor: pointer; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
  .metodo__step:hover { transform: translateY(-4px); }            /* leve elevación suave */
  .metodo__name { margin-bottom: 0; transition: color .25s ease; }
  .metodo__etapa { transition: color .25s ease; }
  .metodo__node {
    position: relative;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
  }
  /* aro dorado que se expande con delicadeza al hacer hover */
  .metodo__node::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    opacity: 0;
    transform: scale(.82);
    transition: opacity .4s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
  }
  .metodo__step:hover .metodo__node { transform: scale(1.07); box-shadow: 0 14px 30px rgba(11, 43, 84, .38); }
  .metodo__step:hover .metodo__node::after { opacity: 1; transform: scale(1.1); }
  .metodo__step:hover .metodo__etapa { color: #9a7600; }
  .metodo__step:hover .metodo__name { color: #0b2b54; }
  .metodo__desc {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    width: 236px;
    max-width: 236px;
    background: #0b2b54;
    color: #fff;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
    padding: 14px 16px;
    border-radius: 12px;
    border-top: 2px solid var(--gold);                            /* acento dorado de marca */
    box-shadow: 0 18px 42px rgba(5, 8, 14, .34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px) scale(.96);
    transform-origin: top center;
    transition: opacity .3s ease, transform .42s cubic-bezier(.22, 1, .36, 1), visibility .3s;
    z-index: 30;
  }
  .metodo__desc::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: var(--gold);                            /* flecha dorada, continúa el borde superior */
  }
  .metodo__step:hover .metodo__desc,
  .metodo__step:focus-within .metodo__desc {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  /* respeta a quien prefiere menos movimiento */
  @media (prefers-reduced-motion: reduce) {
    .metodo__step, .metodo__node, .metodo__node::after, .metodo__desc { transition: opacity .2s ease; }
    .metodo__step:hover { transform: none; }
    .metodo__step:hover .metodo__node::after { transform: scale(1.1); }
  }
}
@media (max-width: 900px) {
  .metodo__timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .metodo__timeline::before { display: none; }
  .metodo__desc { max-width: none; }
  .metodo__step:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}
@media (max-width: 600px) {
  .metodo__timeline { grid-template-columns: 1fr; }
  .metodo__step:last-child:nth-child(odd) { max-width: none; justify-self: stretch; grid-column: auto; }
  .metodo__title { font-size: 28px; }
}
