/* =========================================================================
   Astrion Suite — Hub (Home) Styles
   Identidad original: Negro #050504 + Oro #D2B48C, Orbitron + Outfit.
   Video reels en alta definición, flujo claro y sin duplicaciones.
   ========================================================================= */

/* ---- Hero Cinema: Canvas Orbital HD ---- */
.hero-cinema {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #050504;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-orbit-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #050504 0%, rgba(5,5,4,.94) 28%, rgba(5,5,4,.65) 54%, rgba(5,5,4,0) 78%),
    linear-gradient(0deg, #050504 0%, rgba(5,5,4,.75) 12%, rgba(5,5,4,0) 30%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 100% - var(--gutter) * 2);
  padding-block: clamp(96px, 14vh, 140px) clamp(56px, 8vh, 90px);
}

.hero-copy {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.hero-copy .eyebrow {
  color: var(--gold-hi);
}

.hero-copy h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  letter-spacing: .05em;
  line-height: 1.16;
  color: var(--gold);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--gold-hi);
}

.hero-copy .lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.55;
  max-width: 48ch;
}

.hero-copy .cta-row {
  justify-content: flex-start;
  margin-top: 8px;
}

.hero-copy .micro {
  margin: 0;
  max-width: none;
  color: var(--faint);
  font-size: .84rem;
}

@media (max-width: 860px) {
  .hero-shade {
    background: linear-gradient(180deg, #050504 0%, rgba(5,5,4,.9) 35%, rgba(5,5,4,.5) 65%, #050504 95%);
  }
  .hero-inner {
    padding-top: 80px;
  }
  .hero-copy {
    max-width: none;
    align-items: center;
    text-align: center;
  }
  .hero-copy .cta-row {
    justify-content: center;
  }
}

/* ---- Flujo de 4 pasos ---- */
.flow-section {
  padding-block: clamp(40px, 6vw, 70px) 0;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.flow li {
  position: relative;
}

.flow a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(22,20,15,.92), rgba(8,8,7,.96));
  text-decoration: none;
  color: inherit;
  transition: transform .4s var(--ease-out-expo), border-color .3s, box-shadow .4s;
  height: 100%;
}

.flow a:hover {
  transform: translateY(-5px);
  border-color: var(--c);
  box-shadow: 0 16px 50px color-mix(in srgb, var(--c) 25%, transparent);
}

.flow .n {
  font-family: var(--font-display);
  font-size: .62rem;
  letter-spacing: .24em;
  color: var(--c);
  font-weight: 600;
}

.flow img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 0 35px color-mix(in srgb, var(--c) 40%, transparent);
  margin-block: 4px;
}

.flow b {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-hi);
  font-size: .95rem;
}

.flow em {
  font-style: normal;
  color: var(--c);
  font-size: .88rem;
}

.flow span:not(.n) {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}

.flow li.star a {
  border-color: var(--line-strong);
  box-shadow: 0 0 50px rgba(210,180,140,.15);
}

@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .flow { grid-template-columns: 1fr; }
}

/* ---- Secciones de Producto con Video Reel ---- */
.product-showcase {
  scroll-margin-top: 84px;
  padding-block: clamp(48px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.product-showcase:last-of-type {
  border-bottom: 0;
}

.product-showcase-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(20px, 3.5vw, 32px);
}

.product-showcase-header .eyebrow {
  color: var(--p-color);
  font-size: .72rem;
  letter-spacing: .28em;
}

.product-showcase-header h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: .04em;
  color: var(--text);
  margin: 0;
}

.product-showcase-header p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.55;
  max-width: 68ch;
}

.product-showcase-header p strong {
  color: var(--text);
}

.product-reel {
  margin-block: clamp(16px, 2.5vw, 28px);
}

.product-reel .player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .85), 0 0 90px color-mix(in srgb, var(--p-color) 22%, transparent);
}

.product-reel .player-frame video.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

@media (max-width: 600px) {
  .product-reel .player-frame {
    aspect-ratio: 9 / 16;
    max-height: 75svh;
    margin-inline: auto;
  }
}

.product-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tags .tag {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  padding: 6px 12px;
  border-radius: 6px;
}

/* Flagship Kosmos */
.flagship {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(210,180,140,.10), rgba(13,12,10,.94) 55%);
  box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 80px rgba(210,180,140,.12);
  margin-top: 24px;
}

.fl-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fl-copy h3 {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: .06em;
  color: var(--gold-hi);
  line-height: 1.2;
}

.fl-copy p {
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .flagship { grid-template-columns: 1fr; }
}

/* Suite Specs Matrix */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin-top: clamp(20px, 3vw, 36px);
}

.spec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .4s var(--ease-out-expo), border-color .3s;
}

.spec:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.spec h3 {
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--gold);
}

.spec b {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}

.spec p {
  font-size: .92rem;
  color: var(--muted);
}
