/*============================
      STATISTICS
============================*/

.statistics {
    background: var(--cream);
}

.stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 70px);
}

.stats-header {
    max-width: 700px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    background: #fff;
    padding: clamp(30px, 4vw, 45px) 25px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid transparent;
    transition: .4s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary);
    top: 0;
    left: 0;
    transform: scaleX(0);
    transition: .4s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card h3 {
    display: inline;
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    color: var(--black);
    font-family: "Cormorant Garamond", serif;
    line-height: 1;
}

.stat-card span {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary);
    font-weight: 700;
}

.stat-card p {
    margin-top: 12px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.92rem;
}

/* =============================
      STATISTICS MOBILE
============================= */

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .statistics {
        padding: 70px 0;
    }

    .stats-header {
        text-align: center;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .stats-header .section-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .stats-header .text {
        font-size: .9rem;
        line-height: 1.7;
        margin-top: 15px;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 22px 15px;
        border-radius: 18px;
        text-align: center;
    }

    .stat-card h3 {
        font-size: 2.1rem;
        margin-bottom: 4px;
    }

    .stat-card span {
        font-size: 1.3rem;
    }

    .stat-card p {
        font-size: .8rem;
        line-height: 1.4;
        margin-top: 8px;
    }
}