/* ==========================================================================
   gutrdun_vx4 HOMEPAGE DESIGN SYSTEM: RESPONSIVE ADAPTATIONS
   pages/home/assets/css/home-responsive.css
   ========================================================================== */

/* 1. Large Screens & Desktops (>= 1200px) */
@media (min-width: 1200px) {
  .vx-section-hero {
    padding: 3rem 0 4rem 0;
  }
}

/* 2. Tablets & Small Laptops (<= 991.98px) */
@media (max-width: 991.98px) {
  .vx-section-hero {
    padding: 2rem 0 3rem 0;
  }

  .vx-hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .vx-badge-hero {
    margin-left: auto;
    margin-right: auto;
  }

  .vx-hero-neon-line {
    margin-left: auto;
    margin-right: auto;
  }

  .vx-trade-strip {
    justify-content: center;
  }

  .vx-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .vx-trust-row {
    justify-content: center;
  }

  .vx-hero-actions {
    justify-content: center;
  }

  .vx-rfq-card {
    max-width: 580px;
    margin: 16px auto 0 auto;
  }

  .vx-trade-kicker {
    font-size: 1.7rem !important;
    padding: 0.3rem 1rem 0.1rem !important;
  }

  /* Below-Hero Tablet Responsive Adaptations */
  .vx-trade-card,
  .vx-trade-card.reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }

  .vx-trade-card.reverse .vx-trade-media {
    order: 1;
  }

  .vx-trade-card.reverse .vx-trade-content {
    order: 2;
  }

  .vx-proof-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    max-width: 92%;
    margin-top: -1.5rem;
  }

  .vx-features-grid {
    grid-template-columns: 1fr;
  }

  .vx-reviews-grid {
    grid-template-columns: 1fr;
  }

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

/* 3. Mobile Devices (<= 767.98px) */
@media (max-width: 767.98px) {
  .vx-section-hero {
    padding: 0.75rem 0 1.5rem 0;
  }

  .vx-badge-hero {
    font-size: 11.5px;
    padding: 3px 10px;
    margin-bottom: 6px;
  }

  .vx-hero-title {
    font-size: 1.6rem !important;
    line-height: 1.15;
    margin-bottom: 0.4rem;
  }

  .vx-trade-strip {
    gap: 4px;
    margin-bottom: 0.5rem;
  }

  .vx-trade-pill {
    font-size: 11.5px;
    padding: 2px 7px;
  }

  .vx-hero-desc {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 0.65rem;
    max-width: 95%;
  }

  .vx-trust-row {
    gap: 6px;
    margin-bottom: 0.65rem;
  }

  .vx-trust-chip {
    padding: 5px 8px;
    gap: 6px;
  }

  .vx-trust-chip i {
    font-size: 1rem;
  }

  .vx-trust-chip-title {
    font-size: 14px;
  }

  .vx-trust-chip-sub {
    font-size: 12.5px;
    color: #f8fafc;
  }

  .vx-hero-actions {
    gap: 8px;
    margin-bottom: 1rem;
  }

  .vx-btn-hero-call {
    font-size: 13.5px;
    padding: 7px 16px;
  }

  .vx-btn-hero-reviews {
    font-size: 13px;
    padding: 7px 14px;
  }

  .vx-rfq-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .vx-rfq-title {
    font-size: 1.1rem;
  }

  .vx-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .vx-service-chip {
    min-height: 44px;
    padding: 8px 10px;
    gap: 8px;
  }

  .vx-service-chip-box {
    width: 18px;
    height: 18px;
  }

  .vx-service-chip-label {
    font-size: 12px;
  }

  .vx-btn-submit {
    font-size: 15px;
    padding: 10px;
    min-height: 44px;
  }

  /* Ensure floating action buttons don't block mobile bottom */
  .message_bar {
    padding: 8px;
    font-size: 16px;
    gap: 10px;
    bottom: 15px;
  }

  /* Below-Hero Mobile Responsive Adaptations */
  .vx-section {
    padding: 3.5rem 0;
  }

  .vx-section-title {
    font-size: 1.85rem;
  }

  /* Promo Bar Mobile Polish */
  .vx-promo-bar {
    padding: 1.15rem 0.75rem;
  }

  .vx-promo-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
  }

  .vx-promo-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
  }

  .vx-promo-icon {
    font-size: 1.65rem;
    margin-bottom: 2px;
  }

  .vx-promo-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .vx-promo-heading {
    display: block;
    margin-right: 0;
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: 0.03em;
  }

  .vx-promo-desc {
    display: block;
    font-size: 0.85rem;
    line-height: 1.45;
    max-width: 95%;
    margin: 0 auto;
    color: #e2e8f0;
  }

  .vx-promo-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 0.25rem;
  }

  .vx-promo-copy-btn,
  .vx-btn-promo-outline {
    font-size: 0.82rem;
    padding: 0.42rem 0.95rem;
  }

  .vx-gallery-grid {
    grid-template-columns: 1fr;
  }

  .vx-gallery-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .vx-gallery-actions .vx-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
    white-space: normal !important;
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
  }

  .vx-proof-bar {
    margin-top: 1.75rem !important;
    margin-bottom: 0.85rem;
  }

  /* Testimonials Mobile Side-Scroll Track */
  .vx-reviews-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.15rem !important;
    padding: 0.5rem 1rem 1.75rem 1rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: #f59e0b rgba(15, 23, 42, 0.08) !important;
  }

  .vx-reviews-grid::-webkit-scrollbar {
    height: 6px !important;
  }

  .vx-reviews-grid::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06) !important;
    border-radius: 99px !important;
    margin: 0 1rem !important;
  }

  .vx-reviews-grid::-webkit-scrollbar-thumb {
    background: #f59e0b !important;
    border-radius: 99px !important;
  }

  .vx-reviews-grid .vx-review-card {
    flex: 0 0 85% !important;
    max-width: 320px !important;
    min-width: 260px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    box-shadow: 4px 4px 0px #0f172a !important;
  }
}

@media (max-width: 576px) {
  .vx-btn {
    box-sizing: border-box;
    max-width: 100%;
  }

  .vx-btn-cta-lg {
    font-size: 0.92rem !important;
    padding: 0.75rem 1.4rem !important;
    white-space: normal !important;
    width: 100% !important;
    max-width: 320px !important;
    line-height: 1.3 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .vx-btn.px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .vx-btn.fs-5 {
    font-size: 1.05rem !important;
  }
}

/* 4. Small Mobile Devices (<= 430px, 390px, 375px) */
@media (max-width: 430px) {
  .vx-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .vx-service-chip {
    min-height: 42px;
    padding: 6px 7px;
    gap: 6px;
  }

  .vx-service-chip-box {
    width: 16px;
    height: 16px;
  }

  .vx-service-chip-box i {
    font-size: 11px;
  }

  .vx-service-chip-label {
    font-size: 11px;
    gap: 4px;
  }

  .vx-service-chip-label i {
    font-size: 12px;
  }

  .vx-hero-actions .vx-btn-hero-call {
    width: 100%;
    justify-content: center;
  }

  .vx-hero-actions .vx-btn-hero-reviews {
    width: 100%;
    justify-content: center;
  }

  .vx-step-card {
    padding: 1.25rem;
  }

  .vx-section {
    padding: 2.75rem 0;
  }
}
