/* ==========================================================================
   ANKITA FORGE INDUSTRIES - DEDICATED RESPONSIVE STYLESHEET
   Comprehensive Cross-Device Optimization (Mobile First & Breakpoint Cascades)
   Breakpoints: 1200px, 1024px, 991px, 768px, 640px, 480px, 360px
   ========================================================================== */

/* ---------------------------------------------------------
   GLOBAL FLUID & RESET ENHANCEMENTS
   --------------------------------------------------------- */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   1. LARGE DESKTOPS & WIDE SCREENS (Max-Width: 1200px)
   --------------------------------------------------------- */
@media (max-width: 1200px) {
  :root {
    --header-height: 94px;
  }

  .container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Range Showcase 2 Cards Visible */
  .range-showcase-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .infra-wings-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-top-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    gap: 28px;
  }
}

/* ---------------------------------------------------------
   2. LAPTOPS & TABLETS LANDSCAPE (Max-Width: 1024px)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Navigation */
  .nav-list {
    gap: 4px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .header-actions .btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .header-logo img {
    height: 64px;
  }

  /* Hero Slider on 1024px */
  .executive-hero-slider {
    min-height: 560px;
  }

  .exec-slide-content h1 {
    font-size: clamp(2rem, 3.8vw, 2.5rem);
  }

  /* Split Layout */
  .split-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-image-box img {
    height: 340px;
    width: 100%;
    object-fit: cover;
  }

  /* Infrastructure & Industries */
  .infra-wings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .infra-metric-box:nth-child(2) {
    border-right: none;
  }

  .industry-showcase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .industry-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .foundation-pillars-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  .foundation-pillar-card {
    padding: 28px 20px 24px 20px !important;
  }

  .foundation-lead-desc {
    min-height: auto !important;
  }
}

/* ---------------------------------------------------------
   3. TABLETS PORTRAIT (Max-Width: 991px)
   --------------------------------------------------------- */
@media (max-width: 991px) {
  /* Hide Desktop Nav & Topbar */
  .main-nav {
    display: none !important;
  }

  .topbar {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  /* Compact Site Header */
  .site-header {
    border-bottom: 1px solid var(--border);
  }

  .site-header .container {
    height: 80px !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-logo img {
    height: 60px !important;
  }

  /* Executive Hero Slider on Tablets */
  .executive-hero-slider {
    height: 580px !important;
    min-height: 560px !important;
  }

  .exec-slide {
    display: flex !important;
    align-items: center !important;
    padding: 30px 0 50px 0 !important;
  }

  .exec-slide-content {
    max-width: 100% !important;
  }

  .exec-slide-content h1 {
    font-size: clamp(1.8rem, 4.2vw, 2.3rem) !important;
    line-height: 1.25 !important;
  }

  .exec-slider-controls {
    right: 20px !important;
    bottom: 20px !important;
  }

  .exec-slider-dots {
    left: 24px !important;
    transform: none !important;
    bottom: 24px !important;
  }

  /* Trust Banner */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .trust-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 16px;
  }

  /* Product Range Slider */
  .range-showcase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .range-showcase-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .range-showcase-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .range-showcase-track {
    gap: 20px;
  }

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

  /* Quality Flow & Industries */
  .quality-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .quality-timeline-grid::before {
    display: none !important;
  }

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

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Sub-Hero (Inner Pages) */
  .page-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .page-hero-spec-card {
    width: 100%;
  }

  /* Foundations of Excellence on Tablets */
  .foundation-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .foundation-pillar-card {
    padding: 30px 24px 26px 24px !important;
  }

  .foundation-metrics-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 16px 20px !important;
  }

  .foundation-metric-item:nth-child(2) {
    border-right: none !important;
  }

  /* Product Detail Showcase on Tablets */
  .split-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .split-image-wrap {
    width: 100% !important;
  }

  .split-image-box {
    height: 380px !important;
  }

  /* Catalogue Filter Bar on Tablets */
  .catalogue-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 16px !important;
  }

  .filter-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .catalogue-filter-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 16px !important;
  }

  .search-box-wrap {
    flex-grow: 1 !important;
    min-width: 0 !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Contact Page Grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

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

/* ---------------------------------------------------------
   4. SMARTPHONES & SMALL TABLETS (Max-Width: 768px)
   --------------------------------------------------------- */
@media (max-width: 768px) {
  /* Container & Global Spacing */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .section {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }

  /* Typography */
  h1 { font-size: clamp(1.55rem, 5.2vw, 1.95rem); line-height: 1.25; }
  h2 { font-size: clamp(1.35rem, 4.4vw, 1.65rem); line-height: 1.3; }
  h3 { font-size: clamp(1.15rem, 3.8vw, 1.35rem); }
  .section-title { font-size: clamp(1.38rem, 4.8vw, 1.7rem); line-height: 1.3; }
  .section-subtitle { font-size: 0.88rem; line-height: 1.5; margin-bottom: 24px; }
  .section-subheading-highlight { font-size: 0.92rem; margin-top: -6px; margin-bottom: 8px; }

  /* Sticky Header & Logo */
  .site-header .container {
    height: 72px !important;
  }

  .header-logo img {
    height: 52px !important;
  }

  .header-actions .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* 1. Executive Hero Slider on Mobile */
  .executive-hero-slider {
    min-height: 640px !important;
    height: auto !important;
    background-color: #02142b !important;
  }

  .exec-slider-track {
    min-height: 640px !important;
    height: 100% !important;
  }

  .exec-slide {
    position: relative !important;
    min-height: 640px !important;
    padding: 40px 0 75px 0 !important;
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .exec-slide:not(.active) {
    display: none !important;
  }

  .exec-slide-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
  }

  .exec-slide-bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .exec-slide-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
      180deg,
      rgba(2, 20, 43, 0.94) 0%,
      rgba(3, 29, 62, 0.90) 60%,
      rgba(2, 20, 43, 0.96) 100%
    ) !important;
    z-index: 2 !important;
  }

  .exec-slide-content {
    position: relative !important;
    z-index: 5 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    color: #FFFFFF !important;
  }

  .exec-slide-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    padding: 5px 12px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    background: #E30613 !important;
    color: #FFFFFF !important;
    border: 1px solid #FF3B47 !important;
    border-radius: 30px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .exec-slide-content h1 {
    font-size: clamp(1.45rem, 5.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    transform: none !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
  }

  .exec-slide-content p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
    color: #F1F5F9 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    transform: none !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85) !important;
  }

  .exec-slide-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .exec-slide-actions .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
  }

  .exec-slide-specs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    padding-top: 14px !important;
    margin-top: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
    opacity: 1 !important;
    transform: none !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) !important;
  }

  .exec-spec-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .exec-spec-item svg {
    width: 15px !important;
    height: 15px !important;
    stroke: #FF3B47 !important;
  }

  .exec-slider-controls {
    display: none !important;
  }

  .exec-slider-dots {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 16px !important;
    gap: 6px !important;
    z-index: 20 !important;
  }

  .exec-dot {
    width: 24px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.4) !important;
  }

  .exec-dot.active {
    width: 38px !important;
    background: #E30613 !important;
  }

  /* 2. Trust Strip / 4 Stats on Mobile */
  .trust-strip {
    padding: 24px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .trust-item {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: none !important;
  }

  .trust-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
  }

  /* 3. Split About Section on Mobile */
  .split-image-wrap {
    width: 100%;
  }

  .split-image-box img {
    height: 260px !important;
  }

  .experience-badge {
    bottom: 10px;
    right: 10px;
    padding: 8px 14px;
  }

  .feature-checklist {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 20px 0 24px 0;
  }

  /* 4. Product Range Showcase Slider on Mobile */
  .range-showcase-section {
    padding: 50px 0 55px 0;
  }

  .range-showcase-track {
    gap: 16px !important;
  }

  .range-showcase-card {
    flex: 0 0 100% !important;
    min-width: 260px !important;
  }

  .range-showcase-media {
    height: 200px;
  }

  .showcase-spec-matrix {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    padding: 10px 12px;
  }

  .showcase-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .showcase-card-footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Catalogue Filter Bar on Mobile */
  .catalogue-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 14px !important;
    margin-bottom: 24px !important;
  }

  .filter-tabs {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .filter-tab-btn {
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  .catalogue-filter-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .product-count-display {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    text-align: left !important;
  }

  .search-box-wrap {
    width: 100% !important;
    min-width: 100% !important;
  }

  .search-box-wrap input {
    font-size: 16px !important; /* iOS zoom prevention */
    padding: 10px 38px 10px 14px !important;
    min-height: 44px !important;
  }

  /* 5. Products Grid on Mobile (Catalogue & Listings) */
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .product-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    background-color: #FFFFFF !important;
    border: 1px solid var(--border) !important;
  }

  .product-card.is-hidden {
    display: none !important;
  }

  .product-card-img {
    height: 200px !important;
    width: 100% !important;
    background-color: #FAFCFE !important;
    padding: 12px !important;
  }

  .product-card-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  .product-card-body {
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }

  .product-category-tag {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }

  .product-card-title {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
    color: var(--primary-dark) !important;
  }

  .product-card-desc {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    color: var(--text-muted) !important;
  }

  .product-card-spec-list {
    font-size: 0.78rem !important;
    padding: 6px 10px !important;
    margin-bottom: 16px !important;
    background-color: #F8FAFC !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 3px !important;
  }

  .product-card-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: auto !important;
  }

  .product-card-actions .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 0.88rem !important;
  }

  /* 6. Quality 6-Step Flow on Mobile */
  .quality-timeline-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .quality-step-card {
    padding: 22px 18px;
  }

  /* 7. Industries Grid on Mobile */
  .industries-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Foundations of Excellence on Mobile (About Page) */
  .foundations-section {
    padding: 45px 0 50px 0 !important;
  }

  .foundation-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 26px !important;
  }

  .foundation-pillar-card {
    padding: 26px 20px 22px 20px !important;
  }

  .foundation-card-index {
    font-size: 2.6rem !important;
    top: 14px !important;
    right: 16px !important;
    opacity: 0.45 !important;
  }

  .foundation-icon-wrap {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 16px !important;
  }

  .foundation-icon-wrap svg {
    width: 22px !important;
    height: 22px !important;
  }

  .foundation-pillar-card h3 {
    font-size: 1.22rem !important;
    margin-bottom: 10px !important;
  }

  .foundation-lead-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    min-height: auto !important;
    margin-bottom: 16px !important;
  }

  .foundation-check-list {
    gap: 8px !important;
    padding-top: 14px !important;
    margin-bottom: 16px !important;
  }

  .foundation-check-item {
    font-size: 0.82rem !important;
    gap: 8px !important;
  }

  .foundation-check-item svg {
    width: 14px !important;
    height: 14px !important;
  }

  .foundation-pillar-footer {
    padding-top: 12px !important;
    font-size: 0.72rem !important;
  }

  .foundation-metrics-strip {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
    padding: 16px !important;
  }

  .foundation-metric-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 8px 0 !important;
  }

  .foundation-metric-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .foundation-metric-item svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* 8. Pre-Footer CTA Banner on Mobile */
  .cta-banner {
    padding: 42px 0 !important;
  }

  .cta-banner-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .cta-text h2 {
    font-size: 1.45rem !important;
  }

  .cta-text p {
    font-size: 0.9rem !important;
  }

  .cta-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .cta-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 9. Site Footer on Mobile */
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom .container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }

  /* 10. Floating Action Controls on Mobile */
  .whatsapp-float {
    bottom: 18px !important;
    left: 16px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .whatsapp-float svg {
    width: 26px !important;
    height: 26px !important;
  }

  .whatsapp-float .wa-tooltip {
    display: none !important;
  }

  /* Product In-Depth Detail Showcase on Mobile */
  .split-image-box {
    height: 280px !important;
    padding: 16px !important;
  }

  .split-content h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }

  .split-content p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }

  /* Product Highlights Box Grid */
  #detail-highlights-grid,
  .split-content div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    font-size: 0.84rem !important;
  }

  /* Product Detail Action Buttons */
  .split-content div[style*="display: flex; gap: 14px"],
  .split-content div[style*="display: flex; gap: 16px"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .split-content div[style*="display: flex; gap: 14px"] .btn,
  .split-content div[style*="display: flex; gap: 14px"] button,
  .split-content div[style*="display: flex; gap: 16px"] .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 18px !important;
  }

  /* Technical Specification & Machinery Tables on Mobile */
  .spec-table-container,
  .machinery-table-wrap {
    position: relative !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border) !important;
    margin: 18px 0 24px 0 !important;
    background: #FFFFFF !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .spec-table-container::before,
  .machinery-table-wrap::before {
    content: '⇄ Scroll horizontally to view full technical data';
    display: block;
    padding: 7px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #031D3E;
    background: #EFF6FF;
    border-bottom: 1px solid #BFDBFE;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .spec-table,
  .machinery-table {
    min-width: 560px !important;
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
  }

  .spec-table th,
  .machinery-table th {
    background-color: #031D3E !important;
    color: #FFFFFF !important;
    padding: 11px 14px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .spec-table td,
  .machinery-table td {
    padding: 11px 14px !important;
    font-size: 0.83rem !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    border-right: 1px solid #E2E8F0 !important;
    color: #1E293B !important;
  }

  .spec-table tr:nth-child(even) td,
  .machinery-table tr:nth-child(even) td {
    background-color: #F8FAFC !important;
  }

  .spec-table tr:hover td,
  .machinery-table tr:hover td {
    background-color: #EEF2F6 !important;
  }

  .spec-label {
    width: 170px !important;
    min-width: 150px !important;
    font-weight: 700 !important;
    color: #031D3E !important;
    background-color: #F1F5F9 !important;
    border-right: 2px solid #CBD5E1 !important;
  }

  /* Applications Grid on Product Pages */
  .section-header h3 {
    font-size: 1.35rem !important;
  }

  .back-to-top {
    bottom: 18px !important;
    right: 16px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

/* ---------------------------------------------------------
   5. COMPACT PHONES & NARROW SCREENS (Max-Width: 480px)
   --------------------------------------------------------- */
@media (max-width: 480px) {
  /* Header */
  .site-header .container {
    height: 66px !important;
  }

  .header-logo img {
    height: 46px !important;
  }

  .header-actions .btn {
    padding: 7px 12px;
    font-size: 0.76rem;
  }

  /* Hero Slider on 480px */
  .executive-hero-slider {
    min-height: 600px !important;
    height: auto !important;
    padding: 0 !important;
  }

  .exec-slider-track {
    min-height: 600px !important;
    height: 100% !important;
  }

  .exec-slide {
    min-height: 600px !important;
    padding: 30px 0 65px 0 !important;
  }

  .exec-slide-content h1 {
    font-size: 1.38rem !important;
    line-height: 1.25 !important;
  }

  .exec-slide-content p {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  .exec-slide-specs {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* Range Showcase Spec Matrix */
  .showcase-spec-matrix {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .spec-matrix-cell {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .showcase-card-body {
    padding: 20px 16px;
  }

  .showcase-card-title {
    font-size: 1.2rem;
  }

  .split-image-box img {
    height: 230px !important;
  }

  .split-image-box {
    height: 240px !important;
    padding: 12px !important;
  }

  .split-content h2 {
    font-size: 1.25rem !important;
  }

  .spec-table td,
  .machinery-table td {
    padding: 9px 12px !important;
    font-size: 0.8rem !important;
  }

  .spec-label {
    width: 140px !important;
    min-width: 130px !important;
    font-size: 0.78rem !important;
  }

  .product-card-img {
    height: 180px !important;
  }

  .product-card-body {
    padding: 16px !important;
  }

  .product-card-title {
    font-size: 1.08rem !important;
  }

  /* Foundations on Compact Mobile */
  .foundation-pillar-card {
    padding: 22px 16px 20px 16px !important;
  }

  .foundation-card-index {
    font-size: 2.2rem !important;
    top: 12px !important;
    right: 14px !important;
  }

  .foundation-pillar-card h3 {
    font-size: 1.15rem !important;
  }
}

/* ---------------------------------------------------------
   6. EXTRA SMALL PHONES (Max-Width: 360px)
   --------------------------------------------------------- */
@media (max-width: 360px) {
  .header-logo img {
    height: 40px !important;
  }

  .header-actions .btn {
    display: none !important; /* Preserves room for logo & hamburger */
  }

  .exec-slide-content h1 {
    font-size: 1.25rem !important;
  }

  .btn {
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
  }
}
