/* ================================================
   SOLIGO AIR — Mobile CSS
   Only targets ≤767px — desktop untouched
   ================================================ */

@media only screen and (max-width: 767px) {

  /* ── BODY ── */
  body { font-size: 15px !important; -webkit-text-size-adjust: 100%; padding-bottom: 80px !important; }
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  section { padding: 48px 0 !important; }

  /* ── TYPOGRAPHY ── */
  h1 { font-size: 1.9rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.55rem !important; line-height: 1.25 !important; }
  h3 { font-size: 1.25rem !important; }
  h4 { font-size: 1rem !important; }
  p { font-size: 14px !important; line-height: 1.7 !important; }

  /* ── HEADER ── */
  header { background: #fff !important; box-shadow: 0 2px 10px rgba(0,44,109,0.08) !important; }
  header .container { background: #fff !important; }
  header .de-flex { background: #fff !important; position: relative !important; }
  #logo .logo-main { display: none !important; }
  #logo .logo-scroll { display: block !important; height: 34px !important; width: auto !important; }
  #logo .logo-mobile { display: none !important; }
  header .btn-main, header a.btn-main { display: none !important; }
  #menu-btn { display: flex !important; }
  #menu-btn span { background: #002C6D !important; }
  #mobile-brand {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-family: Poppins, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 2.5px !important;
    color: #002C6D !important;
    white-space: nowrap !important;
    top: 50% !important;
    margin-top: -8px !important;
    pointer-events: none !important;
  }

  /* ── HERO SLIDER ── */
  .swiper-container, .swiper { overflow: hidden !important; }
  .swiper-wrapper { display: flex !important; flex-wrap: nowrap !important; will-change: transform; }
  .swiper-slide {
    min-width: 100vw !important;
    width: 100vw !important;
    min-height: 92vh !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .swiper-inner {
    position: relative !important;
    width: 100% !important;
    min-height: 92vh !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .swiper-slide h1 { font-size: 1.75rem !important; }
  .swiper-slide h2 { font-size: 1.6rem !important; }
  .swiper-slide h3 { font-size: 0.95rem !important; }
  .slider-extra { display: none !important; }
  .sw-caption { overflow: hidden !important; padding-left: 0 !important; }
  .sw-caption .container { padding-left: 20px !important; padding-right: 20px !important; overflow: hidden !important; }
  .sw-caption h1, .sw-caption h2 { padding-left: 0 !important; margin-left: 0 !important; }
  .swiper-slide .d-flex.gap-3 { flex-direction: column !important; gap: 10px !important; }
  .swiper-slide .btn-main { display: block !important; width: 100% !important; text-align: center !important; padding: 14px !important; font-size: 15px !important; }
  .de-has-bg { overflow: hidden !important; background-color: #001830 !important; }

  /* ── HERO SUBHEADER (service/city pages) ── */
  #subheader .container { padding-top: 80px !important; padding-bottom: 40px !important; }
  #subheader h1 { font-size: 1.75rem !important; }
  #subheader p { font-size: 15px !important; font-weight: 600 !important; }
  #subheader .col-lg-5 { margin-top: 24px !important; }
  #subheader .row.align-items-center { min-height: auto !important; }

  /* ── ABOUT ── */
  #about .col-lg-6:first-child { display: none !important; }

  /* ── SERVICE CARDS ── */
  .col-lg-4.col-md-6 { margin-bottom: 8px !important; }
  .rounded-20px { border-radius: 14px !important; }

  /* ── "HOW IT WORKS" STEPS ── */
  .col-lg-3.col-md-6 { margin-bottom: 8px !important; }

  /* ── RESULTS / COUNTERS ── */
  .de_count h3 { font-size: 1.6rem !important; }
  .de_count h4 { font-size: 0.85rem !important; }

  /* ── FAQ ── */
  #faq .col-lg-6:first-child { display: none !important; }
  .accordion-section-title { font-size: 14px !important; padding: 16px 14px !important; }

  /* ── PADDING HELPERS ── */
  .padding60 { padding: 32px 20px !important; }
  .padding50 { padding: 28px 20px !important; }
  .padding40 { padding: 24px 16px !important; }

  /* ── TESTIMONIALS ── */
  .de_testi blockquote { padding: 24px 16px !important; }

  /* ── AREAS CHIPS ── */
  #areas a { font-size: 13px !important; padding: 6px 14px !important; margin: 3px !important; }

  /* ── BLOG CARDS ── */
  [style*="height:196px;overflow:hidden;flex-shrink:0"] { height: 160px !important; }
  .d-none.d-md-flex { display: none !important; }

  /* ── FORMS ── */
  #quote { padding: 24px 18px !important; }
  #quote input, #quote select, #quote textarea,
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
    font-size: 16px !important;
    padding: 12px 14px !important;
  }
  #quote button, #quote .btn-main { width: 100% !important; padding: 15px !important; font-size: 15px !important; }

  /* ── BRAND LOGOS ── */
  [style*="height:48px;object-fit:contain"] { height: 32px !important; }
  [style*="gap:40px;padding:8px 0"] { gap: 20px !important; }
  .logo-carousel img { max-height: 36px !important; }

  /* ── FOOTER ── */
  footer .container { padding-top: 40px !important; padding-bottom: 32px !important; }
  footer .col-lg-4 { margin-bottom: 28px !important; }
  footer .col-lg-2 { margin-bottom: 20px !important; }
  footer [style*="font-size:28px"] { font-size: 22px !important; }

  /* ── MOBILE CTA BAR ── */
  #mobile-cta { display: flex !important; }

  /* ── MISC ── */
  .sm-hide { display: none !important; }
  .float-text { display: none !important; }
  .col-lg-6.offset-lg-1 { margin-left: 0 !important; }
  .col-lg-8.offset-lg-2 { margin-left: 0 !important; }

  /* ── SAFE AREA ── */
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    #mobile-cta { padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important; }
  }
}

/* ── TOUCH TARGETS ── */
@media (hover: none) and (pointer: coarse) {
  .btn-main { min-height: 48px !important; }
  button[type="submit"] { min-height: 48px !important; }
  select, input { min-height: 48px !important; }
}

/* ── TABLET ── */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  h1 { font-size: 2.4rem !important; }
  h2 { font-size: 2rem !important; }
  .swiper-slide h1 { font-size: 2.2rem !important; }
  .slider-extra { display: none !important; }
  section { padding: 60px 0 !important; }
  .col-lg-3 { flex: 0 0 50% !important; max-width: 50% !important; }
  footer .col-lg-2 { margin-bottom: 24px !important; }
}

/* Fix desktop scroll */
@media only screen and (min-width: 768px) {
  html, body { overflow-x: hidden; overflow-y: auto !important; }
  .swiper-container, .swiper { height: auto !important; }
}
