.rdn-home-hero {
  display: none;
}

@media (min-width: 1024px) {
  .rdn-home-hero {
    position: relative;
    display: block;
    width: 100%;
    height: 100svh;
    min-height: 720px;
    overflow: hidden;
    color: #172033;
    background: #f7fbfd;
    isolation: isolate;
    transition: background-color 420ms ease, color 420ms ease;
  }

  .rdn-home-hero[data-active-scene="macbook"] {
    background: #fffaf1;
  }

  .rdn-home-hero[data-active-scene="gamer"] {
    color: #fff;
    background: #263b55;
  }

  .rdn-home-hero[data-active-scene="gamer"] .rdn-home-hero__wash {
    height: 270px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.88) 48%,
      rgba(255, 255, 255, 0.42) 72%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .rdn-home-hero[data-active-scene="empresas"] {
    background: #f7f7ff;
  }

  .rdn-home-hero[data-active-scene="electronica"] {
    background: #f4faf9;
  }

  .rdn-home-hero__wash {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    height: 210px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
    pointer-events: none;
  }

  .rdn-home-hero__ambient {
    position: absolute;
    top: 7%;
    right: -12%;
    z-index: -2;
    width: min(68vw, 980px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.17), transparent 65%);
    filter: blur(20px);
    opacity: 0.95;
    pointer-events: none;
    transition: background 420ms ease;
  }

  .rdn-home-hero[data-active-scene="macbook"] .rdn-home-hero__ambient {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 65%);
  }

  .rdn-home-hero[data-active-scene="gamer"] .rdn-home-hero__ambient {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.22), transparent 63%);
  }

  .rdn-home-hero[data-active-scene="empresas"] .rdn-home-hero__ambient {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 65%);
  }

  .rdn-home-hero[data-active-scene="electronica"] .rdn-home-hero__ambient {
    background: radial-gradient(circle, rgba(15, 118, 110, 0.17), transparent 65%);
  }

  .rdn-home-hero__stage {
    height: 100%;
    padding-top: 175px;
    padding-bottom: 150px;
  }

  .rdn-home-hero__panels {
    position: relative;
    height: 100%;
  }

  .rdn-home-hero__panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    align-items: center;
    gap: clamp(38px, 5vw, 82px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 420ms ease, opacity 320ms ease;
  }

  .rdn-home-hero__panel.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .rdn-home-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
    transform: translateY(14px);
    transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rdn-home-hero__panel.is-active .rdn-home-hero__copy {
    transform: translateY(0);
  }

  .rdn-home-hero__eyebrow {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 6px 13px;
    border: 1px solid color-mix(in srgb, var(--scene-accent) 30%, transparent);
    border-radius: 999px;
    color: color-mix(in srgb, var(--scene-accent) 82%, #172033);
    background: color-mix(in srgb, var(--scene-soft) 76%, rgba(255, 255, 255, 0.78));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .rdn-home-hero__eyebrow > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--scene-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--scene-accent) 14%, transparent);
  }

  .rdn-home-hero__title {
    max-width: 650px;
    margin: 0 0 22px;
    color: inherit;
    font-family: var(--rdn-heading-font);
    font-size: clamp(44px, 4.25vw, 68px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  .rdn-home-hero__highlight {
    color: var(--scene-accent);
  }

  .rdn-home-hero__description {
    max-width: 580px;
    margin: 0 0 32px;
    color: #607084;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.58;
  }

  .rdn-home-hero__panel[data-theme="dark"] .rdn-home-hero__description {
    color: #cbd5e1;
  }

  .rdn-home-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .rdn-home-hero__primary,
  .rdn-home-hero__secondary {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-family: var(--rdn-font);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  }

  .rdn-home-hero__primary {
    gap: 10px;
    min-width: 214px;
    padding: 0 25px;
    color: #fff;
    background: var(--rdn-red);
    box-shadow: 0 10px 24px rgba(237, 91, 85, 0.28);
  }

  .rdn-home-hero__primary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .rdn-home-hero__secondary {
    min-width: 158px;
    padding: 0 23px;
    border: 1px solid rgba(23, 32, 51, 0.13);
    color: inherit;
    background: rgba(255, 255, 255, 0.62);
  }

  .rdn-home-hero__panel[data-theme="dark"] .rdn-home-hero__secondary {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
  }

  .rdn-home-hero__primary:hover,
  .rdn-home-hero__primary:focus-visible,
  .rdn-home-hero__secondary:hover,
  .rdn-home-hero__secondary:focus-visible {
    transform: translateY(-2px);
  }

  .rdn-home-hero__visual {
    --parallax-x: 0px;
    --parallax-y: 0px;
    --parallax-back-x: 0px;
    --parallax-back-y: 0px;
    --parallax-support-x: 0px;
    --parallax-support-y: 0px;
    --parallax-icon-x: 0px;
    --parallax-icon-y: 0px;
    position: relative;
    width: 100%;
    height: min(58vh, 600px);
    min-height: 430px;
    perspective: 1200px;
    transform: translateX(24px);
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rdn-home-hero__panel.is-active .rdn-home-hero__visual {
    transform: translateX(0);
  }

  .rdn-home-hero__visual-backdrop {
    position: absolute;
    top: 8%;
    right: 4%;
    width: 82%;
    height: 78%;
    border: 1px solid color-mix(in srgb, var(--scene-accent) 18%, transparent);
    border-radius: 38px;
    background:
      linear-gradient(color-mix(in srgb, var(--scene-accent) 6%, transparent) 1px, transparent 1px),
      linear-gradient(90deg, color-mix(in srgb, var(--scene-accent) 6%, transparent) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: translate3d(var(--parallax-back-x), var(--parallax-back-y), -20px) rotate(2deg);
  }

  .rdn-home-hero__image-card {
    position: absolute;
    top: 11%;
    right: 9%;
    width: 76%;
    height: 72%;
    margin: 0;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    background: #dce7ee;
    box-shadow: 0 34px 76px -26px rgba(15, 23, 42, 0.4);
    transform: translate3d(var(--parallax-x), var(--parallax-y), 20px);
    transition: box-shadow 320ms ease;
  }

  .rdn-home-hero__image-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 44%);
    content: "";
    pointer-events: none;
  }

  .rdn-home-hero__image-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rdn-home-hero__panel[data-rdn-hero-panel="notebooks"] .rdn-home-hero__image-card img {
    object-position: 50% 48%;
  }

  .rdn-home-hero__panel[data-rdn-hero-panel="gamer"] .rdn-home-hero__image-card {
    border-color: rgba(34, 197, 94, 0.72);
    box-shadow: 0 28px 70px -24px rgba(34, 197, 94, 0.52);
    transform: translate3d(var(--parallax-x), var(--parallax-y), 20px) rotate(-1.5deg);
  }

  .rdn-home-hero__panel[data-rdn-hero-panel="empresas"] .rdn-home-hero__image-card {
    right: 7%;
    width: 79%;
  }

  .rdn-home-hero__support-card {
    position: absolute;
    right: 1%;
    bottom: 12%;
    z-index: 3;
    display: flex;
    min-width: 190px;
    padding: 15px 17px;
    flex-direction: column;
    gap: 4px;
    border: 1px solid color-mix(in srgb, var(--scene-accent) 22%, transparent);
    border-radius: 17px;
    color: #526174;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 38px -18px rgba(15, 23, 42, 0.4);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translate3d(var(--parallax-support-x), var(--parallax-support-y), 60px);
  }

  .rdn-home-hero__support-card span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .rdn-home-hero__support-card strong {
    color: var(--scene-accent);
    font-size: 17px;
    font-weight: 900;
  }

  .rdn-home-hero__scene-icon {
    position: absolute;
    top: 4%;
    left: 5%;
    z-index: 3;
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--scene-accent) 24%, transparent);
    border-radius: 21px;
    color: var(--scene-accent);
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.4);
    transform: translate3d(var(--parallax-icon-x), var(--parallax-icon-y), 70px) rotate(-5deg);
  }

  .rdn-home-hero__scene-icon .rdn-fa-icon {
    width: 32px;
    height: 32px;
  }

  .rdn-home-hero__dock-wrap {
    position: absolute;
    bottom: 52px;
    left: 50%;
    z-index: 5;
    width: min(880px, calc(100% - 48px));
    transform: translateX(-50%);
  }

  .rdn-home-hero__dock {
    display: grid;
    padding: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.83);
    box-shadow: 0 20px 46px -20px rgba(15, 23, 42, 0.38);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    backdrop-filter: saturate(160%) blur(20px);
  }

  .rdn-home-hero__tab {
    display: flex;
    min-width: 0;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 11px;
    border: 0;
    border-radius: 19px;
    color: #58677a;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .rdn-home-hero__tab > .rdn-fa-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    color: var(--tab-accent);
    transition: color 160ms ease, transform 160ms ease;
  }

  .rdn-home-hero__tab[data-rdn-hero-tab="gamer"] > .rdn-fa-icon {
    width: 31px;
    height: 25px;
    flex-basis: 31px;
  }

  .rdn-home-hero__tab[data-rdn-hero-tab="electronica"] > .rdn-fa-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .rdn-home-hero__tab:hover,
  .rdn-home-hero__tab:focus-visible {
    color: var(--tab-accent);
    background: color-mix(in srgb, var(--tab-accent) 10%, #fff);
  }

  .rdn-home-hero__tab.is-active {
    color: #fff;
    background: var(--tab-accent);
    box-shadow: 0 9px 20px -10px var(--tab-accent);
    transform: translateY(-1px);
  }

  .rdn-home-hero__tab.is-active > .rdn-fa-icon {
    color: #fff;
    transform: scale(1.06);
  }

  .rdn-home-hero__tab:focus-visible {
    outline: 2px solid #172033;
    outline-offset: 2px;
  }
}

@media (min-width: 1024px) and (max-width: 1299px),
       (min-width: 1024px) and (max-height: 820px) {
  .rdn-home-hero__stage {
    padding-top: 155px;
    padding-bottom: 138px;
  }

  .rdn-home-hero__panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
    gap: 30px;
  }

  .rdn-home-hero__title {
    font-size: clamp(39px, 3.8vw, 52px);
  }

  .rdn-home-hero__description {
    margin-bottom: 24px;
    font-size: 15.5px;
  }

  .rdn-home-hero__visual {
    height: min(55vh, 500px);
    min-height: 380px;
  }

  .rdn-home-hero__dock-wrap {
    bottom: 38px;
    width: min(830px, calc(100% - 40px));
  }

  .rdn-home-hero__tab {
    min-height: 62px;
    font-size: 12px;
  }

  .rdn-home-hero__tab > .rdn-fa-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .rdn-home-hero__tab[data-rdn-hero-tab="gamer"] > .rdn-fa-icon {
    width: 28px;
    height: 23px;
    flex-basis: 28px;
  }

  .rdn-home-hero__tab[data-rdn-hero-tab="electronica"] > .rdn-fa-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
}

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