/* ============================================================================
   Цветомания — /loyalty-card/
   Tilda Sans · #A11826 · namespace .lc-*
   Программа лояльности: 3 уровня карт с акцентными цветами.
============================================================================ */

/* ---------------------------- VARIABLES & RESET ---------------------------- */
.loyalty-page {
    --lc-primary: #A11826;
    --lc-primary-dark: #7d101b;
    --lc-primary-soft: #fbecee;
    --lc-accent: #F13A5F;

    /* Tier accents */
    --lc-pink: #F13A5F;
    --lc-pink-soft: #fff1f5;
    --lc-silver: #8a8a94;
    --lc-silver-soft: #f5f5f7;
    --lc-gold: #C69F44;
    --lc-gold-soft: #fcf6e8;

    --lc-text: #1a1a1a;
    --lc-text-muted: #5a5a5a;
    --lc-text-light: #8a8a8a;
    --lc-border: #ececec;
    --lc-border-soft: #f4f4f4;
    --lc-bg: #ffffff;
    --lc-bg-soft: #fafaf8;

    --lc-radius: 8px;
    --lc-radius-lg: 16px;
    --lc-radius-xl: 28px;

    --lc-shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.04);
    --lc-shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
    --lc-shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.08);

    --lc-ease: cubic-bezier(0.22, 1, 0.36, 1);

    font-family: 'Tilda Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--lc-text);
    font-size: 16px;
    line-height: 1.5;
    background: var(--lc-bg);
    overflow-x: hidden;
}

.loyalty-page *,
.loyalty-page *::before,
.loyalty-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.loyalty-page ul,
.loyalty-page ol,
.loyalty-page dl {
    list-style: none;
}

.loyalty-page a {
    color: var(--lc-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--lc-ease), color 0.2s var(--lc-ease);
}

.loyalty-page a:hover {
    border-bottom-color: currentColor;
}

.loyalty-page strong,
.loyalty-page b {
    font-weight: 600;
    color: var(--lc-text);
}

.lc-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 150px;
    width: 100%;
}

/* ------------------------------- EYEBROW --------------------------------- */
.lc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lc-primary);
    margin-bottom: 24px;
}

.lc-eyebrow__dash {
    width: 24px;
    height: 1px;
    background: var(--lc-primary);
    flex-shrink: 0;
}

/* --------------------------------- BUTTONS -------------------------------- */
.lc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--lc-ease), background 0.2s var(--lc-ease),
                color 0.2s var(--lc-ease), border-color 0.2s var(--lc-ease),
                box-shadow 0.2s var(--lc-ease);
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
}

.lc-btn:hover {
    border-bottom-color: transparent;
    transform: translateY(-1px);
}

.lc-btn--lg {
    padding: 20px 36px;
    font-size: 16px;
}

/* Specificity overrides */
.loyalty-page .lc-btn--primary {
    background: var(--lc-primary);
    color: #fff;
}
.loyalty-page .lc-btn--primary:hover {
    background: var(--lc-primary-dark);
    color: #fff;
    box-shadow: 0 8px 28px rgba(161, 24, 38, 0.22);
}

.loyalty-page .lc-btn--ghost {
    background: transparent;
    color: var(--lc-text);
    border-color: var(--lc-border);
}
.loyalty-page .lc-btn--ghost:hover {
    color: var(--lc-primary);
    border-color: var(--lc-primary);
    background: #fff;
}

.loyalty-page .lc-btn--outline {
    background: #fff;
    color: var(--lc-text);
    border-color: var(--lc-border);
}
.loyalty-page .lc-btn--outline:hover {
    color: var(--lc-primary);
    border-color: var(--lc-primary);
}

/* В CTA-секции переопределим кнопки на «белые на красном» */
.loyalty-page .lc-cta .lc-btn--primary {
    background: #fff;
    color: var(--lc-primary);
}
.loyalty-page .lc-cta .lc-btn--primary:hover {
    background: var(--lc-bg-soft);
    color: var(--lc-primary-dark);
}
.loyalty-page .lc-cta .lc-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.loyalty-page .lc-cta .lc-btn--outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------- SECTION HEAD ----------------------------- */
.lc-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.lc-section-head .lc-eyebrow {
    justify-content: center;
}

.lc-section-head__title {
    font-family: inherit;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--lc-text);
}

.lc-section-head__lede {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--lc-text-muted);
}

/* ---------------------------------- HERO ---------------------------------- */
.lc-hero {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.lc-hero::before {
    content: '';
    position: absolute;
    top: -240px;
    right: -220px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(241, 58, 95, 0.07), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.lc-hero__container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 480px;
}

.lc-hero__title {
    font-family: inherit;
    font-size: clamp(44px, 6vw, 96px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--lc-text);
    margin-bottom: 32px;
}

.lc-hero__title-accent {
    color: var(--lc-primary);
    font-style: italic;
    font-weight: 500;
}

.lc-hero__lede {
    font-size: clamp(17px, 1.2vw, 20px);
    line-height: 1.6;
    color: var(--lc-text-muted);
    margin-bottom: 40px;
    max-width: 560px;
}

.lc-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.lc-hero__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.lc-hero__media::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(161, 24, 38, 0.08), transparent 70%);
    z-index: 0;
}

.lc-hero__media img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 60px rgba(161, 24, 38, 0.18));
}

/* --------------------------------- BENEFITS ------------------------------- */
.lc-benefits {
    padding: 60px 0 100px;
    background: var(--lc-bg-soft);
}

.lc-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lc-benefit {
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius-xl);
    transition: transform 0.3s var(--lc-ease), border-color 0.3s var(--lc-ease),
                box-shadow 0.3s var(--lc-ease);
    position: relative;
    overflow: hidden;
}

.lc-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--lc-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--lc-ease);
}

.lc-benefit:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--lc-shadow-lg);
}

.lc-benefit:hover::before {
    transform: scaleX(1);
}

.lc-benefit__value {
    display: block;
    font-family: inherit;
    font-size: clamp(36px, 3.2vw, 52px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--lc-primary);
    margin-bottom: 20px;
}

.lc-benefit__value span {
    font-size: 0.55em;
    color: var(--lc-primary);
    margin-left: 2px;
}

.lc-benefit__title {
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--lc-text);
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}

.lc-benefit__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--lc-text-muted);
}

.lc-benefits__note {
    margin-top: 40px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--lc-text-muted);
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------- TIERS ------------------------------- */
.lc-tiers {
    padding: 120px 0;
    scroll-margin-top: 80px;
}

.lc-tiers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.lc-tier {
    display: flex;
    flex-direction: column;
    padding: 40px 36px;
    background: #fff;
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius-xl);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--lc-ease), box-shadow 0.35s var(--lc-ease);
}

.lc-tier::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.lc-tier--pink::before {
    background: radial-gradient(circle, var(--lc-pink-soft), transparent 70%);
}

.lc-tier--silver::before {
    background: radial-gradient(circle, var(--lc-silver-soft), transparent 70%);
}

.lc-tier--gold::before {
    background: radial-gradient(circle, var(--lc-gold-soft), transparent 70%);
}

.lc-tier:hover {
    transform: translateY(-6px);
    box-shadow: var(--lc-shadow-lg);
}

.lc-tier > * {
    position: relative;
    z-index: 1;
}

.lc-tier__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 14px;
    background: var(--lc-bg-soft);
    color: var(--lc-text-muted);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.lc-tier__badge--top {
    background: var(--lc-primary);
    color: #fff;
}

.lc-tier__image {
    margin: 0 -8px 28px;
    display: flex;
    justify-content: center;
    min-height: 180px;
    align-items: center;
}

.lc-tier__image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 32px rgba(26, 26, 26, 0.12));
}

.lc-tier__name {
    font-family: inherit;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--lc-text);
    margin-bottom: 12px;
}

.lc-tier__rate {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px 0;
    margin-bottom: 20px;
    border-top: 1px solid var(--lc-border-soft);
    border-bottom: 1px solid var(--lc-border-soft);
}

.lc-tier__rate-value {
    font-family: inherit;
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
}

.lc-tier__rate-value span {
    font-size: 0.55em;
    margin-left: 2px;
}

.lc-tier--pink .lc-tier__rate-value { color: var(--lc-pink); }
.lc-tier--silver .lc-tier__rate-value { color: var(--lc-silver); }
.lc-tier--gold .lc-tier__rate-value { color: var(--lc-gold); }

.lc-tier__rate-label {
    font-size: 14px;
    color: var(--lc-text-muted);
    text-transform: lowercase;
}

.lc-tier__details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lc-tier__detail {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
}

.lc-tier__detail dt {
    color: var(--lc-text-light);
}

.lc-tier__detail dd {
    color: var(--lc-text);
    font-weight: 500;
    text-align: right;
}

/* ----------------------------------- CTA ---------------------------------- */
.lc-cta {
    padding: 40px 0 100px;
}

.lc-cta__box {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 72px 80px;
    background: linear-gradient(135deg, var(--lc-primary) 0%, #7d101b 100%);
    color: #fff;
    border-radius: var(--lc-radius-xl);
    position: relative;
    overflow: hidden;
}

.lc-cta__box::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.lc-cta__title {
    font-family: inherit;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 16px;
}

.lc-cta__lede {
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
}

.lc-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* ----------------------------------- FAQ --------------------------------- */
.lc-faq {
    padding: 80px 0 120px;
    background: var(--lc-bg-soft);
}

.lc-faq__container {
    max-width: 1200px;
    padding: 0 150px;
}

.lc-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 48px;
}

.lc-faq__item {
    background: #fff;
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius-lg);
    overflow: hidden;
    transition: border-color 0.3s var(--lc-ease), box-shadow 0.3s var(--lc-ease);
}

.lc-faq__item[open] {
    border-color: var(--lc-primary);
    box-shadow: var(--lc-shadow);
}

.lc-faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--lc-text);
    list-style: none;
    transition: color 0.2s var(--lc-ease);
}

.lc-faq__summary::-webkit-details-marker {
    display: none;
}

.lc-faq__summary:hover {
    color: var(--lc-primary);
}

.lc-faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lc-primary-soft);
    position: relative;
    transition: background 0.3s var(--lc-ease), transform 0.3s var(--lc-ease);
}

.lc-faq__icon::before,
.lc-faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--lc-primary);
    transition: opacity 0.2s var(--lc-ease);
}

.lc-faq__icon::before {
    width: 12px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.lc-faq__icon::after {
    width: 1.5px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.lc-faq__item[open] .lc-faq__icon {
    background: var(--lc-primary);
    transform: rotate(180deg);
}

.lc-faq__item[open] .lc-faq__icon::before {
    background: #fff;
}

.lc-faq__item[open] .lc-faq__icon::after {
    opacity: 0;
}

.lc-faq__answer {
    padding: 0 28px 22px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--lc-text-muted);
}

.lc-faq__answer p + p,
.lc-faq__answer p + ul,
.lc-faq__answer ul + p {
    margin-top: 12px;
}

.lc-faq__answer ul {
    padding-left: 20px;
    list-style: none;
}

.lc-faq__answer ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.lc-faq__answer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lc-primary);
}

/* ------------------------- SCROLL REVEAL ANIMATION ------------------------ */
.lc-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s var(--lc-ease), transform 0.65s var(--lc-ease);
}

.lc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .loyalty-page *,
    .loyalty-page *::before,
    .loyalty-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .lc-reveal { opacity: 1; transform: none; }
}

/* ============================== RESPONSIVE =============================== */

@media (max-width: 1440px) {
    .lc-container { padding: 0 80px; }
    .lc-faq__container { padding: 0 80px; }
    .lc-cta__box { padding: 64px; }
}

@media (max-width: 1200px) {
    .lc-container { padding: 0 40px; }
    .lc-faq__container { padding: 0 40px; }

    .lc-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .lc-hero__media { min-height: 320px; }

    .lc-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lc-tiers__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 520px;
        margin: 0 auto;
    }

    .lc-cta__box {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 56px;
    }
}

@media (max-width: 768px) {
    .lc-container,
    .lc-faq__container {
        padding: 0 20px;
    }

    .lc-hero { padding: 32px 0 56px; }
    .lc-hero__title { margin-bottom: 24px; }
    .lc-hero__lede { margin-bottom: 32px; font-size: 17px; }
    .lc-hero__actions .lc-btn { flex: 1; }
    .lc-hero__media { min-height: 260px; }

    .lc-benefits { padding: 48px 0 72px; }
    .lc-benefits__grid { grid-template-columns: 1fr; }

    .lc-section-head { margin-bottom: 40px; }

    .lc-tiers { padding: 72px 0; }
    .lc-tier { padding: 32px 28px; border-radius: var(--lc-radius-lg); }

    .lc-cta { padding: 24px 0 64px; }
    .lc-cta__box {
        padding: 40px 24px;
        border-radius: var(--lc-radius-lg);
    }

    .lc-faq { padding: 56px 0 80px; }
    .lc-faq__summary {
        padding: 20px 22px;
        font-size: 15px;
        gap: 16px;
    }
    .lc-faq__answer {
        padding: 0 22px 20px;
        font-size: 14px;
    }

    .lc-btn--lg {
        padding: 16px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .lc-container,
    .lc-faq__container { padding: 0 12px; }

    .lc-hero__actions { flex-direction: column; align-items: stretch; }
    .lc-hero__actions .lc-btn { width: 100%; }

    .lc-cta__actions .lc-btn { width: 100%; }
}
