.mw-process-visual {
  display: grid;
  gap: 18px;
  align-content: center;
  padding: 38px;
}

.mw-process-visual__line {
  position: absolute;
  top: 72px;
  bottom: 72px;
  left: 61px;
  width: 2px;
  background: rgba(117, 222, 247, 0.5);
}

.mw-process-visual__step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(4, 91, 125, 0.72);
  box-shadow: 0 14px 30px rgba(3, 55, 79, 0.2);
}

.mw-process-visual__step > span,
.mw-process-visual__step > b {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.mw-process-visual__step > span {
  width: 48px;
  height: 48px;
  color: #08749d;
  background: #fff;
  font-weight: 900;
}

.mw-process-visual__step small,
.mw-process-visual__step strong {
  display: block;
}

.mw-process-visual__step small { color: #7edbf3; font-size: 0.68rem; font-weight: 900; text-transform: uppercase; }
.mw-process-visual__step strong { margin-top: 3px; color: #fff; }
.mw-process-visual__step > b { width: 28px; height: 28px; color: #fff; background: var(--mw-green); }

.mw-feature-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mw-feature-story {
  display: block;
  min-height: 190px;
  padding: 24px;
}

.mw-feature-story__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mw-feature-story__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--mw-blue-dark);
  background: #e4f5fb;
}

.mw-feature-story__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mw-feature-story h3 { margin: 0; font-size: 1.04rem; }
.mw-feature-story p { width: 100%; margin: 14px 0 0; color: var(--mw-muted); font-size: 0.9rem; line-height: 1.58; }

.mw-features-cta { margin-top: 34px; }
.mw-features-cta .mw-actions { flex: 0 0 auto; margin: 0; }

.mw-feature-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.mw-feature-scope__card {
  min-height: 235px;
  padding: clamp(25px, 3vw, 34px);
}

.mw-feature-scope__card--included {
  border-color: rgba(7, 143, 202, 0.22);
  background: linear-gradient(145deg, #fff 0%, #edf9fd 100%);
}

.mw-feature-scope__card h3 {
  margin: 20px 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.mw-feature-scope__card p {
  margin: 0;
  color: var(--mw-muted);
  line-height: 1.65;
}

.mw-feature-scope__card .mw-link-arrow {
  margin-top: 18px;
}

.mw-help-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 38px;
}

.mw-help-visual__bubble {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  width: 86%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(3, 56, 81, 0.2);
}

.mw-help-visual__bubble--two { align-self: flex-end; }
.mw-help-visual__bubble > span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: var(--mw-blue); font-weight: 900; }
.mw-help-visual__bubble--two > span { background: var(--mw-green); }
.mw-help-visual__bubble b,
.mw-help-visual__bubble i { display: block; height: 7px; border-radius: 8px; background: #bcd3dd; }
.mw-help-visual__bubble b { width: 82%; background: #2e6f94; }
.mw-help-visual__bubble i { width: 58%; margin-top: 8px; }

.mw-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.65fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.mw-help-accordions .mw-accordion { padding: 20px 22px; border-radius: 14px; box-shadow: 0 10px 26px rgba(6, 74, 102, 0.055); }
.mw-help-accordions .mw-accordion h3 { margin: 0; font-size: 1rem; }
.mw-help-accordions .mw-accordion__panel p { margin: 0; line-height: 1.65; }

.mw-help-side {
  position: sticky;
  top: 112px;
  padding: 34px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #08749d, #079bd0);
  box-shadow: 0 24px 55px rgba(5, 87, 120, 0.2);
}

.mw-help-side h2 { margin: 22px 0 0; color: #fff; font-size: clamp(2rem, 3vw, 3rem); font-weight: 900; }
.mw-help-side p { color: rgba(255,255,255,.88); line-height: 1.7; }
.mw-help-side .mw-button { margin-top: 12px; }

.mw-resource-page .mw-page-hero {
  max-width: 850px;
}

.mw-resource-page .mw-prose ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.mw-resource-page .mw-prose a,
.mw-resource-machine-link a {
  color: var(--mw-blue-dark);
  font-weight: 800;
}

.mw-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mw-resource-card {
  padding: 30px;
}

.mw-resource-card h2 {
  margin: 0 0 22px;
}

.mw-resource-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-resource-card li {
  display: grid;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px solid var(--mw-border);
}

.mw-resource-card li:last-child {
  border-bottom: 0;
}

.mw-resource-card a {
  color: var(--mw-blue-dark);
  font-weight: 900;
}

.mw-resource-card li span,
.mw-resource-card > p,
.mw-resource-machine-link {
  color: var(--mw-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.mw-resource-machine-link {
  margin: 24px 0 0;
}

.mw-ai-info-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
  align-items: start;
}

.mw-ai-info-prose h2:not(:first-child) {
  margin-top: 34px;
}

.mw-ai-info-prose ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.mw-ai-info-summary {
  margin-bottom: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(11, 143, 232, .18);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(232, 247, 255, .9), rgba(255, 255, 255, .96));
  box-shadow: 0 14px 34px rgba(16, 32, 51, .06);
}

.mw-ai-info-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mw-blue-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mw-ai-info-summary p {
  margin: 0;
  color: var(--mw-text);
  line-height: 1.65;
}

.mw-ai-info-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 26px;
}

.mw-ai-info-side h3 {
  margin: 8px 0 16px;
}

.mw-ai-info-facts {
  margin: 0;
}

.mw-ai-info-facts > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--mw-border);
}

.mw-ai-info-facts > div:last-child {
  border-bottom: 0;
}

.mw-ai-info-facts dt {
  color: var(--mw-muted);
  font-size: .82rem;
  font-weight: 700;
}

.mw-ai-info-facts dd {
  margin: 0;
  color: var(--mw-text);
  font-size: .86rem;
  font-weight: 800;
  text-align: right;
}

.mw-ai-info-entity {
  padding-top: 22px;
  border-top: 1px solid var(--mw-border);
}

.mw-ai-info-entity p {
  margin-bottom: 0;
}

.mw-ai-info-actions {
  display: grid;
  gap: 14px;
}

.mw-ai-info-actions .mw-button {
  width: 100%;
}

@media (max-width: 1100px) {
  .mw-feature-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .mw-help-layout { grid-template-columns: 1fr; }
  .mw-help-side { position: static; }
  .mw-resource-grid { grid-template-columns: 1fr; }
  .mw-feature-scope { grid-template-columns: 1fr; }
  .mw-ai-info-grid { grid-template-columns: 1fr; }
  .mw-ai-info-side { position: static; }
}

@media (max-width: 640px) {
  .mw-process-visual,
  .mw-help-visual { padding: 22px; }
  .mw-feature-story-grid { grid-template-columns: 1fr; }
  .mw-feature-story { min-height: 0; }
  .mw-help-visual__bubble { width: 100%; }
}

/* Páginas legales */
.mw-legal-page {
  background: #f3f8fb;
}

.mw-legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 108px) 0;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 40%, rgba(80, 213, 243, 0.25), transparent 32%),
    linear-gradient(115deg, #08739d 0%, #078fc9 57%, #25b8dd 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.mw-legal-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 7%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translateY(-50%);
}

.mw-legal-hero .mw-shell {
  position: relative;
  z-index: 1;
}

.mw-legal-hero h1 {
  max-width: 850px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.mw-legal-hero > .mw-shell > p {
  max-width: 72ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.mw-legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mw-legal-hero__meta span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background: rgba(4, 84, 118, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.77rem;
  font-weight: 800;
}

.mw-legal-content {
  padding: clamp(58px, 7vw, 92px) 0 clamp(76px, 9vw, 120px);
}

.mw-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.mw-legal-article {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #dceaf0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(5, 75, 103, 0.08);
}

.mw-legal-summary {
  margin-bottom: 48px;
  padding: 22px 24px;
  border: 1px solid #cce4ed;
  border-left: 5px solid #159ecb;
  border-radius: 15px;
  background: linear-gradient(135deg, #eff9fc, #fff);
}

.mw-legal-summary strong {
  display: block;
  color: #08759f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mw-legal-summary p {
  margin: 9px 0 0;
  color: #335466;
  line-height: 1.7;
}

.mw-legal-article > section {
  scroll-margin-top: 110px;
}

.mw-legal-article > section + section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid #e3edf1;
}

.mw-legal-article h2 {
  margin: 0 0 18px;
  color: #0d3347;
  font-size: clamp(1.42rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.mw-legal-article h3 {
  margin: 25px 0 10px;
  color: #17465c;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.mw-legal-article p,
.mw-legal-article li {
  color: #526d7a;
  font-size: 0.96rem;
  line-height: 1.78;
}

.mw-legal-article p {
  margin: 0;
}

.mw-legal-article p + p {
  margin-top: 15px;
}

.mw-legal-article ul {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.mw-legal-article li {
  position: relative;
  padding-left: 25px;
}

.mw-legal-article li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid #18a6d2;
  border-radius: 50%;
}

.mw-legal-article a {
  color: #087ca9;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mw-legal-references {
  padding: 30px;
  border: 1px solid #d8e8ee !important;
  border-radius: 17px;
  background: #f7fbfd;
}

.mw-legal-references p:last-child {
  margin-top: 20px;
}

.mw-legal-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.mw-legal-side__card,
.mw-legal-toc {
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(5, 74, 102, 0.09);
}

.mw-legal-side__card {
  padding: 26px;
  color: #fff;
  background: linear-gradient(145deg, #076d96, #079bce);
}

.mw-legal-side__card > span {
  color: #9be7f8;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mw-legal-side__card h2 {
  margin: 13px 0 18px;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 900;
}

.mw-legal-side__card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.mw-legal-side__card li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  line-height: 1.4;
}

.mw-legal-side__card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8deaa0;
  font-weight: 900;
}

.mw-legal-side__card .mw-button {
  width: 100%;
  color: #08749d;
  background: #fff;
}

.mw-legal-toc {
  display: grid;
  gap: 0;
  padding: 20px 22px;
  border: 1px solid #dceaf0;
  background: #fff;
}

.mw-legal-toc > strong {
  margin-bottom: 10px;
  color: #163c4e;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mw-legal-toc a {
  padding: 8px 0;
  border-bottom: 1px solid #e8f0f3;
  color: #607985;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.mw-legal-toc a:last-child {
  border-bottom: 0;
}

.mw-legal-toc a:hover {
  color: #0785b4;
}

@media (max-width: 960px) {
  .mw-legal-layout {
    grid-template-columns: 1fr;
  }

  .mw-legal-side {
    position: static;
    grid-row: 1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .mw-legal-hero {
    padding: 64px 0;
  }

  .mw-legal-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .mw-legal-hero::after {
    display: none;
  }

  .mw-legal-side {
    grid-template-columns: 1fr;
  }

  .mw-legal-toc {
    display: none;
  }

  .mw-legal-article {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .mw-legal-summary {
    margin-bottom: 36px;
    padding: 19px;
  }

  .mw-legal-article > section + section {
    margin-top: 34px;
    padding-top: 34px;
  }

  .mw-legal-references {
    padding: 22px;
  }
}
