/* Page-specific styles split from assets/css/site.css. */

.home-hero {
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    height: calc(100svh - 76px);
    min-height: calc(100vh - 76px);
    padding: 0;
    background: var(--main-color);
    color: #fff;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 11, 37, .52), rgba(0, 11, 37, .64)),
        url('../../images/home/main-home-background-20260707.png') center / cover no-repeat;
    opacity: 1;
    pointer-events: none;
}

.home-hero .hero-layout {
    position: relative;
    z-index: 1;
}

.home-benefits {
    border-bottom: 1px solid #d9d9d9;
    background: #fff;
}

.home-section {
    padding-top: 8px;
}

.home-after-hero {
    padding: 54px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafaf7 100%);
    scroll-margin-top: 76px;
}

.home-process-head,
.home-section-title {
    text-align: center;
}

.home-process-head h2,
.home-section-title h2 {
    margin: 0;
    color: var(--main-color);
    font-size: 34px;
    line-height: 1.25;
}

.home-process-head p {
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 16px;
}

.home-input-flow {
    display: grid;
    grid-template-columns: repeat(4, 218px);
    gap: 56px;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
}

.home-input-flow article {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 14px;
    align-items: start;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
}

.home-input-flow article:not(:last-of-type)::after {
    display: none;
}

.home-input-flow article:not(:last-of-type)::before {
    content: '';
    position: absolute;
    right: -35px;
    top: 50%;
    z-index: 3;
    width: 9px;
    height: 9px;
    border-top: 2px solid #8b95a4;
    border-right: 2px solid #8b95a4;
    transform: translate(-1px, -50%) rotate(45deg);
}

.home-input-flow > i {
    display: none;
}

.home-input-flow h3,
.home-core-head h3,
.home-flow-steps h3 {
    margin: 0 0 6px;
    color: var(--main-color);
    font-size: 17px;
    line-height: 1.25;
}

.home-input-flow p,
.home-core-head p,
.home-flow-steps p {
    margin: 0;
    color: #596170;
    font-size: 13px;
    line-height: 1.45;
}

.home-soft-icon,
.home-accent-icon,
.home-flow-steps i {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.home-soft-icon {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: #fff8e8;
}

.home-soft-icon::after,
.home-accent-icon::after,
.home-flow-steps i::after {
    content: '';
    width: 28px;
    height: 28px;
    background: #20242c;
    mask: var(--icon) center / contain no-repeat;
    -webkit-mask: var(--icon) center / contain no-repeat;
}

.home-soft-icon::after {
    display: none;
}

.home-soft-icon img {
    display: block;
    width: 102px;
    height: 102px;
    object-fit: contain;
}

.home-input-flow article:nth-of-type(1) .home-soft-icon img {
    width: 98px;
    height: 98px;
}

.home-input-flow article:nth-of-type(2) .home-soft-icon img {
    width: 101px;
    height: 101px;
}

.home-input-flow article:nth-of-type(3) .home-soft-icon img {
    width: 104px;
    height: 104px;
}

.home-input-flow article:nth-of-type(4) .home-soft-icon img {
    width: 116px;
    height: 116px;
}

.home-section-title {
    margin: 122px 0 42px;
}

.home-core-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-core-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-content: start;
    gap: 20px;
    min-height: 384px;
    padding: 26px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(11, 15, 24, .07);
}

.home-core-head {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.home-accent-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--primary);
}

.home-accent-icon::after {
    width: 25px;
    height: 25px;
}

.home-accent-icon.is-empty::after,
.home-accent-icon.has-image::after {
    display: none;
}

.home-accent-icon img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.home-core-card:nth-child(3) .home-accent-icon img {
    width: 30px;
    height: 30px;
}

.home-mini-table,
.home-waybill-box,
.home-donut-box {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.home-mini-table {
    display: grid;
    gap: 0;
    padding: 12px;
}

.home-mini-table div {
    display: grid;
    grid-template-columns: 20px 1.15fr .72fr .8fr 48px;
    gap: 8px;
    align-items: center;
    min-height: 30px;
    border-bottom: 1px solid #f1f2f4;
    color: #6b7280;
    font-size: 10px;
    text-align: center;
}

.home-mini-table div:last-child {
    border-bottom: 0;
}

.home-mini-table span {
    width: 11px;
    height: 11px;
    border: 1px solid #d9dde3;
    border-radius: 2px;
    justify-self: center;
}

.home-mini-table b {
    color: #8a93a2;
    font-size: 10px;
    font-weight: 500;
}

.home-mini-table em {
    overflow: hidden;
    color: #374151;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-mini-table i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-width: 34px;
    min-height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    white-space: nowrap;
}

.home-mini-table i.received {
    border: 1px solid rgba(190, 24, 93, .18);
    background: #fff1f5;
    color: #be185d;
}

.home-mini-table i.moving {
    border: 1px solid rgba(255, 180, 0, .58);
    background: #ffe08a;
    color: #8a5a00;
}

.home-mini-table i.completed {
    border: 1px solid rgba(15, 118, 110, .22);
    background: var(--soft-green);
    color: var(--green);
}

.home-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 42px;
    margin-top: auto;
    border-radius: 7px;
    background: var(--primary);
    color: #111827;
    font-size: 15px;
    font-weight: 500;
}

.home-card-button.dark {
    background: var(--main-color);
    color: #fff;
}

.home-waybill-box {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.home-waybill-box span {
    color: #6b7280;
    font-size: 11px;
}

.home-waybill-box strong {
    color: var(--main-color);
    font-size: 15px;
}

.home-waybill-box button {
    justify-self: end;
    min-height: 26px;
    margin-top: -38px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #fff;
    color: #6b7280;
    font-size: 11px;
}

.home-status-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    margin-top: 8px;
}

.home-status-line::before {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #cfd5df;
}

.home-status-line i {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    justify-self: center;
    border: 3px solid #cfd5df;
    border-radius: 50%;
    background: #fff;
}

.home-status-line i.active {
    border-color: var(--primary);
}

.home-status-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: #6b7280;
    font-size: 10px;
    text-align: center;
}

.home-donut-box {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px;
}

.home-core-card:nth-child(3) .home-donut-box {
    padding-top: 14px;
    padding-bottom: 14px;
}

.home-donut {
    display: grid;
    place-items: center;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: conic-gradient(#be185d 0 16.666%, var(--primary) 16.666% 50%, #17b26a 50% 100%);
    transform: rotate(-18deg);
}

.home-donut span {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fff;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    transform: rotate(18deg);
}

.home-donut b {
    color: var(--main-color);
    font-size: 16px;
}

.home-donut-box ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-donut-box li {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 8px;
    align-items: center;
    color: #374151;
    font-size: 11px;
}

.home-donut-box li i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #be185d;
}

.home-donut-box li:nth-child(2) i {
    background: var(--primary);
}

.home-donut-box li:nth-child(3) i {
    background: #17b26a;
}

.home-donut-box li b {
    color: #6b7280;
    font-weight: 500;
}

.home-card-note {
    margin: -8px 0 0;
    color: #9aa2af;
    font-size: 11px;
}

.home-flow-band {
    position: relative;
    z-index: 0;
    margin-top: 122px;
    padding: 42px 58px 46px;
    background: transparent;
    color: #fff;
}

.home-flow-band::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 50%;
    z-index: -1;
    width: 100vw;
    background: #20242c;
    box-shadow: 0 16px 30px rgba(11, 15, 24, .16);
    transform: translateX(-50%);
}

.home-flow-band-head {
    margin-bottom: 34px;
    text-align: center;
}

.home-flow-band-head h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 32px;
}

.home-flow-band-head strong {
    color: var(--primary);
}

.home-flow-band-head p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.home-flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px;
}

.home-flow-steps article {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.home-flow-steps article:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(50% + 76px);
    width: calc(100% - 108px);
    top: 62px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 4px, transparent 4px 10px);
}

.home-flow-steps article > span {
    position: absolute;
    left: calc(50% - 60px);
    top: -8px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.home-flow-steps i {
    z-index: 1;
    width: 124px;
    height: 124px;
    border: 1px solid rgba(255, 180, 0, .58);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.home-flow-steps i::after {
    display: none;
}

.home-flow-steps i img {
    display: block;
    width: 114px;
    height: 114px;
    object-fit: contain;
}

.home-flow-steps h3 {
    margin-top: 2px;
    color: #fff;
}

.home-flow-steps p {
    max-width: none;
    color: rgba(255, 255, 255, .74);
    white-space: nowrap;
}

.home-consult-card {
    display: grid;
    grid-template-columns: 288px minmax(0, 560px);
    gap: 46px;
    align-items: center;
    justify-content: center;
    max-width: 1040px;
    margin: 46px auto 0;
    padding: 28px 44px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 15, 24, .07);
}

.home-consult-visual {
    display: grid;
    place-items: center;
    width: 252px;
    max-width: 100%;
    aspect-ratio: 1;
    justify-self: center;
    overflow: hidden;
    border-radius: 50%;
    background: #fff8e8;
}

.home-consult-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-consult-copy {
    padding-left: 0;
}

.home-consult-card h2 {
    margin: 0 0 20px;
    color: var(--main-color);
    font-size: 28px;
    line-height: 1.45;
}

.home-consult-card strong {
    color: var(--primary-dark);
}

.home-consult-card .button {
    transition: background-color .16s ease, transform .16s ease;
}

.home-consult-card .button:hover,
.home-consult-card .button:focus-visible {
    transform: translateY(-2px);
}

@media (max-width: 1180px) {
    .home-input-flow,
        .home-core-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    
        .home-input-flow article:not(:last-of-type)::before,
        .home-input-flow article:not(:last-of-type)::after {
            display: none;
        }
    
        .home-flow-steps {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            row-gap: 34px;
        }
    
        .home-flow-steps article::after {
            display: none;
        }
}

@media (max-width: 900px) {
    .home-hero {
            min-height: calc(100vh - 76px);
            padding: 0;
        }
    
        .home-input-flow,
        .home-consult-card {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    
        .home-core-grid {
            grid-template-columns: 1fr;
        }
    
        .home-input-flow {
            gap: 14px;
            margin-top: 34px;
        }
    
        .home-input-flow article {
            grid-template-columns: 74px minmax(0, 1fr);
            justify-items: start;
            align-items: center;
            height: 132px;
            min-height: 132px;
            padding: 16px;
            border: 1px solid rgba(17, 24, 39, .08);
            border-radius: 8px;
            background: #fff;
            box-shadow: 0 10px 24px rgba(11, 15, 24, .06);
            text-align: left;
        }
    
        .home-input-flow article:nth-of-type(even) {
            transform: none;
        }
    
        .home-input-flow article.scroll-reveal.reveal-domino {
            transform: translateY(34px);
        }
    
        .home-input-flow article.scroll-reveal.reveal-domino.is-visible {
            transform: translate3d(0, 0, 0);
        }
    
        .home-input-flow article:not(:last-of-type)::before,
        .home-input-flow article:not(:last-of-type)::after {
            display: none;
        }
    
        .home-soft-icon {
            width: 70px;
            height: 70px;
        }
    
        .home-soft-icon img,
        .home-input-flow article:nth-of-type(1) .home-soft-icon img,
        .home-input-flow article:nth-of-type(2) .home-soft-icon img,
        .home-input-flow article:nth-of-type(3) .home-soft-icon img,
        .home-input-flow article:nth-of-type(4) .home-soft-icon img {
            width: 64px;
            height: 64px;
        }
    
        .home-flow-band {
            padding: 34px 24px 38px;
        }
    
        .home-flow-steps {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: stretch;
            gap: 12px;
        }
    
        .home-flow-steps article {
            align-content: start;
            min-height: 196px;
            padding: 20px 10px 14px;
            border: 1px solid rgba(255, 180, 0, .25);
            border-radius: 8px;
            background: rgba(255, 255, 255, .05);
        }
    
        .home-flow-steps article:nth-child(even) {
            transform: none;
        }
    
        .home-flow-steps article::after {
            display: none;
        }
    
        .home-flow-steps article > span {
            left: 12px;
            top: 12px;
        }
    
        .home-flow-steps i {
            width: 92px;
            height: 92px;
        }
    
        .home-flow-steps i img {
            width: 84px;
            height: 84px;
        }
    
        .home-flow-steps p {
            white-space: normal;
        }
    
        .home-consult-card {
            grid-template-columns: 1fr;
        }
    
        .home-consult-card {
            padding: 28px;
        }
    
        .home-consult-card h2 {
            font-size: 26px;
        }
}

@media (max-width: 560px) {
    .home-after-hero {
            padding: 34px 0 0;
        }
    
        .home-process-head h2,
        .home-section-title h2 {
            font-size: 24px;
        }
    
        .home-core-card {
            padding: 18px;
        }
    
        .home-input-flow {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }
    
        .home-input-flow article {
            grid-template-columns: 1fr;
            justify-items: center;
            height: 166px;
            min-height: 166px;
            padding: 14px 10px;
            text-align: center;
        }
    
        .home-input-flow article:nth-of-type(even) {
            transform: none;
        }
    
        .home-soft-icon {
            width: 68px;
            height: 68px;
        }
    
        .home-soft-icon img,
        .home-input-flow article:nth-of-type(1) .home-soft-icon img,
        .home-input-flow article:nth-of-type(2) .home-soft-icon img,
        .home-input-flow article:nth-of-type(3) .home-soft-icon img,
        .home-input-flow article:nth-of-type(4) .home-soft-icon img {
            width: 62px;
            height: 62px;
        }
    
        .home-donut-box {
            grid-template-columns: 1fr;
            justify-items: center;
        }
    
        .home-flow-band {
            padding: 28px 18px;
        }
    
        .home-flow-band-head h2 {
            font-size: 24px;
        }
    
        .home-flow-steps {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }
    
        .home-flow-steps article {
            min-height: 192px;
            padding: 20px 10px 14px;
        }
    
        .home-flow-steps article:nth-child(even) {
            transform: none;
        }
    
        .home-flow-steps i {
            width: 78px;
            height: 78px;
        }
    
        .home-flow-steps i img {
            width: 72px;
            height: 72px;
        }
    
        .home-consult-card {
            gap: 22px;
            padding: 22px 18px;
        }
    
        .home-consult-visual {
            width: 220px;
        }
    
        .home-consult-copy {
            padding-left: 0;
        }
    
        .home-consult-card h2 {
            font-size: 21px;
        }
}
