/* ═══════════════════════════════════════════════════════════════
   PERU LOCAL ADVISOR — responsive.css
   ALL media queries. No base styles here.
   ═══════════════════════════════════════════════════════════════ */

/* ─── LARGE DESKTOP (1400px+) ────────────────────────────────── */
@media (min-width: 1400px) {
  .about-section {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ─── TABLET LANDSCAPE (1024px) ──────────────────────────────── */
@media (max-width: 1024px) {
  /* Navigation */
  .nav {
    padding: 0 28px;
  }

  /* About — stack vertically */
  .about-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 40px;
  }

  .about-image {
    height: 400px;
  }

  /* Destinations grid → 2 cols */
  .destinations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dest-card--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  /* More grid → 2 cols */
  .more-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── TABLET PORTRAIT (768px) ────────────────────────────────── */
@media (max-width: 768px) {
  /* Navigation */
  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero-content {
    padding: 0 20px 56px;
  }

  .hero-scroll {
    right: 20px;
    bottom: 20px;
  }

  /* Trust bar */
  .trust-bar {
    gap: 18px;
    padding: 18px 20px;
  }

  /* Sections */
  .section {
    padding: 70px 20px;
  }

  .section-intro {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }

  .section-body {
    max-width: 100%;
  }

  /* Destinations → single col on mobile */
  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .dest-card--wide {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
  }

  .dest-card {
    aspect-ratio: 4 / 3;
  }

  /* Always show desc on mobile (no hover on touch) */
  .dest-card-desc {
    max-height: 80px;
    opacity: 1;
  }

  /* About */
  .about-section {
    padding: 70px 20px;
  }

  .about-image {
    height: 300px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  /* More destinations */
  .more-section {
    padding: 70px 20px;
  }

  .more-grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .lima-row {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  /* Service notice */
  .service-notice {
    padding: 22px 20px;
  }

  .service-notice p {
    font-size: 0.75rem;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  /* Form */
  .form-section {
    padding: 70px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: span 1;
  }

  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .form-trust {
    gap: 16px;
  }

  /* Footer */
  .footer {
    padding: 48px 20px 24px;
  }

  .footer-links {
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ─── MOBILE (480px) ─────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }

  /* Hero */
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  /* Checkboxes → single col */
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  /* About stats → 2 col */
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Trust bar → wrap nicely */
  .trust-bar {
    gap: 12px;
  }

  /* Navigation logo shorter on very small screens */
  .nav-logo {
    font-size: 1.1rem;
  }

  /* More card image taller on mobile */
  .more-card-img {
    height: 200px;
  }

  /* Form submit button full width */
  .btn-submit {
    width: 100%;
  }
}

/* ─── TOUCH DEVICES — disable hover desc animation ───────────── */
@media (hover: none) {
  .dest-card-desc {
    max-height: 60px;
    opacity: 1;
  }

  .dest-card:hover .dest-card-img {
    transform: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 768px) {
  }

/* ─── PRINT ──────────────────────────────────────────────────── */
@media print {
  .nav,
  .hamburger,
  .mobile-menu,
  .overlay,
  .hero-scroll,
  .trust-bar,
  .service-notice,
  .footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    height: auto;
    min-height: unset;
    padding: 40px 20px;
  }

  .hero-bg,
  .hero-overlay {
    display: none;
  }

  .hero-content {
    position: static;
    padding: 0;
  }

  .hero h1,
  .hero-sub {
    color: #000;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ─── SERVICES SECTION responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 2px;
    max-width: 560px;
  }
  .plan-card--featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 70px 20px;
  }
  .plans-grid {
    max-width: 100%;
  }
  .plan-card {
    padding: 32px 24px;
  }
  .plan-amount {
    font-size: 2.2rem;
  }
}
