/* ==========================================================================
   ABRASEL SUMMIT RMC 2026 — RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESKTOP LARGE & MEDIUM (< 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav-desktop {
    gap: 0.9rem;
  }

  .nav-link {
    font-size: 0.8125rem;
  }

  .header-cta-btn {
    font-size: 0.75rem !important;
    padding: 0.65rem 1rem !important;
  }

  .header-logo {
    height: 72px;
  }

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

  .theme-card {
    grid-template-columns: 60px minmax(0, 1fr);
    padding: 1.75rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   TABLET LANDSCAPE & SMALL DESKTOP (< 1040px)
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 992px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-visual-col {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .about-floating-card {
    left: 20px;
    bottom: -20px;
  }

  .theme-card {
    grid-template-columns: 50px 1fr;
    gap: 1.5rem;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .venue-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-brand-col {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------------------------
   TABLET PORTRAIT & MOBILE (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-spacing: clamp(3.5rem, 7vw, 5.5rem);
  }

  .schedule-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.75rem 1rem;
    padding: 1rem;
  }

  .schedule-time {
    grid-column: 1 / -1;
  }

  .schedule-photo {
    width: 48px;
    height: 48px;
  }

  .schedule-content {
    grid-column: 1 / -1;
  }

  .site-header {
    padding: 0.9rem 0;
  }

  .header-logo {
    height: 58px;
  }

  .brand-divider {
    display: none;
  }

  .summit-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .hero-headline {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-free-line {
    margin-top: 0.75rem;
  }

  .hero-free-badge {
    padding: 0.25rem 1rem 0.3rem;
  }

  .hero-free-text {
    font-size: 1.65rem;
  }

  .hero-sub-text-card {
    padding: 0.85rem 1rem;
  }

  .hero-badges-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-cta-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-wrapper .btn {
    width: 100%;
  }

  .countdown-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    gap: 1rem;
  }

  .countdown-units {
    gap: 0.75rem;
  }

  .countdown-num {
    font-size: 1.5rem;
  }

  .theme-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .theme-index {
    font-size: 1.4rem;
  }

  .theme-title {
    font-size: 1.25rem;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .speakers-closer-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }

  .sympla-pass-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }

  .sympla-pass-banner div {
    text-align: center;
  }

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

  .registration-card {
    padding: 2rem 1.25rem;
  }

  .sticky-bar-container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .sticky-event-info {
    justify-content: center;
  }

  .sticky-conversion-bar .btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

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

  .footer-brand-col {
    grid-column: span 1;
  }

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

/* --------------------------------------------------------------------------
   SMALL PHONES (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .header-container {
    gap: 0.5rem;
  }

  .header-actions {
    min-width: 0;
    flex-shrink: 1;
    gap: 0.5rem;
  }

  .header-cta-btn {
    flex-shrink: 1 !important;
    white-space: normal !important;
    font-size: 0.625rem !important;
    line-height: 1.2;
    text-align: center;
    padding: 0.55rem !important;
  }

  .hero-headline {
    font-size: 1.95rem;
  }

  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.875rem;
  }

  .event-info-card {
    padding: 0.9rem 1rem;
  }

  .info-card-icon-wrap {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .info-card-text {
    font-size: 0.875rem;
  }

  .about-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .countdown-units {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 0.5rem;
  }

  .countdown-sep {
    display: none;
  }
}
