/* =====================================================
   NATIVE LANDS — Responsive Styles
   responsive.css — Breakpoints & Mobile Adaptations
   ===================================================== */

/* ─── Large Desktop (1280px+) ────────────────────────── */
@media (min-width: 1280px) {
  :root {
    --section-py: 120px;
    --container-px: 40px;
  }
}

/* ─── Laptop (1024px – 1279px) ───────────────────────── */
@media (max-width: 1279px) {
  :root {
    --section-py: 90px;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  }

  .hero-float-card.card-2,
  .hero-float-card.card-3 {
    right: -16px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
    gap: 36px;
  }
}

/* ─── Tablet Landscape (900px – 1023px) ──────────────── */
@media (max-width: 1023px) {
  :root {
    --section-py: 80px;
  }

  /* Navbar */
  .nav-menu, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-content-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 100px 0 60px;
  }

  .hero-left {
    align-items: center;
  }

  .hero-description {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-right {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-float-card.card-1 {
    left: 0;
  }

  .hero-float-card.card-2 {
    right: 0;
    top: -20px;
  }

  .hero-float-card.card-3 {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Us */
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card:nth-child(1),
  .project-card:nth-child(4) {
    grid-column: span 2;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-map {
    aspect-ratio: 16/9;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ─── Tablet Portrait (600px – 899px) ────────────────── */
@media (max-width: 899px) {
  /* Logo responsive size */
  .nav-logo-img { height: 50px; }
  :root {
    --section-py: 72px;
    --container-px: 20px;
  }

  /* Hero */
  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number {
    font-size: 1.6rem;
  }

  .hero-float-card {
    padding: 10px 14px;
  }

  .float-card-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .float-card-value {
    font-size: 0.88rem;
  }

  /* About */
  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-counters {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px;
  }

  /* Why Us */
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(1),
  .project-card:nth-child(4) {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 28px 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand-desc {
    max-width: 100%;
  }
}

/* ─── Mobile (max 599px) ─────────────────────────────── */
@media (max-width: 599px) {
  :root {
    --section-py: 64px;
    --container-px: 16px;
  }

  /* Typography */
  .section-title { font-size: 1.9rem; }
  .hero-headline { letter-spacing: -1px; }

  /* Navbar */
  .nav-logo-img { height: 42px; }

  /* Hero */
  .hero-content-wrap {
    gap: 36px;
    padding: 90px 0 48px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .hero-stat-divider { display: none; }

  .hero-stat {
    min-width: 80px;
    align-items: center;
  }

  .hero-float-card {
    display: none;
  }

  /* About */
  .about-counters {
    grid-template-columns: repeat(3, 1fr);
    padding: 16px;
  }

  .about-counter-num {
    font-size: 1.5rem;
  }

  .about-image-accent {
    width: 130px;
    height: 130px;
    bottom: -16px;
    right: -12px;
  }

  .about-image-accent .accent-number {
    font-size: 2rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Contact */
  .contact-form-wrap {
    padding: 24px 16px;
  }

  /* Floating buttons */
  #whatsapp-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    bottom: 88px;
    right: 20px;
  }

  #scroll-top {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 20px;
  }

  /* Footer */
  .footer-main { padding: 60px 0 36px; }

  .footer-bottom-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Mobile menu font */
  .nav-mobile-link {
    font-size: 1.3rem;
    padding: 10px 32px;
  }
}

/* ─── Print Styles ───────────────────────────────────── */
@media print {
  #navbar,
  #loading-screen,
  #cursor,
  #cursor-follower,
  #mouse-glow,
  #whatsapp-btn,
  #scroll-top,
  #scroll-progress {
    display: none !important;
  }

  body { background: white; color: black; }
  a    { color: inherit; text-decoration: underline; }
}

/* ─── Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
