/* ═══════════════════════════════════════
   STORIES PHONES — 3 phone mockups
═══════════════════════════════════════ */

.stories-section {
  padding: 80px 0 100px;
  background: #0C0E12;
  overflow: hidden;
}

.stories-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.stories-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6172F3;
  margin-bottom: 56px;
}

/* ── Grid de 3 teléfonos ── */
.stories-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

/* ── Contenedor de cada teléfono ── */
.story-phone {
  flex-shrink: 0;
  width: 210px;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), z-index 0s;
  cursor: default;
}

.story-phone--left   { transform: rotate(-5deg) translateY(20px); }
.story-phone--center { width: 240px; z-index: 2; }
.story-phone--right  { transform: rotate(5deg) translateY(20px); }

.story-phone:hover {
  transform: rotate(0deg) translateY(0) scale(1.04) !important;
  z-index: 10;
}

/* ── Marco del teléfono ── */
.phone-frame {
  border: 3px solid var(--phone-border, #fff);
  border-radius: 36px;
  padding: 10px;
  background: #060b1c;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 40px var(--phone-glow, rgba(255,255,255,0.15)),
    0 24px 56px rgba(0,0,0,0.65);
}

/* ── Notch ── */
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 18px;
  background: #060b1c;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

/* ── Pantalla del teléfono ── */
.phone-screen {
  border-radius: 28px;
  aspect-ratio: 9 / 19;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Degradado oscuro sobre la foto */
.phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.60) 0%,
    rgba(0,0,0,0.05) 30%,
    rgba(0,0,0,0.10) 55%,
    rgba(0,0,0,0.80) 100%
  );
  z-index: 1;
}

/* ── Cinta superior (tipo sticker/tape) ── */
.story-tape {
  position: relative;
  z-index: 3;
  margin-top: 26px;
  background: var(--phone-border, #fff);
  color: #000;
  font-size: 7.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: rotate(-1.5deg);
  max-width: 100%;
}

/* ── Zona central ── */
.story-mid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 14px 10px;
}

.story-headline {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 0.88;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.story-headline em {
  font-style: normal;
  color: var(--phone-border, #fff);
}

/* ── Footer del teléfono ── */
.story-foot {
  position: relative;
  z-index: 3;
  padding: 10px 14px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.story-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.story-name {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

/* ── Sticker decorativo ── */
.story-sticker {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  font-size: 22px;
  line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .stories-grid {
    gap: 16px;
  }
  .story-phone        { width: 28vw; }
  .story-phone--center { width: 32vw; }
  .story-headline     { font-size: 5.5vw; }
  .story-tape         { font-size: 5px; }
}

@media (max-width: 480px) {
  .stories-section { padding: 56px 0 72px; }
  .stories-grid     { gap: 10px; }
  .story-phone        { width: 26vw; }
  .story-phone--center { width: 30vw; }
}
