/* VIA Derm — промо «−30% на першу консультацію» */

.promo-offer {
    position: relative;
    padding: 96px 0;
    background: var(--pbmit-bg-color-blackish, #0a0a07);
    overflow: hidden;
    isolation: isolate;
}
.promo-offer::before,
.promo-offer::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
/* мягкий золотой свет сверху */
.promo-offer::before {
    inset: -20% 0 auto 0;
    height: 70%;
    background: radial-gradient(60% 80% at 50% 0%, rgba(212, 175, 55, .14), transparent 65%);
}
/* полоска внизу */
.promo-offer::after {
    left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .35), transparent);
}

.promo-offer__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: 56px 52px 52px;
    background: linear-gradient(160deg, #15140e 0%, #0a0a07 100%);
    border-radius: 22px;
    text-align: center;
    color: #f5e8c8;
    box-shadow:
        0 40px 90px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(212, 175, 55, .25);
}
/* золотой бордюр-градиент */
.promo-offer__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(243, 213, 122, .65), rgba(212, 175, 55, .08) 45%, rgba(243, 213, 122, .45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
/* декоративные блёстки */
.promo-offer__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(40% 30% at 12% 18%, rgba(243, 213, 122, .12), transparent 70%),
        radial-gradient(35% 28% at 88% 82%, rgba(243, 213, 122, .10), transparent 70%);
    pointer-events: none;
    opacity: .9;
}

.promo-offer__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(212, 175, 55, .12);
    border: 1px solid rgba(212, 175, 55, .35);
    color: #f3d57a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}
.promo-offer__badge i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #f3d57a;
    box-shadow: 0 0 10px rgba(243, 213, 122, .9);
    animation: promoPulse 1.6s ease-in-out infinite;
}
@keyframes promoPulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: .35; transform: scale(.7); }
}

.promo-offer__title {
    font-size: clamp(28px, 4.4vw, 46px);
    line-height: 1.12;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 600;
    letter-spacing: -.005em;
    position: relative;
    z-index: 2;
}
.promo-offer__highlight {
    display: block;
    font-size: clamp(56px, 11vw, 120px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.03em;
    margin: 14px 0 6px;
    background: linear-gradient(180deg, #f7e29a 0%, #cbab72 60%, #a07d18 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #d4af37;
    text-shadow: 0 12px 40px rgba(212, 175, 55, .25);
    position: relative;
    z-index: 2;
}
.promo-offer__highlight small {
    font-size: .42em;
    letter-spacing: -.01em;
    vertical-align: 32%;
    margin-right: .08em;
}

.promo-offer__lead {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(245, 232, 200, .8);
    margin: 0 auto 32px;
    max-width: 560px;
    position: relative;
    z-index: 2;
}

/* Countdown */
.promo-offer__countdown {
    display: inline-flex;
    gap: 10px;
    margin: 0 0 36px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
}
.promo-offer__cell {
    min-width: 84px;
    padding: 14px 10px 10px;
    background: rgba(20, 20, 14, .65);
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}
.promo-offer__num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #f6dd8a;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}
.promo-offer__label {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(245, 232, 200, .55);
}

/* CTA */
.promo-offer__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(180deg, #f6dd8a 0%, #cbab72 100%);
    color: #14140e;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow: 0 14px 30px rgba(212, 175, 55, .35),
        inset 0 1px 0 rgba(255, 255, 255, .3);
}
.promo-offer__cta:hover,
.promo-offer__cta:focus-visible {
    color: #14140e;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
        0 22px 40px rgba(212, 175, 55, .45),
        inset 0 1px 0 rgba(255, 255, 255, .35);
    outline: none;
}
.promo-offer__cta svg {
    width: 18px; height: 18px;
    fill: currentColor;
    transition: transform .25s ease;
}
.promo-offer__cta:hover svg { transform: translateX(4px); }

.promo-offer__small {
    display: block;
    margin: 22px auto 0;
    max-width: 480px;
    font-size: 12px;
    color: rgba(245, 232, 200, .45);
    line-height: 1.55;
    position: relative;
    z-index: 2;
}

/* парящие искры на заднем плане */
.promo-offer__spark {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #f3d57a;
    box-shadow: 0 0 10px rgba(243, 213, 122, .8);
    opacity: .55;
    animation: promoFloat 9s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes promoFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: .55; }
    50%      { transform: translateY(-22px) translateX(8px); opacity: .9; }
}

@media (max-width: 767.98px) {
    .promo-offer { padding: 64px 0; }
    .promo-offer__inner { padding: 40px 22px 36px; border-radius: 18px; }
    .promo-offer__cell  { min-width: 64px; padding: 10px 6px 8px; }
    .promo-offer__num   { font-size: 24px; }
    .promo-offer__label { font-size: 10px; }
    .promo-offer__cta   { padding: 14px 24px; font-size: 13px; width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .promo-offer__badge i,
    .promo-offer__spark { animation: none !important; }
}
