/* STROIKA PRO — страница для iPhone (дополняет ../styles.css и ../v2.css) */

.phone {
  position: relative;
  width: 100%;
  max-width: 270px;
  aspect-ratio: 471 / 1024;
  padding: 10px;
  border-radius: 44px;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  background: #0a2647;
}

.hero-phones {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 42px;
  min-height: 420px;
}

.hero-phones .phone {
  animation: float-in 1s ease both;
}

.hero-phones .phone--back {
  position: absolute;
  max-width: 230px;
  transform: translateX(-62%) rotate(-8deg);
  opacity: 0.85;
  animation-delay: 0.15s;
}

.hero-phones .phone--front {
  transform: translateX(22%);
}

@media (min-width: 980px) {
  body.v2 .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-phones {
    margin-top: 0;
  }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.hero__badges span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffd2a6;
  background: rgba(255, 125, 0, 0.14);
  border: 1px solid rgba(255, 125, 0, 0.4);
}

.btn--soon {
  gap: 10px;
  background: rgba(255, 125, 0, 0.12);
  color: #ffffff;
  border: 2px solid var(--orange);
  cursor: default;
  animation: soon-glow 1.8s ease-in-out infinite;
}

.btn--soon:hover {
  transform: none;
}

.btn--soon__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.btn--soon__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--orange);
  animation: soon-ping 1.8s ease-out infinite;
}

.final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@keyframes soon-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 125, 0, 0.55);
  }
  50% {
    box-shadow: 0 0 22px 4px rgba(255, 125, 0, 0.45);
  }
}

@keyframes soon-ping {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--soon,
  .btn--soon__dot::after {
    animation: none;
  }
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 230px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
}

.gallery figure {
  margin: 0;
  scroll-snap-align: start;
}

.gallery .phone {
  max-width: none;
  padding: 7px;
  border-radius: 34px;
  box-shadow: 0 18px 40px rgba(7, 26, 51, 0.22);
}

.gallery .phone img {
  border-radius: 27px;
}

.gallery figcaption {
  margin-top: 12px;
  font-weight: 800;
  font-size: 0.95rem;
}

.gallery figcaption span {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.plans {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid #d5dee9;
  text-align: center;
}

.plan--best {
  border: 2px solid var(--orange);
  box-shadow: 0 18px 40px rgba(255, 125, 0, 0.16);
}

.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: #1a0d00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan h3 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.plan__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  line-height: 1.05;
}

.plan__price span {
  font-size: 0.4em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan__note {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.plans__fine {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.faq a {
  color: var(--blue);
}
