/**
 * Service Card & Crisis Mode Styles
 * Emergency badge, sticky CTA, trust bar
 *
 * @package Custom_Business_Directory
 * @version 1.0.0
 */

/* =============================================================================
   EMERGENCY 24/7 BADGE — Pulsing neon green
   ============================================================================= */
.svc-emergency-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #22c55e;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: svc-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

@keyframes svc-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
    50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.9); }
}

/* =============================================================================
   SERVICE CARD ADDITIONS
   ============================================================================= */
.svc-card-phone {
    color: #D4AF37;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
}

.svc-years {
    color: #888888;
    font-size: 0.85rem;
}

/* =============================================================================
   TRUST BAR — Full-width dark bar with gold badges
   ============================================================================= */
.svc-trust-bar {
    background: #161616;
    border-bottom: 1px solid #333;
    padding: 14px 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.svc-trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.svc-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #222;
    border: 1px solid #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #EDEDED;
    white-space: nowrap;
}

.svc-trust-badge.svc-trust-highlight {
    background: #D4AF37;
    color: #000000;
    border-color: #D4AF37;
    font-weight: 700;
}

.svc-trust-badge.svc-trust-emergency {
    background: #22c55e;
    color: #000000;
    border-color: #22c55e;
    font-weight: 700;
    animation: svc-pulse 1.5s ease-in-out infinite;
}

/* =============================================================================
   CRISIS MODE — Single Service Page
   ============================================================================= */

/* Verdict / Why We Recommend */
.svc-verdict {
    background: #161616;
    border-left: 4px solid #D4AF37;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #EDEDED;
}

/* Service Highlights Grid */
.svc-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.svc-highlight-item {
    background: #161616;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
}

.svc-highlight-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.svc-highlight-name {
    color: #EDEDED;
    font-weight: 600;
    font-size: 0.95rem;
}

/* License & Credentials Card */
.svc-license-card {
    border: 1px solid #D4AF37 !important;
}

.svc-license-number {
    color: #D4AF37;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.svc-license-verify {
    display: inline-block;
    color: #D4AF37;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px dashed #D4AF37;
}

.svc-license-verify:hover {
    color: #EDEDED;
    border-color: #EDEDED;
}

/* Service Areas */
.svc-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.svc-area-tag {
    background: #222;
    border: 1px solid #333;
    color: #EDEDED;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* =============================================================================
   SIDEBAR CALL NOW — Massive sticky button
   ============================================================================= */
.svc-call-card {
    border: 2px solid #D4AF37 !important;
}

.svc-call-btn {
    display: block;
    background: #D4AF37;
    color: #000000 !important;
    text-align: center;
    padding: 16px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    margin-bottom: 10px;
}

.svc-call-btn:hover {
    opacity: 0.9;
    color: #000000 !important;
}

.svc-call-phone {
    text-align: center;
    color: #D4AF37;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.svc-secondary-btn {
    display: block;
    background: #161616;
    color: #D4AF37 !important;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #333;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.svc-secondary-btn:hover {
    background: #222;
    color: #D4AF37 !important;
}

/* =============================================================================
   STICKY MOBILE CTA — Fixed bottom bar on < 768px
   ============================================================================= */
.svc-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #000000;
    border-top: 2px solid #D4AF37;
    padding: 10px 16px;
    text-align: center;
}

.svc-mobile-cta a {
    display: block;
    background: #D4AF37;
    color: #000000 !important;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Cross-vertical link card */
.svc-cross-link {
    background: #161616;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.svc-cross-link a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.svc-cross-link a:hover {
    text-decoration: underline;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 768px) {
    .svc-mobile-cta {
        display: block;
    }

    .svc-highlights-grid {
        grid-template-columns: 1fr;
    }

    .svc-trust-inner {
        gap: 8px;
    }

    .svc-trust-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

@media (min-width: 769px) {
    /* Sticky sidebar on desktop */
    .svc-sidebar-sticky {
        position: sticky;
        top: 20px;
    }
}
