.services-section {
    background-color: var(--red);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 20px);
}

.services-grid {
    display: none;
}

.service-card {
    display: none;
}

.service-image {
    display: none;
}

.service-content {
    display: none;
}

.services-list {
    display: flex;
    flex-direction: column;
    padding: 0 20px;

    @media screen and (min-width: 768px) {
        padding: 0 40px;
    }
}

.service-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);

    @media screen and (min-width: 1024px) {
        flex-direction: row;
        align-items: center;
        gap: 60px;
        padding: 60px 0;
    }

    &:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    &:nth-child(even) {
        @media screen and (min-width: 1024px) {
            flex-direction: row-reverse;
        }
    }
}

.service-row-text {
    flex: 1;
    min-width: 0;

    h2 {
        color: var(--black);
        font-size: 28px;
        line-height: 1.15;
        margin: 0 0 16px 0;

        @media screen and (min-width: 768px) {
            font-size: 40px;
        }
    }

    p {
        color: var(--white);
        font-size: 16px;
        line-height: 1.7;
        margin: 0 0 12px 0;
        opacity: 0.85;

        @media screen and (min-width: 768px) {
            font-size: 18px;
        }
    }
}

.service-row-image {
    flex: 1;
    min-width: 0;

    img {
        width: 100%;
        border-radius: 16px;
        object-fit: contain;
        aspect-ratio: 16 / 9;
        display: block;
    }
}

.services-page-container {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
}

.services-hero {
    display: block;
    line-height: 1;
    padding: 120px 30px 40px 30px;

    @media screen and (min-width: 768px) {
        padding: 150px 40px 60px 40px;
    }
}

.services-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 40px 20px 60px 20px;

    @media screen and (min-width: 768px) {
        padding: 60px 40px 80px 40px;
    }
}

.services-contact .contact-button {
    background-color: var(--white);
    color: var(--red);
}

/* ===== PRICING SECTION ===== */

.pricing-page-container {
    height: auto;
    align-items: flex-start;
}

.pricing-section {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 60px;
    padding: 60px 20px;

    @media screen and (min-width: 768px) {
        padding: 80px 40px;
        gap: 80px;
    }
}

.pricing-header {
    h2 {
        color: var(--black);
        font-size: 36px;
        font-weight: 800;
        margin: 0 0 12px 0;

        @media screen and (min-width: 768px) {
            font-size: 56px;
        }
    }

    p {
        color: var(--black);
        font-size: 16px;
        opacity: 0.6;
        margin: 0;

        @media screen and (min-width: 768px) {
            font-size: 18px;
        }
    }
}

.pricing-category {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-category-title {
    color: var(--black);
    font-size: 20px;
    font-weight: 700;
    margin: 0;

    @media screen and (min-width: 768px) {
        font-size: 26px;
    }
}

.pricing-category-desc {
    font-size: 13px;
    color: var(--black);
    opacity: 0.5;
    margin: -16px 0 0 0;
}

.pricing-grid {
    display: grid;
    gap: 16px;

    @media screen and (min-width: 1024px) {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        align-items: stretch;
    }
}

.pricing-card {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--white);
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.pricing-card-featured {
    border-color: var(--red);
    background-color: var(--red);

    .pricing-plan { color: rgba(255, 255, 255, 0.65) !important; }
    .pricing-price { color: var(--white) !important; }
    .pricing-period { color: var(--white) !important; }
    .pricing-suitable p { color: rgba(255, 255, 255, 0.65) !important; }
    .pricing-adjustments p { color: rgba(255, 255, 255, 0.65) !important; }
    .pricing-suitable li { color: var(--white) !important; }
    .pricing-adjustments li { color: var(--white) !important; }
    .pricing-features li { color: var(--white) !important; }
    .pricing-suitable li::before { background-color: var(--white) !important; }
    .pricing-adjustments li::before { background-color: var(--white) !important; }
    .pricing-features li::before { background-color: var(--white) !important; }
}

.pricing-card-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pricing-plan {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
}

.pricing-period {
    font-size: 15px;
    font-weight: 400;
    opacity: 0.6;
}

.pricing-suitable p,
.pricing-adjustments p {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    margin: 0 0 6px 0;
    color: var(--black);
}

.pricing-suitable ul,
.pricing-adjustments ul,
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pricing-suitable li,
.pricing-adjustments li,
.pricing-features li {
    font-size: 13px;
    color: var(--black);
    padding-left: 14px;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 6px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: var(--red);
    }
}

.hourly-rates {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.hourly-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    &:last-child {
        border-bottom: none;
    }

    span:first-child {
        font-size: 15px;
        color: var(--black);
    }

    span:last-child {
        font-size: 15px;
        font-weight: 700;
        color: var(--black);
        white-space: nowrap;
    }
}

.pricing-addon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    max-width: 640px;

    span:first-child {
        font-size: 15px;
        color: var(--black);
    }

    span:last-child {
        font-size: 15px;
        font-weight: 700;
        color: var(--black);
        white-space: nowrap;
    }
}

.pricing-note {
    font-size: 13px;
    color: var(--black);
    opacity: 0.45;
    margin: 0;
}

.mail-grid {
    display: grid;
    gap: 16px;

    @media screen and (min-width: 1024px) {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.mail-card {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mail-plan {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
}

.mail-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
}

.mail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mail-card li {
    font-size: 12px;
    color: var(--black);
    opacity: 0.75;
    padding-left: 12px;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 5px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: var(--red);
    }
}

.pricing-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 20px 0 40px 0;

    p {
        font-size: 18px;
        color: var(--black);
        opacity: 0.7;
        max-width: 540px;
        margin: 0;
        line-height: 1.6;
    }
}

.pricing-cta-button {
    padding: 16px 40px;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    font-family: Poppins, sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

.services-footer-page-container {
    height: auto;
    min-height: 70vh;
}

.services-footer-section {
    background-color: var(--red);
    min-height: calc(70vh - 20px);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.services-footer-section .contact-title {
    color: var(--black);
}

.services-footer-section .contact-info {
    color: var(--white);
}

.services-footer-section .contact-button {
    background-color: var(--white);
    color: var(--red);
    border-radius: 100px;
}

.services-footer-section .contact-button:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
