/* =========================================
   RESPONSIVE — responsive.css
   ─────────────────────────────────────────
   All breakpoints in one place.
   Breakpoints (mobile-first reference):
     xl  : ≥ 1280px  (large desktops)
     lg  : ≤ 1024px  (iPad Pro / small laptop)
     md  : ≤ 768px   (tablets / large phones)
     sm  : ≤ 480px   (phones)
     xs  : ≤ 360px   (small phones)
   Plus: landscape phones, reduced-motion, touch.
   ========================================= */

/* ── Large desktop (≥ 1280px) ─────────── */
@media (min-width: 1280px) {
  .main-content    { gap: 2.25rem; padding: 7rem 2rem 11rem; }
  .countdown-item  { padding: 1.25rem 2rem; min-width: 100px; }
  .notify-input    { width: 300px; }
}

/* ── iPad Pro / small laptop (≤ 1024px) ── */
@media (max-width: 1024px) {
  .site-header  { padding: 1.1rem 2rem; }
  .main-content { gap: 1.75rem; }
}

/* ── Tablet (≤ 768px) ─────────────────── */
@media (max-width: 768px) {
  .site-header    { padding: 0.9rem 1.5rem; gap: 0; }
  .logo-text      { font-size: 1.2rem; }
  .nav-link       { font-size: 0.78rem; }
  .main-content   { gap: 1.5rem; padding: 6rem 1.25rem 9rem; }
  .badge          { font-size: 0.72rem; padding: 0.4rem 1rem; letter-spacing: 0.09em; }
  .tagline        { font-size: clamp(1rem, 2.5vw, 1.25rem); max-width: 420px; }
  .countdown-wrapper { gap: 0.5rem; }
  .countdown-item { padding: 0.9rem 1.1rem; min-width: 76px; border-radius: 14px; }
  .countdown-sep  { font-size: 2rem; padding-bottom: 1rem; }
  .notify-form    { width: 100%; max-width: 400px; }
  .notify-input   { flex: 1; width: auto; min-width: 0; padding: 0.9rem 1.25rem; }
  .features-strip { max-width: 560px; gap: 0.55rem; }

  .contact-row  {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
  }
  .contact-chip { min-width: unset; width: 100%; justify-content: flex-start; }
}

/* ── Phone (≤ 480px) ──────────────────── */
@media (max-width: 480px) {
  .site-header  { padding: 0.85rem 1.1rem; }
  .logo-icon    { font-size: 1.3rem; }
  .logo-text    { font-size: 1.1rem; }
  .main-content { padding: 5.5rem 1rem 8rem; gap: 1.35rem; }

  .badge {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    padding: 0.38rem 0.9rem;
    text-align: center;
    max-width: 90vw;
    white-space: normal;
    line-height: 1.4;
  }

  .headline-happening {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .tagline { font-size: clamp(0.95rem, 4vw, 1.15rem); max-width: 100%; padding: 0 0.5rem; }

  .countdown-wrapper { gap: 0.3rem; flex-wrap: nowrap; }
  .countdown-item    { padding: 0.7rem 0.65rem; min-width: 58px; border-radius: 12px; flex: 1; }
  .cd-label          { font-size: 0.58rem; letter-spacing: 0.1em; }
  .countdown-sep     { font-size: 1.6rem; padding-bottom: 0.9rem; }

  .notify-section { width: 100%; padding: 0 0.25rem; }
  .notify-form    { max-width: 100%; }
  .notify-input   { font-size: 0.88rem; padding: 0.88rem 1rem; }
  .notify-btn     { padding: 0.88rem 1.1rem; font-size: 0.8rem; gap: 0.35rem; }

  .features-strip  { gap: 0.45rem; max-width: 100%; }
  .feature-pill    { font-size: 0.74rem; padding: 0.4rem 0.85rem; }

  .site-footer        { padding: 1.5rem 1rem 2rem; }
  .contact-row        { max-width: 100%; }
  .contact-chip       { padding: 0.85rem 1.2rem; border-radius: 14px; gap: 0.85rem; }
  .contact-chip-icon  { width: 38px; height: 38px; border-radius: 10px; }
  .contact-chip-value { font-size: 0.82rem; }
  .footer-copy        { font-size: 0.66rem; padding: 0 0.5rem; }
}

/* ── Small phone (≤ 360px) ────────────── */
@media (max-width: 360px) {
  .main-content  { padding: 5rem 0.75rem 7rem; gap: 1.2rem; }
  .headline-happening { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .badge         { font-size: 0.63rem; }
  .countdown-item { padding: 0.6rem 0.5rem; min-width: 50px; border-radius: 10px; }
  .cd-label      { font-size: 0.52rem; letter-spacing: 0.07em; }
  .countdown-sep { font-size: 1.3rem; padding-bottom: 0.75rem; }
  .feature-pill  { font-size: 0.7rem; padding: 0.38rem 0.75rem; }

  /* Stack notify form vertically */
  .notify-form {
    flex-direction: column;
    border-radius: 16px;
    overflow: visible;
    background: transparent;
    border: none;
    gap: 0.6rem;
  }
  .notify-form:focus-within { box-shadow: none; }
  .notify-input {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    text-align: center;
    font-size: 0.88rem;
  }
  .notify-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
  }
  .notify-btn {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
    padding: 0.88rem 1.5rem;
  }
}

/* ── Landscape phones (short viewport) ── */
@media (max-height: 600px) and (orientation: landscape) {
  .main-content      { padding-top: 4.5rem; padding-bottom: 4rem; gap: 1.1rem; justify-content: flex-start; min-height: auto; }
  .headline-happening { font-size: clamp(3.5rem, 10vw, 6rem); }
  .headline-magic    { font-size: clamp(1.2rem, 3vw, 2rem); }
  .tagline           { display: none; }
  .features-strip    { display: none; }
  .countdown-wrapper { gap: 0.5rem; }
  .countdown-item    { padding: 0.55rem 0.9rem; min-width: 60px; }
  .site-footer       { padding: 1rem 1.5rem 1.25rem; }
}

/* ── Reduced motion (accessibility) ───── */
@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .logo-icon,
  .badge-dot,
  .headline-happening::after,
  .countdown-sep {
    animation: none;
  }
  .hero-bg { transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ── Touch screens (no hover states) ──── */
@media (hover: none) and (pointer: coarse) {
  .countdown-item:hover,
  .contact-chip:hover,
  .contact-chip--whatsapp:hover,
  .feature-pill:hover {
    transform: none;
    border-color: var(--glass-border);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(245, 240, 232, 0.88);
  }
  .notify-btn:hover { opacity: 1; transform: none; }
}
