/* EM25 — confianza. Editorial, accessible, responsive. */
:root {
  --navy: #0b1933;
  --burgundy: #833752;
  --gold: #c8a66a;
  --white: #ffffff;
  --ink: #17243b;
  --muted: #526077;
  --line: #d9dfe8;
  --pale: #f3f6fa;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); }
a { color: inherit; text-underline-offset: .23em; }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 5px; }
.proof-band :focus-visible, .final-cta :focus-visible { outline-color: var(--white); }
::selection { color: var(--white); background: var(--burgundy); }
.shell { width: min(100% - 4rem, 1250px); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 100; padding: .75rem 1rem; color: var(--white); background: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 104px; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; min-width: 0; text-decoration: none; }
.logo { width: 58px; height: 58px; object-fit: contain; }
.brand-name { color: var(--navy); font-weight: 750; font-size: 1.125rem; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.brand-name > span { display: block; margin-top: .3rem; font-size: .75rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.header-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .3rem 1.65rem; font-size: .875rem; font-weight: 600; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.header-nav a:hover { color: var(--burgundy); text-decoration: underline; }

.hero { padding-block: clamp(3rem, 5.5vw, 5rem) 4.75rem; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { margin-bottom: 1.3rem; color: var(--burgundy); font-size: .75rem; font-weight: 750; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 12ch; font-family: var(--serif); font-size: clamp(3rem, 5.1vw, 5.25rem); font-weight: 400; line-height: 1.035; letter-spacing: -.05em; text-wrap: balance; }
h1 em { color: var(--burgundy); font-style: normal; }
.lede { max-width: 43ch; margin-top: 1.75rem; color: var(--muted); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 52px; max-width: 100%; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: 3px; font-size: .9375rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.button.primary { color: var(--white); background: var(--burgundy); border-color: var(--burgundy); }
.button.primary:hover { background: #69283f; border-color: #69283f; }
.button.secondary { color: var(--navy); border-color: #9ba7b9; background: var(--white); }
.button.secondary:hover { border-color: var(--navy); background: var(--pale); }
.button.light { color: var(--burgundy); background: var(--white); border-color: var(--white); }
.button.light:hover { background: #edf0f5; border-color: #edf0f5; }
.micro { max-width: 48ch; margin-top: 1rem; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.hero-visual { min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.hero-photo { width: 100%; flex: 1; min-height: 420px; max-height: 710px; object-fit: cover; object-position: center; }
.hero-visual figcaption { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding-top: .85rem; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.hero-visual figcaption::before { content: ""; flex: 0 0 24px; height: 1px; margin-top: .55rem; background: var(--burgundy); }

.proof-band { padding-block: 3.25rem 2rem; color: var(--white); background: var(--navy); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.stat { min-width: 0; padding-left: 1.25rem; border-left: 1px solid #566079; }
.stat-value { color: var(--white); font-family: var(--serif); font-size: clamp(2.5rem, 3.8vw, 3.875rem); line-height: 1.05; letter-spacing: -.045em; }
.stat-label { margin-top: .7rem; font-size: .9375rem; font-weight: 650; line-height: 1.45; }
.stat-note { display: block; margin-top: .4rem; color: #c6cedb; font-size: .75rem; line-height: 1.5; }
.proof-footnote { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #39445b; color: #c6cedb; font-size: .75rem; line-height: 1.6; }

.section { padding-block: clamp(4rem, 7.5vw, 7rem); }
.section-heading { max-width: 720px; margin-bottom: 2.75rem; }
.section-heading .eyebrow { margin-bottom: 1rem; }
h2 { font-family: var(--serif); font-size: clamp(2.25rem, 3.9vw, 3.75rem); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; }
.section-intro { max-width: 57ch; margin-top: 1.25rem; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; }
.benefit { min-width: 0; padding-top: 1.2rem; border-top: 2px solid var(--burgundy); }
.benefit-number { display: block; margin-bottom: 1.5rem; color: var(--burgundy); font-family: var(--serif); font-size: 1.875rem; line-height: 1; }
.benefit p { margin-top: .9rem; color: var(--muted); font-size: 1rem; }
.study-visual { margin-top: 3rem; }
.study-visual img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: center 55%; }
.study-visual figcaption { margin-top: .75rem; color: var(--muted); font-size: .875rem; }
#recorrido { border-top: 1px solid var(--line); }
.journey-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); }
.journey-layout .section-heading { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.25rem; position: relative; padding-bottom: 2.1rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; bottom: 6px; left: 23px; width: 1px; background: var(--line); }
.step-number { display: flex; justify-content: center; align-items: center; width: 48px; height: 48px; border: 1px solid var(--burgundy); border-radius: 50%; color: var(--burgundy); font-family: var(--serif); font-size: 1.375rem; line-height: 1; }
.steps h3 { margin-top: .2rem; }
.steps p { margin-top: .6rem; color: var(--muted); font-size: 1rem; }

.assistant { background: var(--pale); }
.assistant-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.assistant-grid > div { min-width: 0; }
.assistant-grid h2 { max-width: 16ch; }
.assistant-grid > div > p:not(.eyebrow) { max-width: 52ch; margin-top: 1.5rem; color: var(--muted); }
.check-list { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.75rem; margin-top: .75rem; font-size: 1rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--burgundy); font-weight: 750; }
.assistant-visual { display: grid; place-items: center; min-width: 0; padding: 1.5rem; border: 1px solid #d8e0eb; background: var(--white); }
.robot { width: min(100%, 320px); max-height: 340px; object-fit: contain; }
.assistant-visual figcaption { margin-top: 1rem; color: var(--muted); font-size: .8125rem; line-height: 1.5; text-align: center; }

.review-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: center; }
.review-layout .section-heading { margin-bottom: 0; }
.rating-panel { padding: 1.5rem 0 1.5rem 2rem; border-left: 1px solid var(--line); }
.stars { color: var(--burgundy); font-size: 1.125rem; letter-spacing: .16em; line-height: 1; }
.rating-number { margin-top: .8rem; color: var(--navy); font-family: var(--serif); font-size: 3.875rem; line-height: 1.1; letter-spacing: -.05em; }
.rating-panel h3 { margin-top: .7rem; }
.rating-panel p:not(.stars):not(.rating-number) { margin-top: .65rem; color: var(--muted); font-size: .875rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .6rem; color: var(--burgundy); font-size: .875rem; font-weight: 700; }
.text-link:hover { color: var(--navy); }
.review-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.review-principles article { min-width: 0; }
.review-principles h3 { font-size: 1rem; }
.review-principles p { margin-top: .65rem; color: var(--muted); font-size: .9375rem; }

#curso { padding-top: 0; }
.course-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem 4rem; padding: clamp(1.75rem, 4vw, 3.5rem); border: 1px solid var(--line); border-top: 4px solid var(--burgundy); }
.course-copy { min-width: 0; }
.course-copy h2 { font-size: clamp(2rem, 3vw, 2.875rem); }
.course-copy p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1rem; }
.course-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.course-facts > div { min-width: 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.course-facts h3 { font-size: .9375rem; }
.course-facts p { margin-top: .4rem; color: var(--muted); font-size: .875rem; }
.course-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; }

.final-cta { padding-block: clamp(3.5rem, 6vw, 5.5rem); color: var(--white); background: var(--burgundy); }
.cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: center; }
.final-cta .eyebrow { color: #f0dce4; }
.final-cta h2 { max-width: 20ch; color: var(--white); }
.final-cta p:not(.eyebrow) { max-width: 56ch; margin-top: 1.25rem; color: #f0e2e7; }
.cta-layout > .button { min-width: 200px; }
.site-footer { padding-block: 2rem 1.25rem; color: var(--muted); background: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 3rem; font-size: .8125rem; }
.footer-brand { max-width: 52ch; }
.footer-brand strong { color: var(--navy); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--burgundy); }
.sources { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.6; }
.sources summary { width: fit-content; min-height: 44px; display: list-item; padding-block: .6rem; cursor: pointer; }
.sources ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.sources li { margin-block: .45rem; overflow-wrap: anywhere; }

@media (min-width: 1600px) {
  .hero-photo { min-height: 610px; }
}

@media (max-width: 1050px) {
  .header-inner { gap: 1.5rem; }
  .header-nav { gap: .2rem 1rem; }
  .hero-grid { gap: 2rem; }
  h1 { font-size: clamp(2.875rem, 5.5vw, 4rem); }
  .hero-photo { min-height: 470px; }
  .proof-grid { gap: 1.25rem; }
  .stat { padding-left: 1rem; }
  .benefit-grid, .review-principles { gap: 1.5rem; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-layout { gap: 3rem; }
  .assistant-grid { gap: 3rem; }
  .review-layout { gap: 2.5rem; }
  .course-panel { gap: 2rem; }
  .cta-layout { gap: 2rem; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap: wrap; min-height: auto; gap: .75rem; padding-block: .9rem .6rem; }
  .brand { gap: .65rem; }
  .logo { width: 46px; height: 46px; }
  .brand-name { font-size: 1.0625rem; }
  .header-nav { justify-content: flex-start; width: 100%; gap: 0 1.3rem; font-size: .8125rem; }
  .hero { padding-block: 2.75rem 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .eyebrow { margin-bottom: 1.1rem; font-size: .75rem; }
  h1 { max-width: 13ch; font-size: clamp(2.75rem, 10.9vw, 4.625rem); }
  .lede { margin-top: 1.4rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-photo { min-height: 0; max-height: none; aspect-ratio: 5 / 4; flex: none; }
  .proof-band { padding-block: 2.5rem 1.75rem; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .stat-value { font-size: clamp(2.5rem, 8vw, 3.25rem); }
  .stat-label { font-size: .875rem; }
  .section { padding-block: 3.75rem; }
  .section-heading { margin-bottom: 2rem; }
  h2 { font-size: clamp(2.125rem, 7.8vw, 3rem); }
  .benefit-grid { grid-template-columns: 1fr; gap: 2rem; }
  .benefit-number { margin-bottom: 1rem; }
  .study-visual img { aspect-ratio: 4 / 3; }
  .journey-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .assistant-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .assistant-grid h2 { max-width: 20ch; }
  .assistant-visual { padding: 1.5rem; }
  .robot { width: min(80%, 270px); max-height: 280px; }
  .review-layout { grid-template-columns: 1fr; gap: 2rem; }
  .rating-panel { padding: 1.5rem; border: 1px solid var(--line); }
  .review-principles { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; padding-top: 1.75rem; }
  .course-panel { grid-template-columns: 1fr; padding: 1.5rem; gap: 2rem; }
  .course-actions { grid-column: auto; }
  .cta-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .cta-layout > .button { justify-self: start; min-width: 0; }
  .final-cta { padding-block: 3.25rem; }
  .footer-inner { align-items: flex-start; gap: 1rem; }
}

@media (max-width: 400px) {
  body { font-size: 1rem; }
  .shell { width: calc(100% - 2.25rem); }
  .header-nav { gap: 0 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .proof-grid { gap: 1.75rem 1rem; }
  .stat { padding-left: .75rem; }
  .stat-value { font-size: 2.5rem; }
  .course-facts { gap: 1.5rem 1rem; }
  .course-actions .button { width: 100%; }
  .cta-layout > .button { width: 100%; }
}

@media (max-width: 320px) {
  .shell { width: calc(100% - 2rem); }
  h1 { font-size: 2.375rem; overflow-wrap: anywhere; }
  h2 { font-size: 1.875rem; overflow-wrap: anywhere; }
  .logo { flex-shrink: 0; }
  .proof-grid, .course-facts { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: .8rem; }
  .step-number { width: 40px; height: 40px; }
  .steps li:not(:last-child)::after { top: 44px; left: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  body { font-size: 11pt; }
  .shell { width: 100%; }
  .site-header, .hero-actions, .final-cta, .footer-links, .skip-link { display: none; }
  .hero, .section { padding-block: 1.5rem; }
  .proof-band { color: var(--navy); background: var(--white); border-block: 1px solid var(--line); }
  .stat-value, .stat-note, .proof-footnote { color: var(--navy); }
  .hero-photo { min-height: 0; max-height: 340px; }
  .benefit, .steps li, .assistant-visual, .course-panel { break-inside: avoid; }
}
