/* The team photograph and the animated process each have their own space. */
body[data-visual="polished"] .team-hero { min-height: 570px; padding-block: 70px; }
body[data-visual="polished"] .team-hero .hero-photo { opacity: 1; height: 100%; width: 100%; object-position: center 25%; }
body[data-visual="polished"] .team-hero::after { background: linear-gradient(to left,#0b273c 0%,#0b273cf5 30%,#0b273cdb 42%,#0b273c45 64%,#0b273c12 100%); }
[dir="ltr"] body[data-visual="polished"] .team-hero .hero-photo { transform: scaleX(-1); }
[dir="ltr"] body[data-visual="polished"] .team-hero::after { background: linear-gradient(to right,#0b273c 0%,#0b273cf5 30%,#0b273cdb 42%,#0b273c45 64%,#0b273c12 100%); }
.journey-section { --journey-ease: cubic-bezier(.16,1,.3,1); padding-block: 64px 36px; background: #f2f8f5; color: var(--navy); }
.journey-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.journey-heading h2 { font-size: clamp(28px,3vw,38px); margin: 0; font-weight: 600; line-height: 1.4; }
.journey-heading > p { margin: 0; color: #526d69; font-size: 16px; }
.journey-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.journey-stages { list-style: none; padding: 0; margin: 0; position: relative; }
.journey-stages::before { content: ""; position: absolute; width: 1px; background: #c4d9d2; top: 24px; bottom: 24px; inset-inline-start: 21px; }
.journey-stage { position: relative; display: flex; gap: 16px; align-items: start; padding-block: 10px; }
.workflow-node { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; background: #f2f8f5; color: #52716a; border: 1px solid #c4d9d2; border-radius: 50%; transition: background-color 350ms,color 350ms,border-color 350ms; }
.workflow-node .icon { width: 22px; height: 22px; }
.journey-stage h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.6; color: #46635f; transition: color 350ms; }
.journey-stage p { font-size: 13px; line-height: 1.8; color: #526d69; margin: 0; }
.journey-stage[aria-current="step"] .workflow-node { color: #fff; background: #007f7c; border-color: #007f7c; }
.journey-stage[aria-current="step"] h3 { color: #006c68; }
.journey-demonstration { min-width: 0; }
.journey-scene { position: relative; height: 380px; background: #12334f; border-radius: 16px; overflow: hidden; direction: inherit; }
.journey-stage-count { position: absolute; top: 18px; inset-inline-end: 20px; display: flex; gap: 7px; direction: ltr; color: #b6d8d3; font-size: 12px; font-variant-numeric: tabular-nums; }
.journey-stage-count [data-phase-number] { color: #fff; font-weight: 600; }
.journey-file { --file-shift: -16px; --file-y: 0px; position: absolute; top: 32px; left: 50%; width: 310px; padding: 0 22px 20px; border-radius: 12px; background: #fff; color: #12334f; box-shadow: 0 14px 32px #041c2d42; transform: translate(calc(-50% + var(--file-shift)),var(--file-y)); transition: transform 900ms var(--journey-ease); }
.journey-file-heading { display: flex; align-items: center; gap: 9px; padding-block: 16px; border-bottom: 1px solid #dbe9e5; font-size: 14px; font-weight: 600; }
.journey-file-heading > .icon { color: #007f7c; width: 22px; height: 22px; }
.journey-file-mark { margin-inline-start: auto; font-size: 26px; font-weight: 600; color: #007f7c; line-height: 1; direction: ltr; }
.journey-file-mark > span { font-size: 17px; }
.journey-file-row { display: flex; gap: 10px; align-items: center; padding-block: 10px; font-size: 12px; border-bottom: 1px solid #edf3f1; }
.journey-file-row > .icon { color: #58776f; width: 18px; height: 18px; }
.journey-check { margin-inline-start: auto; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: #def2e9; color: #00766b; opacity: 0; transform: scale(.8); transition: opacity 400ms,transform 500ms var(--journey-ease); }
.journey-check .icon { width: 15px; height: 15px; }
.journey-file-lines { padding-top: 17px; display: grid; gap: 8px; }
.journey-file-lines i { height: 4px; background: #d8e8e2; border-radius: 2px; width: 75%; }
.journey-file-lines i + i { width: 48%; }
.journey-action { position: absolute; bottom: 40px; inset-inline-end: 24px; display: flex; align-items: center; gap: 12px; min-height: 66px; width: min(315px,calc(100% - 48px)); padding: 15px 18px; background: #dff6ed; color: #123f42; border-radius: 10px; box-shadow: 0 8px 20px #041c2d33; opacity: 0; transform: translateY(16px); transition: opacity 300ms,transform 650ms var(--journey-ease); font-size: 13px; font-weight: 500; overflow: hidden; }
.journey-action > .icon { color: #007b72; width: 26px; height: 26px; flex-shrink: 0; }
.journey-choice-mark { margin-inline-start: auto; color: #007b72; }
.journey-choice-mark .icon { width: 21px; height: 21px; }
.journey-action.action-update { background: #e5f7f1; }
.action-update > .icon:last-child { margin-inline-start: auto; width: 22px; height: 22px; }
.journey-scan-line { position: absolute; inset-inline: 14px; top: 68px; height: 2px; background: #009c98; opacity: 0; }
.journey-prepared-files { display: flex; gap: 4px; margin-inline-start: auto; }
.journey-prepared-files i { display: block; height: 25px; width: 18px; border: 1px solid #73ad9e; border-radius: 3px; background: #fff; }
.journey-route-dots { display: flex; gap: 5px; margin-inline-start: auto; }
.journey-route-dots i { width: 7px; height: 7px; border-radius: 50%; background: #008b7a; }
.journey-track { position: absolute; inset-inline: 30px; bottom: 16px; height: 10px; display: flex; justify-content: space-between; align-items: center; direction: inherit; }
.journey-track::before,.journey-track > span { content: ""; position: absolute; top: 4px; inset-inline: 0; height: 1px; background: #52756f; }
.journey-track > span { background: #8ae1c5; transform: scaleX(0); transform-origin: right; transition: transform 3.5s linear; }
[dir="ltr"] .journey-track > span { transform-origin: left; }
.journey-track i { position: relative; z-index: 1; width: 7px; height: 7px; background: #52756f; border-radius: 50%; }
.journey-note { margin: 24px 0 0; color: #526d69; font-size: 12px; text-align: center; }
.journey-mobile-caption { display: none; }
[data-workflow][data-phase="0"] .action-choice,
[data-workflow][data-phase="1"] .action-review,
[data-workflow][data-phase="2"] .action-prepare,
[data-workflow][data-phase="3"] .action-follow,
[data-workflow][data-phase="4"] .action-update { opacity: 1; transform: translateY(0); }
[data-workflow]:is([data-phase="1"],[data-phase="2"],[data-phase="3"],[data-phase="4"]) .check-service,
[data-workflow]:is([data-phase="2"],[data-phase="3"],[data-phase="4"]) .check-documents,
[data-workflow][data-phase="4"] .check-procedure { opacity: 1; transform: scale(1); }
[data-workflow][data-phase="1"] .journey-file { --file-shift: 0px; --file-y: -5px; }
[data-workflow][data-phase="2"] .journey-file { --file-shift: 16px; --file-y: 0px; }
[data-workflow][data-phase="3"] .journey-file { --file-shift: 6px; --file-y: -5px; }
[data-workflow][data-phase="4"] .journey-file { --file-shift: -6px; --file-y: 0px; }
[data-workflow][data-phase="1"] .journey-track > span { transform: scaleX(.25); }
[data-workflow][data-phase="2"] .journey-track > span { transform: scaleX(.5); }
[data-workflow][data-phase="3"] .journey-track > span { transform: scaleX(.75); }
[data-workflow][data-phase="4"] .journey-track > span { transform: scaleX(1); }
[data-workflow][data-phase="0"] .journey-track i:nth-of-type(1),
[data-workflow][data-phase="1"] .journey-track i:nth-of-type(-n+2),
[data-workflow][data-phase="2"] .journey-track i:nth-of-type(-n+3),
[data-workflow][data-phase="3"] .journey-track i:nth-of-type(-n+4),
[data-workflow][data-phase="4"] .journey-track i { background: #8ae1c5; }
[data-workflow][data-phase="1"] .journey-scan-line { animation: journey-scan 2.2s ease-in-out infinite; }
[data-workflow][data-phase="2"] .journey-prepared-files i { animation: journey-file-ready 1.4s var(--journey-ease) both; }
[data-workflow][data-phase="2"] .journey-prepared-files i:nth-child(2) { animation-delay: .15s; }
[data-workflow][data-phase="2"] .journey-prepared-files i:nth-child(3) { animation-delay: .3s; }
[data-workflow][data-phase="3"] .journey-route-dots i { animation: journey-dot 1.5s ease-in-out infinite; }
[data-workflow][data-phase="3"] .journey-route-dots i:nth-child(2) { animation-delay: .2s; }
[data-workflow][data-phase="3"] .journey-route-dots i:nth-child(3) { animation-delay: .4s; }
[data-workflow][data-running="false"] * { animation-play-state: paused !important; }
@keyframes journey-scan { 0%,100% { opacity: 0; transform: translateY(0); } 20% { opacity: .65; } 80% { opacity: .65; transform: translateY(130px); } 95% { opacity: 0; transform: translateY(130px); } }
@media (min-width: 901px) {
  .journey-file { --file-shift: -40px; }
  [data-workflow][data-phase="2"] .journey-file { --file-shift: 40px; }
  [data-workflow][data-phase="3"] .journey-file { --file-shift: 16px; }
  [data-workflow][data-phase="4"] .journey-file { --file-shift: -16px; }
}
@keyframes journey-file-ready { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes journey-dot { 0%,100% { opacity: .4; transform: translateY(0); } 45% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 1100px) { .journey-layout { gap: 36px; } .journey-file { width: 280px; } }
@media (max-width: 900px) {
  body[data-visual="polished"] .team-hero { display: block; padding: 44px 0 360px; min-height: 0; }
  body[data-visual="polished"] .team-hero .hero-photo { inset: auto 0 0; height: 340px; object-position: left 35%; }
  [dir="ltr"] body[data-visual="polished"] .team-hero .hero-photo { transform: none; }
  body[data-visual="polished"] .team-hero::after,[dir="ltr"] body[data-visual="polished"] .team-hero::after { inset: auto 0 0; height: 360px; background: linear-gradient(0deg,#0b273c0d 65%,#0b273c); }
  .journey-section { padding-block: 48px 28px; }
  .journey-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 26px; }
  .journey-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
  .journey-file { width: 250px; padding-inline: 16px; }
  .journey-stage { gap: 12px; }
  .journey-stage h3 { font-size: 15px; }
  .journey-stage p { font-size: 12px; }
  .journey-action { inset-inline-end: 14px; width: calc(100% - 28px); padding-inline: 14px; font-size: 12px; }
}
@media (max-width: 640px) {
  body[data-visual="polished"] .team-hero { padding: 34px 0 270px; }
  body[data-visual="polished"] .team-hero .hero-photo { height: 250px; object-position: left 35%; }
  body[data-visual="polished"] .team-hero::after,[dir="ltr"] body[data-visual="polished"] .team-hero::after { height: 270px; }
  .journey-section { padding-block: 38px 26px; }
  .journey-heading h2 { font-size: 29px; }
  .journey-heading > p { font-size: 14px; }
  .journey-layout { display: flex; flex-direction: column; gap: 22px; }
  .journey-demonstration { width: 100%; order: 0; }
  .journey-stages { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; width: 100%; order: 1; }
  .journey-stages::before { width: auto; height: 1px; top: 20px; bottom: auto; inset-inline: 24px; }
  .journey-stage { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; min-width: 0; }
  .workflow-node { width: 40px; height: 40px; flex-basis: 40px; }
  .workflow-node .icon { width: 20px; height: 20px; }
  .journey-stage h3 { font-size: 11px; line-height: 1.7; margin: 0; }
  .journey-stage p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .journey-scene { height: 330px; }
  .journey-file { width: min(260px,calc(100% - 54px)); top: 24px; padding-inline: 17px; padding-bottom: 16px; }
  .journey-file-heading { padding-block: 13px; font-size: 13px; }
  .journey-file-row { padding-block: 8px; font-size: 11px; gap: 8px; }
  .journey-file-heading > .icon { width: 20px; height: 20px; }
  .journey-file-lines { padding-top: 12px; }
  .journey-stage-count { font-size: 10px; top: 10px; inset-inline-end: 12px; }
  .journey-action { bottom: 33px; min-height: 59px; padding: 12px 14px; width: calc(100% - 32px); inset-inline-end: 16px; font-size: 12px; gap: 9px; }
  .journey-action > .icon { width: 23px; height: 23px; }
  .journey-track { inset-inline: 22px; bottom: 13px; }
  .journey-mobile-caption { display: block; padding-top: 20px; min-height: 144px; }
  .journey-mobile-caption strong { display: block; font-size: 19px; font-weight: 600; margin-bottom: 5px; }
  .journey-mobile-caption p { font-size: 14px; line-height: 1.8; margin: 0; color: #526d69; }
  .journey-note { text-align: start; line-height: 1.8; font-size: 11px; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-workflow] *,[data-workflow] *::before,[data-workflow] *::after { animation: none !important; transition: none !important; }
  .journey-file { --file-shift: 0px !important; --file-y: 0px !important; }
  .journey-stage p { position: static; width: auto; height: auto; clip-path: none; white-space: normal; }
  .journey-stages { display: block; }
  .journey-stages::before { display: none; }
  .journey-stage { flex-direction: row; text-align: start; margin-block: 16px; align-items: start; }
  .journey-stage h3 { font-size: 15px; }
  .journey-stage p { font-size: 13px; }
  .journey-mobile-caption { display: none; }
}
