/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE DEFENSE (375px & 320px) - OLIVO ANDINO
   ========================================================================== */

/* Breakpoint Tablet / Mobile Large (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-visual {
    order: -1;
    max-height: 400px;
  }
}

/* Breakpoint Mobile / Tablet Small (max-width: 768px) */
@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .nav-desktop {
    display: none;
  }

  .btn-nav-mobile {
    display: flex;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .hero-floating-badge {
    position: static !important;
    margin-top: 1rem !important;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .reservas-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .site-topbar {
    font-size: 0.75rem;
  }

  .topbar-content {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .card-product-img {
    height: 220px;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* Breakpoint Small Mobile (max-width: 480px / 375px / 320px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: 1.85rem !important;
  }

  .hero-lead {
    font-size: 1rem;
  }

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

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

  .hero-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  .stat-item {
    width: 100%;
    border-left: 3px solid var(--color-accent);
    padding-left: 0.75rem;
  }

  .segmented-tabs {
    width: 100%;
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
  }

  .card-product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-product-footer .btn {
    width: 100%;
  }

  .mobile-drawer-content {
    width: 100%;
    max-width: 100%;
  }
}
