/* ============================================
   ICC-SERVICE: Benefits Bar v2
   Modern, clean, with subtle animations
   ============================================ */

.icc-benefits {
    --bn-primary: var(--icc-bn-primary, #0097a7);
    --bn-primary-hover: var(--icc-bn-primary-hover, #00838f);
    --bn-accent: var(--icc-bn-accent, #e91e63);
    --bn-bg: #f9fafb;
    --bn-text: var(--icc-bn-card-desc, #64748b);
    --bn-title: #1e293b;
    --bn-border: #e2e8f0;
    --bn-font: var(--icc-bn-font, Inter, -apple-system, BlinkMacSystemFont, sans-serif);

    background: var(--bn-bg);
    padding: 0;
    margin: 0;
    font-family: var(--bn-font);
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
}

.icc-benefits__inner {
    display: flex;
    align-items: stretch;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

/* ── Single item ───────────────────────────── */
.icc-benefit-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

/* Vertical dot-divider between items */
.icc-benefit-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--bn-border);
    opacity: 0.7;
}

.icc-benefit-item:hover {
    background: rgba(255,255,255,0.8);
}

/* ── Icon ──────────────────────────────────── */
.icc-benefit-item__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(0,151,167,0.12), rgba(0,151,167,0.04));
    box-shadow: 0 2px 8px rgba(0,151,167,0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background 0.3s ease;
}

.icc-benefit-item:hover .icc-benefit-item__icon {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 16px rgba(0,151,167,0.18);
    background: linear-gradient(145deg, rgba(0,151,167,0.18), rgba(0,151,167,0.08));
}

.icc-benefit-item__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--bn-primary);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease, filter 0.3s ease;
}

.icc-benefit-item:hover .icc-benefit-item__icon svg {
    stroke: var(--bn-primary-hover);
    filter: drop-shadow(0 0 3px rgba(0,151,167,0.25));
}

/* Accent color for alternating items (2nd, 4th) */
.icc-benefit-item--alt .icc-benefit-item__icon {
    background: linear-gradient(145deg, rgba(233,30,99,0.10), rgba(233,30,99,0.03));
    box-shadow: 0 2px 8px rgba(233,30,99,0.06);
}
.icc-benefit-item--alt .icc-benefit-item__icon svg {
    stroke: var(--bn-accent);
}
.icc-benefit-item--alt:hover .icc-benefit-item__icon {
    background: linear-gradient(145deg, rgba(233,30,99,0.18), rgba(233,30,99,0.08));
    box-shadow: 0 4px 16px rgba(233,30,99,0.15);
}
.icc-benefit-item--alt:hover .icc-benefit-item__icon svg {
    filter: drop-shadow(0 0 3px rgba(233,30,99,0.25));
}

/* ── Text ──────────────────────────────────── */
.icc-benefit-item__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.icc-benefit-item__title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bn-title);
    line-height: 1.3;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.icc-benefit-item:hover .icc-benefit-item__title {
    color: var(--bn-primary);
}

.icc-benefit-item--alt:hover .icc-benefit-item__title {
    color: var(--bn-accent);
}

.icc-benefit-item__desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--bn-text);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Phone links */
.icc-benefit-item a {
    color: var(--bn-text);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}
.icc-benefit-item a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--bn-primary);
    transition: width 0.3s ease;
}
.icc-benefit-item a:hover {
    color: var(--bn-primary);
}
.icc-benefit-item a:hover::after {
    width: 100%;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1100px) {
    .icc-benefits__inner {
        flex-wrap: wrap;
    }
    .icc-benefit-item {
        flex: 1 1 50%;
        min-width: 50%;
    }
    .icc-benefit-item:nth-child(2)::after {
        display: none;
    }
    .icc-benefit-item:nth-child(1),
    .icc-benefit-item:nth-child(2) {
        border-bottom: 1px solid var(--bn-border);
    }
}

@media (max-width: 600px) {
    .icc-benefits {
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }
    .icc-benefit-item {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 14px 18px;
        gap: 12px;
    }
    .icc-benefit-item:not(:last-child)::after {
        display: none;
    }
    .icc-benefit-item:not(:last-child) {
        border-bottom: 1px solid var(--bn-border);
    }
    .icc-benefit-item__icon {
        width: 40px;
        height: 40px;
    }
    .icc-benefit-item__icon svg {
        width: 20px;
        height: 20px;
    }
    .icc-benefit-item__title {
        font-size: 13px;
    }
    .icc-benefit-item__desc {
        font-size: 11px;
    }
}
