/* ============================================================
   KRISHNARAJ ENTERPRISES — RESPONSIVE STYLESHEET (responsive.css)
   Breakpoints: 1920, 1440, 1280, 1024, 768, 480, 375, 320px
   v2.0 — Advanced Visual Design
   ============================================================ */

/* ──────────────────────────────────────────────────────────────
   1. WIDE SCREENS (1920px+)
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 1920px) {
  :root {
    --section-pad-xl:   120px;
    --section-pad-lg:   100px;
    --section-pad-hero: 140px;
  }

  h1 { font-size: clamp(4.5rem, 4vw + 1rem, 5.5rem); }
  h2 { font-size: clamp(3.2rem, 3vw + 0.5rem, 4rem); }

  .hero-slider-section { max-height: 1000px; }
  .hero-slide-title { font-size: 6rem; }
}

/* ──────────────────────────────────────────────────────────────
   2. LARGE DESKTOP (1440px)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 1440px) {
  .mega-menu-wrapper { width: 760px; }
  .mega-menu-products { left: -60px; }
  .nav-list { gap: 22px; }
}

/* ──────────────────────────────────────────────────────────────
   3. MEDIUM DESKTOP (1280px)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 1280px) {
  .container {
    padding-left: 36px;
    padding-right: 36px;
  }

  .nav-list { gap: 16px; }
  .mega-menu-wrapper { width: 700px; }
  .mega-menu-capabilities { left: -10px; }
  .mega-menu-products { left: -40px; }
  .mega-menu-resources { right: -10px; }

  .editorial-block { gap: 52px; }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 44px;
  }

  .hero-slider-section { height: 82vh; }
  .hero-arrow-prev { left: 20px; }
  .hero-arrow-next { right: 20px; }

  .capability-section-inner {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .process-timeline-6 { grid-template-columns: repeat(3, 1fr); }

  .quality-split { gap: 52px; }
}

/* ──────────────────────────────────────────────────────────────
   4. TABLET LANDSCAPE / SMALL DESKTOP (1024px)
   Switch to mobile nav.
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 1024px) {
  :root {
    --header-height:          72px;
    --header-height-scrolled: 62px;
    --section-pad-hero: 88px;
    --section-pad-xl:   80px;
    --section-pad-lg:   72px;
    --section-pad-md:   56px;
    --section-pad-sm:   44px;
    --top-bar-height:   38px;
  }

  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Switch to mobile nav */
  .desktop-nav { display: none; }
  .header-actions .btn-sm { display: none; }
  .mobile-nav-toggle { display: flex; }


  /* Hero slider */
  .hero-slider-section { height: 80vh; min-height: 500px; }
  .hero-slide-content { max-width: 500px; padding-bottom: 100px; }
  .hero-arrow-prev { left: 16px; }
  .hero-arrow-next { right: 16px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-indicators { padding: 0 32px; bottom: 32px; }

  /* Grid */
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Six-step process */
  .process-timeline-6 { grid-template-columns: repeat(3, 1fr); }

  /* Capability preview — hidden */
  .capability-section-inner { grid-template-columns: 1fr; }
  .capability-preview-box { display: none; }

  /* Quality dark section */
  .quality-split { grid-template-columns: 1fr; gap: 40px; }
  .quality-img-box { height: 320px; }

  /* Full-width break */
  .fullwidth-break-img-wrapper { height: 400px; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  /* Page hero */
  .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-img-box { height: 280px; }

  /* Editorial blocks */
  .editorial-block,
  .editorial-block.ratio-55-45,
  .editorial-block.ratio-45-55 {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }
  .editorial-block.reverse { direction: ltr; }
  .editorial-img-box { height: 320px; }

  /* Capability rows */
  .capability-row {
    grid-template-columns: 60px 1fr 44px;
    gap: 20px;
    padding: 26px 0;
  }
  .capability-desc { display: none; }

  /* Gallery */
  .gallery-span-8, .gallery-span-4 { grid-column: span 6; height: 320px; }
  .gallery-span-6 { grid-column: span 6; height: 280px; }
  .gallery-span-12 { grid-column: span 12; height: 360px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-item { border-right: none; border-bottom: 1px solid var(--border-color); }
  .pillar-item:last-child { border-bottom: none; }

  /* CTA */
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
}

/* ──────────────────────────────────────────────────────────────
   5. TABLET PORTRAIT (768px)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 768px) {
  :root {
    --section-pad-hero: 64px;
    --section-pad-xl:   56px;
    --section-pad-lg:   48px;
    --section-pad-md:   40px;
    --section-pad-sm:   32px;
    --header-height:    64px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Top bar — enabled and styled for mobile */
  .top-bar {
    display: block !important;
  }

  /* Hero slider — Balanced mobile/tablet height & vertical centering */
  .hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: calc(100svh - 64px);
    max-height: 680px;
    overflow: hidden;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Brighter overlay on mobile to keep industrial machinery clearly visible */
  .hero-slide-overlay {
    background: linear-gradient(
      to bottom,
      rgba(3, 26, 54, 0.55) 0%,
      rgba(3, 26, 54, 0.70) 50%,
      rgba(3, 26, 54, 0.85) 100%
    ) !important;
  }

  .hero-slide-content {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px 76px 20px !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .hero-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--orange);
    margin-bottom: 14px;
    text-align: center;
    width: auto;
  }

  .hero-slide-eyebrow::before,
  .hero-slide-eyebrow::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 2px;
    background-color: currentColor;
    flex-shrink: 0;
    opacity: 0.9;
  }

  .hero-slide-title {
    font-size: clamp(2.2rem, 7.8vw, 2.9rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    text-align: center;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slide-desc {
    font-size: clamp(0.95rem, 2.8vw + 0.35rem, 1.08rem);
    line-height: 1.6;
    color: rgba(232, 236, 241, 0.96);
    margin-bottom: 24px;
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-slide-btns {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
  }

  .hero-slide-btns .btn {
    width: 100%;
    padding: 15px 24px;
    min-height: 48px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  /* Slider arrows & progress — cleanly positioned at bottom without overlapping text */
  .hero-arrow {
    display: flex !important;
    width: 36px;
    height: 36px;
    top: auto !important;
    bottom: 16px !important;
    transform: none !important;
    z-index: 30;
    background-color: rgba(3, 26, 54, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
  }

  .hero-arrow:hover,
  .hero-arrow:active {
    background-color: var(--orange);
    border-color: var(--orange);
    transform: scale(1.06) !important;
  }

  .hero-arrow-prev { left: 16px !important; }
  .hero-arrow-next { right: 16px !important; }

  .hero-indicators {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 60px !important;
    bottom: 22px !important;
    z-index: 25;
    gap: 12px;
  }

  .hero-progress-track {
    max-width: 80px;
    height: 3px;
  }

  .hero-current-num,
  .hero-total-num {
    font-size: 0.75rem;
  }

  /* Process 6-step */
  .process-timeline-6 {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .process-timeline-6::before { display: none; }
  .process-step-6 {
    border-left: 2px solid var(--orange);
    padding: 16px 0 16px 16px;
  }
  .process-step-6::before { display: none; }

  /* Full-width break */
  .fullwidth-break-img-wrapper { height: 320px; }
  .fullwidth-break-title { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  .fullwidth-break-content { padding: 0 16px; text-align: left; }

  /* Capability rows */
  .capability-row {
    grid-template-columns: 40px 1fr 34px;
    gap: 12px;
    padding: 18px 0;
  }
  .capability-name { font-size: 1.05rem; }
  .capability-desc { display: none; }

  /* Spec list */
  .spec-list { grid-template-columns: 1fr; }

  /* Image Compositions Responsive Reflow */
  .asymmetric-split-60-40,
  .asymmetric-split-40-60,
  .product-showcase-row,
  .product-showcase-row.reverse,
  .dual-image-composition {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    direction: ltr !important;
  }

  .image-overlap-panel {
    position: static;
    margin-top: 14px;
    max-width: 100%;
    transform: none;
  }

  .feature-image-break-img {
    height: 280px;
  }

  .feature-image-overlay {
    padding: 24px 20px;
  }

  /* Gallery */
  .gallery-span-8, .gallery-span-4, .gallery-span-6, .gallery-span-12 {
    grid-column: span 12;
    height: 240px;
  }
  .gallery-filters { justify-content: flex-start; }

  /* Lightbox */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav-btn { width: 38px; height: 38px; }
  .lightbox-close-btn { top: -44px; right: 0; }

  /* 3D Mould */
  .mould-interactive-frame { height: 280px; }

  /* Contact */
  .form-grid { grid-template-columns: 1fr; }
  .form-group.col-span-2 { grid-column: span 1; }
  .contact-tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* CTA */
  .cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn { text-align: center; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Floating Actions Balance on Mobile */
  .back-to-top { bottom: 78px !important; right: 16px !important; width: 42px !important; height: 42px !important; z-index: 1900 !important; }
  .whatsapp-float { bottom: 18px !important; left: 16px !important; right: auto !important; width: 48px !important; height: 48px !important; z-index: 2000 !important; }
  .whatsapp-float-tooltip { display: none !important; }

  /* Company Profile & Dossier Responsive */
  .company-profile-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }
  .company-profile-banner .btn {
    width: 100%;
    justify-content: center;
  }

  .equipment-registry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .facility-zones-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .procurement-workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .qa-image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .export-logistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .overview-photo-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .qa-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .qa-split-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qa-visual-img-box {
    min-height: 260px;
  }

  .facility-showcase-img {
    height: 220px;
  }

  .facility-showcase-overlay {
    padding: 20px 22px;
  }

  .factsheet-table th,
  .factsheet-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .factsheet-label {
    width: 38%;
  }

  .dossier-card {
    padding: 24px 20px;
  }

  /* Map */
  .map-wrapper { height: 280px; }

  /* Quality */
  .quality-split { grid-template-columns: 1fr; gap: 28px; }
  .quality-img-box { height: 240px; }
}

/* ──────────────────────────────────────────────────────────────
   6. MOBILE SMALL (480px & down)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 480px) {
  .brand-logo-img { height: 38px; }

  h1 { font-size: clamp(2.1rem, 8.5vw, 2.75rem); }
  h2 { font-size: clamp(1.7rem, 7vw, 2.15rem); }

  /* Hero slide title & desc */
  .hero-slide-title {
    font-size: clamp(2.05rem, 7.8vw, 2.55rem);
    line-height: 1.12;
    margin-bottom: 12px;
    text-align: center;
  }
  .hero-slide-desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 36ch;
    text-align: center;
  }
  .hero-slide-content {
    padding: 18px 16px 74px 16px !important;
  }
  .hero-slide-btns {
    max-width: 290px;
    gap: 10px;
  }
  .hero-slide-btns .btn {
    padding: 14px 20px;
    font-size: 0.84rem;
  }

  /* Editorial */
  .editorial-img-box { height: 220px; }
  .editorial-grid { gap: 40px; }

  /* Pillars */
  .pillar-item { padding: 24px 18px; }

  /* Fullwidth break */
  .fullwidth-break-img-wrapper { height: 280px; }
  .fullwidth-break-title { font-size: 1.45rem; }

  /* QA Metrics & Factsheet on mobile */
  .qa-metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .factsheet-label {
    display: block;
    width: 100%;
    border-bottom: none;
    padding-bottom: 4px;
  }
  .factsheet-value {
    display: block;
    width: 100%;
    padding-top: 4px;
  }
}

/* ──────────────────────────────────────────────────────────────
   7. VERY SMALL MOBILE (375px & 320px)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 375px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-slide-title { font-size: 1.85rem; line-height: 1.12; text-align: center; }
  .hero-slide-desc { font-size: 0.875rem; line-height: 1.5; margin-bottom: 18px; text-align: center; }
  .hero-slide-btns { max-width: 265px; gap: 8px; }
  .hero-slide-btns .btn { padding: 13px 18px; font-size: 0.8125rem; }
  .hero-arrow { width: 34px; height: 34px; bottom: 14px !important; }
  .hero-arrow-prev { left: 10px !important; }
  .hero-arrow-next { right: 10px !important; }
  .hero-indicators { bottom: 20px !important; padding: 0 50px !important; }
}

@media screen and (max-width: 320px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .hero-slide-title { font-size: 1.65rem; line-height: 1.1; text-align: center; }
  .hero-slide-desc { font-size: 0.8125rem; line-height: 1.45; margin-bottom: 16px; text-align: center; }
  .hero-slide-btns { max-width: 240px; }
  .hero-slide-btns .btn { padding: 12px 14px; font-size: 0.75rem; }
}

/* ──────────────────────────────────────────────────────────────
   8. INNER PAGE HERO RESPONSIVE SYSTEM
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 1024px) {
  .inner-page-hero,
  .page-hero-cinematic {
    min-height: 440px;
    max-height: 520px;
    height: auto;
  }
  .inner-page-hero__container,
  .page-hero-container {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .hero-tech-coords { display: none; }
}

@media screen and (max-width: 768px) {
  .inner-page-hero,
  .page-hero-cinematic {
    min-height: 380px;
    max-height: none;
    height: auto;
  }
  .inner-page-hero__overlay,
  .page-hero-overlay {
    background: rgba(3, 26, 54, 0.85) !important;
  }
  .inner-page-hero__container,
  .page-hero-container {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .hero-breadcrumb-list {
    font-size: 0.8125rem;
    gap: 8px;
    margin-bottom: 12px;
  }
  .inner-page-hero__eyebrow,
  .hero-tech-eyebrow {
    font-size: 0.8125rem !important;
    padding: 5px 12px !important;
    margin-bottom: 14px !important;
  }
  .inner-page-hero__title,
  .page-hero-headline {
    font-size: clamp(2.15rem, 7.5vw, 2.85rem) !important;
    line-height: 1.12 !important;
    margin-bottom: 14px !important;
  }
  .inner-page-hero__description,
  .page-hero-lead {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
  }
  .inner-page-hero__cta,
  .page-hero-actions {
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .inner-page-hero__cta .btn,
  .page-hero-actions .btn {
    width: 100%;
    padding: 14px 22px;
    font-size: 0.875rem;
    font-weight: 700;
    justify-content: center;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .inner-page-hero,
  .page-hero-cinematic {
    min-height: 350px;
  }
  .inner-page-hero__title,
  .page-hero-headline {
    font-size: clamp(1.95rem, 7.8vw, 2.45rem) !important;
  }
  .inner-page-hero__description,
  .page-hero-lead {
    font-size: 0.9rem !important;
  }
  .hero-breadcrumb-list {
    font-size: 0.78rem;
    gap: 6px;
  }
}



/* ──────────────────────────────────────────────────────────────
   9. NEW COMPONENT RESPONSIVE — Top Bar, Capabilities Hub,
      Gallery Editorial, Floating Dock
   ────────────────────────────────────────────────────────────── */

/* Top bar multi-contact — Tablet (1024px) */
@media screen and (max-width: 1024px) {
  .top-bar {
    display: block !important;
    background-color: var(--navy-deep);
  }
  .top-bar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 38px !important;
  }
  .top-bar-left {
    display: none !important;
  }
  .top-bar-inner {
    justify-content: flex-end !important;
  }
  .top-bar-contact-item.hide-tablet {
    display: none !important;
  }
}

/* Top bar — Mobile View (<=768px and <=480px) */
@media screen and (max-width: 768px) {
  .top-bar {
    display: block !important;
    width: 100% !important;
    background-color: var(--navy-deep) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    z-index: 1010 !important;
  }

  .top-bar-inner {
    display: flex !important;
    height: 38px !important;
    padding: 0 !important;
    justify-content: stretch !important;
    align-items: center !important;
  }

  /* Tagline removed from mobile view as requested */
  .top-bar-left {
    display: none !important;
  }

  .top-bar-contacts {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: 100% !important;
    height: 100% !important;
  }

  .top-bar-contact-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    height: 38px !important;
    padding: 0 8px !important;
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    gap: 6px !important;
  }

  .top-bar-contact-item:first-child {
    border-left: none !important;
  }

  .top-bar-contact-item.hide-tablet {
    display: none !important;
  }

  .top-bar-intl {
    flex: 1.25 1 0 !important;
    background-color: rgba(243, 106, 33, 0.18) !important;
    color: var(--orange) !important;
    font-weight: 600 !important;
  }

  .top-bar-intl .top-bar-icon {
    color: var(--orange) !important;
    opacity: 1 !important;
  }

  .top-bar-icon {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }
}

@media screen and (max-width: 480px) {
  .top-bar-contact-item {
    font-size: 0.7rem !important;
    padding: 0 4px !important;
    gap: 4px !important;
  }

  .top-bar-icon {
    width: 12px !important;
    height: 12px !important;
  }
}

  /* Capabilities hub: stack vertically */
  .capabilities-hub {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .capabilities-hub__tabs {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .capabilities-hub__panel {
    min-height: 280px;
  }
  .cap-tab {
    padding: 18px 20px;
    gap: 14px;
  }
  .cap-tab-short { display: none; }

  /* Gallery editorial */
  .gallery-featured-row { height: 320px; }
  .gallery-masonry-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry-3 .gallery-item:first-child { height: 260px; }
  .gallery-masonry-3 .gallery-item:not(:first-child) { height: 200px; }
  .gallery-2col { grid-template-columns: 1fr; }
  .gallery-2col .gallery-item { height: 280px; }
  .gallery-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-3 .gallery-item { height: 200px; }

  /* Floating dock labels → icon only */
  .float-action-label { display: none !important; }
  .float-action-btn { width: 48px; padding: 0; justify-content: center; }
  .float-action-call { display: flex !important; }
  .floating-action-dock { bottom: 20px; right: 16px; }
}

@media screen and (max-width: 480px) {
  .capabilities-hub__panel { min-height: 220px; }
  .cap-panel__title { font-size: 1.15rem; }
  .cap-panel__desc { font-size: 0.825rem; }
  .cap-panel__content { padding: 20px; }

  /* Gallery editorial small */
  .gallery-featured-row { height: 240px; }
  .gallery-masonry-3 { grid-template-columns: 1fr; }
  .gallery-masonry-3 .gallery-item { height: 220px !important; }
  .gallery-2col { grid-template-columns: 1fr; }
  .gallery-2col .gallery-item { height: 220px; }
  .gallery-grid-3 { grid-template-columns: 1fr; }
  .gallery-grid-3 .gallery-item { height: 200px; }
  .gallery-featured-title { font-size: 1.15rem; }

  /* Image Grid Collapses for Mobile */
  .procurement-workflow-grid,
  .qa-image-grid,
  .export-logistics-grid,
  .facility-zones-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .overview-photo-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* International Enquiry Modal Mobile Adjustments */
  .intl-modal-overlay {
    padding: 12px !important;
  }

  .intl-modal-dialog {
    max-height: 94vh !important;
    border-radius: var(--radius-md) !important;
  }

  .intl-modal-header {
    padding: 20px 18px 14px 18px !important;
  }

  .intl-modal-title {
    font-size: 1.15rem !important;
    padding-right: 28px !important;
  }

  .intl-modal-subtitle {
    font-size: 0.8rem !important;
  }

  .intl-modal-body {
    padding: 16px 18px 24px 18px !important;
  }

  .intl-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .intl-trust-strip {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    margin-top: 14px !important;
    margin-bottom: 18px !important;
  }

  .intl-form-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .intl-form-actions .btn {
    width: 100% !important;
  }

  /* Chatbot Mobile Adjustments — Full Bottom Sheet */
  .chat-widget-wrapper {
    bottom: 18px !important;
    right: 16px !important;
    z-index: 2100 !important;
  }

  .chat-toggle-btn {
    width: 48px !important;
    height: 48px !important;
  }

  .chat-panel {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 86vh !important;
    max-height: 560px !important;
    border-radius: 18px 18px 0 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-bottom: none !important;
    box-shadow: 0 -10px 40px rgba(3, 26, 54, 0.45) !important;
    transform: translateY(100%) !important;
    transform-origin: bottom center !important;
    z-index: 2500 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .chat-panel.is-open {
    transform: translateY(0) !important;
  }

  .chat-panel-header {
    padding: 14px 16px !important;
    border-radius: 18px 18px 0 0 !important;
  }

  .chat-panel-body {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .chat-panel-footer {
    padding: 8px 12px !important;
    background: #FFFFFF !important;
    border-top: 1px solid var(--border-light) !important;
  }

  .chat-teaser-bubble {
    display: none !important;
  }

  /* 3D Mould Simulator Mobile Adjustments */
  .mould-visual-container {
    padding: 18px 14px !important;
  }

  .mould-3d-header {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .mould-3d-wrapper {
    height: 320px !important;
  }

  .mould-3d-controls {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .mould-3d-btn {
    font-size: 0.72rem !important;
    padding: 8px 8px !important;
  }
}
