@media (max-width: 768px) {
    /* ==================== */
    /* CONTACT SECTION - MOBILE FIX */
    /* ==================== */
    @media (max-width: 1023px) {
        .contact-section-wrapper-old {
            padding: 1rem 0 !important;
            /* Extra compact for mobile */
        }

        .contact-grid-old {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .contact-info-panel-old {
            display: none !important;
        }

        .contact-kicker-old {
            font-size: 10px;
            letter-spacing: 0.25em;
            /* Match letter spacing from screenshot */
            margin-bottom: 1rem;
            color: #333;
            /* Darker text in screenshot */
        }

        .contact-title-container-old {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .contact-title-old {
            font-size: 2.75rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .contact-title-old .cyan-text {
            display: block;
            /* Force line break as in screenshot */
        }

        .contact-divider-old {
            display: none;
            /* Divider isn't easily visible in screenshot */
        }

        .contact-subtitle-old {
            font-size: 0.95rem;
            margin-bottom: 2rem;
            max-width: 90%;
            /* Keep text contained */
            margin-left: auto;
            margin-right: auto;
            color: #666;
        }

        /* Hide the location/mail details list entirely on mobile as it's missing from the top of the screenshot */
        .contact-details-list-old {
            display: none;
        }

        .contact-glass-old {
            padding: 1.2rem 1rem !important;
            margin: 0 -0.5rem;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.6);
        }

        .form-header-old {
            margin-bottom: 0.5rem !important;
            padding-bottom: 0;
            border-bottom: none;
            justify-content: space-between;
            align-items: flex-start;
        }

        .form-title-old {
            font-size: 1.1rem;
            letter-spacing: 0.1em;
            font-weight: 600;
            text-transform: uppercase;
            font-family: 'Playfair Display', serif;
            color: var(--brand-gold);
            margin-bottom: 0.5rem;
        }

        .form-subtitle-old {
            margin-top: 0.5rem;
            color: #888;
            letter-spacing: 0.05em;
        }

        .form-icon-old {
            font-size: 1.5rem;
            /* Smaller edit icon */
            color: #00CED1;
        }
    }

}

@media (max-width: 768px) {
    @media (max-width: 767px) {
        .form-grid-old {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem 1rem;
            /* Tighter gap for compact form */
        }

        /* Make sure certain fields span full width if needed, or keep 2 col */

        .custom-contact-form-old {
            gap: 0.5rem !important;
        }

        .modern-input-old,
        .modern-textarea-old {
            padding: 0.4rem 0;
            font-size: 0.85rem;
            border-bottom-color: rgba(0, 0, 0, 0.1);
        }

        .modern-textarea-old {
            min-height: 48px !important;
            max-height: 60px !important;
        }

        .input-group-old.full-width-old {
            padding-top: 0.25rem;
        }

        .modern-label-old {
            font-size: 0.65rem;
            letter-spacing: 0.1em;
            color: #999;
        }

        .modern-label-old.textarea-label-old {
            top: 1rem;
        }

        .submit-btn-old {
            width: 100%;
            padding: 0.75rem;
            display: block;
            margin-top: 0.5rem;
        }

        .form-footer-old {
            padding-top: 0.25rem !important;
        }
    }

}

@media (max-width: 768px) {

    /* --- HERO CTA BUTTONS: COMPACT --- */
    .hero-cta-btn,
    .hero-secondary-btn {
        width: auto !important;
        max-width: 90% !important;
        padding: 4px 8px !important;
        font-size: 0.45rem !important;
        letter-spacing: 0.02em !important;
        margin-top: 4px !important;
        border-radius: 3px !important;
    }

    .hero-ctas {
        gap: 4px !important;
    }

    /* --- CONTACT SECTION: EXTRA COMPACT --- */
    #contact {
        padding: 20px 16px !important;
    }

    .mobile-menu a {
        font-size: 1.3rem;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        border: none;
        padding: 12px 0;
        width: 100%;
        text-align: center;
        transition: color 0.2s ease;
        font-weight: 600;
    }

    .mobile-menu a:active,
    .mobile-menu a:hover {
        color: #D4AF37;
    }

    /* --- VIDEO SHOWCASE SECTION --- */
    .video-section {
        height: 60vh !important;
        min-height: 400px !important;
    }

    .video-content {
        left: 15px !important;
        bottom: 75px !important;
        padding: 12px 16px !important;
        width: fit-content !important;
        height: auto !important;
        max-width: 80% !important;
        background: rgba(20, 20, 20, 0.75) !important;
        border: 1px solid rgba(212, 175, 55, 0.15) !important;
        border-radius: 18px !important;
        display: block !important;
    }

    .video-title {
        font-family: 'Bodoni Moda', serif !important;
        font-size: 18px !important;
        /* Balanced mobile size */
        font-weight: 700 !important;
        font-style: italic !important;
        color: var(--brand-gold) !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
        text-transform: none !important;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    .video-description {
        font-family: 'Lato', sans-serif !important;
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        text-transform: none !important;
        letter-spacing: 0.02em !important;
    }

    .video-title {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }

    .video-controls {
        right: 10px !important;
        /* Shifted even more to the right */
        bottom: 25px !important;
        gap: 12px !important;
    }

    .video-nav-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        /* Prevent shrinking into ovals */
        min-height: 32px !important;
        background: transparent !important;
        border: 1px solid var(--brand-gold) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        /* Ensure it stays a circle */
    }

    .video-nav-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .video-dot {
        width: 6px !important;
        height: 6px !important;
        margin: 0 2px !important;
    }

}

@media (max-width: 768px) {

    /* --- SERVICES SECTION (IMPROVED SCALING) --- */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 16px !important;
    }

    .service-card {
        padding: 24px !important;
        background: rgba(245, 243, 238, 0.95) !important;
        border-radius: 10px !important;
        border: 1px solid rgba(212, 175, 55, 0.12) !important;
    }

    .service-card h3 {
        font-family: 'Bodoni Moda', serif !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        font-style: normal !important;
        /* Changed from italic */
        margin-bottom: 15px !important;
        color: var(--brand-gold) !important;
        display: inline-block !important;
        width: fit-content !important;
        border-bottom: 2px solid #00CED1 !important;
        padding-bottom: 4px !important;
        letter-spacing: normal !important;
    }

    .service-card p {
        font-family: 'Bodoni Moda', serif !important;
        font-size: 0.9rem !important;
        font-weight: 400 !important;
        /* Changed from 700 */
        font-style: normal !important;
        /* Changed from italic */
        line-height: 1.7 !important;
        margin-bottom: 16px !important;
        letter-spacing: normal !important;
        color: #333 !important;
    }

    /* Service card image gallery with navigation buttons */
    .service-images {
        position: relative !important;
        display: flex !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding: 12px 0 !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .service-images::-webkit-scrollbar {
        display: none;
    }

    .service-images img {
        flex: 0 0 240px !important;
        height: 160px !important;
        scroll-snap-align: center;
        border-radius: 6px !important;
        object-fit: cover !important;
        cursor: pointer;
    }

    /* Navigation buttons for service images (mobile only) */
    .service-image-nav {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(212, 175, 55, 0.6) !important;
        border-radius: 50% !important;
        color: var(--brand-gold) !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 5 !important;
        transition: all 0.2s ease !important;
    }

    .service-image-nav:hover {
        background: var(--brand-gold) !important;
        color: #000 !important;
    }

    .service-image-prev {
        left: 8px !important;
    }

    .service-image-next {
        right: 8px !important;
    }

    /* --- CLIENTS MARQUEE OPTIMIZATION (PERFORMANCE FIX) --- */
    .marquee-track {
        gap: 30px !important;
        padding: 16px 0 !important;
        backface-visibility: hidden;
        perspective: 1000px;
    }

    .client-item {
        backface-visibility: hidden;
        perspective: 1000px;
    }

    .client-item img {
        height: 32px !important;
        max-width: 90px !important;
        width: auto !important;
        filter: none !important;
        transition: none !important;
        box-shadow: none !important;
        display: block;
    }

    /* --- OUR STORY (COMPACT HORIZONTAL) --- */
    .story-container {
        flex-direction: column;
        gap: 20px !important;
        padding: 0 16px !important;
    }

    /* Make images side-by-side */
    .story-visuals {
        display: flex !important;
        flex-direction: row !important;
        height: auto !important;
        gap: 10px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    .story-visuals .parallax-img {
        position: relative !important;
        width: 50% !important;
        height: 150px !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    .story-visuals img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .story-stats-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        /* Side-by-side stats */
        gap: 12px !important;
        margin-top: 10px !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-label {
        font-size: 0.7rem !important;
    }

}

@media (max-width: 768px) {
    /* =========================================
       MOBILE-FIRST ENHANCEMENTS (v2.0)
       Purpose-built smartphone UX patterns
       ========================================= */

    /* --- HERO SECTION REFINEMENTS --- */

    /* Hero content positioning for mobile thumb zone */
    /* Handled by .hero-content rule above */

    /* Hero slide title positioning */
    .hero-slide-title {
        font-size: 0.75rem !important;
        letter-spacing: 0.2em !important;
        font-weight: 700 !important;
        padding: 6px 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        position: absolute !important;
        bottom: 45px !important;
        /* Lowered to meet user request */
        right: 20px !important;
        color: var(--brand-cyan) !important;
        z-index: 120 !important;
    }

    /* Scroll indicator mobile optimization */
    .hero-scroll {
        bottom: 20px !important;
        gap: 8px !important;
    }

    .hero-scroll .scroll-line {
        height: 40px !important;
    }

    .hero-scroll span {
        font-family: 'Bodoni Moda', serif !important;
        font-size: 9px !important;
        letter-spacing: 0.2em !important;
        font-weight: 700 !important;
    }

    /* --- VIDEO SHOWCASE MOBILE OPTIMIZATION --- */

    /* Video section full width fix */
    .video-section.video-showcase {
        height: 50vh !important;
        min-height: 300px !important;
        overflow: hidden !important;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 0 !important;
        background: black !important;
    }

    .video-slider,
    .showcase-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .video-content {
        position: absolute !important;
        bottom: 12px !important;
        left: 8px !important;
        top: auto !important;
        transform: none !important;
        width: fit-content !important;
        height: auto !important;
        max-width: 65% !important;
        padding: 8px 12px !important;
        /* Smaller padding */
        text-align: left !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(212, 175, 55, 0.15) !important;
    }

    .video-title {
        font-family: 'Bodoni Moda', serif !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        font-style: italic !important;
        color: var(--brand-gold) !important;
        margin-bottom: 4px !important;
        text-transform: none !important;
    }

    .video-description {
        font-family: 'Lato', sans-serif !important;
        font-size: 10px !important;
        line-height: 1.3 !important;
        text-transform: none !important;
    }

    .video-label {
        font-size: 7px !important;
        letter-spacing: 0.15em !important;
        margin-bottom: 2px !important;
    }

    .video-title {
        font-size: 0.8rem !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .video-description {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }

    .video-controls {
        position: absolute !important;
        bottom: 12px !important;
        right: 8px !important;
        /* Shifted even more to the right */
        left: auto !important;
        transform: none !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 10 !important;
    }

    .video-nav-btn {
        width: 28px !important;
        height: 28px !important;
    }

    .video-nav-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .video-dot {
        width: 5px !important;
        height: 5px !important;
    }

    .video-nav-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        border-radius: 50% !important;
        border: 1px solid var(--brand-gold) !important;
        background: transparent !important;
        flex-shrink: 0 !important;
    }

    .video-nav-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    /* --- SERVICES SECTION MOBILE CAROUSEL --- */

    .services {
        padding: 40px 16px !important;
    }

    .services .section-title {
        font-size: 1.6rem !important;
        text-align: center !important;
        margin-bottom: 32px !important;
    }

    .service-card {
        min-height: auto !important;
        margin-bottom: 24px !important;
    }

    .service-card .card-number {
        font-size: 2.5rem !important;
        top: 24px !important;
        right: 6px !important;
    }

    .services-grid .service-card:first-child .card-number {
        right: 6px !important;
    }

    .service-card h3 {
        padding-right: 0 !important;
        font-family: 'Bodoni Moda', serif !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
        width: fit-content !important;
        display: inline-block !important;
        font-style: normal !important;
        border-bottom: 2px solid #00CED1 !important;
        padding-bottom: 4px !important;
        color: var(--brand-gold) !important;
        letter-spacing: normal !important;
        text-align: left !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        transform: translateX(-8px) !important;
        padding-right: 72px !important;
        /* leave space for number */
    }

    .service-card p {
        font-family: 'Bodoni Moda', serif !important;
        font-size: 0.9rem !important;
        font-weight: 400 !important;
        margin-bottom: 20px !important;
        font-style: normal !important;
        line-height: 1.7 !important;
        color: #333 !important;
    }

    /* Service images horizontal scroll with improved UX */
    .service-images {
        position: relative !important;
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 12px !important;
        padding: 8px 4px !important;
        margin: 0 -4px !important;
    }

    .service-images::-webkit-scrollbar {
        display: none !important;
    }

    .service-images img {
        flex: 0 0 auto !important;
        width: 200px !important;
        height: 140px !important;
        scroll-snap-align: start !important;
        border-radius: 8px !important;
        transform: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    /* Visual indicator for scrollable content */
    .service-images::after {
        content: '';
        flex: 0 0 16px;
    }

    /* --- REFERENCES / RECENT WORKS MOBILE --- */

    .references {
        padding: 40px 16px !important;
    }

    .references .section-title {
        font-size: 1.6rem !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    .references .section-intro {
        text-align: center !important;
        font-size: 0.9rem !important;
        max-width: 100% !important;
        margin: 0 auto 32px !important;
    }

    .reference-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin-top: 0 !important;
    }

    .reference-item {
        height: 280px !important;
        border-radius: 12px !important;
        transform: none !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    }

    .reference-item.tall,
    .reference-item.wide {
        grid-row: auto !important;
        grid-column: auto !important;
        height: 280px !important;
    }

    /* Always-visible overlay for touch devices */
    .reference-info {
        transform: translateY(0) !important;
        opacity: 1 !important;
        padding: 24px 20px !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%) !important;
    }

    .ref-category {
        font-size: 10px !important;
        letter-spacing: 0.15em !important;
        margin-bottom: 4px !important;
    }

    .ref-title {
        font-size: 1.1rem !important;
    }

    /* --- CLIENTS MARQUEE MOBILE --- */

    .clients {
        padding: 40px 0 !important;
    }

    .clients .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 24px !important;
    }

    .clients-subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 0.2em !important;
        margin-top: 32px !important;
        margin-bottom: 20px !important;
    }

    .marquee-container {
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent) !important;
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent) !important;
    }

    .marquee-track {
        gap: 40px !important;
        padding: 12px 0 !important;
    }

    .client-item img {
        height: 28px !important;
        max-width: 80px !important;
        opacity: 0.7 !important;
    }

    /* --- ABOUT STORY SECTION MOBILE --- */

    .about-story {
        padding: 40px 0 !important;
    }

    .about-story .section-title {
        font-size: 1.6rem !important;
        text-align: center !important;
        margin-bottom: 24px !important;
    }

    .story-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        padding: 0 16px !important;
    }

    .story-content {
        max-width: 100% !important;
        text-align: center !important;
    }

    .story-lead {
        font-size: 0.75rem !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 16px !important;
    }

    .story-main-text p {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
        margin-bottom: 16px !important;
        text-align: left !important;
    }

    /* Side-by-side images for mobile */
    .story-visuals {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        height: auto !important;
    }

    .parallax-img {
        position: relative !important;
        width: 50% !important;
        height: 160px !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        border-radius: 8px !important;
    }

    .parallax-img.img-2 {
        border: none !important;
    }

    .story-stats-grid {
        margin-top: 32px !important;
        padding: 24px 16px 0 !important;
        border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
    }

    .stat-item {
        padding: 16px !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
        margin-bottom: 4px !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
        letter-spacing: 0.1em !important;
    }

}

