/* Niveles de invitación: tarjeta con carrusel (vista + qué incluye) y datos de compra. */
.pricing { padding: clamp(72px, 10vw, 128px) var(--gutter); background: linear-gradient(180deg, var(--paper), #f6ebe6); }
.pricing__intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.pricing__intro h2 { font-family: var(--serif); font-weight: 400; }
.pricing__intro p { color: var(--muted); max-width: 32em; margin: 0; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.tier { display: flex; flex-direction: column; }
.tier__frame { position: relative; aspect-ratio: 3 / 4.6; border-radius: 18px; overflow: hidden; background: #efe1da; }
.tier--featured .tier__frame { box-shadow: 0 0 0 1.5px var(--gold), 0 24px 50px -30px rgba(31, 26, 26, .55); }
.tier__badge { position: absolute; top: 14px; left: 14px; z-index: 3; padding: .4em .9em; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--night); color: #fff; }

.tier__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tier__track::-webkit-scrollbar { display: none; }
.tier__track:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.tier__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; position: relative; }

/* Diapositiva 1: la invitación en el teléfono */
.tier__slide--view { display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 25%, #fbf1ec, #ecd7cd); }
.tier__label { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .3em; text-transform: uppercase; color: var(--night); }
.phone--tier { width: 56%; margin-top: -8%; }
.phone--tier .phone__cover { top: 22cqi; }

/* Diapositiva 2: qué incluye */
.tier__slide--list { display: flex; flex-direction: column; align-items: center; padding: 30px 22px 62px; background: #fbf7f0; color: #3a302c; text-align: center; overflow-y: auto; scrollbar-width: none; }
.tier__slide--list::-webkit-scrollbar { display: none; }
.tier__slide--list::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--gold); outline: 1px solid rgba(176, 141, 87, .45); outline-offset: -5px; pointer-events: none; }
.tier--featured .tier__slide--list { padding-top: 50px; }
.tier__brand { position: relative; margin: 0; font-family: var(--serif); font-size: 1.85rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; padding-left: .14em; }
.tier__incl { position: relative; margin: 0 0 6px; font-family: var(--script); font-size: 1.75rem; line-height: 1.1; color: var(--gold); }
.tier__prev { position: relative; margin: 0 0 8px; font-size: .8rem; font-style: italic; color: #8a7b70; }
.tier__slide--list ul { position: relative; list-style: none; padding: 0; margin: 0; width: 100%; max-width: 240px; }
.tier__slide--list li { padding: 7px 0; font-size: .86rem; line-height: 1.35; color: #3a302c; }
.tier__slide--list li + li { border-top: 1px solid rgba(176, 141, 87, .28); }
.tier__flourish { position: relative; display: block; width: 46px; height: 9px; margin-top: 12px; background: radial-gradient(circle, var(--gold) 2px, transparent 2.5px) center / 9px 9px no-repeat, linear-gradient(var(--gold), var(--gold)) left center / 16px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) right center / 16px 1px no-repeat; }

/* Flechas y puntos */
.tier__arrow { position: absolute; bottom: 12px; z-index: 4; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--night); cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); transition: opacity .2s, background .2s; }
.tier__arrow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.tier__arrow--prev { left: 12px; }
.tier__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.tier__arrow--next { right: 12px; }
.tier__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.tier__arrow:hover { background: #fff; }
.tier__arrow:disabled { opacity: 0; pointer-events: none; }
.tier__dots { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; gap: 6px; }
.tier__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(150, 130, 120, .45); transition: background .2s; }
.tier__dots span.is-on { background: var(--gold); }

/* Datos de compra */
.tier__info { padding: 18px 4px 0; }
.tier__info h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.tier__summary { color: var(--muted); font-size: .94rem; margin-bottom: 10px; }
.tier__price { margin-bottom: 14px; color: var(--muted); font-size: .9rem; }
.tier__price strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--night); }
.tier__buy { display: block; text-align: center; padding: .95em 1em; border: 1px solid var(--night); color: var(--night); text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; transition: background .2s, color .2s; }
.tier__buy:hover, .tier--featured .tier__buy { background: var(--night); color: #fff; }
.tier--featured .tier__buy:hover { background: #3a2a2c; }

@media (max-width: 1180px) {
  .tiers { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 560px) {
  .tiers { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tier__track { scroll-behavior: auto; }
}
