@media (max-width: 1439px) {
    h1 { font-size: 48px; }
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .header-inner { gap: 20px; }
    .main-nav { gap: 4px; }
    .main-nav > li > a { padding: 8px 10px; }
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 40px;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid,
    .gallery-grid,
    .facility-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
    .packaging-overview { grid-template-columns: 1fr; gap: 32px; }
    .packaging-copy { padding-top: 0; }
    .site-header { z-index: 1300; }
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    .logo img { width: 210px; }
    .header-cta { display: none; }
    .header-inner { justify-content: space-between; gap: 12px; min-height: 80px; }
    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        gap: 5px;
    }
    .menu-toggle span {
        margin: 0;
    }
    .nav-wrap {
        position: fixed;
        left: 0;
        right: auto;
        width: min(86vw, 340px);
        top: 0;
        bottom: 0;
        z-index: 1501;
        background: #fff;
        display: none;
        padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        border-bottom: 0;
        max-height: none;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.16);
        overscroll-behavior: contain;
    }
    .menu-backdrop.is-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1500;
        border: 0;
        background: rgba(0, 0, 0, 0.45);
        -webkit-tap-highlight-color: transparent;
    }
    .menu-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-shrink: 0;
        padding-bottom: 16px;
        margin-bottom: 12px;
        border-bottom: 1px solid var(--border-soft);
    }
    .menu-drawer-header a { flex: 1; min-width: 0; }
    .menu-drawer-header img { width: 100%; max-width: 210px; height: auto; }
    .menu-close {
        display: block;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: var(--radius-sm);
        background: transparent;
        color: var(--brand-dark);
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 40px;
        line-height: 1;
        cursor: pointer;
    }
    .nav-wrap.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .main-nav {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }
    .main-nav > li {
        border-bottom: 1px solid var(--border-soft);
    }
    .main-nav > li > a {
        min-height: 56px;
        white-space: normal;
        font-size: 20px;
        padding: 16px 4px;
        border-bottom: 0;
        width: fit-content;
        max-width: 100%;
        justify-content: space-between;
    }
    .main-nav > li > a::after {
        left: 4px;
        right: 4px;
    }
    .quick-enquiry-tab { right: 14px; bottom: 78px; }
    .container { width: min(100% - 32px, var(--container)); }
    .site-header .container.header-inner { width: min(100% - 32px, 1600px); }
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        display: none;
        padding: 0 0 8px 12px;
    }
    .has-mega.open .mega-menu {
        display: block;
    }
    .mega-col a {
        min-height: 44px;
        padding: 10px 8px;
        font-size: 16px;
    }
    .mega-col h4 {
        margin: 12px 0 4px;
    }
    .mega-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .stone-viewer,
    .stone-meta-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .stone-stage {
        flex: 1 1 100%;
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
    }
    .stone-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
    }
    .split,
    .contact-split,
    .specs-grid,
    .props-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid,
    .feature-grid,
    .industry-grid,
    .app-grid,
    .location-grid,
    .flag-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline {
        grid-template-columns: 1fr;
    }
    .hero { min-height: 62vh; }
    .hero-content { padding: 80px 0 40px; max-width: 100%; }
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions a,
    .cta-actions a {
        width: 100%;
        justify-content: center;
    }
    iframe {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
    .whatsapp-float,
    .quick-enquiry-tab { display: none; }
    .mobile-contact-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1150;
        background: var(--brand-primary);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.12);
    }
    .mobile-contact-bar a {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-height: 64px;
        padding: 8px 4px;
        color: var(--brand-dark);
        font-family: var(--font-heading);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        border-right: 1px solid rgba(27, 27, 26, 0.15);
    }
    .mobile-contact-bar a:last-child { border-right: 0; }
    .mobile-contact-bar a:active { background: var(--brand-secondary); color: var(--brand-dark); }
    .enquiry-form { scroll-margin-top: 110px; }
    .mobile-contact-bar img { width: 22px; height: 22px; object-fit: contain; }
    .mobile-contact-bar a:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: -4px; }
    body.menu-open .mobile-contact-bar { display: none; }
    .home-page > .section { padding-top: 40px; padding-bottom: 40px; }
    .home-page .section-heading { margin-bottom: 24px; }
    .home-page .feature-card,
    .home-page .industry-card,
    .home-page .testimonial-card { padding: 20px; }
    .packaging-quote { padding: 20px; }
    .stone-page .stone-collection { padding-bottom: 0; }
    .stone-page .stone-meta { padding-top: 32px; padding-bottom: 16px; }
    .stone-page #properties { padding-top: 16px; }
    .packaging-quote .captcha-row { grid-template-columns: minmax(0, 1fr) 40px; gap: 12px; }
    .packaging-quote .captcha-row > div { grid-column: 1 / -1; }
    .packaging-quote .captcha-row .font_capt { width: 92px; }
    .faq-list { grid-template-columns: 1fr; }
    #seo-content > .container,
    #faqs > .container { width: min(100% - 24px, 1600px); }
    body { font-size: 17px; }
    .section { padding: 48px 0; }
    .section-heading { margin-bottom: 28px; }
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 20px; }
    .topbar { font-size: 12px; }
    .topbar-inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
        padding: 8px 12px;
    }
    .topbar-contact,
    .topbar-social {
        display: flex;
        justify-content: center;
    }
    .topbar-contact {
        gap: 8px 12px;
    }
    .contact-action,
    .location-phone,
    .location-address {
        align-items: flex-start;
    }
    .contact-social a {
        width: 36px;
        height: 36px;
    }
    .product-grid,
    .feature-grid,
    .industry-grid,
    .app-grid,
    .location-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gallery-grid,
    .facility-grid,
    .flag-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        padding-bottom: 32px;
    }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .site-footer h3 { letter-spacing: 0.06em; margin-bottom: 14px; }
    .site-footer li a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
    .site-footer { padding-top: 40px; }
    .footer-grid > div { min-width: 0; text-align: left; }
    .site-footer .topbar-social { justify-content: flex-start; flex-wrap: wrap; }
    .site-footer a[href^="tel:"],
    .site-footer a[href^="mailto:"] { white-space: normal; overflow-wrap: anywhere; }
    .footer-bottom-inner p { width: 100%; overflow-wrap: anywhere; }
    .about-overview .feature-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 8px;
    }
    .page-hero { min-height: 240px; }
    .page-hero-content { padding-bottom: 28px; }
    .quick-enquiry-tab { right: 14px; bottom: 74px; }
    .container { width: min(100% - 24px, var(--container)); }
    .site-header .container.header-inner { width: min(100% - 24px, 1600px); }
    .cta-banner, .thankyou-card { padding: 40px 20px; }
    .header-inner { min-height: 84px; }
    .logo img { width: 220px; }
    .whatsapp-float,
    .whatsapp-float img {
        width: 48px;
        height: 48px;
    }
    .whatsapp-float { right: 14px; bottom: 14px; }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
    }
    .captcha-row {
        align-items: stretch;
    }
    .director-card { max-width: 100%; }
    .intro-block { padding-top: 32px; }
    .stone-viewer,
    .stone-meta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .stone-stage {
        width: 100%;
        max-width: 100%;
    }
    .stone-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }
    .stone-thumb img {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .stone-active-title,
    .stone-specs h3,
    .stone-enquire h3 {
        font-size: 24px;
    }
    .stone-page .intro-block p {
        font-size: 18px;
    }
}

@media (max-width: 414px) {
    .gallery-grid,
    .facility-grid,
    .flag-grid {
        grid-template-columns: 1fr 1fr;
    }
    .logo img { width: 220px; }
    .hero { min-height: 58vh; }
    .product-card .body { padding: 16px; }
    .stone-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .stone-caption {
        font-size: 13px;
        padding: 10px 12px;
    }
}

@media (max-width: 359px) {
    .container { width: min(100% - 16px, var(--container)); }
    h1 { font-size: 28px; }
    .gallery-grid,
    .facility-grid,
    .flag-grid {
        grid-template-columns: 1fr;
    }
}
