/**
 * landing_patch.css — Patch Landing SCOPE-MAN (v2)
 * ==================================================
 * Perbaikan menyeluruh:
 *  1. Hero section: responsive teks, tombol, stats
 *  2. Navigation: tablet + mobile breakpoints
 *  3. Quick cards: sizing & spacing mobile
 *  4. Section spacing: padding proporsional
 *  5. Footer: mobile layout
 *  6. Polish: spacing, typography, visual hierarchy
 */

/* ================================================================
   1. HERO — responsive tanpa overflow
   ================================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero-section {
    min-height: 520px;
    padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 48px);
  }
  .hero-content h1 {
    font-size: clamp(2rem, 5.5vw, 3rem);
    letter-spacing: -.04em;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .hero-section {
    min-height: auto;
    padding: 40px 16px 36px;
  }
  .hero-content h1 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    line-height: 1.18;
    margin: 16px 0 14px;
  }
  .hero-content p {
    font-size: .92rem;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-actions .btn-lg {
    min-height: 44px;
    padding: 12px 18px;
  }
}

@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }
  .hero-content p {
    font-size: .86rem;
  }
}

/* ================================================================
   2. HERO MINI STATS — wrap properly
   ================================================================ */
.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

@media (max-width: 560px) {
  .hero-mini-stats {
    margin-top: 22px;
    gap: 6px;
  }
  .hero-mini-stats span,
  .hero-mini-stats .is-static {
    padding: 8px 12px;
    font-size: .82rem;
    border-radius: 12px;
  }
}

@media (max-width: 380px) {
  .hero-mini-stats {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-mini-stats span,
  .hero-mini-stats .is-static {
    font-size: .78rem;
    padding: 8px 10px;
  }
}

/* ================================================================
   3. NAVIGATION — tablet intermediate + mobile collapse
   ================================================================ */

/* Tablet: tampilkan 3 item nav */
@media (max-width: 1100px) and (min-width: 701px) {
  .desktop-nav {
    display: flex;
    gap: 0;
  }
  .desktop-nav a:nth-child(n+4) {
    display: none;
  }
  .menu-button {
    display: inline-block;
  }
}

/* Mobile: full collapse */
@media (max-width: 700px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Header actions: sembunyikan btn-ghost di mobile */
@media (max-width: 700px) {
  .header-actions .btn-ghost {
    display: none;
  }
}

/* ================================================================
   4. QUICK CARDS — mobile single column, reduce height
   ================================================================ */
@media (max-width: 700px) {
  .quick-section {
    margin-top: -60px;
    gap: 10px;
  }
  .quick-card {
    min-height: auto;
    padding: 18px;
  }
  .quick-card h2 {
    margin: 14px 0 8px;
    font-size: 1.05rem;
  }
  .quick-card p {
    font-size: .88rem;
    line-height: 1.55;
  }
}

/* ================================================================
   5. ACADEMIC GRID — mobile
   ================================================================ */
@media (max-width: 700px) {
  .academic-card {
    min-height: auto;
    padding: 18px;
  }
  .academic-card span {
    font-size: 1rem;
  }
  .academic-card small {
    font-size: .86rem;
  }
}

/* ================================================================
   6. SECTIONS — padding proporsional
   ================================================================ */
@media (max-width: 700px) {
  .profile-section,
  .service-section,
  .schedule-section,
  .menu-section {
    margin-bottom: 48px;
  }
  .section-copy {
    padding: 22px 18px;
  }
  .section-copy h2,
  .section-heading h2,
  .schedule-card h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin: 12px 0 10px;
  }
  .section-copy p,
  .section-heading p,
  .schedule-card p {
    font-size: .92rem;
    line-height: 1.65;
  }
  .schedule-card {
    padding: 22px 18px;
  }
  .service-list {
    padding: 12px;
    gap: 8px;
  }
  .service-list a {
    padding: 14px;
  }
}

/* ================================================================
   7. FOOTER — responsive
   ================================================================ */
.site-footer img,
.footer-logo {
  max-width: 160px;
  height: auto;
}

@media (max-width: 700px) {
  .main-footer {
    padding: 32px 16px 24px;
  }
  .footer-brand-block h2 {
    font-size: 1.05rem;
  }
  .footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    font-size: .82rem;
  }
  .footer-links-col {
    margin-top: 8px;
  }
}

/* ================================================================
   8. GLOBAL POLISH
   ================================================================ */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus visible */
:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.5);
  outline-offset: 2px;
}

/* Prevent horizontal overflow */
body.scope-landing-body {
  overflow-x: hidden;
}

/* Improve header on very small screens */
@media (max-width: 380px) {
  .site-header {
    padding: 8px 10px;
    gap: 8px;
  }
  .brand-seal {
    width: 40px;
    height: 40px;
  }
  .brand-lockup {
    gap: 8px;
  }
  .header-actions .btn-primary {
    min-height: 34px;
    padding: 6px 10px;
    font-size: .74rem;
  }
}

/* ================================================================
   9. MOBILE DRAWER — improve touch targets
   ================================================================ */
@media (max-width: 700px) {
  .mobile-drawer {
    width: min(400px, 88vw);
  }
  .drawer-nav a,
  .drawer-nav summary {
    min-height: 46px;
    padding: 10px 14px;
  }
}

/* ================================================================
   10. SECTION LABELS & EYEBROW — sizing
   ================================================================ */
@media (max-width: 560px) {
  .eyebrow,
  .section-label {
    font-size: .7rem;
    padding: 5px 10px;
    min-height: 28px;
  }
}
