/* El bloque de cuatro pasos conserva las proporciones, tipografía y colores de V1.1. */
:where(#metodo, #metodo *) {
  all: revert;
  box-sizing: border-box;
}

#metodo {
  --deep: var(--brand-deep);
  --orange: #f58a24;
  --display: "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  background: var(--deep);
  color: white;
  padding-block: 85px 90px;
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

#metodo .shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
#metodo :is(h2, h3, p) { margin: 0; }
#metodo :is(h2, h3) {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
}
#metodo h2 { font-size: clamp(32px, 3.2vw, 46px); }
#metodo :focus-visible { outline: 3px solid #fbb26b; outline-offset: 5px; }
#metodo ::selection { background: #ffcf9d; color: var(--deep); }
#metodo .section-heading {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 50px;
  margin-bottom: 44px;
}
#metodo .section-kicker {
  color: #a7d9d2;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  padding-top: 7px;
}
#metodo .section-heading h2 + p { color: #c0d3d1; max-width: 640px; margin-top: 20px; }

#metodo .method-layout {
  display: grid;
  grid-template-columns: .9fr 1.15fr;
  gap: 85px;
  margin-top: 50px;
}
#metodo .method-tabs { border-top: 1px solid #477074; }
#metodo .method-tabs button {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  min-height: 94px;
  gap: 22px;
  padding: 22px 10px;
  border: 0;
  border-bottom: 1px solid #477074;
  border-radius: 0;
  color: #c0d3d1;
  background: none;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#metodo .step-number { align-self: flex-start; padding-top: 5px; font-size: 13px; color: #9ebdba; }
#metodo .method-tabs button > span:nth-child(2) { font: 21px/1.3 var(--display); }
#metodo .method-tabs small { display: block; margin-top: 4px; font: 13px/1.5 var(--body); color: #b5cdca; }
#metodo .tab-arrow { margin-left: auto; font-size: 25px; opacity: 0; }
#metodo .method-tabs button[aria-selected=true] { color: white; background: #1b4e51; border-left: 3px solid var(--orange); padding-left: 7px; }
#metodo .method-tabs button[aria-selected=true] .step-number { color: #ffb76e; }
#metodo .method-tabs button[aria-selected=true] .tab-arrow { opacity: 1; color: #ffb76e; }
#metodo .method-tabs button:hover { background: #1b4e51; }

#metodo .method-panels { padding-block: 8px; }
#metodo .panel-label { color: #a7d9d2; font-size: 13px; }
#metodo .method-panels h3 { margin-top: 17px; font-size: 34px; line-height: 1.2; }
#metodo .method-panels p { margin-top: 20px; max-width: 530px; font-size: 16px; color: #d1dfdd; }
#metodo .method-panels ul { margin-block: 24px; padding-left: 18px; font-size: 15px; color: #d1dfdd; }
#metodo .method-panels li + li { margin-top: 8px; }
#metodo .method-panels li::marker { color: #ffb76e; }
#metodo .method-result { border-top: 1px solid #477074; padding-top: 20px; font-size: 15px; line-height: 1.6; }
#metodo .method-result span { display: block; color: #ffb76e; font-size: 12px; font-weight: 600; margin-bottom: 6px; }

@media (max-width: 1100px) {
  #metodo .shell { width: calc(100% - 64px); }
  #metodo .section-heading { grid-template-columns: .75fr 2fr; gap: 30px; }
  #metodo .method-layout { gap: 45px; }
}
@media (max-width: 899px) {
  #metodo { padding-block: 62px; }
  #metodo .shell { width: calc(100% - 48px); }
  #metodo .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  #metodo .section-heading h2 { font-size: 38px; }
  #metodo .section-heading h2 + p { font-size: 16px; }
  #metodo .method-layout { grid-template-columns: 1fr 1.1fr; gap: 30px; margin-top: 35px; }
  #metodo .method-tabs button { padding-block: 20px; gap: 12px; }
  #metodo .method-tabs button > span:nth-child(2) { font-size: 18px; }
  #metodo .method-tabs small { font-size: 11px; }
  #metodo .method-panels h3 { font-size: 28px; }
  #metodo .method-panels p { font-size: 15px; }
  #metodo .method-panels ul { font-size: 14px; }
}
@media (max-width: 600px) {
  #metodo { padding-block: 54px; font-size: 16px; }
  #metodo .shell { width: calc(100% - 40px); }
  #metodo .section-heading { gap: 16px; margin-bottom: 28px; }
  #metodo .section-kicker { font-size: 12px; }
  #metodo .section-heading h2 { font-size: 32px; }
  #metodo .section-heading h2 + p { font-size: 15px; line-height: 1.65; margin-top: 17px; }
  #metodo .method-layout { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  #metodo .method-tabs button { min-height: 78px; padding-block: 15px; gap: 17px; }
  #metodo .method-tabs button > span:nth-child(2) { font-size: 19px; }
  #metodo .method-tabs small { font-size: 12px; }
  #metodo .method-panels { padding: 0 5px; min-height: 390px; }
  #metodo .method-panels h3 { font-size: 30px; }
  #metodo .method-panels p { font-size: 16px; }
  #metodo .method-panels ul { font-size: 14px; }
  #metodo .method-result { font-size: 14px; }
}

