
.arvot-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    counter-reset: arvot; /* laskuri numerointiin */
}

@media (min-width: 768px) {
    .arvot-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

.arvot-wrap h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2b6a4a;
}

.arvot-lead {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 40px;
}

.arvo {
    padding: 25px 15px;
    border-radius: 12px;
    background-color: #f7f7f7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.arvo:nth-child(1) { animation-delay: 0.2s; }
.arvo:nth-child(2) { animation-delay: 0.4s; }
.arvo:nth-child(3) { animation-delay: 0.6s; }
.arvo:nth-child(4) { animation-delay: 0.8s; }
.arvo:nth-child(5) { animation-delay: 1s; }
.arvo:nth-child(6) { animation-delay: 1.2s; }

.arvo .icon {
    font-size: 3rem;
    margin-bottom: -1rem;
}

.arvo h2 {
    position: relative;
    font-size: 1.4rem;
    margin: 10px 0;
    color: #2b6a4a;
 
}

.arvo p {
    color: #333;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.arvo .story {
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
    margin-top: 6px;
}

.arvo em {
    display: block;
    margin-top: 4px;
    font-style: italic;
    color: #555;
}

/* Värikoodaus */
.arvo.luonto { background-color: #e6f4ea; }
.arvo.opetus { background-color: #e0f0f0; }
.arvo.kulttuuri { background-color: #e6f0fa; }
.arvo.turva { background-color: #fff9e6; }
.arvo.mainokset { background-color: #f0f0f0; }

/* Fade-in animaatio */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiivisuus */
@media (max-width: 640px) {
    .arvot-wrap {
        padding: 20px 15px;
        grid-template-columns: 1fr;
    }
    .arvo .icon {
        font-size: 2.5rem;
    }
    .arvo p, .arvo .story {
        font-size: 1rem;
    }
}




.cta {
    margin: 40px auto 20px auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 1.5s; /* viimeisen kortin jälkeen */
}


.cta p {
    font-size: 1.1rem;
    color: #2b6a4a;
    margin-bottom: 12px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2b6a4a;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1f5036;
}
