/* Modern home page */
.hm-home {
    --hm-primary: #06a994;
    --hm-primary-dark: #058b7a;
    --hm-ink: #173d44;
    --hm-text: #526c71;
    --hm-muted: #8aa0a4;
    --hm-line: #e7f2f0;
    --hm-soft: #f7fbfa;
    --hm-shadow: 0 16px 50px rgba(17, 66, 74, .07);
    width: min(1200px, calc(100% - 40px));
    padding-bottom: 56px;
    color: var(--hm-text);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
}

.hm-home *,
.hm-home *::before,
.hm-home *::after {
    box-sizing: border-box;
}

.hm-home img {
    max-width: 100%;
}

.hm-home a {
    color: inherit;
}

.hm-home .seat_banner {
    height: 410px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 24px;
    background: #e8f5f2;
    box-shadow: 0 22px 60px rgba(10, 66, 72, .14);
}

.hm-home .seat_flexslider,
.hm-home .seat_flexslider .slides,
.hm-home .seat_flexslider .slides > li {
    height: 410px;
}

.hm-home .seat_flexslider .list img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
}

.hm-home .seat_flexslider .flex-control-nav {
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.hm-home .seat_flexslider .flex-control-nav li {
    display: block;
    margin: 0;
}

.hm-home .seat_flexslider .flex-control-nav a {
    display: block;
    width: 28px;
    height: 6px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    opacity: 1;
    line-height: 0;
    transition: width .25s ease, background .25s ease;
}

.hm-home .seat_flexslider .flex-control-nav .flex-active {
    width: 54px;
    background: #fff;
}

.hm-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
    padding: 8px;
    border: 1px solid var(--hm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--hm-shadow);
}

.hm-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 20px;
    border-right: 1px solid var(--hm-line);
}

.hm-trust-item:last-child {
    border-right: 0;
}

.hm-trust-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #e7fbf6, #d4f5ed);
    color: var(--hm-primary);
    font-size: 18px;
    font-weight: 800;
}

.hm-trust-item > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.hm-trust-item strong {
    color: var(--hm-ink);
    font-size: 15px;
    font-weight: 700;
}

.hm-trust-item small {
    overflow: hidden;
    color: var(--hm-muted);
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-section-head,
.hm-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.hm-section-head {
    margin: 44px 0 22px;
}

.hm-section-head h2,
.hm-panel-head h2 {
    margin: 5px 0 0;
    color: var(--hm-ink);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.hm-section-head p,
.hm-panel-head p {
    max-width: 400px;
    margin: 0;
    color: var(--hm-muted);
    font-size: 13px;
    line-height: 1.7;
    text-align: right;
}

.hm-eyebrow {
    display: inline-block;
    color: var(--hm-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.3;
}

.hm-home .farm_fuct.hm-quick {
    margin: 0;
}

.hm-home .farm_fuct ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-home .farm_fuct .list {
    display: block;
    float: none !important;
    width: auto !important;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--hm-line);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    box-shadow: 0 8px 30px rgba(17, 66, 74, .035);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hm-home .farm_fuct .list:hover {
    border-color: #ccece5;
    box-shadow: 0 16px 36px rgba(17, 66, 74, .09);
    transform: translateY(-4px);
}

.hm-home .farm_fuct .list > a {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
}

.hm-home .farm_fuct .list img {
    display: block;
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    padding: 10px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eefbf8, #dcf7f1);
    object-fit: contain;
    transition: transform .35s ease;
}

.hm-home .farm_fuct .list:hover img {
    transform: scale(1.06) rotate(-3deg);
}

.hm-home .farm_fuct .list p {
    align-self: end;
    margin: 0;
    color: var(--hm-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.hm-home .farm_fuct .list .hm-quick-desc {
    align-self: start;
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: var(--hm-muted);
    font-size: 12px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 18px;
    overflow: hidden;
    padding: 25px 12px;
    border-radius: 22px;
    background: linear-gradient(120deg, #073f47 0%, #0b716c 56%, #11a995 100%);
    box-shadow: 0 18px 46px rgba(7, 74, 77, .18);
    color: #fff;
}

.hm-stats::before,
.hm-stats::after {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    content: '';
    pointer-events: none;
}

.hm-stats::before {
    top: -90px;
    right: 13%;
    width: 210px;
    height: 210px;
}

.hm-stats::after {
    bottom: -100px;
    left: 25%;
    width: 180px;
    height: 180px;
}

.hm-stat {
    position: relative;
    z-index: 1;
    padding: 2px 12px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    text-align: center;
}

.hm-stat:last-child {
    border-right: 0;
}

.hm-stat strong {
    display: block;
    color: #fff;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.hm-stat span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.hm-home .farm_title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
    margin: 48px 0 20px;
    padding: 0;
    border: 0;
}

.hm-home .farm_title .left,
.hm-home .farm_title .right {
    float: none;
}

.hm-home .farm_title .title {
    display: flex;
    align-items: center;
    font-size: inherit;
    line-height: 1;
}

.hm-home .farm_title .title .ico {
    display: none;
}

.hm-home .farm_title .title > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hm-home .farm_title .title b {
    color: var(--hm-ink);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.hm-home .farm_title .more {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    background: #effaf7;
    color: var(--hm-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
}

.hm-home .farm_title .more:hover {
    background: var(--hm-primary);
    color: #fff;
}

.hm-home .farm_group ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-home .farm_group .list {
    position: relative;
    display: block;
    float: none !important;
    width: auto !important;
    height: 218px !important;
    overflow: hidden;
    border-radius: 20px;
    background: #dceceb;
    box-shadow: 0 12px 32px rgba(17, 66, 74, .08);
    opacity: 1 !important;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hm-home .farm_group .list:first-child {
    grid-column: span 2;
}

.hm-home .farm_group .list.on {
    width: auto !important;
    opacity: 1 !important;
}

.hm-home .farm_group .list:hover {
    box-shadow: 0 20px 46px rgba(17, 66, 74, .16);
    transform: translateY(-3px);
}

.hm-home .farm_group .list > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.hm-home .farm_group .list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.hm-home .farm_group .list:hover img {
    transform: scale(1.06);
}

.hm-home .farm_group .list::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 36, 40, 0) 35%, rgba(4, 36, 40, .78) 100%);
    content: '';
    pointer-events: none;
}

.hm-recommend-label {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}

.hm-recommend-label strong {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 30, 34, .25);
}

.hm-recommend-label small {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.5;
}

.hm-home .farm_group .list:first-child .hm-recommend-label strong {
    font-size: 24px;
}

.hm-home .farm_group .list:first-child .hm-recommend-label small {
    font-size: 13px;
}

.hm-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
    align-items: stretch;
    gap: 20px;
    margin-top: 24px;
}

.hm-panel {
    padding: 28px;
    border: 1px solid var(--hm-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--hm-shadow);
}

.hm-panel-head {
    margin-bottom: 22px;
}

.hm-panel-head > a {
    color: var(--hm-primary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hm-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hm-category {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #edf5f3;
    border-radius: 16px;
    background: #fbfdfd;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.hm-category:hover {
    border-color: #c7eae3;
    background: #f0fbf8;
    transform: translateY(-2px);
}

.hm-category-icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #e6fbf6, #d2f4ec);
    color: var(--hm-primary-dark);
    font-size: 18px;
    font-weight: 800;
}

.hm-category > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.hm-category strong {
    overflow: hidden;
    color: var(--hm-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-category small {
    overflow: hidden;
    color: var(--hm-muted);
    font-size: 12px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-guarantee {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 0;
    background: linear-gradient(145deg, #073f47 0%, #0b716c 55%, #11a995 100%);
    color: #fff;
}

.hm-guarantee::before,
.hm-guarantee::after {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    content: '';
    pointer-events: none;
}

.hm-guarantee::before {
    top: -92px;
    right: -58px;
    width: 220px;
    height: 220px;
}

.hm-guarantee::after {
    bottom: -86px;
    left: -56px;
    width: 190px;
    height: 190px;
}

.hm-guarantee > * {
    position: relative;
    z-index: 1;
}

.hm-guarantee .hm-eyebrow {
    color: #8ff5e5;
}

.hm-guarantee h2 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.35;
}

.hm-guarantee-desc {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.7;
}

.hm-guarantee-list {
    display: grid;
    gap: 11px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.hm-guarantee-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-guarantee-list li > span {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .13);
    color: #8ff5e5;
    font-size: 12px;
    font-weight: 800;
}

.hm-guarantee-list li > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.hm-guarantee-list strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.hm-guarantee-list small {
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    line-height: 1.5;
}

.hm-hotline {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 9px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hm-hotline span {
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
}

.hm-hotline a {
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.2;
}

.hm-hotline small {
    flex-basis: 100%;
    color: rgba(255, 255, 255, .52);
    font-size: 11px;
}

.hm-home .hm-process {
    margin-top: 20px;
    padding: 30px;
}

.hm-muted {
    color: var(--hm-muted);
}

.hm-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hm-step {
    position: relative;
    padding: 23px 20px 20px;
    border: 1px solid #edf5f3;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfefd 0%, #f5fbf9 100%);
    transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.hm-step:hover {
    border-color: #c9ebe4;
    box-shadow: 0 12px 28px rgba(17, 66, 74, .07);
    transform: translateY(-3px);
}

.hm-step-num {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(17, 66, 74, .07);
    color: var(--hm-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
}

.hm-step h3 {
    margin: 0;
    color: var(--hm-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.hm-step p {
    margin: 8px 0 0;
    color: var(--hm-muted);
    font-size: 12px;
    line-height: 1.75;
}

@media (max-width: 980px) {
    .hm-home {
        width: calc(100% - 28px);
    }

    .hm-trust-strip,
    .hm-home .farm_fuct ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-trust-item:nth-child(2) {
        border-right: 0;
    }

    .hm-trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--hm-line);
    }

    .hm-category-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hm-home .farm_group ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-home .farm_group .list:first-child {
        grid-column: span 2;
    }

    .hm-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hm-home {
        width: calc(100% - 20px);
        padding-bottom: 34px;
    }

    .hm-home .seat_banner,
    .hm-home .seat_flexslider,
    .hm-home .seat_flexslider .slides,
    .hm-home .seat_flexslider .slides > li,
    .hm-home .seat_flexslider .list img {
        height: 250px;
    }

    .hm-home .seat_banner {
        margin-top: 12px;
        border-radius: 18px;
    }

    .hm-trust-strip,
    .hm-home .farm_fuct ul,
    .hm-home .farm_group ul,
    .hm-stats,
    .hm-category-grid,
    .hm-process-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hm-trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--hm-line);
    }

    .hm-trust-item:last-child {
        border-bottom: 0;
    }

    .hm-section-head,
    .hm-panel-head,
    .hm-home .farm_title {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hm-section-head {
        margin-top: 30px;
    }

    .hm-section-head h2,
    .hm-panel-head h2,
    .hm-home .farm_title .title b {
        font-size: 23px;
    }

    .hm-section-head p,
    .hm-panel-head p {
        max-width: none;
        text-align: left;
    }

    .hm-home .farm_group .list:first-child {
        grid-column: auto;
    }

    .hm-home .farm_group .list {
        height: 190px !important;
    }

    .hm-stat {
        padding: 10px 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
    }

    .hm-stat:last-child {
        border-bottom: 0;
    }

    .hm-panel,
    .hm-home .hm-process {
        padding: 20px;
        border-radius: 20px;
    }

    .hm-category strong,
    .hm-category small {
        white-space: normal;
    }

    .hm-hotline a {
        font-size: 21px;
    }
}
