/* =========================================================
   coorenett — Responsive Stylesheet
   ========================================================= */

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.container {
  padding-left: clamp(16px, 3vw, 40px) !important;
  padding-right: clamp(16px, 3vw, 40px) !important;
}

/* ---------- Large desktop (>=1440) ---------- */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

/* ---------- Small desktop / large laptop (<=1439) ---------- */
@media (max-width: 1439px) {
  .masonry-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ---------- Laptop (<=1199) ---------- */
@media (max-width: 1199px) {
  .masonry-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-badge {
    left: -20px;
  }
  .hero-float-video {
    height: 480px;
  }
  .process-steps {
    gap: 40px 24px;
  }
}

/* ---------- Tablet (<=991) ---------- */
@media (max-width: 991px) {
  section {
    padding: clamp(70px, 10vw, 90px) 0;
  }

  .nav-links {
    display: none;
  }

  .about-img {
    height: 460px;
  }

  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .process-steps {
    gap: 50px 30px;
  }

  .hero-title {
    font-size: clamp(32px, 6vw, 48px);
  }

  .footer-map iframe {
    height: 160px;
  }

  .brand-logo {
    height: 52px;
  }

  .logo-badge {
    padding: 8px 16px;
  }

  .footer-logo {
    height: 72px;
  }

  .stat-item h3 {
    font-size: 38px;
  }

  .app-card {
    height: 280px;
  }

  .video-section {
    height: auto;
    min-height: 60vh;
    padding: 80px 0;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
  body {
    cursor: auto;
  }
}

/* ---------- Mobile / Small tablet (<=767) ---------- */
@media (max-width: 767px) {
  section {
    padding: clamp(50px, 8vw, 70px) 0;
  }

  .hero {
    min-height: 560px;
    height: 100vh;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons a {
    justify-content: center;
  }

  .about-img-frame {
    display: none;
  }

  .about-exp-badge {
    right: 10px;
    bottom: -20px;
    padding: 16px 20px;
  }

  .stat-item h3 {
    font-size: 34px;
  }

  .why-card {
    padding: 28px 16px;
  }

  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .masonry-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  .process-step {
    max-width: 320px;
    width: 100%;
  }

  .video-section {
    height: auto;
    padding: 70px 0;
    min-height: 400px;
  }

  .contact-strip .col-6 {
    margin-bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 17px;
    right: 16px;
  }

  .back-to-top {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 128px;
  }

  .whatsapp-btn {
    bottom: 16px;
  }
  .call-btn {
    bottom: 72px;
  }

  .dealer-cta {
    padding: 80px 0;
  }

  .brand-logo {
    height: 46px;
  }

  .app-card {
    height: 240px;
  }

  .play-btn {
    width: 72px;
    height: 72px;
    font-size: 20px;
  }
}

/* ---------- Small phones (<=575) ---------- */
@media (max-width: 575px) {
  .hero-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section-heading {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-heading-wrap {
    margin-bottom: 32px;
  }

  .about-img {
    height: 280px;
  }

  .masonry-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .masonry-item {
    aspect-ratio: 1 / 1;
  }

  .contact-strip .col-6 {
    width: 50%;
  }

  .why-card i {
    font-size: 26px;
  }

  .product-card-img {
    height: 300px !important;
  }

  .testimonial-card {
    padding: 24px 18px;
  }

  .footer-logo {
    height: 56px;
  }

  .app-card {
    height: 200px;
  }

  .hero-badge {
    padding: 14px 16px;
    left: -12px;
    bottom: -16px;
  }
  .hero-badge-num {
    font-size: 22px;
  }
  .hero-badge-text {
    font-size: 10px;
  }

  .btn-gold,
  .btn-outline-gold {
    padding: 12px 20px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Extra small phones (<=400) ---------- */
@media (max-width: 400px) {
  .brand-logo {
    height: 38px;
  }

  .logo-badge {
    padding: 4px 10px;
    border-radius: 10px;
  }

  .footer-logo {
    height: 48px;
  }

  .hero-badge {
    padding: 12px 14px;
  }
  .hero-badge-num {
    font-size: 20px;
  }
  .hero-badge-text {
    font-size: 9px;
  }

  .btn-gold,
  .btn-outline-gold {
    padding: 10px 16px;
    font-size: 11px;
  }

  .app-card {
    height: 180px;
  }

  .masonry-gallery {
    grid-template-columns: 1fr;
  }
  .masonry-item {
    aspect-ratio: 4 / 3;
  }

  .stat-item h3 {
    font-size: 28px;
  }

  .float-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
    right: 12px;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    right: 12px;
    bottom: 112px;
  }

  .whatsapp-btn {
    bottom: 12px;
  }
  .call-btn {
    bottom: 60px;
  }

  .hero-title {
    font-size: clamp(24px, 7vw, 30px);
  }

  .section-heading {
    font-size: clamp(22px, 5vw, 28px);
  }

  .play-btn {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }
}