/* SK Associates Global — responsive layout */

@media (max-width: 1280px) {
  .header-actions [data-channel] { display: none; }
}

@media (max-width: 1200px) {
  .header-inner { max-width: 1200px; }
  .nav-link, .dropdown-toggle { padding-inline: 8px; font-size: 0.9rem; }
  .float-b { left: -8px; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }

  .header-inner { gap: 10px; }
  .logo { gap: 8px; min-width: 0; }
  .logo-mark { height:78px; }
 
  .header-actions { flex: 0 0 auto; margin-left: auto; }

  body.nav-open .site-header {
    background: var(--white);
    border-bottom-color: var(--border);
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--white);
    z-index: 90;
    padding: calc(var(--header) + 8px) 18px 28px;
    overflow: auto;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    box-shadow: none;
  }

  body.nav-open .main-nav { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-contact { display: list-item; }
  .nav-link, .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 1.05rem;
  }

  .has-dropdown::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 8px;
    background: transparent;
  }
  .has-dropdown.is-open > .dropdown { display: grid; }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { opacity: 1; }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 1024px) {
  .hero-grid, .split, .split.reverse, .orbit-layout, .page-hero-grid, .form-grid, .featured {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .hero-visual { min-height: 0; display: grid; gap: 12px; }
  .float-wrap { position: static; }
  .float-card { animation: none; }
  .grid-3, .grid-6, .grid-4, .tile-grid, .solution-grid { grid-template-columns: 1fr 1fr; }
  .steps-5 ol { grid-template-columns: 1fr 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .flow-row { grid-template-columns: repeat(3, 1fr); }
  .flow-join { display: none; }
  .flow-step {
    align-items: flex-start;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px;
  }
  .flow-step em { box-shadow: none; margin-bottom: 10px; }
  .group-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .orbit { display: none; }
  .orbit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .orbit-grid li {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    font-weight: 700;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .hero-bg img { object-position: center 72%; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(247, 249, 252, 0.72) 0%, rgba(247, 249, 252, 0.38) 34%, rgba(247, 249, 252, 0.08) 68%, rgba(247, 249, 252, 0) 100%);
  }
}

@media (max-width: 768px) {
  .trust-row { gap: 16px; }
  .trust-label { flex-basis: 140px; font-size: 0.78rem; }
  .container { width: min(var(--container), calc(100% - 32px)); }
  .grid-2, .grid-3, .grid-4, .grid-6, .tile-grid, .solution-grid, .service-points, .fields, .footer-grid, .steps ol, .steps-5 ol {
    grid-template-columns: 1fr;
  }
  .flow-row, .mini-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .float-wrap { position: static; }
  .hero-visual { display: grid; gap: 12px; }
  .float-card { animation: none; }
  .steps-line { display: none; }
  .steps { padding-left: 18px; }
  .v-line {
    display: block;
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
  }
  .v-line span { transform-origin: top center; transform: scaleY(1); }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .header-actions .btn-sm { padding-inline: 12px; }
  .journey-card h3 { font-size: 1.3rem; }
}

@media (max-width: 600px) {
  .btn-row .btn { width: 100%; }
  .featured .body, .form-card, .journey-card, .panel { padding: 20px; }
  .dash-metrics { grid-template-columns: 1fr; }
  .orbit-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .site-header { padding-inline: 16px; }
}

@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .logo { gap: 6px; }
  .logo-mark { height: 66px; }
  
}

@media (max-width: 360px) {
  .header-actions .wa-link { display: none; }
}

@media (max-width: 480px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .hero-badge { font-size: 0.75rem; }
  .page-hero h1, .hero-title { letter-spacing: -0.03em; }
  .to-top { right: 12px; bottom: 12px; }
}

.cta-short { display: none; }

@media (max-width: 1080px) {
  .cta-full { display: none; }
  .cta-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee ul[aria-hidden="true"],
  .trust-list[aria-hidden="true"] { display: none; }
  .trust-list { flex-wrap: wrap; justify-content: center; }
}
