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

.metodo-video-bg {
  background-color: #060200;
  background-image: url("../../assets/images/Frame 21 (1).png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.metodo {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 70px 0;
}
.metodo__card { background: #EDE9E3; color: var(--ink); border-radius: 24px; padding: 56px clamp(24px, 5vw, 70px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.metodo__label { font-weight: 600; font-size: 13px; letter-spacing: 1px; color: var(--accent); margin-bottom: 34px; }
.metodo__title { font-family: var(--font-sora); font-weight: 800; font-size: 46px; color: var(--ink); line-height: 1.1; margin-bottom: 18px; }
.metodo__subtitle { font-family: var(--font-sora); font-weight: 600; font-size: 18px; color: #1c2b3a; margin-bottom: 64px; }
.metodo__timeline { position: relative; display: flex; justify-content: space-between; gap: 10px; padding-bottom: 30px; }
.metodo__timeline::before { content: ""; position: absolute; top: 32px; left: 7%; right: 7%; height: 1px; background: rgba(10, 53, 36, 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; outline: none; }
.metodo__node { width: 64px; height: 64px; border-radius: 50%; background: #1b140f; color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: transform .25s ease, box-shadow .25s ease, color .25s ease; }
.metodo__etapa { font-family: var(--font-mont); font-weight: 600; font-size: 11px; letter-spacing: 1px; color: #3a4a5c; margin-bottom: 4px; }
.metodo__name { font-family: var(--font-sora); font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 14px; }
.metodo__desc {
  position: absolute;
  top: 154px;
  left: 50%;
  width: min(242px, calc(100vw - 40px));
  min-height: 120px;
  padding: 18px 18px 17px;
  border-radius: 8px;
  background: #1b140f;
  border-bottom: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(10, 53, 36, 0.18);
  font-family: var(--font-mont);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  visibility: hidden;
  z-index: 4;
}
.metodo__desc::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #1b140f;
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}
.metodo__step:hover,
.metodo__step:focus-visible { z-index: 5; }
.metodo__step:hover .metodo__node,
.metodo__step:focus-visible .metodo__node {
  color: var(--gold);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 0 7px rgba(243, 162, 8, 0.18);
}
.metodo__step:hover .metodo__desc,
.metodo__step:focus-visible .metodo__desc {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}
@media (max-width: 900px) {
  .metodo__timeline { flex-wrap: wrap; gap: 28px 16px; justify-content: center; padding-bottom: 0; }
  .metodo__timeline::before { display: none; }
  .metodo__step { flex: 0 0 calc((100% - 16px) / 2); min-height: 285px; }
  .metodo__desc { top: 148px; width: min(260px, calc(100vw - 48px)); }
}
@media (max-width: 600px) {
  .metodo {
    padding: 34px 0 48px;
  }
  .metodo .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .metodo__card {
    padding: 0;
    border-radius: 8px;
    box-shadow: none;
  }
  .metodo__card > * {
    background: #eef2f7;
  }
  .metodo__label {
    margin: 0;
    padding: 24px 14px 18px;
    border-radius: 8px 8px 0 0;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: var(--accent);
  }
  .metodo__title {
    margin: 0;
    padding: 0 14px 12px;
    font-size: 28px;
    line-height: 1.08;
  }
  .metodo__subtitle {
    margin: 0;
    padding: 0 14px 20px;
    font-family: var(--font-mont);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: #1c2b3a;
  }
  .metodo__timeline {
    display: block;
    padding: 0 14px 28px;
    border-radius: 0 0 8px 8px;
  }
  .metodo__step {
    min-height: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    grid-template-areas:
      "node etapa arrow"
      "node name arrow"
      "desc desc desc";
    align-items: center;
    column-gap: 9px;
    padding: 14px 0;
    border-top: 1px solid rgba(20, 15, 5, 0.22);
    text-align: left;
    cursor: pointer;
  }
  .metodo__step::after {
    content: "";
    grid-area: arrow;
    justify-self: end;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
    transition: transform .2s ease;
  }
  .metodo__step--open::after {
    transform: rotate(45deg);
  }
  .metodo__node {
    grid-area: node;
    width: 38px;
    height: 38px;
    margin: 0;
    color: var(--accent);
  }
  .metodo__node svg {
    width: 22px;
    height: 22px;
  }
  .metodo__etapa {
    grid-area: etapa;
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0;
    color: #1c2b3a;
  }
  .metodo__name {
    grid-area: name;
    margin: 0;
    font-size: 16px;
    line-height: 1.15;
    color: var(--ink);
  }
  .metodo__desc,
  .metodo__step:hover .metodo__desc,
  .metodo__step:focus-visible .metodo__desc {
    grid-area: desc;
    position: static;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #1c2b3a;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    opacity: 1;
    transform: none;
    visibility: visible;
    overflow: hidden;
    max-height: 0;
    transition: max-height .28s ease, margin-top .28s ease;
  }
  .metodo__desc::before { display: none; }
  .metodo__step--open .metodo__desc {
    max-height: 240px;
    margin-top: 14px;
  }
  .metodo__step:hover .metodo__node,
  .metodo__step:focus-visible .metodo__node {
    color: var(--accent);
    transform: none;
    box-shadow: none;
  }
}
