﻿/* Visual Studio 2017 compatible Palvelut stylesheet.
   Flexbox only. No CSS Grid, fr units, CSS variables or clamp(). */

.container {
    width: 92%;
    max-width: 1380px;
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 16px;
    color: #52663c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.services-hero {
    padding: 100px 0 90px;
    background: #f5f3ea;
}

.services-hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.services-hero-content {
    flex: 5;
    min-width: 0;
}

.services-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #2f4827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 1.05;
}

.services-hero-content > p:not(.eyebrow) {
    max-width: 720px;
    margin: 26px 0 0;
    color: #62685f;
    font-size: 18px;
    line-height: 1.75;
}

.services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.services-hero-note {
    display: flex;
    flex: 3;
    min-width: 0;
    gap: 20px;
    padding: 30px;
    border: 1px solid #e4e0d5;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(41, 52, 35, 0.08);
}

.services-hero-note-icon {
    display: flex;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dfe4d2;
    color: #2f4827;
    font-size: 22px;
    font-weight: 700;
}

.services-hero-note strong {
    color: #2f4827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.services-hero-note p {
    margin: 8px 0 0;
    color: #62685f;
}

.button-secondary {
    border: 1px solid #52663c;
    background: transparent;
    color: #2f4827;
}

    .button-secondary:hover {
        background: #dfe4d2;
        color: #2f4827;
    }

.services-list-section {
    padding: 95px 0;
}

.services-section-heading {
    max-width: 800px;
    margin-bottom: 50px;
}

    .services-section-heading h2 {
        margin: 0;
        color: #2f4827;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 54px;
        font-weight: 500;
        line-height: 1.1;
    }

    .services-section-heading > p:not(.eyebrow) {
        margin: 18px 0 0;
        color: #62685f;
        font-size: 17px;
    }

.service-detail-card {
    display: flex;
    overflow: hidden;
    margin-top: 34px;
    border: 1px solid #e4e0d5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(41, 52, 35, 0.08);
}

.service-detail-reverse .service-detail-visual {
    order: 2;
}

.service-detail-visual {
    position: relative;
    width: 42%;
    min-height: 610px;
    overflow: hidden;
    background: #d6d2c6;
}

.service-detail-content {
    width: 58%;
    padding: 58px;
    box-sizing: border-box;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.service-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: rgba(25, 37, 22, 0.34);
}

.service-number {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 2;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 76px;
    line-height: 1;
}

.service-visual-label {
    position: absolute;
    right: 32px;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.service-kicker {
    margin: 0 0 10px;
    color: #52663c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-detail-content h2 {
    margin: 0;
    color: #2f4827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.1;
}

.service-description {
    margin: 22px 0 0;
    color: #62685f;
    font-size: 17px;
    line-height: 1.75;
}

.service-benefits {
    display: flex;
    gap: 34px;
    margin-top: 34px;
}

    .service-benefits > div {
        width: 50%;
    }

    .service-benefits h3 {
        margin: 0 0 12px;
        color: #2f4827;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 20px;
    }

    .service-benefits ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .service-benefits li {
        position: relative;
        margin-top: 9px;
        padding-left: 24px;
        color: #62685f;
    }

        .service-benefits li:before {
            position: absolute;
            top: 0;
            left: 0;
            color: #52663c;
            content: "✓";
            font-weight: 700;
        }

.service-note {
    margin: 32px 0;
    padding: 18px 20px;
    border-left: 4px solid #52663c;
    border-radius: 8px;
    background: #f3f1e8;
    color: #62685f;
}

.services-info-section {
    padding: 70px 0;
    border-top: 1px solid #e4e0d5;
    border-bottom: 1px solid #e4e0d5;
    background: #f3f1e8;
}

.services-info-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

    .services-info-row article {
        display: flex;
        width: 33.333%;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
        border-radius: 14px;
        background: #ffffff;
        box-sizing: border-box;
    }

.info-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dfe4d2;
    color: #2f4827;
    font-family: Georgia, "Times New Roman", serif;
}

.services-info-row h2 {
    margin: 18px 0 8px;
    color: #2f4827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 500;
}

.services-info-row p {
    margin: 0;
    color: #62685f;
}

.services-booking-cta {
    padding: 80px 0;
    background: #52663c;
    color: #ffffff;
}

.services-booking-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.services-booking-cta .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.services-booking-cta h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 50px;
    font-weight: 500;
}

.services-booking-cta p {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.services-booking-cta small {
    display: block;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.62);
}

.button-light {
    flex: 0 0 auto;
    background: #ffffff;
    color: #2f4827;
}

    .button-light:hover {
        background: #dfe4d2;
        color: #2f4827;
    }

@media (max-width: 1050px) {
    .services-hero-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .service-detail-card {
        flex-direction: column;
    }

    .service-detail-reverse .service-detail-visual {
        order: 0;
    }

    .service-detail-visual,
    .service-detail-content {
        width: 100%;
    }

    .service-detail-visual {
        min-height: 430px;
    }

    .services-info-row {
        flex-wrap: wrap;
    }

        .services-info-row article {
            width: calc(50% - 12px);
        }
}

@media (max-width: 700px) {
    .services-hero {
        padding: 65px 0 58px;
    }

        .services-hero h1 {
            font-size: 46px;
        }

    .services-list-section {
        padding: 65px 0;
    }

    .services-section-heading h2 {
        font-size: 38px;
    }

    .service-detail-visual {
        min-height: 340px;
    }

    .service-detail-content {
        padding: 34px 24px;
    }

    .service-number {
        top: 22px;
        left: 22px;
        font-size: 54px;
    }

    .service-visual-label {
        right: 22px;
        bottom: 22px;
        left: 22px;
        font-size: 34px;
    }

    .service-detail-content h2 {
        font-size: 38px;
    }

    .service-benefits {
        display: block;
    }

        .service-benefits > div {
            width: 100%;
            margin-top: 24px;
        }

    .services-info-row {
        display: block;
    }

        .services-info-row article {
            width: 100%;
            margin: 0 0 20px;
        }

    .services-booking-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-booking-cta h2 {
        font-size: 36px;
    }
}
