.hero {
  --menu-header-height: 0px;
  --font-primary: 'Proxima Nova A', -apple-system, 'Roboto', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, 'Roboto', Arial, sans-serif;
  --font-weight-regular:  400;
  --font-weight-semibold: 600;
  --font-weight-bold:     700;

  --hero-bg:           #282834;
  --hero-text-white:   #ffffff;
  --hero-text-primary: #282834;
  --hero-border-reply: #d0d4e6;
  --hero-fab-bg:       #ffe600;
  --hero-btn-blue:     #434ce4;
  --hero-radius:       20px;
  --hero-pad-mobile:   24px;
  --hero-pad-desktop:  40px;
  --hero-body-size:    14px;
  --hero-body-lh:      18px;

  box-sizing: border-box;
  width: calc(100% - 16px);
  margin-left:  auto;
  margin-right: auto;
  margin-top:    calc(8px - var(--menu-header-height, 0px));
  margin-bottom: 0;
  background-color: var(--hero-bg);
  border-radius: var(--hero-radius);
}

.hero__card {
  box-sizing: border-box;
  position: sticky;
  top: 8px;
  overflow: hidden;
  border-radius: var(--hero-radius);
  width: 100%;
  height: 99svh;
}

.hero__bg-photo {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.hero__bg-photo img {
  width: 100%;
  height: 100%;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  pointer-events: none;
}


.hero__capas {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
}

.hero__capas-inner {
  position: relative;
  width: min(50%, 500px);
  aspect-ratio: 5.2 / 2;
}

.hero__capa {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

.hero__capa-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__capa--1 { top: 0%;      z-index: 5; }
.hero__capa--2 { top: 41.34%;  z-index: 4; }
.hero__capa--3 { top: 47.24%;  z-index: 3; }
.hero__capa--4 { top: 53.88%;  z-index: 2; }
.hero__capa--5 { top: 60.53%;  z-index: 1; }

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: var(--hero-pad-mobile);
  z-index: 10;
}

.hero__content--top {
  top: 104px;
  opacity: 1;
}

.hero__content--btm {
  top: auto;
  bottom: 90px;
  opacity: 0;
}

.hero__title {
  margin: 0;
  font-family: var(--font-primary);
  font-feature-settings: "salt" 1, "calt" 0;
  font-weight: var(--font-weight-bold);
  font-size: 40px;
  line-height: .9;
  color: var(--hero-text-white);
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--hero-body-size);
  line-height: var(--hero-body-lh);
  font-weight: var(--font-weight-regular);
  color: var(--hero-text-white);
}

.hero__stat-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero__stat strong {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 767px) {
  .hero {
    background-color: transparent;
    height: calc(100svh - 16px + 400px);
  }

  .hero__card {
    top: 0px;
    min-height: 99svh;
    background-color: #0e0e0e;
  }

  .hero__bg-photo {
    inset: 0;
  }

  .hero__bg-photo img {
    position: relative;
    object-fit: cover;
    height: calc(100% + 40px);
    top: 20px;
  }

  .hero__bg-img {
    inset: 0;
    background: linear-gradient(to bottom, rgba(14, 14, 14, 1) 0%, rgba(14, 14, 14, 1) 7.979%, rgba(14, 14, 14, 0) 100%);
  }

  .hero__capas {
    position: absolute;
    left: calc(50% - min(43.6%, 205px));
    top: calc(40% + 30px);
    right: auto;
    width: min(87.2%, 410px);
    height: auto;
    aspect-ratio: auto;
    display: block;
    pointer-events: none;
    will-change: transform;
  }

  .hero__capas-inner {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .hero {
    --menu-header-height: 64px;
    background-color: transparent;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .hero__card {
    top: 8px;
    height: 99svh;
  }

  .hero::after {
    content: '';
    display: block;
    height: 120px;
    pointer-events: none;
  }




  .hero__capa--1 { top:   0px; z-index: 5; width: 100%; }
  .hero__capa--2 { width: 100%; }
  .hero__capa--3 { width: 100%; }
  .hero__capa--4 { width: 100%; }
  .hero__capa--5 { width: 100%; }

  .hero__content--top {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 884px;
    height: 148px;
    padding: 0 var(--hero-pad-desktop) var(--hero-pad-desktop);
    gap: 24px;
    justify-content: flex-end;
  }

  .hero__content--btm {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 884px;
    height: 160px;
    padding: 0 var(--hero-pad-desktop) 56px;
    gap: 24px;
    justify-content: flex-end;
  }

  .hero__title {
    font-size: 88px;
    line-height: .9;
  }

  .hero__stat {
    font-size: 14px;
    line-height: 18px;
  }

}

@media (min-width: 768px) {
  .hero__bg-photo {
    inset: 0;
    overflow: hidden;
  }

  .hero__bg-img {
    background: linear-gradient(90deg, rgba(14, 14, 14, 0.0) 30%, rgba(0, 0, 0, 0.00) 100%);
  }
}

@media (min-width: 768px) and (max-width: 1365px) {
  .hero__title {
    font-size: 70px;
    line-height: .9;
    width: 587px;
  }
}

@media (min-width: 768px) and (max-width: 915px) {
  .hero__title {
    font-size: 55px;
    width: 450px;
  }

  .hero__capas-inner {
    width: min(60%, 500px);
  }
}

@media (min-width: 1366px) {
  .hero::after {
    height: 538px;
  }
}

@media (min-width: 768px) and (max-width: 1365px) and (orientation: landscape) {
  .hero::after {
    height: 300px;
  }
}

@media (min-width: 768px) and (orientation: portrait) {
  .hero__card {
    height: min(724px, 99svh);
  }

  .hero::after {
    height: 5px;
  }
}

@media (min-width: 1920px) {
  .hero {
    max-width: 1904px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__card {
    max-height: 600px;
  }
}

.hero         { margin-bottom: 0 !important; }
