.policies {
    background: linear-gradient(180deg, #f7fff7 0%, #f0fdf4 100%);
}

.policies h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    margin-bottom: 0.65rem;
    color: #065f46;
    position: relative;
}

.policies h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 4px;
    border-radius: 999px;
    margin: 0.7rem auto 0;
    background: linear-gradient(90deg, #16a34a, #ffb74d);
}

.policies-lead {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #3f5e4f;
    line-height: 1.85;
    font-weight: 600;
}

.policies-grid.four-columns {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1rem !important;
}

.policy-card {
    position: relative;
    overflow: hidden;
    min-height: 168px !important;
    padding: 1.1rem !important;
    border: 1px solid #d1fae5 !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
    animation: cardIn 0.65s ease both;
}

.policy-card:nth-child(2) { animation-delay: 0.05s; }
.policy-card:nth-child(3) { animation-delay: 0.1s; }
.policy-card:nth-child(4) { animation-delay: 0.15s; }
.policy-card:nth-child(5) { animation-delay: 0.2s; }
.policy-card:nth-child(6) { animation-delay: 0.25s; }
.policy-card:nth-child(7) { animation-delay: 0.3s; }
.policy-card:nth-child(8) { animation-delay: 0.35s; }
.policy-card:nth-child(9) { animation-delay: 0.4s; }

.policy-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.5), transparent 55%);
    pointer-events: none;
}

.policy-card:hover {
    transform: translateY(-9px) scale(1.015) !important;
    border-color: #ffb74d !important;
    background: linear-gradient(180deg, #fffaf2 0%, #fff4e1 100%) !important;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14) !important;
}

.policy-card i {
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline-block;
    color: #0b6b3c !important;
    background: transparent;
    box-shadow: none;
    margin-bottom: 0.7rem !important;
    font-size: 2rem !important;
    animation: none;
}

.policy-card h3 {
    color: #064e3b !important;
    font-weight: 800 !important;
    line-height: 1.6;
    font-size: 1rem !important;
}

.policy-card:hover i {
    color: #ffb74d !important;
}

.policy-card:hover h3 {
    color: #8a4b00 !important;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .policies-lead {
        margin-bottom: 1.4rem;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .policy-card {
        min-height: 142px !important;
    }

    .policy-card h3 {
        font-size: 0.92rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .policy-card,
    .policy-card i {
        animation: none !important;
        transition: none !important;
    }
}
