/* ============================================================
   hero.css
   Hero principal. Fuente de verdad para layout, logo, foto y overlay.
   ============================================================ */

#hero {
  height: 100svh;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  padding-top: 88px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #171717;
  border-top: 1px solid rgba(179, 138, 74, .16);
}

.hero-bg-shapes,
.hero-stats,
.hero-stats--desktop,
.hero-stats--mobile,
.hero-btns,
.hero-img-accent {
  display: none;
}

.hero-left,
.hero-right {
  height: calc(100svh - 88px);
  min-height: calc(720px - 88px);
  box-sizing: border-box;
}

.hero-left {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(2.4rem, 5.8vh, 4.2rem) 3.2vw clamp(2rem, 4vh, 3rem) 6vw;
  overflow: visible;
  background: linear-gradient(90deg, #171717 0%, rgba(23, 23, 23, .98) 56%, rgba(23, 23, 23, .9) 100%);
  animation: fadeUp .9s ease both;
}

.hero-brand-logo {
  width: clamp(274px, 20.7vw, 366px);
  max-height: 276px;
  object-fit: contain;
  display: block;
  margin-left: 200px;
  margin-bottom: clamp(1.6rem, 3.2vh, 2.6rem);
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .28));
}

.hero-title {
  width: max-content;
  max-width: none;
  margin-bottom: clamp(1rem, 2vh, 1.35rem);
  overflow: visible;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.72vw, 5.05rem);
  line-height: 1.02;
  color: var(--marfil);
  font-weight: 600;
  letter-spacing: 0;
}

.hero-title span,
.hero-title em {
  display: block;
  white-space: nowrap;
  overflow: visible;
}

.hero-title em {
  color: var(--beige-arena);
  font-style: italic;
  font-weight: 400;
}

.hero-title::after {
  content: '';
  display: block;
  width: 92px;
  height: 2px;
  margin-top: clamp(1.15rem, 2.4vh, 1.65rem);
  background: var(--dorado);
}

.hero-sub {
  max-width: 390px;
  margin: 0;
  color: rgba(245, 241, 234, .82);
  font-size: 1.03rem;
  line-height: 1.65;
  font-weight: 300;
}

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
  background: #171717;
  animation: fadeUp .9s .2s ease both;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 4;
  width: 46%;
  pointer-events: none;
  background: linear-gradient(90deg, #171717 0%, rgba(23, 23, 23, .96) 18%, rgba(23, 23, 23, .72) 45%, rgba(23, 23, 23, .3) 72%, rgba(23, 23, 23, 0) 100%);
}

.hero-img-stack,
.hero-img-main,
.hero-img-main--photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero-img-main--photo {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.hero-img-main--photo::before {
  display: none;
}

.hero-img-main--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(23, 23, 23, .42) 0%, rgba(23, 23, 23, .18) 32%, rgba(23, 23, 23, 0) 62%);
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center right;
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(2.6rem, 4.35vw, 4.5rem);
  }

  .hero-brand-logo {
    margin-left: 120px;
  }
}

@media (max-width: 900px) {
  #hero {
    height: 100svh;
    min-height: 680px;
    display: block;
    padding-top: 74px;
  }

  .hero-left,
  .hero-right {
    height: auto;
    min-height: auto;
  }

  .hero-left {
    min-height: calc(100svh - 74px);
    padding: clamp(1.6rem, 5vh, 2.8rem) 7% 2.6rem;
    justify-content: center;
    background: linear-gradient(90deg, rgba(23, 23, 23, .96) 0%, rgba(23, 23, 23, .86) 42%, rgba(23, 23, 23, .42) 72%, rgba(23, 23, 23, .12) 100%);
  }

  .hero-brand-logo {
    width: 245px;
    margin-left: 0;
  }

  .hero-title {
    width: auto;
    max-width: min(100%, 12ch);
  }

  .hero-title span,
  .hero-title em {
    white-space: normal;
  }

  .hero-right {
    position: absolute;
    inset: 74px 0 0;
    z-index: 1;
    display: block;
    pointer-events: none;
  }

  .hero-img-stack,
  .hero-img-main,
  .hero-img-main--photo {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .hero-right::before {
    inset: 0;
    width: 100%;
    background: linear-gradient(90deg, #171717 0%, rgba(23, 23, 23, .88) 30%, rgba(23, 23, 23, .42) 58%, rgba(23, 23, 23, .08) 100%);
  }

  .hero-img-main--photo::after {
    background: linear-gradient(180deg, rgba(23, 23, 23, .08) 0%, rgba(23, 23, 23, 0) 52%, rgba(23, 23, 23, .18) 100%);
  }

  .hero-photo {
    object-position: 62% center;
  }
}

@media (max-width: 600px) {
  #hero {
    min-height: 660px;
  }

  .hero-brand-logo {
    width: 220px;
  }

  .hero-sub {
    font-size: .95rem;
  }
}

@media (max-width: 480px) {
  #hero {
    min-height: 640px;
    padding-top: 74px;
  }

  .hero-left {
    min-height: calc(100svh - 74px);
    padding: 1.55rem 6% 2.35rem;
    justify-content: center;
    background: linear-gradient(90deg, rgba(23, 23, 23, .92) 0%, rgba(23, 23, 23, .72) calc(46% - 95px), rgba(23, 23, 23, .24) calc(74% - 95px), rgba(23, 23, 23, .04) 100%);
  }

  .hero-brand-logo {
    width: 190px;
    margin-bottom: 1.35rem;
  }

  .hero-title {
    max-width: 11.5ch;
    font-size: clamp(2.05rem, 10vw, 2.75rem);
    line-height: 1.08;
    margin-bottom: .95rem;
  }

  .hero-title::after {
    width: 76px;
    margin-top: .95rem;
  }

  .hero-sub {
    max-width: 28ch;
    font-size: .9rem;
    line-height: 1.56;
  }

  .hero-right::before {
    background: linear-gradient(90deg, rgba(23, 23, 23, .82) 0%, rgba(23, 23, 23, .48) calc(30% - 95px), rgba(23, 23, 23, .16) calc(58% - 95px), rgba(23, 23, 23, 0) 100%);
  }

  .hero-photo {
    object-position: calc(64% - 70px) center;
  }
}

@media (max-width: 380px) {
  #hero {
    min-height: 610px;
  }

  .hero-brand-logo {
    width: 168px;
    margin-bottom: 1.1rem;
  }

  .hero-title {
    font-size: clamp(1.88rem, 9.8vw, 2.35rem);
  }

  .hero-sub {
    max-width: 27ch;
    font-size: .86rem;
  }
}









