@media (max-width: 1199px) {
    .header-content {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .hero-layout,
    .about-layout,
    .about-layout-alt,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

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

    .breakdown-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE (320px - 767px) */
@media (max-width: 1024px) {
    :root{
        --spacing-xl: 1rem;
        --spacing-2xl: 2rem;
    }
    /* Navigation */
    .header-content{
        padding: 16px;
    }
    .service-features{
        margin: 10px 0;
    }
    .service-features li{
        padding-top: 0;
    }
    .hero-subtitle,
    .value-prop h2,
    .featured-services h2,
    .service-detail-header,
    .service-detail-card p,
    .service-breakdown h2,
    .breakdown-icon{
        margin-bottom: 15px;
    }
    h1{
        margin-bottom: 12px;
    }
    .value-grid,
    .services-showcase,
    .breakdown-grid{
        gap: 10px;
    }
    .breakdown-item{
        padding: 16px;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        height: calc(100vh - 73px);
        overflow-y: auto;
        z-index: 99;
    }
    .header-action, .header-right{
        gap: 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-light);
    }
    .nav-menu{
        border-top: 1px solid var(--border-light);
    }

    .nav-menu a {
        display: block;
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: flex;
    }

    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Grids */
    .hero-layout,
    .about-layout,
    .about-layout-alt,
    .contact-layout,
    .services-grid,
    .value-grid,
    .breakdown-grid,
    .values-grid,
    .services-showcase {
        grid-template-columns: 1fr;
    }

    /* Padding */
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero,
    .value-prop,
    .featured-services,
    .about-section,
    .team-values,
    .services-section,
    .service-breakdown,
    .service-hero,
    .service-detail-content,
    .contact-section {
        padding: var(--spacing-lg) 0;
    }

    .page-header {
        padding: var(--spacing-lg) 0;
    }

    .contact-form {
        padding: var(--spacing-md);
    }

    .service-cta {
        padding: var(--spacing-lg);
    }
    .detail-sections{
        margin: 20px 0;
    }

    /* Cards */
    .value-card,
    .service-box,
    .service-detail-card,
    .value-item {
        padding: 20px;
    }

    /* Buttons */
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 14px;
        height: 44px;
    }
    .hero-layout, .about-layout, .about-layout-alt, .contact-layout{
        gap: 20px;
    }
    .service-hero-content h1,
    .service-detail-content h2,
    .detail-section h3,
    .about-text h2,
    .about-list.numbered li,
    .about-text p,
    .team-values h2{
        margin-bottom: 14px;
    }
    .values-grid{
        gap: 10px;
    }
    .about-text p:last-child{
        margin-bottom: 0;
    }
    p{
        margin-bottom: 14px;
    }
    .detailed-list{
        margin: 10px 0 0;
    }
    .footer-content{
        gap: 30px;
    }
    .about-list{
        margin: 10px 0;
    }
    .footer-section ul li{
        margin-bottom: 6px;
    }
    .footer-section h4,
    .footer-logo{
        margin-bottom: 14px;
    }
    .footer-bottom{
        padding-top: 16px;
    }
    .footer-content{
        margin-bottom: 16px;
    }
    .footer{
        padding: 30px 0 16px;
    }
    .footer-bottom p{
        margin: 0;
        font-size: 12px;
        line-height: 1.1;
    }
    .footer-section ul li:last-child{
        margin-bottom: 0;
    }
    body{
        font-size: 14px;
    }
    .detailed-list li{
        padding: 0 0 var(--spacing-sm) var(--spacing-lg);
    }
     .detailed-list li:last-child{
        padding-bottom: 0;
     }
    .detail-section{
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    body,p{
        line-height: 1.3;
    }
    .form-group {
        margin-bottom: 16px;
    }
    .form-group label{
        margin-bottom: 6px;
    }
    .hero-subtitle{
        line-height: 1.5;
    }
}

@media (max-width: 767px){
    .logo{
        font-size: 20px;
    }
    .header .cta-button{
        padding: 10px;
        font-size: 12px;
    }
    .nav-menu{
        top: 68px;
        height: calc(100vh - 68px);
    }
    .container{
        padding: 0 16px;
    }
    .hero-layout{
        text-align: center;
    }
}
