/* Orange Dice — consultation / e-commerce CTA bands (home, services, districts) */

.district-cta,
.section--ecommerce-cta:not(.bg-light) {
    position: relative;
    padding: 3.25rem 0;
    background: linear-gradient(128deg, #40064d 0%, #5c1870 38%, #c45a00 72%, #fc7751 100%);
    overflow: hidden;
}

.district-cta__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 15% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 85% 20%, rgba(255, 200, 120, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.district-cta__inner,
.section--ecommerce-cta:not(.bg-light) .container {
    position: relative;
    z-index: 1;
}

.district-cta__inner {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.district-cta__title,
.section--ecommerce-cta:not(.bg-light) h2 {
    font-family: var(--font-1, Roboto, sans-serif);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.district-cta__subtitle,
.section--ecommerce-cta:not(.bg-light) .count__desc {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 1.75rem;
    max-width: 36rem;
}

.district-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1rem;
}

.district-cta__btn,
.section--ecommerce-cta .odic-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 15.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-2, Inter, sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    color: #3d0649 !important;
    text-decoration: none !important;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f5efe8 100%);
    box-shadow:
        0 4px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    text-indent: 0 !important;
    width: auto;
    overflow: visible;
}

.district-cta__btn::before,
.section--ecommerce-cta .odic-btn-link::before {
    display: none !important;
}

.district-cta__btn svg,
.section--ecommerce-cta .odic-btn-link svg {
    display: none;
}

.district-cta__btn-text::after {
    content: " →";
    font-weight: 700;
    transition: transform 0.2s ease;
    display: inline-block;
}

.district-cta__btn:hover,
.section--ecommerce-cta .odic-btn-link:hover {
    color: #3d0649 !important;
    transform: translateY(-3px);
    box-shadow:
        0 4px 0 rgba(255, 255, 255, 0.4) inset,
        0 16px 40px rgba(0, 0, 0, 0.28);
    border-color: transparent;
}

.district-cta__btn:hover .district-cta__btn-text::after {
    transform: translateX(4px);
}

/* Legacy odic-btn-link in gradient band: add arrow via pseudo on link text */
.section--ecommerce-cta:not(.bg-light) .odic-btn-link::after {
    content: " →";
    font-weight: 700;
    margin-left: 0.15rem;
}

.section--ecommerce-cta:not(.bg-light) .odic-btn-link:hover::after {
    display: inline-block;
    transform: translateX(4px);
    transition: transform 0.2s ease;
}

.district-cta__btn:focus-visible,
.section--ecommerce-cta .odic-btn-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.district-cta__btn--outline {
    color: #fff !important;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: none;
    min-width: auto;
    padding: 0.85rem 1.5rem;
}

.district-cta__btn--outline:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.district-cta__phone {
    margin: 1.25rem 0 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.88);
}

.district-cta__phone a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
}

/* Light-band service pages: styled button only */
.section--ecommerce-cta.bg-light .odic-btn-link {
    color: #fff !important;
    background: linear-gradient(135deg, #ff7301 0%, #fc7751 55%, #f1bc2e 100%);
    box-shadow: 0 6px 20px rgba(255, 115, 1, 0.35);
}

.section--ecommerce-cta.bg-light .odic-btn-link:hover {
    color: #fff !important;
    box-shadow: 0 10px 28px rgba(255, 115, 1, 0.45);
}

.section--ecommerce-cta.bg-light .odic-btn-link::after {
    content: " →";
    font-weight: 700;
}

.district-cta--compact {
    padding: 2rem 1.5rem;
    margin-top: 0.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f4ff 0%, #fff5ee 50%, #fff 100%);
    border: 1px solid #ebe0f0;
    box-shadow: 0 8px 24px rgba(64, 6, 77, 0.06);
}

.district-cta--compact .district-cta__glow {
    display: none;
}

.district-cta--compact .district-cta__title {
    color: #40064d;
    font-size: 1.15rem;
    text-shadow: none;
}

.district-cta--compact .district-cta__subtitle {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.district-cta--compact .district-cta__btn {
    background: linear-gradient(135deg, #ff7301 0%, #fc7751 55%, #f1bc2e 100%);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(255, 115, 1, 0.35);
}

.district-cta--compact .district-cta__btn:hover {
    color: #fff !important;
    box-shadow: 0 10px 28px rgba(255, 115, 1, 0.45);
}

.district-cta__btn--block {
    width: 100%;
    min-width: 0;
    font-size: 0.95rem;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, #ff7301 0%, #fc7751 100%);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(255, 115, 1, 0.35);
}

.district-cta__btn--block:hover {
    color: #fff !important;
}
