.journey-page {
  --page: min(1240px, calc(100% - 64px));
  --navy-950: #081c35;
  --navy-900: #102f56;
  --blue-600: #215bd8;
  --blue-500: #5d8df0;
  --green-600: #3d812d;
  --lime: #d8f279;
  --ink: #142e4b;
  --muted: #52677c;
  --line: #d6e0e9;
  --cream: #f2f6fa;
  background: #f2f6fa;
  color: var(--ink);
  font-family: "Segoe UI", Aptos, system-ui, -apple-system, sans-serif;
}
.journey-page ::selection { color: #081c35; background: #d8f279; }
.journey-page .page-shell { width: var(--page); }
.journey-header {
  position: relative; min-height: 96px; padding: 20px max(32px, calc((100vw - 1240px) / 2));
  display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 28px;
  background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none;
}
.journey-header .brand { flex-shrink: 0; gap: 13px; }
.journey-header .brand img { width: 50px; height: 50px; }
.journey-header .brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 600; letter-spacing: -.055em; }
.journey-header .brand-copy small { margin-top: 7px; color: #39782a; font-size: .75rem; letter-spacing: .12em; }
.journey-tagline { max-width: 320px; margin: 0 0 0 auto; color: var(--muted); font-size: .875rem; line-height: 1.5; text-align: right; }
.journey-header .language-toggle {
  flex-shrink: 0; min-width: 50px; min-height: 46px; border: 1px solid #cbd8e5; border-radius: 50%;
  color: var(--navy-900); background: #f3f7fb; font-size: .875rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.journey-header .language-toggle:hover { background: var(--lime); border-color: #a7c967; transform: translateY(-2px); }
.journey-main { padding-bottom: 22px; }
#journey-progress { display: grid; grid-template-columns: 1fr minmax(0, 760px); gap: 28px; align-items: center; padding: 26px 0; }
.journey-progress-label { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.5; font-weight: 600; }
.journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.journey-steps li {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 0 13px;
  color: #5b6f83; border-bottom: 2px solid #d1dce6; font-size: .875rem; font-weight: 600; line-height: 1.35;
}
.step-number { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border: 1px solid #cbd8e5; border-radius: 50%; color: #52677c; background: transparent; font-size: .8125rem; font-weight: 750; }
.journey-steps li[aria-current="step"] { color: var(--navy-900); border-color: var(--blue-600); font-weight: 750; }
.journey-steps [aria-current="step"] .step-number { color: #fff; border-color: var(--blue-600); background: var(--blue-600); box-shadow: 0 0 0 5px #e4edfc; }
.journey-steps .previous-step { border-color: #a1be82; }
.journey-steps .previous-step .step-number { color: #34581b; border-color: #c9dfa5; background: #e9f2d9; }
.journey-copy { min-width: 0; }
.journey-copy .eyebrow { margin: 0 0 20px; gap: 12px; color: #265bbc; font-size: .8125rem; letter-spacing: .14em; line-height: 1.5; font-weight: 750; }
.journey-copy .eyebrow::before { width: 28px; height: 2px; background: #5c983d; }
.journey-copy h1 { max-width: 19ch; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.7rem, 4.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.journey-lede { margin: 24px 0 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.journey-copy .transparent-note, .welcome-intro .transparent-note { margin: 23px 0 0; padding-left: 14px; border-left: 2px solid #8cb553; font-size: .875rem; font-weight: 500; line-height: 1.6; color: var(--muted); }
.welcome-hero {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "copy media" "intro media" "action media";
  column-gap: clamp(30px, 4.4vw, 66px); row-gap: 25px;
  padding: clamp(30px, 4.2vw, 58px); margin: 5px 0 24px;
  color: #fff; background: linear-gradient(120deg, #0a203f 0%, #143d6a 100%);
  border: 1px solid #173b60; border-radius: 30px;
  box-shadow: 0 26px 65px -36px #173b6077;
}
.welcome-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(ellipse at 90% 10%, #4266a344, transparent 50%), linear-gradient(120deg, transparent 63%, #ffffff06 63%, #ffffff06 75%, transparent 75%); }
.welcome-hero > .journey-copy { grid-area: copy; align-self: end; }
.welcome-hero .journey-copy .eyebrow { color: var(--lime); margin-bottom: 21px; }
.welcome-hero .journey-copy .eyebrow::before { background: var(--lime); }
.welcome-hero .journey-copy h1 { max-width: 16ch; color: #fff; font-size: clamp(2.65rem, 4.35vw, 4.5rem); }
.welcome-hero h1 span, .welcome-hero h1 em { display: block; }
.welcome-hero h1 em { margin-top: .12em; color: var(--lime); font-weight: 400; }
.welcome-intro { grid-area: intro; max-width: 47ch; margin: 0; }
.welcome-intro .journey-lede { margin: 0; color: #d3deeb; font-size: 1rem; line-height: 1.65; }
.welcome-intro .transparent-note { margin-top: 19px; color: #b9c9db; border-color: #718f59; }
.journey-media { position: relative; min-width: 0; margin: 0; }
.welcome-hero > .journey-media { grid-area: media; align-self: center; margin: 0; }
.media-frame { position: relative; isolation: isolate; padding: 12px; border: 1px solid #ffffff40; border-radius: 23px; background: #ffffff13; box-shadow: 0 20px 50px -30px #000; }
.welcome-hero .media-frame::before { content: ""; position: absolute; z-index: -1; inset: -16px 20px 12px -13px; border: 1px solid #b8d97b65; border-radius: 24px; transform: rotate(-4deg); pointer-events: none; }
.media-frame-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 3px 14px; color: #d7e4f3; font-size: .75rem; line-height: 1.5; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.media-frame-top > span:first-child { display: inline-grid; place-items: center; min-width: 32px; height: 27px; padding: 0 5px; color: var(--lime); border: 1px solid #9eb36a70; border-radius: 7px; letter-spacing: 0; }
.journey-media .video-slot { position: relative; aspect-ratio: 16 / 9; border: 1px solid #ffffff25; border-radius: 16px; overflow: hidden; background: var(--navy-950); box-shadow: none; }
.journey-media .video-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s; }
.journey-media .video-slot iframe, .journey-media .video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.journey-media .video-slot video { background: #08111e; object-fit: contain; }
.journey-media .video-overlay { background: linear-gradient(180deg, #081c3500 0%, #081c3522 25%, #081c35ef 100%); }
.journey-media .video-placeholder-content { left: 24px; right: 24px; bottom: 23px; }
.journey-media .video-kicker { margin-bottom: 8px; font-size: .75rem; letter-spacing: .11em; color: var(--lime); }
.journey-media .video-placeholder-content strong { max-width: 24ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.3vw, 2rem); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.journey-media .video-placeholder-content small { color: #d9e4f1; font-size: .8125rem; line-height: 1.4; margin-top: 8px; }
.journey-media figcaption { margin: 14px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; text-align: center; }
.journey-media .media-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 18px 8px 4px; color: #d7e5ee; font-size: .875rem; text-align: left; }
.media-caption::before { content: ""; flex: 0 0 28px; height: 1px; background: #8cac62; }
.journey-forward { max-width: 600px; margin: 31px auto 0; text-align: center; }
.journey-forward .button {
  position: relative; display: inline-flex; justify-content: center; gap: 24px; min-width: 310px; max-width: 100%; min-height: 60px;
  padding: 17px 24px; border: 1px solid #b5d66b; border-radius: 13px; color: #122a23; background: var(--lime);
  box-shadow: 0 12px 28px -18px #647c24; font-size: 1rem; font-weight: 750; line-height: 1.4;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.journey-forward .button::after { content: "→"; flex: 0 0 auto; font-size: 1.35rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.journey-forward .button:hover { color: #122a23; background: #e4f89e; box-shadow: 0 16px 30px -18px #45632488; transform: translateY(-2px); }
.journey-forward .button:hover::after { transform: translateX(4px); }
.journey-forward p { max-width: 52ch; margin: 13px auto 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.welcome-hero > .journey-forward { grid-area: action; align-self: start; margin: 4px 0 0; text-align: left; }
.welcome-hero .journey-forward .button { min-width: min(100%, 325px); }
.welcome-hero .journey-forward p { max-width: 42ch; margin-left: 0; color: #bed0e2; }
.journey-forward [aria-disabled="true"], .journey-forward [aria-disabled="true"]:hover { color: #506272; background: #e1e8ee; border-color: #c9d5de; box-shadow: none; cursor: not-allowed; transform: none; }
.journey-forward [aria-disabled="true"]::after { content: none; }
.journey-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(38px, 5vw, 76px); padding: 29px 0 38px; }
[data-page="liderazgo"] .journey-hero .journey-media { padding: 14px; border: 1px solid #d3deea; border-radius: 25px; background: #fff; box-shadow: 14px 16px 0 -3px #dce6f1, 0 18px 40px -30px #123a7866; }
[data-page="liderazgo"] .media-frame-top { color: #4d6680; padding-left: 4px; }
[data-page="liderazgo"] .media-frame-top > span:first-child { color: #426322; background: #edf3e1; border-color: #d5e2bd; }
.journey-summary { padding: 30px; margin: 16px 0 0; border: 1px solid #d3deea; border-radius: 23px; background: #fff; }
.journey-summary h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 2.8vw, 2.3rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; color: var(--navy-950); }
.journey-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid #dce5ee; }
.journey-points li { display: grid; grid-template-columns: 1fr; align-content: start; gap: 15px; padding: 26px 25px 4px; border-left: 1px solid #dce5ee; }
.journey-points li:first-child { border-left: 0; padding-left: 0; }
.journey-points li:last-child { padding-right: 0; }
.point-index { width: fit-content; color: #73899f; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.journey-points li:last-child .point-index { color: #438331; }
.journey-points h3 { color: #123a60; font-family: "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.02em; }
.journey-points p { margin: 10px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.contact-hero { max-width: 1020px; margin: 0 auto; grid-template-columns: 1fr; gap: 27px; padding: 25px 0 27px; }
.contact-hero .journey-copy { text-align: center; }
.contact-hero .journey-copy .eyebrow { justify-content: center; }
.contact-hero .journey-copy h1 { max-width: 21ch; margin-inline: auto; font-size: clamp(2.7rem, 4.6vw, 4rem); }
.contact-hero .journey-media { padding: 12px; border: 1px solid #c1d1e0; border-radius: 25px; background: #fff; box-shadow: 0 23px 55px -35px #102f56aa; }
.contact-hero .video-slot { border-radius: 15px; border-color: #142e4b1a; }
.contact-hero + .journey-forward { margin-top: 0; }
.journey-back { display: block; width: fit-content; max-width: 100%; margin: 22px auto 4px; padding: 10px; color: #546b81; font-size: .875rem; line-height: 1.5; text-underline-offset: 5px; }
.journey-back:hover { color: var(--blue-600); }
.journey-page a:focus-visible, .journey-page button:focus-visible, .journey-page input:focus-visible, [data-contact-status]:focus-visible { outline: 3px solid #5c8dea; outline-offset: 4px; }
.welcome-hero a:focus-visible { outline-color: #fff; }
.journey-footer { margin-top: 28px; padding: 36px 0 112px; color: #c3d0df; background: var(--navy-950); border-top: 1px solid #25415e; }
.journey-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid #ffffff22; }
.journey-footer-top > strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; letter-spacing: -.04em; }
.journey-social { display: flex; flex-wrap: wrap; gap: 22px; color: #dce8f4; font-size: .875rem; }
.journey-social a { padding: 10px 0; text-underline-offset: 5px; text-decoration-color: #6e8a63; }
.journey-social a:hover { color: var(--lime); }
.journey-footer p { max-width: 820px; margin: 18px 0 12px; color: #b6c6d8; font-size: .875rem; line-height: 1.6; }
.journey-footer small { color: #9aadc2; font-size: .8125rem; }
.journey-page .chat-launcher { min-width: 0; gap: 10px; min-height: 58px; padding: 10px 16px; background: #12335a; border: 1px solid #527295; border-radius: 17px; box-shadow: 0 9px 30px #081c3533; }
.journey-page .chat-launcher .status-dot { display: none; }
.journey-page .chat-launcher-copy strong { font-size: .875rem; }
.journey-page .chat-launcher-copy small { display: block; font-size: .75rem; color: #c0d1e6; }
.journey-page .chat-launcher > svg { width: 24px; height: 24px; color: var(--lime); }
.journey-page .chat-panel { visibility: hidden; grid-template-rows: auto minmax(0, 1fr) auto; border-color: #b3c7da; border-radius: 22px; }
.journey-page .chat-panel.is-open { visibility: visible; }
.journey-page .chat-message { font-size: 1rem; }
.journey-page .chat-heading small { font-size: .75rem; }
.journey-page .chat-form input { font-size: 16px; }
.journey-page .chat-close, .journey-page .chat-quick-button { min-height: 44px; }
.journey-page .chat-quick-button { font-size: .875rem; }
.journey-page .chat-guide-context { font-size: .875rem; }
.journey-page .chat-guide-context button { min-height: 44px; font-size: .8125rem; }
.video-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; color: #fff; text-align: center; }
.video-error p { margin: 0; font-size: 1rem; }
.video-error a { padding: 11px 18px; color: var(--navy-950); background: var(--lime); border-radius: 10px; font-weight: 700; text-underline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .welcome-hero .journey-media:hover .video-slot > img { transform: scale(1.025); }
}
@media (max-width: 1050px) {
  .journey-page { --page: calc(100% - 44px); }
  .journey-header { padding-inline: 22px; }
  #journey-progress { grid-template-columns: 1fr; gap: 9px; padding: 22px 0; }
  .welcome-hero { column-gap: 28px; padding: 34px; }
  .welcome-hero .journey-copy h1 { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
  .welcome-hero .media-frame { padding: 8px; }
  .journey-media .video-placeholder-content { left: 17px; right: 17px; bottom: 17px; }
  .journey-media .video-placeholder-content small { display: none; }
  .journey-hero { gap: 32px; }
  .journey-copy h1 { font-size: 3rem; }
}
@media (max-width: 780px) {
  .journey-page { --page: calc(100% - 32px); }
  .journey-header { min-height: 82px; padding: 15px 16px; gap: 15px; }
  .journey-header .brand img { width: 43px; height: 43px; }
  .journey-header .brand-copy strong { font-size: 1.55rem; }
  .journey-header .brand-copy small { font-size: .75rem; letter-spacing: .055em; }
  .journey-tagline { display: none; }
  .journey-header .language-toggle { margin-left: auto; min-width: 47px; min-height: 44px; }
  #journey-progress { padding: 18px 0 20px; gap: 10px; }
  .journey-progress-label { font-size: .8125rem; }
  .journey-steps { gap: 10px; }
  .journey-steps li { align-items: flex-start; flex-direction: column; gap: 9px; padding: 5px 0 12px; font-size: .875rem; }
  .step-number { width: 28px; height: 28px; font-size: .75rem; }
  .welcome-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "media" "action" "intro"; padding: 30px 24px; gap: 26px; border-radius: 24px; margin-top: 0; }
  .welcome-hero .journey-copy h1 { max-width: 22ch; font-size: clamp(2.5rem, 7.6vw, 3.4rem); }
  .welcome-hero .journey-copy .eyebrow { margin-bottom: 16px; }
  .welcome-hero .journey-media { width: 100%; }
  .welcome-hero .media-frame::before { inset: -8px 13px 9px -6px; transform: rotate(-2deg); }
  .welcome-hero .journey-forward { margin-top: 0; }
  .welcome-hero .journey-forward .button { min-width: 0; width: 100%; }
  .welcome-hero .journey-forward p { max-width: none; text-align: center; }
  .welcome-intro { max-width: none; padding-top: 20px; border-top: 1px solid #ffffff26; }
  .welcome-intro .journey-lede { font-size: 1rem; }
  .welcome-intro .transparent-note { margin-top: 16px; }
  .journey-media .video-placeholder-content small { display: block; }
  .journey-media .video-placeholder-content strong { font-size: clamp(1.25rem, 4vw, 1.8rem); }
  .journey-media .media-caption { padding-top: 15px; font-size: .875rem; }
  .journey-media .video-kicker { margin-bottom: 6px; font-size: .75rem; letter-spacing: .04em; }
  .journey-media .video-slot { border-radius: 12px; }
  .journey-hero { grid-template-columns: 1fr; padding: 14px 0 24px; gap: 26px; }
  .journey-copy h1 { max-width: 22ch; font-size: clamp(2.5rem, 7.5vw, 3.3rem); }
  .journey-copy .eyebrow { margin-bottom: 17px; font-size: .8125rem; letter-spacing: .08em; }
  .journey-lede { margin-top: 20px; font-size: 1rem; line-height: 1.65; }
  [data-page="liderazgo"] .journey-hero .journey-media { padding: 11px; box-shadow: 7px 9px 0 -2px #dce6f1; }
  .journey-summary { margin-top: 12px; padding: 25px 24px; border-radius: 22px; }
  .journey-summary h2 { font-size: 1.9rem; }
  .journey-points { grid-template-columns: 1fr; margin-top: 22px; }
  .journey-points li, .journey-points li:first-child, .journey-points li:last-child { grid-template-columns: 37px minmax(0, 1fr); gap: 17px; padding: 23px 0; border-left: 0; border-bottom: 1px solid #dce5ee; }
  .journey-points li:last-child { padding-bottom: 0; border-bottom: 0; }
  .point-index { font-size: 1.75rem; line-height: 1.1; }
  .journey-points p { margin-top: 7px; }
  .journey-forward { margin-top: 24px; }
  .journey-forward .button { width: 100%; min-width: 0; padding: 17px 20px; gap: 16px; }
  .contact-hero { gap: 23px; padding-top: 16px; }
  .contact-hero .journey-copy { text-align: left; }
  .contact-hero .journey-copy .eyebrow { justify-content: flex-start; }
  .contact-hero .journey-copy h1 { margin: 0; max-width: 20ch; font-size: clamp(2.5rem, 7.5vw, 3.3rem); }
  .contact-hero .journey-media { padding: 7px; border-radius: 19px; }
  .contact-hero .video-slot { border-radius: 12px; }
  .journey-footer { margin-top: 18px; padding-top: 28px; padding-bottom: 112px; }
  .journey-footer-top { gap: 20px; }
  .journey-footer-top > strong { font-size: 1.7rem; }
  .journey-social { gap: 18px; }
  .journey-page .chat-panel { right: 10px; bottom: 91px; width: calc(100vw - 20px); max-height: calc(100dvh - 108px); }
  .journey-page .chat-launcher { right: 12px; bottom: 12px; padding: 10px 13px; min-height: 56px; }
}
@media (max-width: 400px) {
  .journey-page { --page: calc(100% - 24px); }
  .journey-header .brand { gap: 9px; }
  .journey-header .brand-copy strong { font-size: 1.4rem; }
  .journey-header .brand-copy small { font-size: .75rem; letter-spacing: .015em; }
  .welcome-hero { padding: 25px 19px; gap: 23px; }
  .welcome-hero .journey-copy h1 { font-size: 2.4rem; }
  .journey-media .video-placeholder-content { left: 14px; right: 14px; bottom: 14px; }
  .journey-media .video-placeholder-content small { display: none; }
  .journey-media .media-caption { font-size: .8125rem; gap: 9px; padding-inline: 0; }
  .media-caption::before { flex-basis: 16px; }
  .journey-footer-top { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-page *, .journey-page *::before, .journey-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
