/* Rasa Web home hero slider — server-rendered first frame, 3 locales, 2 themes. */
.rw-home-hero {
  --rw-hero-accent: #087cff;
  --rw-hero-cyan: #2cc8f4;
  --rw-hero-ink: #071833;
  --rw-hero-muted: #526986;
  --rw-hero-surface: rgba(255, 255, 255, 0.72);
  --rw-hero-surface-strong: rgba(255, 255, 255, 0.9);
  --rw-hero-line: rgba(35, 112, 193, 0.19);
  --rw-hero-shadow: 0 28px 80px rgba(22, 70, 120, 0.16);
  --rw-hero-shift-x: 0px;
  --rw-hero-shift-y: 0px;
  --rw-hero-duration: 7600ms;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(820px, 96svh, 940px);
  overflow: clip;
  color: var(--rw-hero-ink);
  background: #eaf3fc;
  font-family: inherit;
}

.rw-home-hero,
.rw-home-hero * {
  box-sizing: border-box;
}

html.theme-dark .rw-home-hero {
  --rw-hero-ink: #f5f9ff;
  --rw-hero-muted: #a9bed7;
  --rw-hero-surface: rgba(7, 28, 55, 0.68);
  --rw-hero-surface-strong: rgba(8, 30, 58, 0.91);
  --rw-hero-line: rgba(99, 186, 255, 0.2);
  --rw-hero-shadow: 0 32px 90px rgba(0, 7, 20, 0.42);
  background: #04152a;
}

.rw-home-hero__backdrops,
.rw-home-hero__backdrop,
.rw-home-hero__backdrop img,
.rw-home-hero__grid,
.rw-home-hero__glow {
  position: absolute;
  inset: 0;
}

.rw-home-hero__backdrops {
  z-index: -4;
  overflow: hidden;
  background: #dceaf8;
}

html.theme-dark .rw-home-hero__backdrops {
  background: #04152a;
}

.rw-home-hero__backdrops::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(to left, rgba(242, 248, 255, 0.99) 2%, rgba(242, 248, 255, 0.9) 38%, rgba(234, 244, 253, 0.47) 62%, rgba(225, 239, 251, 0.18) 100%),
    linear-gradient(to bottom, rgba(241, 248, 255, 0.26), rgba(233, 243, 252, 0.68));
}

.rw-home-hero[dir="ltr"] .rw-home-hero__backdrops::after {
  background:
    linear-gradient(to right, rgba(242, 248, 255, 0.99) 2%, rgba(242, 248, 255, 0.9) 38%, rgba(234, 244, 253, 0.47) 62%, rgba(225, 239, 251, 0.18) 100%),
    linear-gradient(to bottom, rgba(241, 248, 255, 0.26), rgba(233, 243, 252, 0.68));
}

html.theme-dark .rw-home-hero__backdrops::after {
  background:
    linear-gradient(to left, rgba(3, 17, 35, 0.98) 0%, rgba(4, 20, 40, 0.89) 39%, rgba(4, 20, 40, 0.36) 67%, rgba(2, 13, 28, 0.15) 100%),
    linear-gradient(to bottom, rgba(2, 14, 30, 0.22), rgba(3, 17, 35, 0.82));
}

html.theme-dark .rw-home-hero[dir="ltr"] .rw-home-hero__backdrops::after {
  background:
    linear-gradient(to right, rgba(3, 17, 35, 0.98) 0%, rgba(4, 20, 40, 0.89) 39%, rgba(4, 20, 40, 0.36) 67%, rgba(2, 13, 28, 0.15) 100%),
    linear-gradient(to bottom, rgba(2, 14, 30, 0.22), rgba(3, 17, 35, 0.82));
}

.rw-home-hero__backdrop {
  z-index: 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1), visibility 850ms step-end;
}

.rw-home-hero__backdrop.is-active {
  z-index: 2;
  opacity: 0.66;
  visibility: visible;
  transition: opacity 950ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0ms step-start;
}

html.theme-dark .rw-home-hero__backdrop.is-active {
  opacity: 0.9;
}

.rw-home-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: brightness(1.32) saturate(0.74) contrast(0.9);
  transform: translate3d(var(--rw-hero-shift-x), var(--rw-hero-shift-y), 0) scale(1.025);
  transform-origin: 35% 50%;
  transition: transform 8s cubic-bezier(0.2, 0.65, 0.25, 1), filter 350ms ease;
  will-change: transform;
}

.rw-home-hero[dir="ltr"] .rw-home-hero__backdrop img {
  object-position: right center;
  transform: translate3d(var(--rw-hero-shift-x), var(--rw-hero-shift-y), 0) scaleX(-1) scale(1.025);
  transform-origin: 65% 50%;
}

.rw-home-hero__backdrop.is-active img {
  transform: translate3d(var(--rw-hero-shift-x), var(--rw-hero-shift-y), 0) scale(1.075);
}

.rw-home-hero[dir="ltr"] .rw-home-hero__backdrop.is-active img {
  transform: translate3d(var(--rw-hero-shift-x), var(--rw-hero-shift-y), 0) scaleX(-1) scale(1.075);
}

html.theme-dark .rw-home-hero__backdrop img {
  filter: brightness(0.92) saturate(1.02) contrast(1.04);
}

.rw-home-hero__grid {
  z-index: -2;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 121, 209, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 121, 209, 0.085) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 74%, transparent);
}

html.theme-dark .rw-home-hero__grid {
  opacity: 0.26;
}

.rw-home-hero__glow {
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 30%, rgba(43, 193, 246, 0.18), transparent 28%),
    radial-gradient(circle at 82% 68%, rgba(8, 124, 255, 0.11), transparent 30%);
}

.rw-home-hero__frame {
  position: relative;
  z-index: 2;
  width: min(100% - clamp(34px, 7vw, 112px), 1360px);
  min-height: inherit;
  margin-inline: auto;
  padding-block: clamp(130px, 15vh, 168px) 64px;
}

.rw-home-hero__viewport {
  position: relative;
  min-height: 630px;
}

.rw-home-hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
  transition: opacity 380ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1), visibility 620ms step-end;
}

.rw-home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: opacity 560ms ease 130ms, transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 90ms, visibility 0ms step-start;
}

.rw-home-hero__copy {
  grid-column: 1;
  width: min(100%, 720px);
  text-align: start;
}

/* The persistent route rail occupies the physical left edge on desktop. */
.rw-home-hero[dir="ltr"] .rw-home-hero__copy {
  padding-inline-start: 44px;
}

.rw-home-hero__slide:not(.is-active) .rw-home-hero__copy > *,
.rw-home-hero__slide:not(.is-active) .rw-home-hero__visual {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.rw-home-hero__slide.is-active .rw-home-hero__copy > *,
.rw-home-hero__slide.is-active .rw-home-hero__visual {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 620ms ease calc(150ms + var(--rw-enter, 0) * 75ms),
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1) calc(120ms + var(--rw-enter, 0) * 75ms);
}

.rw-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: #0875e3;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

html.theme-dark .rw-home-hero__eyebrow {
  color: #55d5ff;
}

.rw-home-hero__eyebrow-index {
  display: grid;
  min-width: 34px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--rw-hero-line);
  border-radius: 9px;
  background: var(--rw-hero-surface);
  color: var(--rw-hero-ink);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 22px rgba(26, 101, 177, 0.08);
}

.rw-home-hero__eyebrow-line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rw-hero-cyan));
}

.rw-home-hero[dir="ltr"] .rw-home-hero__eyebrow-line {
  background: linear-gradient(90deg, var(--rw-hero-cyan), transparent);
}

.rw-home-hero__title {
  max-width: 12.2ch;
  margin: 0;
  color: var(--rw-hero-ink);
  font-family: inherit;
  font-size: clamp(48px, 5.35vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.rw-home-hero[dir="ltr"] .rw-home-hero__title {
  max-width: 13ch;
  font-size: clamp(45px, 4.85vw, 72px);
  letter-spacing: -0.055em;
}

.rw-home-hero__title span {
  color: transparent;
  background: linear-gradient(115deg, #087cff 8%, #23c4f3 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

html.theme-dark .rw-home-hero__title span {
  background-image: linear-gradient(115deg, #69dcff 4%, #258cff 94%);
}

.rw-home-hero__description {
  max-width: 640px;
  margin: 25px 0 0;
  color: var(--rw-hero-muted);
  font-size: clamp(15px, 1.24vw, 18px);
  font-weight: 500;
  line-height: 2;
}

.rw-home-hero[dir="ltr"] .rw-home-hero__description {
  max-width: 610px;
  line-height: 1.72;
}

.rw-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.rw-home-hero__button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.rw-home-hero__button:hover,
.rw-home-hero__button:focus-visible {
  transform: translateY(-3px);
}

.rw-home-hero__button:focus-visible,
.rw-home-hero__tab:focus-visible,
.rw-home-hero__transport-button:focus-visible {
  outline: 3px solid rgba(42, 188, 244, 0.42);
  outline-offset: 3px;
}

.rw-home-hero__button--primary {
  color: #fff !important;
  background: linear-gradient(115deg, #086df1, #11a8e8);
  box-shadow: 0 16px 36px rgba(8, 113, 239, 0.28);
}

.rw-home-hero__button--primary:hover,
.rw-home-hero__button--primary:focus-visible {
  color: #fff !important;
  background: linear-gradient(115deg, #075fd5, #078cd5);
  box-shadow: 0 19px 42px rgba(8, 113, 239, 0.36);
}

.rw-home-hero__button--secondary {
  border-color: var(--rw-hero-line);
  color: var(--rw-hero-ink) !important;
  background: var(--rw-hero-surface);
  backdrop-filter: blur(14px);
}

.rw-home-hero__button--secondary:hover,
.rw-home-hero__button--secondary:focus-visible {
  border-color: rgba(19, 137, 234, 0.42);
  color: #0875e3 !important;
  background: var(--rw-hero-surface-strong);
}

html.theme-dark .rw-home-hero__button--secondary:hover,
html.theme-dark .rw-home-hero__button--secondary:focus-visible {
  color: #67dcff !important;
}

.rw-home-hero__button-icon,
.rw-home-hero__button-icon svg {
  width: 18px;
  height: 18px;
}

.rw-home-hero[dir="rtl"] .rw-home-hero__button-icon {
  transform: rotate(180deg);
}

.rw-home-hero__note {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding-inline: 7px;
  color: var(--rw-hero-muted);
  font-size: 12px;
  font-weight: 700;
}

.rw-home-hero__note > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #087cf0;
  background: rgba(14, 132, 241, 0.1);
}

.rw-home-hero__note svg {
  width: 15px;
  height: 15px;
}

.rw-home-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.rw-home-hero__metrics li {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--rw-hero-line);
  border-radius: 16px;
  background: var(--rw-hero-surface);
  box-shadow: 0 14px 35px rgba(22, 79, 138, 0.075);
  backdrop-filter: blur(15px);
}

.rw-home-hero__metric-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  color: #087cf0;
  background: rgba(8, 124, 240, 0.1);
}

html.theme-dark .rw-home-hero__metric-icon {
  color: #5bd8ff;
  background: rgba(46, 188, 244, 0.11);
}

.rw-home-hero__metric-icon svg {
  width: 19px;
  height: 19px;
}

.rw-home-hero__metrics li > span:last-child {
  min-width: 0;
}

.rw-home-hero__metrics strong,
.rw-home-hero__metrics small {
  display: block;
  text-align: start;
}

.rw-home-hero__metrics strong {
  overflow: hidden;
  color: var(--rw-hero-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rw-home-hero__metrics small {
  margin-top: 3px;
  color: var(--rw-hero-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.rw-home-hero__visual {
  position: relative;
  grid-column: 2;
  width: min(100%, 430px);
  aspect-ratio: 1;
  justify-self: center;
  transform-style: preserve-3d;
}

.rw-home-hero__orbit {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(54, 165, 240, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 52px rgba(23, 129, 223, 0.08), 0 0 44px rgba(19, 131, 232, 0.08);
}

.rw-home-hero__orbit::before,
.rw-home-hero__orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 3px solid rgba(239, 250, 255, 0.82);
  border-radius: 50%;
  background: #2cc8f4;
  box-shadow: 0 0 22px rgba(44, 200, 244, 0.9);
  content: "";
}

.rw-home-hero__orbit::before {
  inset-block-start: 16%;
  inset-inline-start: 5%;
}

.rw-home-hero__orbit::after {
  inset-block-end: 11%;
  inset-inline-end: 12%;
}

.rw-home-hero__orbit--outer {
  animation: rwHeroOrbit 22s linear infinite;
}

.rw-home-hero__orbit--inner {
  inset: 25%;
  border-style: dashed;
  animation: rwHeroOrbitReverse 17s linear infinite;
}

.rw-home-hero__signal-card {
  position: absolute;
  inset: 27% 10% auto;
  z-index: 3;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(96, 181, 244, 0.29);
  border-radius: 24px;
  color: var(--rw-hero-ink);
  background: var(--rw-hero-surface-strong);
  box-shadow: var(--rw-hero-shadow);
  backdrop-filter: blur(22px) saturate(1.1);
}

.rw-home-hero__signal-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.3), transparent 35%, rgba(23, 153, 238, 0.08));
  content: "";
  pointer-events: none;
}

html.theme-dark .rw-home-hero__signal-card::before {
  background: linear-gradient(130deg, rgba(101, 211, 255, 0.08), transparent 38%, rgba(23, 153, 238, 0.05));
}

.rw-home-hero__signal-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--rw-hero-muted);
  font-size: 11px;
  font-weight: 800;
}

.rw-home-hero__signal-head > i {
  width: 7px;
  height: 7px;
  margin-inline-start: auto;
  border-radius: 50%;
  background: #23c6ef;
  box-shadow: 0 0 0 5px rgba(35, 198, 239, 0.1), 0 0 18px rgba(35, 198, 239, 0.75);
  animation: rwHeroPulse 2.2s ease-in-out infinite;
}

.rw-home-hero__signal-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--rw-hero-line);
  border-radius: 9px;
  color: #0b83ef;
  background: rgba(12, 132, 238, 0.08);
}

.rw-home-hero__signal-icon svg {
  width: 15px;
  height: 15px;
}

.rw-home-hero__signal-card > strong {
  position: relative;
  display: block;
  max-width: 280px;
  margin-top: 18px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 900;
  line-height: 1.55;
  text-align: start;
}

.rw-home-hero__signal-track {
  position: relative;
  display: flex;
  height: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.rw-home-hero__signal-track::before {
  position: absolute;
  inset-inline: 5px;
  height: 1px;
  background: linear-gradient(90deg, #087cf0, #2cc8f4);
  content: "";
}

.rw-home-hero__signal-track span,
.rw-home-hero__signal-track i {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid var(--rw-hero-surface-strong);
  border-radius: 50%;
  background: #168ff0;
  box-shadow: 0 0 0 3px rgba(22, 143, 240, 0.14);
}

.rw-home-hero__signal-card > small {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--rw-hero-muted);
  font-size: 10px;
  font-weight: 700;
}

.rw-home-hero__signal-card > small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20c591;
  box-shadow: 0 0 0 4px rgba(32, 197, 145, 0.1);
}

.rw-home-hero__orbit-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--rw-hero-line);
  border-radius: 13px;
  color: var(--rw-hero-ink);
  background: var(--rw-hero-surface-strong);
  box-shadow: 0 12px 34px rgba(8, 57, 108, 0.14);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.rw-home-hero__orbit-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20bff0;
  box-shadow: 0 0 9px rgba(32, 191, 240, 0.65);
}

.rw-home-hero__orbit-chip--1 {
  inset-block-start: 14%;
  inset-inline-start: 3%;
}

.rw-home-hero__orbit-chip--2 {
  inset-block-start: 19%;
  inset-inline-end: -2%;
}

.rw-home-hero__orbit-chip--3 {
  inset-block-end: 18%;
  inset-inline-start: 1%;
}

.rw-home-hero__controls {
  position: relative;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rw-home-hero__tabs {
  display: grid;
  width: min(690px, calc(100% - 180px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--rw-hero-line);
  border-radius: 20px;
  background: var(--rw-hero-surface);
  box-shadow: 0 18px 55px rgba(15, 73, 132, 0.12);
  backdrop-filter: blur(20px) saturate(1.15);
}

.rw-home-hero__tab {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 58px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px 12px 13px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: var(--rw-hero-muted);
  background: transparent;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.rw-home-hero__tab::before {
  position: absolute;
  inset: 5px;
  border: 1px solid transparent;
  border-radius: 11px;
  content: "";
  pointer-events: none;
}

.rw-home-hero__tab:hover {
  color: var(--rw-hero-ink);
  background: rgba(19, 132, 230, 0.07);
}

.rw-home-hero__tab.is-active {
  color: var(--rw-hero-ink);
  background: var(--rw-hero-surface-strong);
  box-shadow: 0 8px 24px rgba(13, 105, 193, 0.12);
}

.rw-home-hero__tab.is-active::before {
  border-color: rgba(37, 165, 240, 0.18);
}

.rw-home-hero__tab-index {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #087cf0;
  background: rgba(8, 124, 240, 0.09);
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.rw-home-hero__tab-label {
  position: relative;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rw-home-hero__tab-progress {
  position: absolute;
  inset-inline: 12px;
  bottom: 7px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(76, 130, 182, 0.12);
}

.rw-home-hero__tab-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087cf0, #2cc8f4);
}

.rw-home-hero[data-rw-ready="1"] .rw-home-hero__tab.is-active .rw-home-hero__tab-progress i {
  width: 100%;
  animation: rwHeroProgress var(--rw-hero-duration) linear both;
}

.rw-home-hero[data-rw-paused="1"] .rw-home-hero__tab.is-active .rw-home-hero__tab-progress i {
  animation-play-state: paused;
}

.rw-home-hero__transport {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--rw-hero-line);
  border-radius: 18px;
  background: var(--rw-hero-surface);
  box-shadow: 0 16px 45px rgba(17, 76, 136, 0.12);
  backdrop-filter: blur(20px);
}

.rw-home-hero__transport-button {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--rw-hero-muted);
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.rw-home-hero__transport-button:hover {
  color: #087cf0;
  background: rgba(8, 124, 240, 0.1);
  transform: translateY(-2px);
}

.rw-home-hero__transport-button svg {
  width: 18px;
  height: 18px;
}

.rw-home-hero__transport-button:first-child {
  transform: rotate(180deg);
}

.rw-home-hero[dir="rtl"] .rw-home-hero__transport-button:first-child {
  transform: none;
}

.rw-home-hero[dir="rtl"] .rw-home-hero__transport-button:last-child {
  transform: rotate(180deg);
}

.rw-home-hero__transport-button:first-child:hover {
  transform: rotate(180deg) translateY(2px);
}

.rw-home-hero[dir="rtl"] .rw-home-hero__transport-button:first-child:hover {
  transform: translateY(-2px);
}

.rw-home-hero[dir="rtl"] .rw-home-hero__transport-button:last-child:hover {
  transform: rotate(180deg) translateY(2px);
}

.rw-home-hero__transport-button--toggle {
  color: #fff;
  background: linear-gradient(135deg, #087cf0, #11aee7);
}

.rw-home-hero__transport-button--toggle:hover {
  color: #fff;
  background: linear-gradient(135deg, #086bd5, #0c94da);
}

.rw-home-hero__transport-button--toggle [data-rw-icon-play] {
  display: none;
}

.rw-home-hero[data-rw-user-paused="1"] .rw-home-hero__transport-button--toggle [data-rw-icon-pause] {
  display: none;
}

.rw-home-hero[data-rw-user-paused="1"] .rw-home-hero__transport-button--toggle [data-rw-icon-play] {
  display: block;
}

.rw-home-hero__live {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes rwHeroProgress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes rwHeroOrbit {
  to { transform: rotate(360deg); }
}

@keyframes rwHeroOrbitReverse {
  to { transform: rotate(-360deg); }
}

@keyframes rwHeroPulse {
  0%, 100% { opacity: 0.65; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 1100px) {
  .rw-home-hero__slide {
    grid-template-columns: minmax(0, 1.16fr) minmax(285px, 0.72fr);
    gap: 30px;
  }

  .rw-home-hero__title {
    font-size: clamp(43px, 5.8vw, 65px);
  }

  .rw-home-hero__visual {
    width: min(100%, 360px);
  }

  .rw-home-hero__signal-card {
    inset-inline: 5%;
  }
}

@media (max-width: 860px) {
  .rw-home-hero {
    min-height: 960px;
  }

  .rw-home-hero__frame {
    width: min(100% - 36px, 720px);
    padding-block: 118px 174px;
  }

  .rw-home-hero__viewport {
    min-height: 655px;
  }

  .rw-home-hero__slide {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 16px;
  }

  .rw-home-hero__copy,
  .rw-home-hero__visual {
    grid-column: 1;
  }

  .rw-home-hero__copy {
    width: 100%;
  }

  .rw-home-hero[dir="ltr"] .rw-home-hero__copy {
    padding-inline-start: 0;
  }

  .rw-home-hero__title,
  .rw-home-hero[dir="ltr"] .rw-home-hero__title {
    max-width: 13.5ch;
    font-size: clamp(41px, 8vw, 58px);
  }

  .rw-home-hero__description,
  .rw-home-hero[dir="ltr"] .rw-home-hero__description {
    max-width: 650px;
    line-height: 1.82;
  }

  .rw-home-hero__visual {
    position: absolute;
    inset-inline-end: -42px;
    bottom: -22px;
    width: 300px;
    opacity: 0.82 !important;
  }

  .rw-home-hero__signal-card {
    inset: 27% 6% auto;
    min-height: 164px;
    padding: 17px;
  }

  .rw-home-hero__signal-card > strong {
    font-size: 16px;
  }

  .rw-home-hero__orbit-chip--2 {
    inset-inline-end: 0;
  }

  .rw-home-hero__controls {
    position: absolute;
    inset-inline: 0;
    bottom: 140px;
    margin-top: 0;
  }

  .rw-home-hero__tabs {
    width: calc(100% - 164px);
  }

  .rw-home-hero__tab {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .rw-home-hero__tab-index {
    display: none;
  }

  .rw-home-hero__tab-label {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .rw-home-hero {
    min-height: 900px;
  }

  .rw-home-hero__backdrops::after,
  .rw-home-hero[dir="ltr"] .rw-home-hero__backdrops::after {
    background: linear-gradient(to bottom, rgba(241, 248, 255, 0.94) 2%, rgba(237, 246, 254, 0.82) 63%, rgba(226, 240, 252, 0.38) 100%);
  }

  html.theme-dark .rw-home-hero__backdrops::after,
  html.theme-dark .rw-home-hero[dir="ltr"] .rw-home-hero__backdrops::after {
    background: linear-gradient(to bottom, rgba(3, 17, 35, 0.96) 2%, rgba(4, 20, 40, 0.88) 63%, rgba(3, 17, 35, 0.55) 100%);
  }

  .rw-home-hero__backdrop img,
  .rw-home-hero[dir="ltr"] .rw-home-hero__backdrop img {
    object-position: 35% center;
    transform: scale(1.06);
  }

  .rw-home-hero[dir="ltr"] .rw-home-hero__backdrop img {
    object-position: 65% center;
    transform: scaleX(-1) scale(1.06);
  }

  .rw-home-hero__backdrop.is-active img {
    transform: scale(1.1);
  }

  .rw-home-hero[dir="ltr"] .rw-home-hero__backdrop.is-active img {
    transform: scaleX(-1) scale(1.1);
  }

  .rw-home-hero__frame {
    width: min(100% - 28px, 560px);
    padding-block: 104px 160px;
  }

  .rw-home-hero__viewport {
    min-height: 625px;
  }

  .rw-home-hero__eyebrow {
    margin-bottom: 16px;
  }

  .rw-home-hero__eyebrow-line {
    width: 20px;
  }

  .rw-home-hero__title,
  .rw-home-hero[dir="ltr"] .rw-home-hero__title {
    max-width: 12.8ch;
    font-size: clamp(36px, 11.2vw, 49px);
    line-height: 1.12;
  }

  .rw-home-hero__description {
    margin-top: 18px;
    font-size: 14px;
  }

  .rw-home-hero__actions {
    gap: 9px;
    margin-top: 22px;
  }

  .rw-home-hero__button {
    min-height: 49px;
    padding-inline: 16px;
    border-radius: 13px;
    font-size: 12px;
  }

  .rw-home-hero__note {
    width: 100%;
    min-height: 30px;
    padding-inline: 1px;
  }

  .rw-home-hero__metrics {
    gap: 6px;
    margin-top: 20px;
  }

  .rw-home-hero__metrics li {
    min-height: 70px;
    gap: 7px;
    padding: 9px 8px;
    border-radius: 13px;
  }

  .rw-home-hero__metric-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 9px;
  }

  .rw-home-hero__metric-icon svg {
    width: 15px;
    height: 15px;
  }

  .rw-home-hero__metrics strong {
    font-size: 11px;
  }

  .rw-home-hero__metrics small {
    display: none;
  }

  .rw-home-hero__visual {
    inset-inline-end: -25px;
    bottom: -56px;
    width: 235px;
    opacity: 0.58 !important;
  }

  .rw-home-hero__signal-card {
    min-height: 132px;
    padding: 13px;
    border-radius: 18px;
  }

  .rw-home-hero__signal-card > strong {
    margin-top: 10px;
    font-size: 13px;
  }

  .rw-home-hero__signal-track {
    margin-top: 10px;
  }

  .rw-home-hero__signal-card > small,
  .rw-home-hero__orbit-chip {
    display: none;
  }

  .rw-home-hero__controls {
    bottom: 160px;
    align-items: stretch;
    direction: ltr;
    gap: 8px;
    padding-left: 68px;
  }

  .rw-home-hero__tabs {
    width: calc(100% - 61px);
    gap: 4px;
    padding: 5px;
    border-radius: 16px;
  }

  .rw-home-hero[dir="rtl"] .rw-home-hero__tabs {
    direction: rtl;
  }

  .rw-home-hero__tab {
    min-height: 52px;
    padding: 8px 5px 12px;
    border-radius: 11px;
  }

  .rw-home-hero__tab-label {
    font-size: 9px;
  }

  .rw-home-hero__transport {
    gap: 2px;
    padding: 5px;
    border-radius: 15px;
  }

  .rw-home-hero__transport-button:not(.rw-home-hero__transport-button--toggle) {
    display: none;
  }

  .rw-home-hero__transport-button {
    width: 29px;
    height: 42px;
    border-radius: 10px;
  }

  .rw-home-hero__transport-button svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 390px) {
  .rw-home-hero {
    min-height: 925px;
  }

  .rw-home-hero__frame {
    width: calc(100% - 22px);
  }

  .rw-home-hero__title,
  .rw-home-hero[dir="ltr"] .rw-home-hero__title {
    font-size: clamp(33px, 10.7vw, 42px);
  }

  .rw-home-hero__button {
    flex: 1 1 145px;
  }

  .rw-home-hero__visual {
    display: none;
  }
}

/* Keep global floating navigation out of the cinematic hero. The server-side
   :has() state prevents a cold-load flash; JavaScript reveals the controls
   only after the visitor has genuinely moved beyond the hero. */
body:has([data-rw-home-hero]) #rw-global-route-rail.rw-global-route-rail,
body:has([data-rw-home-hero]) #rw-social-fab.rw-social-fab,
body:has([data-rw-home-hero]) .rasa-bottom-consult {
  transition: opacity .26s ease, visibility 0s linear 0s !important;
}

body:has([data-rw-home-hero]):not(.rw-home-hero-passed) #rw-global-route-rail.rw-global-route-rail,
body:has([data-rw-home-hero]):not(.rw-home-hero-passed) #rw-social-fab.rw-social-fab,
body:has([data-rw-home-hero]):not(.rw-home-hero-passed) .rasa-bottom-consult {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .2s ease, visibility 0s linear .2s !important;
}

body.rw-home-hero-passed #rw-global-route-rail.rw-global-route-rail,
body.rw-home-hero-passed #rw-social-fab.rw-social-fab,
body.rw-home-hero-passed .rasa-bottom-consult {
  visibility: visible !important;
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .rw-home-hero *,
  .rw-home-hero *::before,
  .rw-home-hero *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .rw-home-hero__backdrop img,
  .rw-home-hero__backdrop.is-active img,
  .rw-home-hero[dir="ltr"] .rw-home-hero__backdrop img,
  .rw-home-hero[dir="ltr"] .rw-home-hero__backdrop.is-active img {
    transform: none;
  }
}
