﻿/* IMPAMRO homepage 鈥?Aiege layout + sea-green
   寮€婧愬瓧浣擄細Be Vietnam Pro锛堟ā鏉垮悓娆撅級+ Noto Sans SC锛堟€濇簮榛戜綋寮€婧愮増锛?*/
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600&display=swap");

:root {
    --hm-a: #2E8B57;
    --hm-b: #0f766e;
    --hm-c: #3cb371;
    --hm-ink: #0f172a;
    --hm-muted: #64748b;
    --hm-white: #ffffff;
    --hm-radius: 2.5rem;
    --hm-soft: #f4faf6;
    --hm-font: "Be Vietnam Pro", "Noto Sans SC", "Source Han Sans SC", "鎬濇簮榛戜綋", sans-serif;
}

body.home-page {
    color: var(--hm-ink);
    font-family: var(--hm-font);
    font-weight: 400;
    overflow-x: hidden;
    background: #fff;
}

/* ========== HERO (template .hero) ========== */
.hm-hero {
    position: relative;
    margin-top: calc(-1 * var(--impamro-sticky-search-height, 0px));
}
.hm-hero::before,
.hm-hero::after {
    content: "";
    position: absolute;
    left: 1px;
    bottom: -1px;
    width: 50%;
    height: 50px;
    z-index: 3;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    background: linear-gradient(70deg, var(--hm-b) 0%, var(--hm-b) 46%, var(--hm-a) 100%);
}
.hm-hero::after {
    left: auto;
    right: 0;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    background: linear-gradient(240deg, var(--hm-a) 0%, var(--hm-b) 46%, var(--hm-a) 100%);
}
.hm-hero-bg {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--impamro-sticky-search-height, 0px);
    background-color: #0b1f16;
    background-image: url("/static/images/bg/site-bg-gears.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}
.hm-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(46, 139, 87, 0.72) 0%, rgba(15, 118, 110, 0.88) 55%, rgba(11, 31, 22, 0.92) 100%);
    opacity: 0.85;
    z-index: 0;
}
.hm-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hm-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hm-hero-visual img {
    width: min(100%, 520px);
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s ease;
    border-radius: 0;
    mix-blend-mode: lighten;
    opacity: 0.95;
}
.hm-hero-visual:hover img {
    animation: hmRipple 5s linear infinite;
}
@keyframes hmRipple {
    0% { transform: translate(0, 0); }
    33% { transform: translate(5px, -15px); }
    66% { transform: translate(-15px, 5px); }
    100% { transform: translate(0, 0); }
}
.hm-sub-head {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    z-index: 1;
}
.hm-sub-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: var(--hm-radius);
    background: linear-gradient(97deg, var(--hm-b) 0%, var(--hm-a) 100%);
}
.hm-hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
}
/* 楂樺姣旓細浜櫧/娴呴噾锛岄伩鍏嶄笌娴风豢鑳屾櫙绯婂湪涓€璧?*/
.hm-hero-copy h1 .fx {
    color: #fff8dc;
    background: none;
    -webkit-text-fill-color: #fff8dc;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 0 0 24px rgba(255, 255, 255, 0.25);
}
.hm-hero-copy .lead {
    margin: 0 0 2rem;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
}
.hm-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.hm-btn {
    min-width: 180px;
    min-height: 50px;
    padding: 0.55rem 1.4rem;
    border: 0;
    border-radius: var(--hm-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--hm-font);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s, background 0.2s, color 0.2s;
}
.hm-btn:hover { transform: translateY(-2px); }
/* 涓庢捣缁胯儗鏅媺寮€瀵规瘮锛氱櫧搴曟繁瀛?/ 娣卞簳鐧藉瓧 */
.hm-btn-primary {
    background: #ffffff !important;
    color: #0b1f16 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.hm-btn-primary:hover {
    background: #f8faf9 !important;
}
.hm-btn-secondary {
    background: rgba(11, 31, 22, 0.55) !important;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}
.hm-btn-secondary:hover {
    background: rgba(11, 31, 22, 0.75) !important;
    border-color: #fff;
}

/* ========== TRUSTED ========== */
.hm-trusted {
    padding: 72px 24px 48px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%232E8B57' fill-opacity='0.08'/%3E%3C/svg%3E");
    background-size: 28px 28px;
}
.hm-trusted-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.hm-trusted h3 {
    margin: 0 0 28px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 500;
    background: linear-gradient(81deg, #1e6b42 -20%, #2E8B57 45%, #0f766e 115%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hm-partner-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.hm-partner-box {
    min-height: 120px;
    padding: 1.25rem 1rem;
    border-radius: var(--hm-radius);
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.hm-partner-box:hover {
    transform: translateY(6px);
    border-color: #a0a0a0;
}
.hm-partner-box .mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--hm-a), var(--hm-b));
    margin-bottom: 10px;
}
.hm-partner-box span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}

/* ========== EXPERIENCE / STEP CARDS ========== */
.hm-experience {
    position: relative;
    padding: 88px 24px;
    background-color: #0b1f16;
    background-image:
        linear-gradient(180deg, rgba(5, 10, 8, 0.35) 0%, rgba(11, 31, 22, 0.55) 100%),
        var(--hm-experience-bg, none);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    z-index: 1;
}
.hm-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(46, 139, 87, 0.22), transparent 70%);
    z-index: 0;
}
.hm-experience-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.hm-experience .eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 0.4rem 1rem;
    border-radius: var(--hm-radius);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(97deg, var(--hm-b), var(--hm-a));
    color: #fff;
}
.hm-experience h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.75rem);
    font-weight: 500;
}
.hm-experience .intro {
    margin: 0 auto 40px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    font-size: 1rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hm-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: left;
}
.hm-step-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 2.25rem 1.6rem;
    min-height: 250px;
    /* 半透明玻璃，露出区块背景图，不再纯黑盖住 */
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--hm-radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.hm-step-card:hover {
    background: linear-gradient(to top, rgba(15, 118, 110, 0.92), rgba(46, 139, 87, 0.92));
    transform: translateY(-5px);
    border-color: transparent;
}
.hm-step-card .ico {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 139, 87, 0.25);
    color: var(--hm-c);
    font-size: 1.4rem;
    font-weight: 500;
}
.hm-step-card:hover .ico {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.hm-step-card .t {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}
.hm-step-card .d {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

/* ========== STATS ========== */
.hm-stats {
    padding: 80px 24px;
    background: var(--hm-soft);
}
.hm-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: center;
}
.hm-stats h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    background: linear-gradient(90deg, #1e6b42, #0f766e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hm-stats .desc {
    margin: 0;
    color: var(--hm-muted);
    line-height: 1.7;
    font-size: 1rem;
}
.hm-stat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hm-stat-card {
    background: #fff;
    border-radius: var(--hm-radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}
.hm-stat-card:hover { transform: translateY(-4px); }
.hm-stat-card .n {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--hm-a);
    letter-spacing: -0.03em;
    line-height: 1;
}
.hm-stat-card .l {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--hm-ink);
}
.hm-stat-card .d {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ========== STRIPE MARQUEE (diagonal) ========== */
.hm-stripe {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: #fff;
}
.hm-stripe .back-strip {
    position: absolute;
    top: 88px;
    left: 0;
    width: 100%;
    height: 40px;
    padding: 40px 0;
    transform: rotate(-1.5deg);
    background-image: linear-gradient(200deg, var(--hm-c) 0%, var(--hm-a) 100%);
    opacity: 0.45;
    z-index: 0;
}
.hm-stripe .front-strip {
    position: relative;
    z-index: 1;
    padding: 10px 0;
    transform: rotate(-1deg);
    background-image: linear-gradient(242deg, var(--hm-c) 40%, var(--hm-a) 100%);
}
.hm-marquee {
    margin: 0 auto;
    width: 100%;
    height: 40px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.hm-marquee::before,
.hm-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 40px;
    z-index: 2;
}
.hm-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--hm-a), transparent);
}
.hm-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--hm-c), transparent);
}
.hm-marquee-track {
    display: inline-flex;
    align-items: center;
    line-height: 40px;
    animation: hmMarquee 18s linear infinite;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 500;
}
.hm-marquee-track span {
    margin: 0 2rem;
    position: relative;
}
.hm-marquee-track span::before {
    content: "鈼?;
    margin-right: 2rem;
    font-size: 0.7rem;
    opacity: 0.7;
}
@keyframes hmMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========== SOLUTIONS ========== */
.hm-solutions {
    position: relative;
    padding: 0;
}
.hm-solutions-bg {
    position: relative;
    min-height: 70vh;
    padding: 88px 24px;
    background-color: #0b1f16;
    background-image: url("/static/images/bg/site-bg-gears.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hm-solutions-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}
.hm-solutions-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.hm-solutions .eyebrow {
    margin: 0 0 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #a7f3d0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hm-solutions h2 {
    margin: 0 0 36px;
    font-size: clamp(1.8rem, 3.2vw, 2.75rem);
    font-weight: 500;
    color: #fff;
}
.hm-sol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.hm-sol-card {
    position: relative;
    display: block;
    min-height: 280px;
    border: 2px solid #a0a0a0;
    border-radius: var(--hm-radius);
    overflow: hidden;
    text-decoration: none !important;
    color: #fff !important;
    transition: border-color 0.3s, transform 0.25s;
}
.hm-sol-card:hover {
    border-color: var(--hm-a);
    transform: translateY(-4px);
}
.hm-sol-card .thumb {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(11, 31, 22, 0.35), rgba(46, 139, 87, 0.55)),
        url("/static/images/bg/site-bg-gears.jpg") center / cover;
    transition: filter 0.3s;
}
.hm-sol-card:hover .thumb {
    filter: brightness(0.7);
}
.hm-sol-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s;
}
.hm-sol-card:hover .thumb::after {
    background: linear-gradient(145deg, rgba(60, 179, 113, 0.65) 0%, rgba(46, 139, 87, 0.75) 100%);
}
.hm-sol-card .body {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 280px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hm-sol-card .t {
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: capitalize;
    margin-bottom: 8px;
}
.hm-sol-card .d {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    flex: 1;
}
.hm-sol-card .more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-weight: 500;
    font-size: 0.9rem;
}
.hm-sol-card .more .arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: rotate(-45deg);
    transition: transform 0.35s, background 0.3s;
}
.hm-sol-card .more .lbl {
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.3s;
    white-space: nowrap;
}
.hm-sol-card:hover .more .arrow { transform: rotate(0); }
.hm-sol-card:hover .more .lbl {
    opacity: 1;
    transform: translateX(0);
}

/* ========== FAQ (light, like template) ========== */
.hm-faq {
    padding: 88px 24px;
    background: #fff;
}
.hm-faq-inner {
    max-width: 900px;
    margin: 0 auto;
}
.hm-faq .eyebrow {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 0.4rem 1rem;
    border-radius: var(--hm-radius);
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(97deg, var(--hm-b), var(--hm-a));
}
.hm-faq h2 {
    margin: 0 0 28px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 500;
    background: linear-gradient(81deg, #1e6b42, #2E8B57, #0f766e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hm-acc-item {
    border: 1px solid #e8e8e8;
    border-radius: var(--hm-radius);
    margin-bottom: 14px;
    background: transparent;
    overflow: hidden;
    transition: border-color 0.2s;
}
.hm-acc-item[open] {
    border-color: #000;
}
.hm-acc-item summary {
    list-style: none;
    cursor: pointer;
    padding: 26px 30px;
    font-weight: 500;
    font-size: 1rem;
    text-transform: capitalize;
    color: #000;
}
.hm-acc-item summary::-webkit-details-marker { display: none; }
.hm-acc-item[open] summary {
    color: var(--hm-a);
}
.hm-acc-item .ans {
    padding: 0 30px 26px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--hm-muted);
}

/* ========== CONTACT ========== */
.hm-contact {
    padding: 48px 24px 88px;
    background: linear-gradient(3deg, rgba(46, 139, 87, 0.12) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.hm-contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 20px;
}
.hm-contact-inner--wide {
    grid-template-columns: 1fr;
    max-width: 1200px;
}
.hm-contact-box {
    border-radius: var(--hm-radius);
    padding: 28px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}
.hm-contact-box h3 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    font-weight: 500;
}
.hm-contact-box p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
}
.hm-contact-box a {
    color: var(--hm-a);
    font-weight: 500;
    text-decoration: none;
}
.hm-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.hm-quick a {
    padding: 10px 16px;
    border-radius: var(--hm-radius);
    border: 1px solid var(--hm-a);
    color: var(--hm-a) !important;
    font-size: 0.8rem;
    font-weight: 500;
    background: #fff;
}

@media (max-width: 991px) {
    .hm-hero-bg { min-height: 70vh; }
    .hm-hero-inner,
    .hm-stats-inner,
    .hm-contact-inner {
        grid-template-columns: 1fr;
    }
    .hm-hero-visual { order: -1; }
    .hm-hero-visual img { max-width: 360px; }
    .hm-step-grid,
    .hm-sol-grid,
    .hm-partner-row {
        grid-template-columns: 1fr 1fr;
    }
    .hm-hero::before,
    .hm-hero::after { height: 36px; }
}
@media (max-width: 575px) {
    .hm-hero-inner { padding: 72px 16px 70px; }
    .hm-step-grid,
    .hm-sol-grid,
    .hm-partner-row,
    .hm-stat-cards {
        grid-template-columns: 1fr;
    }
    .hm-btn { width: 100%; }
    .hm-acc-item summary { padding: 18px 20px; }
    .hm-acc-item .ans { padding: 0 20px 18px; }
}

