/* FIXMORA — Mobile-first refinement, 21 November 2026.
   Applies only to phones / portrait tablets (<=768px).
   Original desktop CSS, assets, brand colors and GSAP/Three.js scripts are preserved. */

@media screen and (max-width:768px) {
  :root {
    --container-padding: 0 18px;
    --section-padding: 62px 0;
  }
  html { scroll-padding-top: 78px; }
  body { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .container, .nav-container { width: 100%; min-width: 0; }
  .section { overflow-wrap: break-word; }

  /* Real mobile layout. The main desktop stylesheet remains untouched. */
  .nav-container { padding: 11px 18px; gap: 12px; }
  .nav-logo { min-width: 0; }
  .nav-logo img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
  .nav-logo .brand-name { font-size: 1.45rem; line-height: 1.1; }
  .nav-logo .brand-tagline { font-size: 0.56rem; letter-spacing: 1.3px; margin-top: 2px; }
  .nav-toggle { flex-shrink: 0; }
  .nav-menu { max-width: min(360px, 86vw); width: 86vw; }
  .top-bar .container { min-height: 0; }

  /* Hero keeps the same imagery, colors and animations, only a phone-sized ratio. */
  .hero { padding: 64px 0 54px; }
  .hero-content { gap: 32px; }
  .hero-text h1 { font-size: clamp(1.72rem, 5.6vw, 2.25rem); line-height: 1.19; }
  .hero-subtitle { font-size: 1rem; line-height: 1.68; }
  .hero-badge { max-width: 100%; font-size: 0.76rem; padding: 8px 12px; }
  .hero-image-wrapper { aspect-ratio: 16 / 10; max-width: 100%; }
  .hero-image-wrapper img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
  .hero-visual { width: 100%; }
  .trust-badges { gap: 16px 20px; }

  .section-header { margin-bottom: 34px; }
  .section-header h2 { font-size: clamp(1.6rem, 4.65vw, 2.12rem); line-height: 1.26; }
  .section-header p { font-size: 0.95rem; line-height: 1.7; }
  .section-header .subtitle { font-size: 0.76rem; letter-spacing: 2.1px; }

  /* Services: stable image crop, no empty image region, compact aligned cards. */
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .services-grid > .service-card { min-width: 0; transform-style: flat; perspective: none; }
  .service-card-image { height: auto; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; background: #e9eef5; }
  .service-card-image img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
  }
  .service-card-body { padding: 24px 19px 20px; }
  .service-card-body h3 { font-size: 1.13rem; line-height: 1.35; }
  .service-card-body > p { font-size: 0.9rem; line-height: 1.65; }
  .service-card-body .service-icon { width: 49px; height: 49px; font-size: 1.25rem; margin-top: -44px; }
  .service-list li { align-items: flex-start; font-size: 0.85rem; line-height: 1.48; }
  .service-list li i { margin-top: 4px; flex-shrink: 0; }
  .service-card-footer { gap: 10px; flex-wrap: wrap; }
  .service-card-footer .btn-sm { white-space: nowrap; padding: 10px 18px; }
  .services-grid > .service-card:last-child { min-height: 300px !important; }
  .services-grid > .service-card:last-child > div { padding: 32px 22px !important; }

  .stats-row, .features-grid { gap: 16px; }
  .feature-card { padding: 26px 22px; }
  .steps-container { gap: 32px; }
  .city-card { padding: 22px; }
  .city-card-header { align-items: flex-start; }
  .city-localities { gap: 7px; }
  .city-localities span { font-size: 0.77rem; }
  .testimonials-slider { gap: 18px; }
  .testimonial-card { padding: 26px 22px; }
  .brands-track { column-gap: 24px; row-gap: 14px; }
  .brands-section { padding: 54px 0; }
  .contact-grid { gap: 28px; }
  .booking-form-wrapper { padding: 24px 20px; }
  .footer-grid { gap: 26px; }
  .mobile-bottom-bar { padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bottom-bar .bar-btn { min-height: 48px; padding: 10px 14px; }

  /* Visible content is the default: AOS and GSAP must never blank main
     sections on a phone. The desktop and hero animations are not targeted. */
  html body main [data-aos][data-aos],
  html body section:not(.hero) [data-aos][data-aos],
  html body .brands-section [data-aos][data-aos],
  html body .footer [data-aos][data-aos],
  html body .faq-item,
  html body .footer-grid > div {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media screen and (max-width:620px) {
  :root { --container-padding: 0 16px; --section-padding: 56px 0; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .service-card { max-width: 520px; width: 100%; margin-inline: auto; }
  .service-card-image { aspect-ratio: 16 / 10; }
  .service-card-body { padding: 24px 22px 22px; }
  .service-card-body h3 { font-size: 1.16rem; }
  .service-card-footer { justify-content: space-between; gap: 12px; }
  .service-card-footer .price-tag { font-size: 0.82rem; }
  .service-card-footer .btn-sm { font-size: 0.84rem; }
  .hero-buttons { gap: 12px; }
  .hero-buttons .btn { padding: 13px 20px; }
  .hero-image-wrapper { aspect-ratio: 16 / 10; }
  .stats-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-card { min-width: 0; }
  .city-card-header h3 { font-size: 1.08rem; }
  .mobile-bottom-bar .bar-btn { font-size: 0.88rem; }
}

@media screen and (max-width:400px) {
  .top-bar-left { gap: 8px; }
  .top-bar-left a[href^="mailto:"] { display: none; }
  .top-bar-right { display: none; }
  .nav-container { padding: 9px 15px; }
  .nav-logo { gap: 7px; }
  .nav-logo img { width: 40px; height: 40px; }
  .nav-logo .brand-name { font-size: 1.35rem; }
  .nav-logo .brand-tagline { font-size: 0.51rem; letter-spacing: 1px; }
  .hero { padding: 48px 0 48px; }
  .hero-badge { font-size: 0.72rem; }
  .hero-text h1 { font-size: 1.75rem; }
  .hero-subtitle { font-size: 0.94rem; }
  .trust-badges { gap: 13px; }
  .trust-badge { font-size: 0.82rem; }
  .section-header h2 { font-size: 1.55rem; }
  .service-card-body { padding: 23px 19px 21px; }
  .service-card-footer .btn-sm { padding: 9px 15px; }
  .stat-card { padding: 20px 10px; }
  .mobile-bottom-bar .bar-btn { font-size: 0.85rem; padding-inline: 8px; }
}

@media screen and (prefers-reduced-motion: reduce) and (max-width:768px) {
  .service-card, .service-card-image img, .section-header { animation: none !important; transition: none !important; }
}
