/* ==========================================================================
   Atempo Hero Shot — estructura del dispositivo (iPhone)
   Se dibuja en un espacio fijo de 414 × 868 px y se escala con --hs-k.
   Pantalla interna: 390 × 844 (viewport real de las capturas móviles).
   ========================================================================== */

.hs-phone-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 414 / 868;
  perspective: 1700px;
}

.hs-float {
  position: absolute;
  inset: 0;
  transform-style: flat;
  will-change: transform;
}

.hs-phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 414px;
  height: 868px;
  transform-origin: 0 0;
  transform: scale(var(--hs-k));
}

/* Marco de titanio */
.hs-body {
  position: absolute;
  inset: 0;
  border-radius: 66px;
  background:
    linear-gradient(135deg, #6c675e 0%, #34312d 14%, #1d1c1a 40%, #1a1918 60%, #3a3733 86%, #77726a 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .16),
    inset 0 0 0 3px rgba(0, 0, 0, .35),
    0 50px 80px -28px rgba(54, 32, 14, .42),
    0 22px 34px -14px rgba(54, 32, 14, .30);
}

/* Bisel negro */
.hs-bezel {
  position: absolute;
  inset: 5px;
  border-radius: 61px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

/* Botones laterales */
.hs-btn-side {
  position: absolute;
  width: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #55514a, #28262a 60%, #3c3935);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .15);
}
.hs-btn-side--action { left: -3px; top: 138px; height: 32px; }
.hs-btn-side--vol-up { left: -3px; top: 196px; height: 62px; }
.hs-btn-side--vol-dn { left: -3px; top: 274px; height: 62px; }
.hs-btn-side--power  { right: -3px; top: 232px; height: 98px; background: linear-gradient(270deg, #55514a, #28262a 60%, #3c3935); }

/* Pantalla */
.hs-screen {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 390px;
  height: 844px;
  border-radius: 52px;
  overflow: hidden;
  background: var(--hs-white);
  isolation: isolate;
  /* evita que el contenido escalado se vea con bordes dentados */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Dynamic Island */
.hs-island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 124px;
  height: 36px;
  margin-left: -62px;
  border-radius: 20px;
  background: #000;
  z-index: 9;
}
.hs-island::after {              /* lente de la cámara */
  content: "";
  position: absolute;
  right: 14px;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #25304a 0%, #0b0e17 55%, #000 100%);
  box-shadow: 0 0 0 1.5px #0a0a0a;
}

/* Barra de estado */
.hs-status {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 54px;
  background: var(--hs-white);
  z-index: 8;
  color: var(--hs-ink);
}
.hs-status-time {
  position: absolute;
  left: 52px;
  top: 17px;
  font: 600 16px/24px var(--hs-font);
  letter-spacing: -.01em;
}
.hs-status-icons {
  position: absolute;
  right: 40px;
  top: 21px;
  height: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hs-status-icons svg { display: block; fill: currentColor; }

/* Indicador de inicio */
.hs-home {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 134px;
  height: 5px;
  margin-left: -67px;
  border-radius: 3px;
  background: var(--hs-ink);
  opacity: .88;
  z-index: 9;
}

/* Reflejo de vidrio */
.hs-glare {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 22%, rgba(255, 255, 255, 0) 38%);
}
