/* ============================================
   Sewgo Marketing Site — home.css
   ============================================ */

section.home-hero.wrap {
    /* max-width: none; padding: 0; margin: 0;  */
}
.home-hero { position: relative; min-height: 500px; display: flex; align-items: center; overflow: hidden; background: #fff; margin-bottom: 20px;}
.home-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* .home-hero-content { position: relative; z-index: 2; max-width: 600px; padding: 50px 24px 50px max(24px, calc((100vw - 1180px) / 2 + 24px)); } */
/* .home-hero-content { position: relative; z-index: 2; max-width: 725px; padding: 50px 24px 50px max(24px, calc((100vw - 1180px) / 2 + 24px)); } */
.home-hero-content { position: relative; z-index: 2; max-width: 725px; padding: 50px 24px; }
.home-hero h1 { font-size: 2.7rem; margin-bottom: 6px; }
.home-hero h1 .line-navy { color: var(--navy); display: block; }
.home-hero h1 .line-teal { color: var(--teal); display: block; }
.home-hero h3 { font-size: 1.5rem; color: var(--navy); margin: 4px 0 16px; }
.home-hero p.lead { color: var(--muted); max-width: 460px; font-size:18px;}
.home-hero-actions { position: relative; z-index: 2; display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.home-hero-actions .btn-outline-navy { border: 1.5px solid var(--border); color: var(--navy); background: #fff; }
.home-hero .mini-stats {
    flex-wrap: nowrap; gap: 18px;
    background: linear-gradient(90deg, rgba(255,255,255,0%) 0%, rgba(255,255,255,.55) 95%, rgba(255,255,255,0) 100%);
    border-radius: 14px; padding: 16px 20px;
}
.home-hero .mini-stat { flex: 1 1 0; gap: 10px; min-width: 0; }
.home-hero .mini-stat img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.home-hero .mini-stat > div { font-size: .76rem; line-height: 1.3; min-width: 0; white-space: normal; }
.home-hero .mini-stat strong { font-size: .84rem; }

.home-hero-powered {
    position: absolute; z-index: 2; right: 24px; bottom: 24px; background: #fff; border-radius: 12px;
    padding: 16px 20px; box-shadow: 0 12px 30px rgba(15,42,74,.18); text-align: center; min-width: 170px;
}
.home-hero-powered .lbl { font-size: .65rem; color: var(--teal-dark); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.home-hero-powered strong { display: block; color: var(--navy); font-size: 1.05rem; margin: 4px 0; }
.home-hero-powered span { font-size: .7rem; color: var(--muted); }

.why-sewgo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.why-video { position: relative; border-radius: 16px; overflow: hidden; }
.why-video img { width: 100%; }
.why-video .play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%; background: #fff; display: flex;
    align-items: center; justify-content: center; color: var(--teal-dark); font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.2); border: none; cursor: pointer; padding: 0;
}
.why-sewgo h2 { font-size: 1.7rem; margin: 6px 0 14px; }
.why-sewgo p { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.why-sewgo .know-more { color: var(--teal-dark); font-weight: 700; font-size: .88rem; display: inline-block; margin-bottom: 20px; }
.why-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-icons .icon-card .icon-circle { background: #fff; border: 1px solid var(--border); }
.why-icons .icon-card .icon-circle img { width: 70px; height: 70px; object-fit: contain; }

.two-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card { background: var(--bg-soft); border-radius: 16px; padding: 30px; display: flex; gap: 20px; align-items: stretch; }
.brand-card.tint-teal { background: var(--bg-mint); }
.brand-card.tint-pink { background: #fbeef1; }
.brand-card > div:first-child { flex: 1; min-width: 0; }
.brand-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.brand-card ul { list-style: none; margin: 0; padding: 0; }
.brand-card ul li { font-size: .85rem; margin-bottom: 8px; display: flex; gap: 8px; color: var(--ink); }
.brand-card ul li i { color: var(--teal-dark); margin-top: 3px; }
.brand-card-media { flex: 0 0 140px; display: flex; align-items: center; justify-content: center; }
.brand-card-media img { width: 150px; height: 170px; border-radius: 50%; object-fit: cover; }

.manufacture-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px 20px; text-align: center; }
.manufacture-row .item img { width: 58px; height: 58px; object-fit: contain; margin: 0 auto 12px; }
.manufacture-row .item span { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); }

.vs-panel { border: 1px solid var(--border); border-radius: 18px; padding-top: 44px; padding-bottom: 44px; padding-left: 40px; padding-right: 40px; box-shadow: 0 20px 50px rgba(15,42,74,.06); }
.vs-grid { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 30px; align-items: center; }
.vs-col h4 { font-size: 1.05rem; margin-bottom: 16px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; }
.vs-col ul li { font-size: .87rem; margin-bottom: 10px; display: flex; gap: 10px; }
.vs-col.bad ul li i { color: #d94f3f; }
.vs-col.good ul li i { color: var(--teal-dark); }
.vs-col.good h4 { color: var(--teal-dark); }
.vs-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; flex-shrink: 0; }
.vs-icon-circle { width: 180px; height: 180px; border-radius: 50%; 
    /* background: var(--bg-soft); */
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vs-icon-circle img { width: 120px; height: 120px; object-fit: contain; }

.sustain-band { background: #0d3327; border-radius: 18px; padding: 30px 40px; }
.sustain-band .wrap-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; align-items: center; gap: 24px; color: #fff; }
.sustain-band .item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sustain-band .item:not(:first-child) { border-left: 1px solid rgba(255,255,255,.22); padding-left: 24px; }
.sustain-band .item img { width: auto; height: 55px; object-fit: contain; flex-shrink: 0; }
.sustain-band .item strong { display: block; font-size: .95rem; }
.sustain-band .item span { font-size: .78rem; color: #b9c7d5; }

.trust-strip { text-align: center; }
.trust-logos { display: flex; justify-content: space-between; align-items: flex-start; gap: 0; flex-wrap: nowrap; margin-top: 20px; }
.trust-logos .t-logo { text-align: center; flex: 1 1 0; min-width: 0; padding: 0 16px; }
.trust-logos .t-logo:not(:first-child) { border-left: 1px solid var(--border); }
.trust-logos .t-logo img { max-width: 100%; width: 140px; height: 50px; object-fit: contain; margin: 0 auto 10px; }
.trust-logos .t-logo span { font-size: 12px; color: var(--muted); display: block; }

.step-flow { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px 0; }
.step-flow .step { flex: 1; min-width: 130px; }
.step-flow .step .step-icon-box {
    position: relative; width: 100px; height: 100px; border-radius: 14px; background: #fff;
    border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(15,42,74,.08);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
}
.step-flow .step .step-icon-box i { font-size: 1.3rem; color: var(--navy); }
.step-flow .step .step-icon-box img { width: 70px; height: 70px; object-fit: contain; }
.step-flow .step .num-badge {
    width: 26px; height: 26px; font-size: .72rem; background: var(--teal); margin: 0 auto 10px;
}
.step-arrow { color: var(--border); font-size: 1.2rem; align-self: center; }

.jit-process-panel { background: #fefefe; border-radius: 24px; padding: 48px 40px; }
.jit-process-head { text-align: center; margin-bottom: 34px; }
.jit-process-head h2 { font-size: 2.1rem; }
.jit-process-sub { color: var(--teal-dark); font-weight: 700; font-size: 1.1rem; margin: 4px 0 16px; }
.jit-process-rule { width: 60px; height: 3px; border-radius: 2px; background: var(--teal); margin: 0 auto 18px; }
.jit-process-label { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-weight: 600; font-size: .92rem; }

.jit-process-flow { display: flex; align-items: flex-start; gap: 0; }
.jit-process-step { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.jit-process-badge {
    width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; margin-bottom: 14px; flex-shrink: 0;
}
.jit-process-step h4 { font-size: .98rem; min-height: 46px; margin-bottom: 18px; padding: 0 6px; }
.jit-process-img { width: 100%; max-width: 190px; margin-bottom: 16px; }
.jit-process-img img { width: 100%; height: auto; object-fit: contain; }
.jit-process-step p { font-size: .82rem; color: var(--muted); padding: 0 10px; margin: 0; }
.jit-process-arrow { display: flex; align-items: center; color: var(--teal); align-self: center; margin-top: -60px; padding: 0 4px; flex-shrink: 0; }
.jit-process-arrow-line { width: 22px; height: 0; border-top: 2px dashed var(--teal); margin-right: 3px; }
.jit-process-arrow i { font-size: .8rem; }

.jit-process-footer { text-align: center; margin-top: 38px; }
.jit-process-footer span {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
    border-radius: 100px; padding: 8px 20px; font-size: .82rem; color: var(--muted);
}
.jit-process-footer i { color: #e0607a; }
.jit-process-footer strong { color: var(--navy); }


@media (max-width: 1150px) {
    .vs-grid { grid-template-columns: 1fr; text-align: center; }
    .vs-badge, .vs-icon-circle { margin: 0 auto; }
    .trust-logos { flex-wrap: wrap; justify-content: center; }
    .trust-logos .t-logo { flex: 1 1 45%; padding: 16px; }
    .trust-logos .t-logo:not(:first-child) { border-left: none; }
}

@media (max-width: 900px) {
    .home-hero { min-height: 0; flex-direction: column; align-items: stretch; }
    .home-hero-bg { position: relative; height: 260px; }
    .home-hero-content { max-width: none; padding: 30px 24px; }
    .home-hero-powered { position: static; margin: 0 24px 24px; display: inline-block; }
    .why-sewgo { grid-template-columns: 1fr; }
    .why-icons { grid-template-columns: repeat(2, 1fr); }
    .two-card-grid { grid-template-columns: 1fr; }
    .vs-grid { grid-template-columns: 1fr; text-align: center; }
    .vs-badge, .vs-icon-circle { margin: 0 auto; }
    .brand-card { flex-direction: column; }
    .sustain-band .wrap-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .sustain-band .item { flex-direction: column; }
    .sustain-band .item:not(:first-child) { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; }
    .step-flow { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .jit-process-panel { padding: 36px 20px; }
    .jit-process-flow { flex-direction: column; align-items: center; gap: 6px; }
    .jit-process-step { max-width: 320px; }
    .jit-process-arrow { transform: rotate(90deg); margin: 4px 0; }
    .manufacture-row { grid-template-columns: repeat(3, 1fr); gap: 28px 14px; }
    .trust-logos { flex-wrap: wrap; justify-content: center; }
    .trust-logos .t-logo { flex: 1 1 45%; padding: 16px; }
    .trust-logos .t-logo:not(:first-child) { border-left: none; }
}

@media (max-width: 480px) {
    .home-hero .mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; background: rgba(255,255,255,.55); padding: 14px; }
    .home-hero .mini-stat { min-width: 0; }
    .manufacture-row { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
    .manufacture-row .hide_class{
        display: none;
    }
}
