/* Metodología: proceso editorial, limpio y alineado con la identidad MÖDEN. */
.methodology-refresh {
  --method-red: #e3272f;
  --method-ink: #111318;
  --method-muted: #68707b;
  --method-line: #e4e7eb;
  display: block;
  padding: 0 0 78px;
  overflow: hidden;
  color: var(--method-ink);
  background: #fff;
}

.methodology-refresh-hero {
  position: relative;
  min-height: 490px;
  margin: 0 calc((100% - 100vw) / 2);
  padding: 78px 28px 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #101114;
  text-align: center;
}

.methodology-refresh-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 11, 13, .88), rgba(10, 11, 13, .72) 50%, rgba(10, 11, 13, .88)),
    linear-gradient(0deg, rgba(10, 11, 13, .24), rgba(10, 11, 13, .24));
}

.methodology-refresh-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("../assets/portfolio/portfolio-hero-abstract.webp");
  background-position: center 47%;
  background-size: cover;
  opacity: .56;
}

.methodology-refresh-hero-copy {
  width: min(920px, 100%);
  margin: 0 auto;
}

.methodology-refresh-eyebrow {
  margin: 0 0 12px;
  color: var(--method-red);
  font-family: "Khand", sans-serif;
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.methodology-refresh-hero .methodology-refresh-eyebrow {
  margin-bottom: 6px;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.22;
}

.methodology-refresh-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading, "Urbanist", sans-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .99;
  text-transform: uppercase;
}

.methodology-refresh-hero h1 span { color: var(--method-red); }

.methodology-refresh-intro {
  max-width: 650px;
  margin: 11px auto 0;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
  line-height: 1.52;
}

.methodology-refresh-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.methodology-refresh-button {
  min-height: 45px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.methodology-refresh-button:hover { transform: translateY(-2px); }
.methodology-refresh-button.is-primary { background: var(--method-red); }
.methodology-refresh-button.is-primary:hover { background: #c91e27; }
.methodology-refresh-button.is-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); }
.methodology-refresh-button.is-secondary:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.58); }

.methodology-refresh-breadcrumb {
  margin: 13px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  font-size: .74rem;
  line-height: 1.3;
}
.methodology-refresh-breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.methodology-refresh-breadcrumb a:hover { color: #ff3b46; }
.methodology-refresh-button:focus-visible,
.methodology-refresh-compare-link:focus-visible { outline: 3px solid #ff858a; outline-offset: 4px; }

.methodology-refresh-process,
.methodology-refresh-principles,
.methodology-refresh-compare,
.methodology-refresh-closing {
  width: min(1240px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.methodology-refresh-process { padding-top: 72px; }

.methodology-refresh-section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.methodology-refresh-section-heading .methodology-refresh-eyebrow { margin-bottom: 8px; }

.methodology-refresh-section-heading h2 {
  margin: 0;
  color: var(--method-ink);
  font-family: var(--font-heading, "Urbanist", sans-serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-transform: uppercase;
}

.methodology-refresh-section-heading > p:last-child {
  max-width: 650px;
  margin: 12px auto 0;
  color: var(--method-muted);
  font-size: .98rem;
  line-height: 1.65;
}

.methodology-refresh-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}

.methodology-refresh-step {
  position: relative;
  min-height: 276px;
  padding: 23px 22px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--method-line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 19, 24, .045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.methodology-refresh-step:hover {
  border-color: rgba(227,39,47,.46);
  box-shadow: 0 16px 36px rgba(17,19,24,.09);
  transform: translateY(-3px);
}

.methodology-refresh-step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.methodology-refresh-number { color: var(--method-red); font-family: var(--font-heading, "Urbanist", sans-serif); font-size: 2.6rem; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.methodology-refresh-step-label { padding: 6px 9px; color: #c9202c; background: #fff2f2; border-radius: 4px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; }

.methodology-refresh-step h3 {
  margin: 21px 0 8px;
  color: #191b20;
  font-family: var(--font-heading, "Urbanist", sans-serif);
  font-size: 1.22rem;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.methodology-refresh-step > p { margin: 0; color: var(--method-muted); font-size: .86rem; line-height: 1.6; }

.methodology-refresh-output {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #eceef1;
}

.methodology-refresh-output > span { color: #9a4147; font-size: .61rem; font-weight: 800; letter-spacing: .09em; }
.methodology-refresh-output p { margin: 5px 0 0; color: #434a54; font-size: .75rem; font-weight: 650; line-height: 1.5; }
.methodology-refresh-output i { color: var(--method-red); font-style: normal; }

.methodology-refresh-principles { padding-top: 82px; }
.methodology-refresh-principles .methodology-refresh-section-heading { margin-bottom: 27px; }
.methodology-refresh-principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.methodology-refresh-principle {
  min-height: 148px;
  padding: 22px 21px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--method-line);
  border-radius: 9px;
  background: #fff;
}

.methodology-refresh-principle-mark {
  flex: 0 0 auto;
  color: var(--method-red);
  font-family: var(--font-heading, "Urbanist", sans-serif);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.methodology-refresh-principle h3 { margin: 1px 0 7px; color: #191b20; font-family: var(--font-heading, "Urbanist", sans-serif); font-size: 1.08rem; font-weight: 750; letter-spacing: -.02em; }
.methodology-refresh-principle p { margin: 0; color: var(--method-muted); font-size: .83rem; line-height: 1.6; }

.methodology-refresh-compare {
  margin-top: 38px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid var(--method-line);
  border-radius: 10px;
  background: #fafafa;
}

.methodology-refresh-compare .methodology-refresh-eyebrow { margin: 0 0 5px; font-size: 1rem; }
.methodology-refresh-compare h2 { margin: 0; color: var(--method-ink); font-family: var(--font-heading, "Urbanist", sans-serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.04em; }
.methodology-refresh-compare p:not(.methodology-refresh-eyebrow) { max-width: 760px; margin: 6px 0 0; color: var(--method-muted); font-size: .88rem; line-height: 1.55; }
.methodology-refresh-compare-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; color: #c9202c; font-size: .87rem; font-weight: 750; text-decoration: none; }
.methodology-refresh-compare-link:hover { color: #9f1720; }
.methodology-refresh-closing { padding-top: 64px; }
.methodology-refresh .moden-section-cta { box-shadow: 0 18px 46px rgba(17,19,24,.18); }
.methodology-refresh .moden-section-cta-button.is-whatsapp { color: #fff; background: #138d56; border-color: #138d56; }
.methodology-refresh .moden-section-cta-button.is-whatsapp:hover { background: #0f7648; border-color: #0f7648; }
.methodology-refresh .moden-section-cta-whatsapp-icon { width: 20px; height: 20px; flex: 0 0 20px; }

@media (max-width: 980px) {
  .methodology-refresh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .methodology-refresh-step { min-height: 250px; }
  .methodology-refresh-principles-grid { grid-template-columns: 1fr; }
  .methodology-refresh-principle { min-height: 0; }
}

@media (max-width: 640px) {
  .methodology-refresh { padding-bottom: 50px; }
  .methodology-refresh-hero { min-height: 380px; padding: 24px 22px 28px; }
  .methodology-refresh-hero-art { background-position: 53% center; opacity: .44; }
  .methodology-refresh-hero::after { background: rgba(10, 11, 13, .72); }
  .methodology-refresh-hero .methodology-refresh-eyebrow { margin-bottom: 3px; font-size: 1.06rem; }
  .methodology-refresh-hero h1 { font-size: clamp(2rem, 8.4vw, 2.45rem); letter-spacing: -.06em; line-height: 1; }
  .methodology-refresh-intro { max-width: 355px; margin-top: 8px; font-size: .95rem; line-height: 1.42; }
  .methodology-refresh-actions { margin-top: 10px; gap: 8px; }
  .methodology-refresh-button { width: auto; min-height: 38px; padding: 0 12px; font-size: .78rem; }
  .methodology-refresh-breadcrumb { margin-top: 12px; font-size: .7rem; }
  .methodology-refresh-process,
  .methodology-refresh-principles,
  .methodology-refresh-compare,
  .methodology-refresh-closing { width: calc(100% - 36px); }
  .methodology-refresh-process { padding-top: 53px; }
  .methodology-refresh-section-heading { margin-bottom: 24px; }
  .methodology-refresh-section-heading h2 { font-size: clamp(1.55rem, 6.2vw, 2rem); }
  .methodology-refresh-section-heading > p:last-child { font-size: .9rem; }
  .methodology-refresh-steps { grid-template-columns: 1fr; gap: 11px; }
  .methodology-refresh-step { min-height: 0; padding: 20px; }
  .methodology-refresh-step h3 { margin-top: 15px; }
  .methodology-refresh-output { margin-top: 18px; }
  .methodology-refresh-principles { padding-top: 58px; }
  .methodology-refresh-principle { padding: 19px; }
  .methodology-refresh-compare { margin-top: 28px; padding: 21px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .methodology-refresh-closing { padding-top: 46px; }
  .methodology-refresh .moden-section-cta { width: 100%; padding: 34px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .methodology-refresh-step,
  .methodology-refresh-button { transition: none; }
}
