/* ==================================================
   SERVICES
================================================== */

.services {
    padding: var(--space-3xl) 0;
}

.services-header {
    max-width: 720px;

    margin: 0 auto var(--space-2xl);

    text-align: center;
}

.services-header h2 {
    margin-bottom: 18px;
}

.services-header p {
    color: var(--text-light);
}


/* ==================================================
   GRID
================================================== */

.services-grid {
    display: grid;

    gap: 24px;
}


/* ==================================================
   CARD
================================================== */

.service-card {

    display: flex;
    flex-direction: column;

    padding: 32px;

    background: var(--white);

    border: 1px solid #eceff3;
    border-radius: var(--radius-lg);

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

.service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

    border-color: rgba(220, 40, 40, .18);
}


/* ==================================================
   ICON
================================================== */

.service-icon {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin-bottom: 24px;

    font-size: 28px;

    color: var(--accent-color);

    background: rgba(220,40,40,.08);

    border-radius: 16px;
}


/* ==================================================
   CONTENT
================================================== */

.service-card h3 {

    margin-bottom: 14px;
}

.service-card p {

    margin-bottom: 24px;

    color: var(--text-light);

    flex: 1;
}


/* ==================================================
   LINK
================================================== */

.service-link {

    display: inline-flex;
    align-items: center;

    gap: 8px;

    font-weight: var(--font-weight-semibold);

    color: var(--accent-color);

    text-decoration: none;
}

.service-link span {

    transition: transform .25s ease;
}

.service-card:hover .service-link span {

    transform: translateX(4px);
}


/* ==================================================
   DESKTOP
================================================== */

@media (min-width:992px){

    .services-grid{

        grid-template-columns:repeat(2,1fr);
    }

}

@media (min-width:1200px){

    .services-grid{

        grid-template-columns:repeat(4,1fr);
    }

}