/* PRICING: one plan, photo composition, average saving */
.price { background: var(--sky); overflow: clip; padding-block: clamp(64px, 5vw, 76px); }
.price__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px 56px; align-items: end; margin-bottom: clamp(26px, 2.4vw, 34px); }
.price__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }

.price__photo { position: relative; margin: 0; min-height: 0; }
.price__frame { position: relative; height: 100%; min-height: 420px; max-height: var(--media-cap); }
.price__photo { display: flex; flex-direction: column; }
.price__photo .price__frame { flex: 1 1 auto; }
.price__frame img { position: absolute; inset: -9% 0; width: 100%; height: 118%; object-fit: cover; object-position: 30% 40%; }
.price__stat {
  position: absolute; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); max-width: 300px; padding: 18px 22px 20px;
  background: var(--paper); border-radius: var(--r); box-shadow: 0 24px 50px -26px rgba(18, 26, 58, .55);
}
.price__stat strong { display: block; font-family: var(--display); font-weight: 750; font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.price__stat span { display: block; margin-top: 6px; color: #3a4266; line-height: 1.4; }
.price__stat::before { content: ""; position: absolute; right: 22px; top: -18px; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--lime); box-shadow: inset 0 0 0 10px var(--lime), inset 0 0 0 20px #fff; }

.plan {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px);
  background: var(--ink); color: var(--paper); border-radius: var(--r); box-shadow: 0 40px 80px -40px rgba(18, 26, 58, .7);
  transform-style: preserve-3d;
}
.plan__shine { position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .12) 48%, rgba(166, 210, 43, .18) 50%, transparent 58%); transform: translateX(-60%); pointer-events: none; animation: shine 6s var(--ease) infinite 1.5s; }
@keyframes shine { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }
.plan__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.plan__tag { order: 2; padding: 6px 12px; border-radius: var(--r-sm); background: var(--lime); color: var(--ink); font-weight: 700; font-size: .875rem; }
.plan h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.plan__price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.plan__amount { font-family: var(--display); font-weight: 750; font-size: clamp(3rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.plan__per { font-size: 1.15rem; color: #c9d1ea; }
.plan__month { color: var(--lime); font-weight: 700; margin-top: 6px; }
.plan__list { list-style: none; margin: 18px 0 22px; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; }
.plan__list li { position: relative; padding-left: 32px; color: #e3e8f5; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 15px; height: 15px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--lime); box-shadow: inset 0 0 0 4px var(--lime), inset 0 0 0 8px var(--ink); }
.plan__buy { align-self: flex-start; min-height: 58px; padding: 0 32px; font-size: 1.05rem; }
.plan__secure { margin-top: 12px; font-size: .92rem; color: #aab4d4; }
.plan__group { margin-top: auto; padding-top: 16px; display: block; color: #c9d1ea; text-decoration: none; font-size: .98rem; }
.plan__group > span { display: table; margin-top: 4px; color: var(--paper); font-weight: 700; border-bottom: 2px solid var(--orange); padding-bottom: 2px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.plan__group:hover > span { color: var(--lime); border-color: var(--lime); }

@media (max-width: 1000px) {
  .price__head, .price__grid { grid-template-columns: minmax(0, 1fr); }
  .price__frame { height: min(60vh, 460px); min-height: 0; flex: none; }
}
@media (max-width: 520px) {
  .price__frame { height: 340px; }
  .price__stat { right: 16px; max-width: none; }
}
