/* AMCO Info Cards – info-cards.css v2.0.0 */

/* ── Grid ───────────────────────────────────────────────────── */
.r4d-ic-grid {
    display: grid;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    align-items: start;
}

/* ── Card base ──────────────────────────────────────────────── */
.r4d-ic-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.r4d-ic-card--shadow {
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.r4d-ic-card:hover {
    transform: translateY(-2px);
}
.r4d-ic-card--shadow:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.11);
}

/* ── Header row ─────────────────────────────────────────────── */
.r4d-ic-header {
    display: flex;
    align-items: center;
    gap: 14px;
}
.r4d-ic-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.20s ease;
}
.r4d-ic-card:hover .r4d-ic-icon-wrap {
    transform: scale(1.07);
}
.r4d-ic-icon-wrap .r4d-ms-icon {
    font-size: 22px !important;
    line-height: 1;
}
.r4d-ic-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.r4d-ic-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    display: block;
}
.r4d-ic-subtitle {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
    display: block;
}

/* ── Body ───────────────────────────────────────────────────── */
.r4d-ic-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* — Variant 1: schedule value box — */
.r4d-ic-value-box {
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.r4d-ic-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
}

/* — Variant 2: list items as pill-badges — */
.r4d-ic-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: filter 0.15s ease;
}
.r4d-ic-list-item:hover { filter: brightness(0.96); }
.r4d-ic-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* — Variant 3: stat row — */
.r4d-ic-stat-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.r4d-ic-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 56px;
}
.r4d-ic-stat-val {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}
.r4d-ic-stat-lbl {
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* — Variant 4: tags/pills — */
.r4d-ic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.r4d-ic-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.r4d-ic-tag:hover { transform: scale(1.04); filter: brightness(0.94); }

/* — Variant 5: feature text — */
.r4d-ic-desc {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}

/* ── Entrance animation ─────────────────────────────────────── */
.r4d-ic-anim {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.46s ease, transform 0.46s ease;
    transition-delay: var(--ic-delay, 0s);
}
.r4d-ic-anim.r4d-ic-visible {
    opacity: 1;
    transform: translateY(0);
}
.r4d-ic-anim.r4d-ic-visible:hover {
    transform: translateY(-2px);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
    .r4d-ic-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 520px) {
    .r4d-ic-grid { grid-template-columns: 1fr !important; }
    .r4d-ic-card { padding: 18px; border-radius: 12px; }
    .r4d-ic-value { font-size: 18px; }
    .r4d-ic-stat-val { font-size: 24px; }
    /* Stat row wraps nicely on small screens */
    .r4d-ic-stat-row { gap: 14px; }
    .r4d-ic-stat-item { min-width: 48px; }
}
