.md-guide {
  --md-navy: #102c46;
  --md-cyan: #087f8c;
  --md-ink: #213746;
  --md-soft: #f2f7f9;
  --md-line: #d7e4e8;
  --md-home: #287a55;
  --md-consult: #9a6700;
  --md-urgent: #b42318;
  color: var(--md-ink);
  font-family: inherit;
  font-size: clamp(17px, 1.1vw, 18px);
  line-height: 1.7;
  margin: 2rem auto;
  max-width: 1220px;
  overflow-wrap: anywhere;
}
.md-guide *, .md-guide *::before, .md-guide *::after { box-sizing: border-box; }
.md-guide-routes, .md-guide-related { background: #fff; border: 1px solid var(--md-line); border-radius: 18px; margin-bottom: 1.25rem; padding: clamp(22px, 4vw, 38px); }
.md-guide-routes > h1, .md-guide-routes > h2, .md-guide-related > h1, .md-guide-related > h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin: 0 0 .55rem; }
.md-guide-routes__grid, .md-guide-related__grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; }
.md-guide-routes__grid article, .md-guide-related__grid article { background: var(--md-soft); border: 1px solid var(--md-line); border-radius: 14px; display: flex; flex-direction: column; padding: 1.25rem; }
.md-guide-routes__grid article > span { align-items: center; background: var(--md-cyan); border-radius: 50%; color: #fff; display: inline-flex; font-weight: 800; height: 34px; justify-content: center; width: 34px; }
.md-guide-routes__grid h3, .md-guide-related__grid h3 { font-size: 1.12em; margin: .75rem 0 .35rem; }
.md-guide-routes__grid p, .md-guide-related__grid p { flex: 1; margin: 0 0 1rem; }
.md-guide-routes__grid a, .md-guide-related__grid a { color: var(--md-cyan); font-weight: 800; text-underline-offset: 3px; }
.md-guide-related { background: var(--md-soft); margin-top: 2rem; }
.md-guide-related__grid article { background: #fff; }
.md-guide-related__all { margin: 1.5rem 0 0; text-align: center; }
.md-guide-sheet { align-items: center; background: var(--md-soft); border: 1px solid var(--md-line); border-radius: 18px; display: grid; gap: clamp(24px, 5vw, 72px); grid-template-columns: minmax(0, 1fr) minmax(180px, 320px); margin-bottom: 1.25rem; padding: clamp(22px, 4vw, 38px); }
.md-guide-sheet h1, .md-guide-sheet h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 .4rem; }
.md-guide-sheet__preview { display: block; justify-self: center; max-width: 260px; }
.md-guide-sheet__preview img { border: 1px solid var(--md-line); display: block; height: auto; max-width: 100%; width: 100%; }
.md-guide-card { align-items: center; background: #fff; border: 1px solid var(--md-line); border-radius: 18px; display: flex; gap: 2rem; justify-content: space-between; padding: clamp(22px, 4vw, 38px); }
.md-guide-card__copy { max-width: 760px; }
.md-guide-eyebrow { color: var(--md-cyan); font-size: .78em; font-weight: 800; letter-spacing: .12em; margin: 0 0 .35rem; text-transform: uppercase; }
.md-guide h1, .md-guide h2, .md-guide h3, .md-guide h4, .md-guide h5 { color: var(--md-navy); font-family: inherit; font-weight: 800; line-height: 1.2; margin: 1.6em 0 .65em; }
.md-guide-card h1, .md-guide-card h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0 0 .4rem; }
.md-guide-card p:last-child { margin-bottom: 0; }
.md-guide-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem; }
.md-guide button, .md-guide a.md-guide-download, .md-guide a.md-guide-primary, .md-guide-inline-action a { align-items: center; border-radius: 9px; display: inline-flex; font: inherit; font-weight: 750; justify-content: center; min-height: 48px; padding: .65rem 1.1rem; text-decoration: none; }
.md-guide-toggle, .md-guide-primary, .md-guide-inline-action a { background: var(--md-cyan); border: 2px solid var(--md-cyan); color: #fff; cursor: pointer; }
.md-guide-download { background: #fff; border: 2px solid var(--md-navy); color: var(--md-navy); }
.md-guide button:focus-visible, .md-guide a:focus-visible, .md-guide summary:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.md-guide-content { animation: md-guide-reveal .35s ease-out; }
.md-guide-content[hidden] { display: none; }
@keyframes md-guide-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .md-guide-content { animation: none; } .md-guide { scroll-behavior: auto; } }
.md-guide-header { background: var(--md-navy); border-radius: 18px; color: #fff; margin-top: 1.25rem; padding: clamp(30px, 7vw, 72px); scroll-margin-top: 100px; }
.md-guide-header h1, .md-guide-header h2 { color: #fff; font-size: clamp(2.2rem, 6vw, 4.5rem); margin: .1em 0; max-width: 780px; }
.md-guide-subtitle { font-size: clamp(1.15rem, 2vw, 1.45rem); margin: 0 0 1.5rem; }
.md-guide-levels { display: flex; flex-wrap: wrap; gap: .6rem; }
.md-guide-levels span { background: #fff; border-left: 5px solid; border-radius: 6px; color: var(--md-ink); font-size: .88em; font-weight: 800; padding: .35rem .8rem; }
.md-guide-levels .is-home { border-color: var(--md-home); }
.md-guide-levels .is-consult { border-color: var(--md-consult); }
.md-guide-levels .is-urgent { border-color: var(--md-urgent); }
.md-guide-intro { background: var(--md-soft); border-radius: 14px; margin: 1.25rem 0; padding: clamp(22px, 4vw, 40px); }
.md-guide-intro h2, .md-guide-intro h3 { margin-top: 0; }
.md-guide-layout { align-items: start; display: grid; gap: clamp(28px, 4vw, 58px); grid-template-columns: minmax(210px, 280px) minmax(0, 780px); justify-content: center; }
.md-guide-index { font-size: .78em; max-height: calc(100vh - 130px); overflow: auto; position: sticky; top: 100px; }
.md-guide-index nav { border-left: 3px solid var(--md-line); padding-left: 1rem; }
.md-guide-index p { color: var(--md-navy); font-weight: 800; margin-bottom: .5rem; }
.md-guide-index ol { margin: 0; padding-left: 1.25rem; }
.md-guide-index li { margin-bottom: .25rem; }
.md-guide-index a { color: var(--md-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.md-guide-mobile-index { display: none; }
.md-guide-body { min-width: 0; }
.md-guide-section { border-bottom: 1px solid var(--md-line); padding: 1rem 0 2rem; scroll-margin-top: 90px; }
.md-guide-section > h2:first-child, .md-guide-section > h3:first-child { font-size: clamp(1.65rem, 3.4vw, 2.35rem); }
.md-guide-section ul { padding-left: 1.35rem; }
.md-guide-section li { margin: .45rem 0; }
.md-guide-quote { background: #eaf7f7; border: 0; border-left: 5px solid var(--md-cyan); border-radius: 0 10px 10px 0; color: var(--md-navy); font-size: 1.1em; font-weight: 700; margin: 1.5rem 0; padding: 1.2rem 1.35rem; }
.md-guide-body #md-guia-la-edad-cambia-la-decision h4 { background: var(--md-soft); border-left: 4px solid var(--md-cyan); margin-bottom: 0; padding: .7rem 1rem; }
.md-guide-body #md-guia-la-decision-en-30-segundos h4 { border-radius: 9px; padding: .65rem .85rem; }
.md-guide-body #md-guia-la-decision-en-30-segundos h4:nth-of-type(6) { background: #eaf6ee; color: var(--md-home); }
.md-guide-body #md-guia-la-decision-en-30-segundos h4:nth-of-type(7) { background: #fff7dc; color: var(--md-consult); }
.md-guide-body #md-guia-la-decision-en-30-segundos h4:nth-of-type(8) { background: #fff0ee; color: var(--md-urgent); }
.md-guide-inline-action { margin-top: 1.5rem; }
.md-guide-final { background: var(--md-navy); border-radius: 18px; color: #fff; margin-top: 2rem; padding: clamp(26px, 5vw, 52px); }
.md-guide-final h2, .md-guide-final h3 { color: #fff; margin-top: 0; }
.md-guide-final .md-guide-download--dark { background: transparent; border-color: #fff; color: #fff; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }

@media (max-width: 820px) {
  .md-guide { margin: 1.25rem auto; }
  .md-guide-card { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .md-guide-sheet { grid-template-columns: 1fr; }
  .md-guide-sheet__preview { max-width: 340px; order: -1; }
  .md-guide-card .md-guide-actions { align-items: stretch; flex-direction: column; }
  .md-guide-card button, .md-guide-card a { width: 100%; }
  .md-guide-layout { display: block; }
	.md-guide-routes__grid, .md-guide-related__grid { grid-template-columns: 1fr; }
  .md-guide-index { display: none; }
  .md-guide-mobile-index { background: #fff; border: 1px solid var(--md-line); border-radius: 10px; display: block; margin: 1rem 0; }
  .md-guide-mobile-index summary { color: var(--md-navy); cursor: pointer; font-weight: 800; min-height: 48px; padding: .7rem 1rem; }
  .md-guide-mobile-index nav { border-top: 1px solid var(--md-line); max-height: 55vh; overflow: auto; padding: .5rem 1rem 1rem; }
  .md-guide-mobile-index li { margin: .5rem 0; }
  .md-guide-mobile-index a { color: var(--md-ink); }
}
@media (max-width: 480px) {
  .md-guide { font-size: 17px; }
	.md-guide-card, .md-guide-header, .md-guide-intro, .md-guide-final, .md-guide-routes, .md-guide-related { border-radius: 12px; padding-left: 20px; padding-right: 20px; }
  .md-guide-final .md-guide-actions { align-items: stretch; flex-direction: column; }
}
