/* ===================================================
   ALBIT — b2b_m.css  Solution Page Mobile
   solution.html 전용 — b2b.css 와 독립
   Breakpoints: 1024px (tablet) | 768px (mobile) | 480px (small)
   =================================================== */


/* ══════════════════════════════════════
   TABLET  (max-width: 1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {

    /* Hero */
    .hero-split-container {
        flex-direction: column;
        gap: 30px;
        padding: 60px 24px 40px;
    }
    .hero-left { max-width: 100%; }
    .hero-right { display: none; }

    .hero-title-main { font-size: 2.4rem; }
    .hero-neon-subtitle { font-size: 0.85rem; }

    .hero-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .hs-item { text-align: center; }
    .hs-num { font-size: 2rem; }

    /* Services */
    .solution-card.premium-card { min-width: 300px; }

    /* Process pv5 */
    .pv5-steps {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .pv5-step { min-width: 160px; max-width: 180px; }
    .pv5-connector { display: none; }

    /* Portfolio */
    .portfolio-track { padding: 40px 20px 30px !important; }
}


/* ══════════════════════════════════════
   MOBILE  (max-width: 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── BODY padding (fixed header 없음 - solution은 자체 nav) ── */
    body { padding-top: 0; }

    /* ── HERO SPLIT ── */
    #hero-3js-canvas-wrap {
        height: 280px;
        overflow: hidden;
    }
    .hero-split-section { min-height: auto; }

    .hero-split-container {
        flex-direction: column;
        padding: 36px 20px 32px;
        gap: 24px;
        position: relative;
        z-index: 10;
    }
    .hero-left { width: 100%; max-width: 100%; }
    .hero-right { display: none; }

    .hero-logo-wrap { margin-bottom: 12px; }
    .hero-logo-img { width: 36px; height: 36px; }
    .hero-logo-text { font-size: 1.1rem; }

    .hero-neon-subtitle { font-size: 0.78rem; letter-spacing: 2px; margin-bottom: 8px; }

    .hero-title-main {
        font-size: 2rem;
        line-height: 1.2;
        word-break: keep-all;
    }
    .hero-title-tag { font-size: 0.75rem; padding: 3px 8px; }

    .hero-desc-group { margin: 10px 0 16px; }
    .hero-desc-line1,
    .hero-desc-line2 { font-size: 0.85rem; line-height: 1.5; }

    .hero-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 16px;
    }
    .hs-item {
        text-align: center;
        padding: 12px 8px;
        background: rgba(255,255,255,0.03);
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.07);
    }
    .hs-num { font-size: 1.8rem; }
    .hs-unit { font-size: 0.8rem; }
    .hs-label { font-size: 0.72rem; }
    .hs-sub { font-size: 0.68rem; }

    .scroll-down-wrap { display: none; }

    /* ── SERVICES ── */
    .services-header-box { padding: 0 20px; margin-bottom: 20px; }
    .services-header-box h2 { font-size: 1.6rem; }

    .tech-infinity-scroll { margin: 16px 0; }
    .tech-chip-premium {
        font-size: 0.75rem;
        padding: 5px 10px;
        gap: 5px;
    }
    .tech-chip-premium i { font-size: 0.8rem; }

    .services-slider-rel { padding: 0 8px; }
    .svc-nav-btn { display: none; }

    .solution-card.premium-card {
        min-width: calc(88vw);
        max-width: calc(88vw);
        padding: 20px 18px;
    }
    .service-title { font-size: 0.95rem; }
    .service-desc { font-size: 0.82rem; }
    .service-tag { font-size: 0.72rem; padding: 3px 8px; }

    .services-dots-container { margin-top: 12px; }

    /* ── PROCESS PV5 ── */
    .process-section { padding: 50px 0; }
    .process-header-box { padding: 0 20px; margin-bottom: 28px; }
    .process-header-box h2 { font-size: 1.6rem; }
    .process-header-box p { font-size: 0.85rem; }

    .pv5-wrap { padding: 0 16px; overflow: hidden; }
    .pv5-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .pv5-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        min-width: auto;
        max-width: 100%;
        text-align: left;
    }
    .pv5-icon-wrap {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    .pv5-num-row {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        margin-bottom: 4px;
    }
    .pv5-num { font-size: 0.72rem; }
    .pv5-label { font-size: 0.72rem; }
    .pv5-title { font-size: 0.95rem; margin-bottom: 4px; }
    .pv5-desc { font-size: 0.8rem; line-height: 1.5; }

    .pv5-connector { display: none; }

    /* ── PORTFOLIO ── */
    .portfolio-section { padding: 50px 0 40px; }
    .portfolio-section .section-header h2 { font-size: 1.6rem; padding: 0 20px; }

    .portfolio-slider-outer { padding: 0; }
    .portfolio-track {
        padding: 30px 20px 20px !important;
        gap: 16px !important;
    }
    .portfolio-nav-btn { display: none !important; }
    #portfolio-dots { margin-top: 12px; }

    /* ── TEAM ── */
    .team-section { padding: 50px 0; }
    .team-section h2 { font-size: 1.6rem; padding: 0 20px; }

    .team-scroll-wrapper { padding: 0 16px; }
    .team-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 14px;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .team-grid::-webkit-scrollbar { display: none; }

    .team-card {
        min-width: 200px;
        max-width: 200px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    .team-card h3 { font-size: 0.9rem; }
    .team-card ul li { font-size: 0.78rem; }

    /* ── FLOATING APPLY BUTTON ── */
    #floating-apply {
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.82rem;
        padding: 10px 20px;
        white-space: nowrap;
    }
    .multi-select-label { display: none; }

    /* ── SECTION GENERAL ── */
    section { padding: 50px 0; }
    .section-header h2,
    .services-header-box h2,
    .process-header-box h2 { font-size: 1.6rem !important; }
}


/* ══════════════════════════════════════
   SMALL MOBILE  (max-width: 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {

    .hero-title-main { font-size: 1.7rem; }

    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .hs-num { font-size: 1.5rem; }

    .solution-card.premium-card {
        min-width: calc(92vw);
        max-width: calc(92vw);
        padding: 16px 14px;
    }

    .pv5-icon-wrap { width: 38px; height: 38px; min-width: 38px; }
    .pv5-title { font-size: 0.88rem; }

    .team-card { min-width: 175px; max-width: 175px; }

    #floating-apply {
        font-size: 0.78rem;
        padding: 9px 16px;
    }
}
