.method-page .method-hero {
  position: relative;
  isolation: isolate;
  min-height: min(680px, calc(100svh - 158px));
  overflow: hidden;
  background: var(--fg);
  color: var(--bg);
}

.method-page .method-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: image-set(
    url("../images/optimized/mrdmbqms-museline-hero-online-02-archivo-compartido-1600.avif") type("image/avif"),
    url("../images/optimized/mrdmbqms-museline-hero-online-02-archivo-compartido-1600.webp") type("image/webp"),
    url("../images/mrdmbqms-museline-hero-online-02-archivo-compartido.png") type("image/png")
  ) center center / cover no-repeat;
  opacity: 0.85;
}

.method-page .method-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: color-mix(in srgb, var(--fg) 18%, transparent);
}

.method-page .method-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, 66vw);
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(84px, 6.6vw, 112px) clamp(24px, 3vw, 48px) clamp(108px, 6.2vw, 132px) clamp(72px, 7.2vw, 118px);
}

.method-page .method-hero .eyebrow {
  max-width: 28ch;
  margin: 0;
  color: var(--accent);
  font-size: clamp(20px, 1.24vw, 24px);
  font-weight: 570;
  letter-spacing: 0.108em;
  line-height: 1.16;
  text-transform: uppercase;
}

.method-page .method-hero h1 {
  max-width: 19.8ch;
  margin: 18px 0 16px;
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(68px, 7.25vw, 132px);
  font-weight: 550;
  letter-spacing: -0.038em;
  line-height: 0.85;
  text-wrap: balance;
}

.method-page .method-hero .hero-lead {
  max-width: 52ch;
  margin: 0;
  color: var(--bg);
  font-size: 17px;
  line-height: 1.62;
}

.method-page .method-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.method-page .method-sequence div {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--bg);
  border-radius: 8px;
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.018em;
  line-height: 1;
}

.method-page .local-nav {
  position: sticky;
  top: 108px;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
}

.method-page .local-nav .container {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: auto;
  font-size: 12px;
  white-space: nowrap;
  scrollbar-width: none;
}

.method-page .local-nav a {
  padding: 18px 0;
  border-bottom: 2px solid transparent;
}

.method-page .local-nav a:hover {
  border-color: var(--accent);
}

.method-page .method-section {
  padding: 116px 0;
  scroll-margin-top: 190px;
}

.method-page .method-section.alt {
  background: var(--surface);
}

.method-page .method-title {
  display: grid;
  grid-template-columns: 3fr 7fr 2fr;
  gap: 24px;
}

.method-page .method-title .eyebrow {
  grid-column: 1;
  color: var(--accent);
}

.method-page .method-title h2 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.022em;
}

.method-page .method-title .statement {
  grid-column: 2;
  max-width: 65ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.method-page .method-section .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 60px;
}

.method-page .method-section .cards.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
}

.method-page .method-section .card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.method-page .method-section .card h3 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.method-page .method-section .card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.method-page .conversion,
.method-page .conversion__copy .eyebrow,
.method-page .conversion__copy h2,
.method-page .conversion__copy .lead {
  color: var(--bg);
}

@media (max-width: 1000px) {
  .method-page .method-hero-content {
    width: min(760px, 82vw);
    padding-left: clamp(32px, 6vw, 72px);
  }

  .method-page .local-nav {
    top: 100px;
  }

  .method-page .method-title {
    grid-template-columns: repeat(8, 1fr);
  }

  .method-page .method-title .eyebrow {
    grid-column: 1 / 3;
  }

  .method-page .method-title h2,
  .method-page .method-title .statement {
    grid-column: 3 / 9;
  }
}

@media (max-width: 760px) {
  .method-page .method-hero {
    min-height: 620px;
  }

  .method-page .method-hero-content {
    width: 100%;
    padding: 72px 24px 64px;
  }

  .method-page .method-hero h1 {
    font-size: 58px;
    letter-spacing: -0.03em;
  }

  .method-page .method-sequence div {
    width: 100%;
  }

  .method-page .local-nav {
    top: 0;
  }

  .method-page .local-nav .container {
    justify-content: flex-start;
    width: 100%;
    padding: 0 24px;
  }

  .method-page .method-section {
    padding: 80px 0;
    scroll-margin-top: 138px;
  }

  .method-page .method-title {
    display: block;
  }

  .method-page .method-title h2 {
    margin-top: 18px;
  }

  .method-page .method-title .statement {
    margin-top: 20px;
  }

  .method-page .method-section .cards,
  .method-page .method-section .cards.cols-2 {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 16px;
    margin-top: 40px;
  }

  .method-page .method-section .card {
    min-height: 0;
    padding: 24px;
  }

  .method-page .method-section .card h3 {
    margin-bottom: 14px;
  }
}
