/* ─── RESPONSIVE BREAKPOINTS & MOBILE OPTIMIZATION ───────────────────────── */

/* Global Prevent Horizontal Scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 1200px) {
  .hero-headline { font-size: clamp(3.5rem, 7vw, 6.5rem); }
  .svc-desc { max-width: 240px; }
  .legal-layout { grid-template-columns: 260px 1fr; gap: 2.5rem; }
}

@media (max-width: 1024px) {
  .strip-grid { grid-template-columns: 1fr; gap: 3rem; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-card + .prod-card { border-left: 1.5px solid rgba(230,0,0,.25); border-top: 1.5px solid rgba(230,0,0,.25); }
  .work-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step + .process-step:nth-child(3) { border-left: none; border-top: 1px solid var(--ink-10); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .intro-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-sidebar { position: static; margin-bottom: 1.5rem; }
}

@media (max-width: 900px) {
  .site-nav, .nav-cta { display: none !important; }
  .mobile-burger { display: flex !important; }
  .hero-headline { font-size: clamp(2.8rem, 8.5vw, 5rem); }
  .hero-sub-row { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-wrap: wrap; gap: 1rem; }
  .hero-ticker-row { flex-wrap: wrap; gap: 1.5rem; }
  .hero-ticker-sep { display: none; }
  .cta-headline { font-size: clamp(2.4rem, 7.5vw, 4.5rem); }
  .strip-heading { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
}

@media (max-width: 768px) {
  /* Prevent horizontal animation offsets on mobile */
  .u-reveal-left, .u-reveal-right {
    transform: none !important;
  }

  /* Header & Navigation */
  .site-header, .header {
    top: 0.8rem;
    height: 60px;
    width: calc(100% - 1.5rem);
    border-radius: var(--r-md);
    border: 1.5px solid var(--red);
    box-shadow: 0 4px 20px rgba(230, 0, 0, 0.2);
  }
  .site-header.scrolled, .header.scrolled {
    top: 0.4rem;
    height: 54px;
    border-color: var(--red);
  }
  .header-wrap, .header-container {
    padding: 0 1rem;
  }

  /* Section Spacing & Containers */
  .container {
    padding: 0 1.2rem;
  }
  .section-spacing {
    padding: 3.5rem 0;
  }
  .inner-hero {
    padding: 110px 0 40px;
  }
  .inner-hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem) !important;
    line-height: 1.25 !important;
  }
  .inner-hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Section Headings */
  section h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 1.5rem !important;
  }

  /* NFC INTRO & PRODUCTS SHOWCASE (HOMEPAGE & PRODUCT PAGES) */
  .nfc-intro-section {
    padding: 3.5rem 0 !important;
    margin-bottom: 0 !important;
  }
  .nfc-intro-wrap {
    grid-template-columns: 1fr !important;
    gap: 2.2rem !important;
    padding: 0 1.2rem !important;
  }
  .nfc-intro-subheading {
    font-size: 1.05rem !important;
    margin-bottom: 1rem !important;
  }
  .nfc-intro-text {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    gap: 0.8rem !important;
    margin-bottom: 1.5rem !important;
  }

  .nfc-showcase-grid, 
  .nfc-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    width: 100% !important;
  }

  .nfc-showcase-card,
  .nfc-card {
    padding: 1.5rem 1.2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nfc-showcase-img-wrap,
  .nfc-card .prod-img-wrap {
    width: 100% !important;
    height: 200px !important;
    aspect-ratio: auto !important;
    margin-bottom: 1rem !important;
  }

  .nfc-showcase-img,
  .nfc-card .prod-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--r-md);
  }

  .nfc-showcase-title,
  .nfc-card h4 {
    font-size: 1.15rem !important;
    margin-bottom: 0.8rem !important;
  }

  /* Grids & Cards */
  .feature-grid-3, 
  .svc-cards-grid, 
  .ad-products-grid, 
  .hub-grid, 
  .pillar-grid, 
  .why-choose-grid,
  .faq-grid,
  .legal-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  /* SELECTED WORK & PORTFOLIO GRID MOBILE FIX */
  .work-section {
    padding: 3.5rem 0 !important;
  }
  .work-wrap {
    padding: 0 1.2rem !important;
  }
  .work-grid, 
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 1.8rem !important;
    width: 100% !important;
  }
  .work-card, 
  .portfolio-card {
    width: 100% !important;
  }
  .work-card-inner, 
  .portfolio-img-wrap {
    height: 190px !important;
    padding: 1.2rem !important;
  }
  .work-overlay, 
  .portfolio-info {
    padding: 1.2rem 1.4rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }
  .work-cat, 
  .portfolio-category {
    font-size: 0.7rem !important;
    margin-bottom: 0.2rem !important;
  }
  /* PODCAST HERO RESPONSIVE FIX */
  .podcast-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    width: 100% !important;
  }
  .podcast-art-card {
    max-width: 300px !important;
    width: 100% !important;
    padding: 2rem 1.5rem !important;
    margin: 0 auto !important;
  }
  .podcast-hero-stats {
    gap: 1.2rem !important;
    flex-wrap: wrap !important;
  }
  .platform-wrap {
    gap: 0.6rem !important;
  }
  .platform-chip {
    padding: 0.6rem 1.1rem !important;
    font-size: 0.75rem !important;
  }

  /* PODCAST TOOLBAR & FILTER PILLS MOBILE FIX */
  .podcast-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
    padding: 1.2rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .filter-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .filter-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.72rem !important;
  }
  .search-box-wrap {
    min-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .location-card, .why-card {
    padding: 1.8rem 1.2rem !important;
  }

  /* Service Rows & Open Positions */
  .svc-row, .service-row {
    flex-wrap: wrap !important;
    gap: 1rem !important;
    padding: 1.4rem 1.2rem !important;
  }
  .svc-desc, .service-desc {
    display: block !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: var(--ink-60) !important;
    margin-top: 0.2rem !important;
    flex: 1 1 100% !important;
  }
  .service-title, .svc-name {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }
  .service-row > .btn, 
  .service-row > .btn-secondary, 
  .service-row > .btn-outline {
    margin-top: 0.6rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Intro Stats Grid */
  .intro-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  /* CTA Section */
  .cta-section {
    padding: 2rem 0;
  }
  .cta-card {
    width: calc(100% - 1.5rem);
    padding: 2.2rem 1.2rem;
    border-radius: 18px;
  }
  .cta-wrap {
    padding: 0;
  }
  .cta-headline {
    font-size: clamp(2rem, 7.5vw, 3.2rem) !important;
    line-height: 1.15 !important;
  }
  .cta-sub {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  .cta-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.8rem !important;
  }
  .cta-row .btn-red, 
  .cta-row .btn-ghost {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.95rem 1.5rem !important;
  }
  .cta-hubs {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    font-size: 0.75rem !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .footer-base {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.8rem !important;
  }
  .footer-base-links {
    justify-content: center;
  }

  /* Sticky Podcast Player Dock */
  #sticky-player {
    padding: 0.6rem 1rem !important;
  }
  .sp-wrap {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 105px 0 50px;
  }
  .hero-inner {
    padding: 0 1rem;
  }
  .hero-headline {
    font-size: clamp(2.2rem, 9.5vw, 3.2rem);
  }
  .hero-stat-num {
    font-size: 1.8rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-red, .btn-ghost, .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .intro-stats-grid {
    grid-template-columns: 1fr !important;
  }
  .legal-card {
    padding: 1.5rem 1rem !important;
  }
}

