/* =============================================
   JVS Why Choose Us — Widget Styles
   ============================================= */

.jvs-wc {
    --jvs-wc-accent: #C8A87C;
    --jvs-wc-icon-bg: #C8A87C;
    
    background: #2C1810;
    position: relative;
    overflow: hidden;
    padding: 90px 0;
}

.jvs-wc-fw {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Ambient BG glow */
.jvs-wc::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(200,168,124,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 100%, rgba(200,168,124,0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(200,168,124,0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Gold accent top & bottom */
.jvs-wc::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--jvs-wc-accent), transparent);
    z-index: 5;
}

.jvs-wc-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* ====== HEADER ====== */
.jvs-wc-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.jvs-wc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(200,168,124,0.15), rgba(200,168,124,0.08));
    border: 1px solid rgba(200,168,124,0.2);
    color: var(--jvs-wc-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 9px 24px;
    border-radius: 50px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.jvs-wc-badge svg {
    width: 14px; height: 14px;
    stroke: var(--jvs-wc-accent);
    fill: none; stroke-width: 2;
}

.jvs-wc-heading {
    font-size: 38px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
}
.jvs-wc-hl {
    background: linear-gradient(135deg, var(--jvs-wc-accent), #DFC08E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jvs-wc-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: rgba(245,237,228,0.6);
    line-height: 1.7;
}

/* ====== GRID ====== */
.jvs-wc-grid {
    display: grid;
    gap: 24px;
}
.jvs-wc[data-cols="3"] .jvs-wc-grid { grid-template-columns: repeat(3, 1fr); }
.jvs-wc[data-cols="2"] .jvs-wc-grid { grid-template-columns: repeat(2, 1fr); }

/* ====== CARD ====== */
.jvs-wc-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,168,124,0.08);
    border-radius: 20px;
    padding: 36px 30px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

/* Hover */
.jvs-wc-hoverable .jvs-wc-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(200,168,124,0.25);
    transform: translateY(-8px);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.2),
        0 0 40px rgba(200,168,124,0.08),
        inset 0 1px 0 rgba(200,168,124,0.1);
}

/* Shine sweep */
.jvs-wc-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}
.jvs-wc-hoverable .jvs-wc-card:hover::before { left: 100%; }

/* Card top gold line */
.jvs-wc-card-line {
    position: absolute;
    top: 0; left: 30px; right: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--jvs-wc-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.jvs-wc-hoverable .jvs-wc-card:hover .jvs-wc-card-line { opacity: 0.6; }

/* Badge on card */
.jvs-wc-card-badge {
    position: absolute;
    top: 18px; right: 18px;
    background: linear-gradient(135deg, var(--jvs-wc-accent), #DFC08E);
    color: #2C1810;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 3;
    line-height: 1.4;
}

/* ====== ICON ====== */
.jvs-wc-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--jvs-wc-icon-bg), #DFC08E);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 6px 20px rgba(200,168,124,0.2),
        inset 0 2px 0 rgba(255,255,255,0.2),
        inset 0 -2px 4px rgba(0,0,0,0.08);
    transition: all 0.45s ease;
}

.jvs-wc-card-icon svg {
    width: 28px; height: 28px;
    stroke: #2C1810;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s ease;
}

.jvs-wc-hoverable .jvs-wc-card:hover .jvs-wc-card-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow:
        0 8px 28px rgba(200,168,124,0.3),
        inset 0 2px 0 rgba(255,255,255,0.25),
        inset 0 -2px 4px rgba(0,0,0,0.08);
}
.jvs-wc-hoverable .jvs-wc-card:hover .jvs-wc-card-icon svg {
    transform: scale(1.05);
}

/* Decorative ring */
.jvs-wc-card-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 22px;
    border: 1.5px dashed rgba(200,168,124,0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: jvsWcSpin 20s linear infinite;
}
.jvs-wc-hoverable .jvs-wc-card:hover .jvs-wc-card-icon::after { opacity: 1; }

@keyframes jvsWcSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ====== STAT NUMBER ====== */
.jvs-wc-card-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--jvs-wc-accent), #DFC08E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

/* ====== TEXT ====== */
.jvs-wc-card-title {
    
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.jvs-wc-card-desc {
    
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(245,237,228,0.6);
    line-height: 1.75;
    position: relative;
    z-index: 2;
    flex: 1;
}

/* ====== BOTTOM CTA STRIP ====== */
.jvs-wc-bottom {
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(200,168,124,0.06), rgba(200,168,124,0.03));
    border: 1px solid rgba(200,168,124,0.12);
    border-radius: 16px;
    padding: 28px 36px;
    backdrop-filter: blur(6px);
}

.jvs-wc-bottom-text {
    font-size: 16px;
    font-weight: 500;
    color: rgba(245,237,228,0.85);
    letter-spacing: 0.2px;
}

.jvs-wc-bottom-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, var(--jvs-wc-accent), #DFC08E);
    color: #2C1810;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.jvs-wc-bottom-btn svg {
    width: 16px; height: 16px;
    stroke: #2C1810; fill: none; stroke-width: 2;
    transition: transform 0.3s ease;
}
.jvs-wc-bottom-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}
.jvs-wc-bottom-btn:hover::before { left: 100%; }
.jvs-wc-bottom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200,168,124,0.25);
    color: #2C1810;
}
.jvs-wc-bottom-btn:hover svg { transform: translateX(4px); }

/* ====== SCROLL ANIMATION ====== */
.jvs-wc-anim .jvs-wc-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease var(--jvs-wc-delay, 0s), transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94) var(--jvs-wc-delay, 0s);
}
.jvs-wc-anim .jvs-wc-fade.jvs-wc-visible {
    opacity: 1;
    transform: translateY(0);
}
.jvs-wc-anim .jvs-wc-header { --jvs-wc-delay: 0.05s; }
.jvs-wc-anim .jvs-wc-bottom { --jvs-wc-delay: 0.6s; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .jvs-wc { padding: 70px 0; }
    .jvs-wc[data-cols="3"] .jvs-wc-grid { grid-template-columns: repeat(2, 1fr); }
    .jvs-wc-heading { font-size: 32px; }
}

@media (max-width: 768px) {
    .jvs-wc { padding: 55px 0; }
    .jvs-wc-inner { padding: 0 20px; }
    .jvs-wc-heading { font-size: 28px; }
    .jvs-wc-grid { gap: 18px; }
    .jvs-wc-card { padding: 28px 24px 26px; }
    .jvs-wc-card-icon { width: 56px; height: 56px; border-radius: 16px; }
    .jvs-wc-card-icon svg { width: 24px; height: 24px; }
    .jvs-wc-bottom { flex-direction: column; text-align: center; padding: 24px 20px; }
}

@media (max-width: 520px) {
    .jvs-wc { padding: 45px 0; }
    .jvs-wc-heading { font-size: 24px; }
    .jvs-wc[data-cols="3"] .jvs-wc-grid,
    .jvs-wc[data-cols="2"] .jvs-wc-grid { grid-template-columns: 1fr; }
    .jvs-wc-card { padding: 24px 20px; }
    .jvs-wc-card-title { font-size: 16px; }
    .jvs-wc-bottom-btn { width: 100%; justify-content: center; }
}
