* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "DM Sans", sans-serif;
    color: #403b36;
    background:
        radial-gradient(circle at top left, #f8e9df 0%, transparent 35%),
        radial-gradient(circle at bottom right, #eee4d7 0%, transparent 35%),
        #f7f3ee;
}

.plans-page {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 45px 25px 70px;
}

.plans-header {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 35px;
    color: #806e63;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #a96955;
}

.heart {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #ead2c5;
    color: #a96955;
    font-size: 21px;
}

.plans-header h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 6vw, 56px);
    color: #40362f;
    margin-bottom: 18px;
}

.plans-header p {
    color: #716a63;
    font-size: 17px;
    line-height: 1.8;
}


/* De drie plannen */

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

.plan-card {
    overflow: hidden;
    display: block;
    background: #fffdfa;
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 35px rgba(70, 55, 40, 0.09);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.plan-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(70, 55, 40, 0.15);
}


/* Foto */

.plan-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.plan-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.plan-card:hover .plan-image img {
    transform: scale(1.05);
}


/* Tekst onder de foto */

.plan-content {
    padding: 25px;
}

.plan-content h2 {
    margin-bottom: 12px;
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 600;
    color: #40362f;
}

.plan-content span {
    color: #a96955;
    font-size: 14px;
    font-weight: 600;
}


/* Tablet */

@media (max-width: 850px) {
    .plans {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .plan-image {
        height: 300px;
    }
}


/* Mobiel */

@media (max-width: 600px) {
    .plans-page {
        padding: 30px 15px 50px;
    }

    .plans-header {
        margin-bottom: 40px;
    }

    .plans-header h1 {
        font-size: 40px;
    }

    .plans-header p {
        font-size: 15px;
    }

    .plan-image {
        height: 240px;
    }

    .plan-content {
        padding: 22px;
    }
}