/* Wedding services section */

.wedding-services-section {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 42px 20px 49px;
    background: #ffffff;
    overflow: hidden;
}

.wedding-services-container {
    width: 100%;
    max-width: 1077px;
    margin: 0 auto;
}

.wedding-services-title {
    margin: 0 0 36px;
    color: #071a39;
    font-family: inherit;
    font-size: 31px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
}

.wedding-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 29px;
}

.wedding-service-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 84px;
    padding: 16px 104px 16px 25px;
    border-radius: 19px;
    background: linear-gradient(90deg, #ffefd3 0%, #fedbc7 100%);
    color: #060606;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(30, 36, 50, 0.18);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wedding-service-card:nth-child(3n) {
    background: linear-gradient(90deg, #ffd4db 0%, #ffd9cb 100%);
}

.wedding-service-card:nth-child(4n) {
    background: linear-gradient(90deg, #ffd3bd 0%, #ffd9ca 100%);
}

.wedding-service-card:nth-child(4n + 1) {
    background: linear-gradient(90deg, #ffefd6 0%, #fedfc6 100%);
}

.wedding-service-card::before {
    content: "";
    position: absolute;
    top: -36px;
    left: -14px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.wedding-service-card-title {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 132px;
    color: #050505;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.wedding-service-card-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    padding: 7px 10px;
    overflow: hidden;
}

.wedding-service-card-media img {
    display: block;
    max-width: 76px;
    max-height: 70px;
    object-fit: contain;
}

.wedding-service-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #071a39;
    background: rgba(255, 255, 255, 0.45);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.wedding-service-card:hover,
.wedding-service-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(30, 36, 50, 0.18);
    outline: none;
}

.wedding-service-card:focus-visible {
    box-shadow:
        0 0 0 3px rgba(242, 146, 151, 0.35),
        0 8px 18px rgba(30, 36, 50, 0.18);
}

.wedding-services-empty {
    grid-column: 1 / -1;
    padding: 24px;
    border: 1px dashed rgba(7, 26, 57, 0.15);
    border-radius: 19px;
    color: #5e6777;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 991px) {
    .wedding-services-container {
        max-width: 760px;
    }

    .wedding-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 575px) {
    .wedding-services-section {
        padding: 34px 15px 40px;
    }

    .wedding-services-title {
        margin-bottom: 25px;
        font-size: 25px;
    }

    .wedding-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
