.page-service {
    background-color: #fff;
}

.page-service .hero {
    padding: clamp(130px, 22vw, 190px) 0 80px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.page-service .hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.page-service .hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 1.5rem;
}

.page-service .hero-buttons {
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-service .hero-buttons .btn-primary,
.page-service .hero-buttons .btn-secondary {
    min-width: 220px;
}

.page-service .section-title {
    margin-top: 30px;
    margin-bottom: 12px;
}

.page-service .price-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.page-service .price-card {
    padding: 24px;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-service .price-card h3 {
    font-size: 20px;
}

.page-service .price-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #7C3AED;
}

.page-service .price-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px auto 0;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #c4b5fd transparent;
}

.page-service .price-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.page-service .price-table-wrapper::-webkit-scrollbar-thumb {
    background: #c4b5fd;
    border-radius: 999px;
}

.page-service .price-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.page-service .price-table {
    min-width: 640px;
}

.page-service .price-table th,
.page-service .price-table td {
    font-size: 15px;
}

.page-service .price-table-action-buttons {
    flex-wrap: wrap;
}

.page-service .price-table-action-buttons .price-btn-primary,
.page-service .price-table-action-buttons .price-btn-secondary {
    min-width: 220px;
}

@media (max-width: 810px) {
    .page-service .hero {
        padding: 140px 0 60px;
    }

    .page-service .hero-buttons {
        width: 100%;
    }

    .page-service .hero-buttons .btn-primary,
    .page-service .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 360px;
    }

    .page-service .section-title {
        font-size: 30px;
    }

    .page-service .price-grid {
        padding: 30px 16px 0;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .page-service .price-card {
        padding: 20px;
    }

    .page-service .price-table-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px 12px;
    }
}

@media (max-width: 500px) {
    .page-service .hero {
        padding: 120px 0 50px;
    }

    .page-service .hero h1 {
        font-size: 2rem;
    }

    .page-service .hero p {
        font-size: 1rem;
    }

    .page-service .price-grid {
        padding: 20px 12px 0;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 16px;
    }

    .page-service .price-card {
        padding: 18px;
    }

    .page-service .price-card h3 {
        font-size: 18px;
    }

    .page-service .price-card .price {
        font-size: 20px;
    }

    .page-service .price-table {
        min-width: 520px;
    }

    .page-service .price-table th,
    .page-service .price-table td {
        font-size: 14px;
    }

    .page-service .price-table-action-buttons .price-btn-primary,
    .page-service .price-table-action-buttons .price-btn-secondary {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 380px) {
    /* 368px-friendly layout */
    .page-service .hero {
        padding: 110px 0 40px;
    }

    .page-service .hero h1 {
        font-size: 1.75rem;
    }

    .page-service .price-grid {
        padding: 10px 8px 0;
        grid-template-columns: 1fr;
    }

    .page-service .price-card {
        padding: 16px;
    }

    .page-service .section-title {
        font-size: 24px;
    }

    .page-service .price-table {
        min-width: 480px;
    }
}
