/* ==========================================================================
   SexComercio · Hero de Navidad 2026
   ========================================================================== */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

.scnh-hero {
  --scnh-pink: #ff2657;
  --scnh-purple: #695ad6;
  --scnh-ink: #08060d;
  --scnh-text: #f8f5ff;
  --scnh-soft: #ded6ec;
  --scnh-muted: #b8afc8;
  --scnh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #b84b74 url("../img/hero-navidad-poster.jpg") center / cover no-repeat;
  color: var(--scnh-text);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.scnh-hero *,
.scnh-hero *::before,
.scnh-hero *::after {
  box-sizing: border-box;
}

.scnh-hero h1,
.scnh-hero p {
  margin: 0;
}

.scnh-hero a {
  text-decoration: none;
}

.scnh-hero--bleed {
  left: 50%;
  width: var(--scnh-bleed-width, 100vw);
  max-width: none;
  transform: translateX(-50%);
}

.scnh-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scnh-video-error .scnh-video {
  display: none;
}

.scnh-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 6, 13, 0.02) 0%, rgba(8, 6, 13, 0.08) 34%, rgba(8, 6, 13, 0.7) 58%, rgba(8, 6, 13, 0.94) 100%),
    linear-gradient(180deg, rgba(8, 6, 13, 0.48) 0%, transparent 24%, transparent 78%, rgba(8, 6, 13, 0.62) 100%);
  pointer-events: none;
}

.scnh-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.scnh-header {
  position: absolute;
  top: 32px;
  right: 0;
  left: 0;
  z-index: 5;
}

.scnh-container {
  width: min(calc(100% - 96px), 1450px);
  margin-inline: auto;
}

.scnh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.scnh-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.scnh-brand__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 16px 38px rgba(8, 6, 13, 0.24);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.scnh-brand img {
  display: block;
  width: 190px;
  height: auto;
  filter: drop-shadow(0 1px 1px rgba(8, 6, 13, 0.18));
}

.scnh-cta,
.scnh-hero a.scnh-cta,
.scnh-hero a.scnh-cta:visited,
.scnh-hero a.scnh-cta:hover,
.scnh-hero a.scnh-cta:focus {
  color: #fff !important;
}

.scnh-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background-color: rgba(11, 8, 18, 0.42) !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)) !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 38px rgba(8, 6, 13, 0.24);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.scnh-cta:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background-color: rgba(105, 90, 214, 0.48) !important;
  transform: translateY(-2px);
}

.scnh-cta .scnh-icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scnh-content {
  position: absolute;
  top: 50%;
  right: 56px;
  z-index: 4;
  width: 660px;
  transform: translateY(-48%);
}

.scnh-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px !important;
  color: #ffd5df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.scnh-eyebrow::before {
  content: "";
  width: 31px;
  height: 1px;
  flex: none;
  background: #ffd5df;
}

.scnh-hero h1 {
  color: #fff;
  font-family: "Anton", Impact, sans-serif;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: 0.002em;
  line-height: 0.98;
  text-transform: none;
}

.scnh-line {
  display: block;
}

.scnh-accent {
  color: #ffd5df;
  background-image: linear-gradient(100deg, #ffd5df 0%, #ff8da5 48%, #ff5b7b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scnh-note {
  max-width: 590px;
  margin-top: 30px !important;
  color: #e5dcec;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.scnh-note::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 17px;
  border-radius: 2px;
  background: var(--scnh-pink);
}

.scnh-note strong {
  color: #fff;
  font-weight: 800;
}

.scnh-hint {
  position: absolute;
  right: 56px;
  bottom: 34px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Animaciones: una sola reproducción, línea por línea.
   Se respetan las preferencias de movimiento, salvo con motion="1".
   -------------------------------------------------------------------------- */

.scnh-hero .scnh-fade {
  opacity: 0;
  transform: translateY(14px);
  animation: scnh-fade-up 0.7s var(--scnh-ease) both;
  animation-delay: var(--scnh-delay, 0s);
  animation-iteration-count: 1;
}

.scnh-hero .scnh-line > span {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  animation: scnh-line-up 0.82s var(--scnh-ease) both;
  animation-iteration-count: 1;
}

.scnh-hero .scnh-line:nth-child(1) > span {
  animation-delay: 0.5s;
}

.scnh-hero .scnh-line:nth-child(2) > span {
  animation-delay: 0.64s;
}

.scnh-hero .scnh-line:nth-child(3) > span {
  animation-delay: 0.78s;
}

@keyframes scnh-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scnh-line-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .scnh-hero {
    background-position: 38% center;
  }

  .scnh-video {
    object-position: 34% center;
  }

  .scnh-overlay {
    background:
      linear-gradient(180deg, rgba(8, 6, 13, 0.2) 0%, rgba(8, 6, 13, 0.12) 28%, rgba(8, 6, 13, 0.88) 60%, #08060d 100%),
      linear-gradient(90deg, rgba(8, 6, 13, 0.06), rgba(8, 6, 13, 0.4));
  }

  .scnh-container {
    width: min(calc(100% - 64px), 1450px);
  }

  .scnh-header {
    top: 24px;
  }

  .scnh-brand img {
    width: 165px;
  }

  .scnh-content {
    top: auto;
    right: 36px;
    bottom: 46px;
    left: 36px;
    width: auto;
    transform: none;
  }

  .scnh-hero h1 {
    font-size: 56px;
    line-height: 1;
  }

  .scnh-line {
    white-space: nowrap;
  }

  .scnh-note {
    max-width: 560px;
    font-size: 16px;
  }

  .scnh-hint {
    display: none;
  }
}

@media (max-width: 767px) {
  .scnh-hero {
    background-position: 38% center;
  }

  .scnh-video {
    object-position: 34% center;
  }

  .scnh-overlay {
    background:
      linear-gradient(180deg, rgba(8, 6, 13, 0.2) 0%, rgba(8, 6, 13, 0.14) 28%, rgba(8, 6, 13, 0.88) 62%, #08060d 100%),
      linear-gradient(90deg, rgba(8, 6, 13, 0.08), rgba(8, 6, 13, 0.38));
  }

  .scnh-container {
    width: calc(100% - 32px);
  }

  .scnh-header {
    top: 18px;
  }

  .scnh-header__inner {
    gap: 8px;
  }

  .scnh-brand__chip {
    padding: 7px 10px;
    border-radius: 13px;
  }

  .scnh-brand img {
    width: 118px;
  }

  .scnh-cta {
    min-height: 44px;
    gap: 6px;
    padding: 0 14px;
    font-size: 10.5px;
  }

  .scnh-cta .scnh-icon {
    width: 14px;
    height: 14px;
  }

  .scnh-content {
    top: auto;
    right: 20px;
    bottom: 44px;
    left: 20px;
    width: auto;
    transform: none;
  }

  .scnh-eyebrow {
    margin-bottom: 16px !important;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .scnh-eyebrow::before {
    width: 22px;
  }

  .scnh-hero h1 {
    font-size: clamp(2rem, 9.6vw, 3rem);
    line-height: 1;
  }

  .scnh-line {
    white-space: nowrap;
  }

  .scnh-note {
    max-width: 100%;
    margin-top: 20px !important;
    font-size: 14px;
    line-height: 1.55;
  }

  .scnh-note::before {
    width: 32px;
    margin-bottom: 12px;
  }

  .scnh-hint {
    display: none;
  }
}

@media (max-width: 380px) {
  .scnh-brand img {
    width: 105px;
  }

  .scnh-cta {
    padding-inline: 11px;
    font-size: 9.5px;
  }

  .scnh-content {
    right: 16px;
    bottom: 34px;
    left: 16px;
  }

  .scnh-hero h1 {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scnh-hero:not(.scnh-force-motion) .scnh-video {
    display: none;
  }

  .scnh-hero:not(.scnh-force-motion) {
    background-image: url("../img/hero-navidad-poster.jpg");
  }

  .scnh-hero:not(.scnh-force-motion) .scnh-fade,
  .scnh-hero:not(.scnh-force-motion) .scnh-line > span {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
