/* ===== ADAPTIVE / RESPONSIVE (mobile‑first) ===== */

/* ---- Extra‑small: < 576px ---- */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero .btn-hero-primary,
  .hero .btn-hero-outline {
    display: block;
    width: 100%;
    text-align: center;
  }

  .hero-illustration {
    min-height: 200px;
    margin-top: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .form-wrapper {
    padding: 1.5rem;
  }

  .btn-submit {
    width: 100%;
  }

  .guarantee-card {
    padding: 1.5rem;
  }

  .support-gallery {
    margin-top: 1.5rem;
    min-height: 520px;
  }

  .support-photo {
    position: relative;
    width: 100%;
    height: 240px;
  }

  .support-photo-1,
  .support-photo-2,
  .support-photo-3 {
    top: auto;
    left: auto;
    right: auto;
  }

  .support-photo-2 {
    margin-top: -30px;
    z-index: 2;
  }

  .support-photo-3 {
    margin-top: -30px;
    z-index: 3;
  }
}

/* ---- Small: 576px – 767px ---- */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-illustration {
    min-height: 240px;
    margin-top: 2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .form-wrapper {
    padding: 2rem;
  }
}

/* ---- Medium: 768px – 991px ---- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-illustration {
    min-height: 280px;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ---- Large+: 992px+ ---- */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-illustration {
    min-height: 340px;
  }

  .navbar-nav {
    gap: 0.25rem;
  }
}

/* ---- Extra‑large: 1200px+ ---- */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.35rem;
  }
}

/* ---- Navbar toggler custom ---- */
.navbar-toggler {
  border: none;
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---- Touch‑device friendly tap targets ---- */
@media (hover: none) {
  .object-card:hover,
  .integration-item:hover,
  .guarantee-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ---- Reduce motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }
}