/* =============================================
   SHARED CTA CARD: watts_cta_card() in lib/watts_functions.php
   Used on the warranty page, FAQ archive + single and contractor singles.
   Also holds the .war-btn pill buttons and .war-scatter base classes,
   which warranty.css and faq.css build on (this file loads first there).
   ============================================= */
.war-cta {
    position: relative;
    padding: 40px 24px 120px;
}

.war-cta__card {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: 56px 56px 52px;
    background: linear-gradient(180deg, #1a1f33 0%, #14172a 100%);
    border: 1px solid rgba(0, 198, 255, 0.14);
    border-radius: 26px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.war-cta__glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 700px;
    height: 500px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center,
        rgba(0, 198, 255, 0.28) 0%,
        rgba(139, 92, 246, 0.12) 45%,
        transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.war-cta__eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #00C6FF;
    margin-bottom: 12px;
}

.war-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 14px;
}

.war-cta__desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    max-width: 480px;
    margin: 0 auto 26px;
}
.war-cta__desc a {
    color: #00C6FF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 198, 255, 0.4);
}

.war-cta__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.war-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.war-btn svg {
    width: 13px;
    height: 13px;
}

.war-btn--primary {
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 14px 36px rgba(0, 198, 255, 0.4);
}
.war-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(0, 198, 255, 0.6), 0 0 30px rgba(139, 92, 246, 0.35);
    color: #fff !important;
}

.war-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.war-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 198, 255, 0.55);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Dark + outline buttons for the light contractor panel */
.war-btn--dark {
    background: #0a0a0f;
    color: #fff !important;
    border: 1px solid #0a0a0f;
    box-shadow: 0 12px 30px rgba(10, 10, 15, 0.25);
}
.war-btn--dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(139, 92, 246, 0.35);
    color: #fff !important;
}
.war-btn--outline {
    background: transparent;
    color: #0a0a0f !important;
    border: 1px solid rgba(10, 10, 15, 0.25);
}
.war-btn--outline:hover {
    border-color: #8B5CF6;
    color: #8B5CF6 !important;
    transform: translateY(-2px);
}

/* =============================================
   SCATTERED DECOR (base classes + CTA positions)
   ============================================= */
.war-cta__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.war-scatter {
    position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
}
.war-scatter--pill {
    height: 14px;
    border-radius: 999px;
}
.war-scatter--pill-out {
    height: 14px;
    border-radius: 999px;
    background: transparent !important;
    border: 1px solid currentColor;
}
.war-scatter--dot {
    border-radius: 50%;
    filter: blur(0.4px);
}
.war-scatter--ring {
    border-radius: 50%;
    background: transparent;
}

/* CTA decor */
.war-scatter--c1 {
    top: 30%; left: 6%; width: 90px;
    background: linear-gradient(90deg, #00C6FF, #8B5CF6);
    opacity: 0.3; transform: rotate(-18deg);
}
.war-scatter--c2 {
    top: 60%; right: 5%; width: 110px;
    color: rgba(139, 92, 246, 0.4);
    transform: rotate(22deg);
}
.war-scatter--cd1 {
    top: 22%; right: 16%; width: 6px; height: 6px;
    background: #00C6FF; box-shadow: 0 0 14px rgba(0, 198, 255, 0.7);
}
.war-scatter--cd2 {
    top: 70%; left: 18%; width: 5px; height: 5px;
    background: #EC4899; box-shadow: 0 0 12px rgba(236, 72, 153, 0.7);
}
.war-scatter--cd3 {
    bottom: 14%; right: 22%; width: 7px; height: 7px;
    background: #8B5CF6; box-shadow: 0 0 16px rgba(139, 92, 246, 0.7);
}

@media (max-width: 767px) {
    .war-cta                { padding: 20px 16px 80px; }
    .war-cta__card          { padding: 40px 24px 36px; }
}
