/* ===== Services Page Styles ===== */
/* Variables inherited from style.css — additional tokens */
:root {
    --surface-container-highest: #cbe7f5;
}

/* Hero Section */
/* Using shared .page-hero from style.css */

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 3rem;
}

@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    padding: 1.75rem;
    border-radius: 1rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(195, 198, 214, 0.15);
}

        .service-card.light {
            background-color: var(--surface-container-lowest);
            box-shadow: 0 20px 40px rgba(2, 31, 41, 0.03);
        }

        .service-card.muted {
            background-color: var(--surface-container-low);
            border-color: rgba(195, 198, 214, 0.05);
        }

        .service-card:hover {
            box-shadow: 0 20px 40px rgba(2, 31, 41, 0.08);
            transform: translateY(-4px);
        }

        .icon-box {
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
            transition: background-color 0.3s;
        }

        .service-card.light .icon-box {
            background-color: var(--surface-container);
        }

        .service-card.muted .icon-box {
            background-color: var(--surface-container-highest);
        }

        .service-card:hover .icon-box {
            background-color: var(--primary-container);
        }

        .service-card.muted:hover .icon-box {
            background-color: var(--secondary);
        }

        .icon-box .material-symbols-outlined {
            font-size: 1.875rem;
            transition: color 0.3s;
        }

        .service-card.light .material-symbols-outlined { color: var(--primary); }
        .service-card.muted .material-symbols-outlined { color: var(--secondary); }

        .service-card:hover .material-symbols-outlined {
            color: #ffffff;
        }

        .service-title {
            font-family: 'Manrope', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            letter-spacing: -0.02em;
        }

        .service-text {
            color: var(--on-surface-variant);
            line-height: 1.6;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .service-image-container {
            border-radius: 0.75rem;
            overflow: hidden;
            height: 10rem;
        }

        .service-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%);
            transition: all 0.7s;
            transform: scale(1.05);
        }

        .service-card:hover .service-image {
            filter: grayscale(0%);
            transform: scale(1);
        }

        /* Quality Section */
        .quality-section {
            background-color: var(--surface-container-low);
            padding: 4rem 0;
            margin-top: 4rem;
            position: relative;
            overflow: hidden;
        }

        .quality-content {
            display: flex;
            flex-direction: column;
            gap: 3rem;
            align-items: center;
        }

        @media (min-width: 768px) {
            .quality-content {
                flex-direction: row;
                gap: 4rem;
            }
        }

        .quality-image-wrapper {
            width: 100%;
            position: relative;
        }

        @media (min-width: 768px) {
            .quality-image-wrapper { width: 50%; }
        }

        .quality-image-wrapper::before {
            content: "";
            position: absolute;
            top: -3rem;
            left: -3rem;
            width: 16rem;
            height: 16rem;
            background: rgba(0, 64, 161, 0.05);
            border-radius: 50%;
            filter: blur(48px);
        }

        .quality-img {
            width: 100%;
            height: auto;
            max-height: 500px;
            object-fit: cover;
            border-radius: 1rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
            position: relative;
            z-index: 10;
        }

        .quality-text-wrapper {
            width: 100%;
        }

        @media (min-width: 768px) {
            .quality-text-wrapper { width: 50%; }
        }

        .quality-title {
            font-family: 'Manrope', sans-serif;
            font-size: clamp(1.5rem, 3vw, 2.25rem);
            font-weight: 800;
            margin-bottom: 1.25rem;
            letter-spacing: -0.02em;
        }

        .quality-p {
            color: var(--on-surface-variant);
            font-size: clamp(0.95rem, 1.2vw, 1.125rem);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .quality-list {
            list-style: none;
            margin-bottom: 2.5rem;
        }

        .quality-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .quality-item .material-symbols-outlined {
            color: var(--primary);
            font-weight: 700;
            font-variation-settings: 'FILL' 1;
        }

        .quality-item span:not(.material-symbols-outlined) {
            font-weight: 500;
        }

        .btn-philosophy {
            background-color: var(--primary);
            color: #ffffff;
            padding: 0.875rem 2rem;
            border-radius: 9999px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            box-shadow: 0 10px 15px -3px rgba(0, 64, 161, 0.2);
            transition: all 0.3s;
            font-size: 0.95rem;
        }

        .btn-philosophy:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 64, 161, 0.4);
        }

        /* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    z-index: 100;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--on-surface);
}

.mobile-menu.active {
    right: 0;
}

/* Hide desktop nav on mobile */
@media (max-width: 1023px) {
    .nav-links {
        display: none;
    }
}

/* ===== MOBILE RESPONSIVE (iPhone) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .services-hero {
        padding-top: 8rem;
        padding-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-image-container {
        height: 8rem;
    }

    .quality-section {
        padding: 3rem 0;
        margin-top: 2rem;
    }

    .quality-image-wrapper::before {
        display: none;
    }

    .quality-list {
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

/* ===== TABLET RESPONSIVE (iPad) ===== */
@media (min-width: 481px) and (max-width: 1023px) {
    .services-hero {
        padding-top: 9rem;
        padding-bottom: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .quality-section {
        padding: 4rem 0;
        margin-top: 3rem;
    }

    .quality-img {
        max-height: 350px;
    }
}

/* Show hamburger on mobile */
@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }
}