/* ==========================================================================
   MICROCIL - Home page (edge-to-edge layout)
   ========================================================================== */

.hm {
    --hm-primary: #008080;
    --hm-primary-dark: #006666;
    --hm-deep: #023a36;
    --hm-ink: #0f2a28;
    --hm-text: #4b5563;
    --hm-muted: #6b7280;
    --hm-line: #e5e7eb;
    --hm-soft: #eaf0fa;
    --hm-teal-soft: #e6f4f4;
    --hm-radius: 14px;
    --hm-shadow: 0 8px 24px rgba(15, 42, 40, 0.08);
}

/* floating header + hero top spacing live in style.css (shared by every page) */
.hm .banner-item {
    min-height: clamp(560px, 46vw, 680px);
    padding-bottom: 70px;
}

.hm .banner-rating {
    font-size: 15px;
}

/* owl dots: centred under the hero copy */
.hm .banner-carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hm .banner-carousel .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4) !important;
    transition: width 0.3s ease, background 0.3s ease;
}

.hm .banner-carousel .owl-dot.active span {
    width: 28px;
    background: #55d8e3 !important;
}

@media (max-width: 991.98px) {
    .hm .banner-item {
        min-height: 520px;
    }
}

@media (max-width: 575.98px) {
    .hm .banner-rating {
        font-size: 12px;
    }
}

.hm .inner-banner {
    padding-bottom: 0;
}

.hm-wrap {
    width: 100%;
    padding-left: clamp(16px, 5vw, 96px);
    padding-right: clamp(16px, 5vw, 96px);
}

.hm-section {
    padding-top: clamp(32px, 3.2vw, 48px);
    padding-bottom: clamp(32px, 3.2vw, 48px);
}

.hm-bg-soft {
    background: var(--hm-soft);
}

.hm-bg-dark {
    background: linear-gradient(135deg, #012b27 0%, #014a44 60%, #016a62 100%);
    position: relative;
    overflow: hidden;
}

/* ---------- typography ---------- */
.hm-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hm-ink);
    margin-bottom: 14px;
}

.hm-title {
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--hm-primary);
    margin: 0 0 18px;
    letter-spacing: -0.015em;
}

.hm-eyebrow-line::before {
    content: "";
    flex-shrink: 0;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: #ff7043;
}

.hm-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hm-text);
    margin: 0 0 14px;
}

.hm-bg-dark .hm-eyebrow,
.hm-bg-dark .hm-title {
    color: #ffffff;
}

.hm-bg-dark .hm-text {
    color: rgba(255, 255, 255, 0.78);
}

.hm-head {
    max-width: 640px;
    margin-bottom: clamp(24px, 3vw, 40px);
}

/* ---------- shared image ---------- */
.hm-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: var(--hm-radius);
    display: block;
}

/* ---------- 1. what microcil does ---------- */
.hm-ink-text {
    color: var(--hm-ink);
}

.hm-text-sm {
    font-size: 14px;
}

.hm-what-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
    gap: 20px;
}

.hm-what-card {
    height: 100%;
    text-align: center;
    background: #ffffff;
    border: 0;
    border-radius: 14px;
    padding: 20px 16px 20px;
    box-shadow: 0 0 0 1px rgba(15, 42, 40, 0.04), 0 2px 8px rgba(15, 42, 40, 0.06), 4px 6px 14px rgba(15, 42, 40, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hm-what-card:hover {
    transform: translate(-3px, -4px);
    box-shadow: 8px 10px 16px rgba(0, 128, 128, 0.25);
}

.hm-what-icon {
    display: inline-block;
    font-size: 48px;
    line-height: 1;
    color: var(--hm-primary);
    margin-bottom: 14px;
    transition: transform 0.35s ease;
}

.hm-what-card:hover .hm-what-icon {
    transform: scale(1.1);
}

.hm-what-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hm-primary);
    margin: 0 0 10px;
}

.hm-what-card p {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--hm-ink);
    margin: 0;
}

/* ---------- 2. business impact ---------- */
.hm-stat-card {
    height: 100%;
    background: #ffffff;
    border-radius: var(--hm-radius);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--hm-shadow);
}

.hm-stat-card h3 {
    font-size: clamp(20px, 1.7vw, 24px);
    font-weight: 700;
    color: var(--hm-ink);
    margin: 0 0 10px;
    line-height: 1.25;
}

.hm-stat-card h3 span {
    display: block;
    font-size: clamp(17px, 1.4vw, 20px);
    font-weight: 600;
    color: var(--hm-muted);
}

.hm-stat-value {
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 700;
    color: var(--hm-primary);
}

.hm-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: var(--hm-muted);
    margin: 24px 0 0;
}

/* ---------- 3. platform media ---------- */
.hm-platform-media {
    width: 100%;
    border-radius: var(--hm-radius);
    overflow: hidden;
    box-shadow: var(--hm-shadow);
    background: #0b1f1d;
}

.hm-platform-media img {
    width: 100%;
    height: clamp(240px, 24vw, 380px);
    object-fit: cover;
    display: block;
}

/* ---------- 4. industries strip ---------- */
.hm-industries {
    background: var(--hm-primary);
    padding: 28px 0;
    overflow: hidden;
    position: relative;
}

.hm-industries::before,
.hm-industries::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.hm-industries::before {
    left: 0;
    background: linear-gradient(90deg, var(--hm-primary), transparent);
}

.hm-industries::after {
    right: 0;
    background: linear-gradient(-90deg, var(--hm-primary), transparent);
}

.hm-marquee-track {
    display: flex;
    width: max-content;
    animation: hmMarquee 40s linear infinite;
}

.hm-industries:hover .hm-marquee-track {
    animation-play-state: paused;
}

@keyframes hmMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hm-industry {
    flex: 0 0 auto;
    width: 190px;
    padding: 6px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    gap: 10px;
    cursor: default;
}

.hm-industry i {
    font-size: 34px;
    transition: transform 0.3s ease;
}

.hm-industry:hover i {
    transform: translateY(-5px) scale(1.1);
}

.hm-industry span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.35;
    min-height: 2.7em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* ---------- 5. solution cards ---------- */
.hm-solutions {
    background: #dce5f5;
}

.hm-sol-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 6px 6px 12px 12px;
    overflow: hidden;
    box-shadow: 4px 5px 8px rgba(15, 42, 40, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hm-sol-card:hover {
    transform: translate(-3px, -6px);
    box-shadow: 10px 14px 24px rgba(0, 128, 128, 0.25);
}

.hm-sol-img {
    aspect-ratio: 16 / 9.3;
    overflow: hidden;
}

.hm-sol-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hm-sol-card:hover .hm-sol-img img {
    transform: scale(1.05);
}

.hm-sol-body {
    padding: 22px clamp(18px, 1.6vw, 24px) 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hm-sol-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--hm-ink);
    margin-bottom: 6px;
}

.hm-sol-body h3 {
    font-size: clamp(19px, 1.5vw, 22px);
    font-weight: 700;
    color: var(--hm-primary);
    margin: 0 0 14px;
}

.hm-sol-body p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--hm-ink);
    margin: 0 0 26px;
}

.hm-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
}

.hm-link i {
    color: #ff7043;
    transition: transform 0.25s ease;
}

.hm-link:hover {
    color: var(--hm-primary);
}

.hm-link:hover i {
    transform: translateX(4px);
}

/* ---------- 6. ecosystem ---------- */
.hm-eco-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.hm-eco-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    color: var(--hm-ink);
}

.hm-eco-list li span {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hm-eco-list li span i {
    color: var(--hm-primary);
    font-size: 30px;
    width: 34px;
    text-align: center;
}

.hm-media-wrap {
    position: relative;
    height: 100%;
}

.hm-float-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--hm-primary);
    color: #ffffff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    max-width: calc(100% - 40px);
}

.hm-float-badge strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hm-float-badge span {
    font-size: 13px;
    opacity: 0.9;
}

/* ---------- 7. how it works ---------- */
.hm-bg-dark::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.hm-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.hm-steps::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

/* 5 equal columns with a 24px gap: first/last circle centres sit at (100% - 4*24px) / 10 */
.hm-steps::before,
.hm-steps-line {
    left: calc(10% - 9.6px);
    right: calc(10% - 9.6px);
}

.hm-step {
    text-align: center;
}

.hm-step-num {
    margin-left: auto;
    margin-right: auto;
}

.hm-steps-line {
    position: absolute;
    top: 19px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #5eead4, #ffffff);
    box-shadow: 0 0 12px rgba(94, 234, 212, 0.7);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 3s cubic-bezier(0.65, 0, 0.35, 1);
}

.hm-steps.is-visible .hm-steps-line {
    transform: scaleX(1);
}

.hm-steps-spark {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px 3px #5eead4, 0 0 24px 6px rgba(94, 234, 212, 0.6);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.hm-steps.is-visible .hm-steps-spark {
    animation: hmSpark 10s linear 3.4s infinite;
}

@keyframes hmSpark {
    0% {
        left: 0;
        opacity: 0;
    }

    6%,
    92% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.hm-step {
    --d: 0.4s;
    --i: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s ease var(--d), transform 1s cubic-bezier(0.16, 1, 0.3, 1) var(--d);
}

.hm-step:nth-of-type(2) { --d: 1s;    --i: 1; }
.hm-step:nth-of-type(3) { --d: 1.6s;  --i: 2; }
.hm-step:nth-of-type(4) { --d: 2.2s;  --i: 3; }
.hm-step:nth-of-type(5) { --d: 2.8s;  --i: 4; }

.hm-steps.is-visible .hm-step {
    opacity: 1;
    transform: none;
}

.hm-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--hm-primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transform: scale(0);
    transition: background 0.35s ease, color 0.35s ease;
}

.hm-steps.is-visible .hm-step-num {
    animation: hmPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d) forwards;
}

.hm-steps.is-visible .hm-step.is-active .hm-step-num {
    animation:
        hmPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d) forwards,
        hmRing 1.6s ease-out;
}

.hm-step-num i {
    font-size: 16px;
}

.hm-step:hover .hm-step-num,
.hm-step.is-active .hm-step-num {
    background: linear-gradient(135deg, #5eead4, var(--hm-primary));
    color: #ffffff;
}

.hm-step h4 {
    transition: color 0.3s ease;
}

.hm-step:hover h4,
.hm-step.is-active h4 {
    color: #5eead4;
}

@keyframes hmPop {
    from {
        transform: scale(0) rotate(-90deg);
    }

    to {
        transform: scale(1) rotate(0);
    }
}

@keyframes hmRing {
    0% {
        box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.8), 0 0 24px rgba(94, 234, 212, 0.9);
    }

    100% {
        box-shadow: 0 0 0 18px rgba(94, 234, 212, 0), 0 0 0 rgba(94, 234, 212, 0);
    }
}


.hm-step h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 6px;
}

.hm-step p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* ---------- 8. feature boxes (mobility) ---------- */
.hm-mobility {
    background: #dce5f5;
}

.hm-feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 26px;
}

.hm-feat {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 3px;
    padding: 12px 14px;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 600;
    color: var(--hm-primary);
    box-shadow: 0 3px 5px rgba(15, 42, 40, 0.16);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hm-feat:hover {
    transform: translateY(-2px);
}

/* ---------- 9. machine monitoring ---------- */
/* mobility + machine monitoring share one compact size */
.hm-split {
    padding-top: clamp(32px, 3.2vw, 48px);
    padding-bottom: clamp(32px, 3.2vw, 48px);
}

/* top-align both columns so every section title starts the same distance below the section edge */
.hm-split .row {
    align-items: flex-start !important;
}

.hm-split .hm-title {
    font-size: clamp(26px, 2.6vw, 38px);
    margin-bottom: 14px;
}

.hm-split-img {
    height: clamp(300px, 30vw, 440px);
    min-height: 0;
}

.hm-live-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hm-primary);
    margin: 20px 0 12px;
}

.hm-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: hmLive 1.8s ease-out infinite;
}

@keyframes hmLive {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hm-live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.hm-live-item {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--hm-line);
    border-radius: 10px;
    padding: 12px 8px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hm-live-item::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.hm-live-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hm-teal-soft);
    color: var(--hm-primary);
    font-size: 18px;
    transition: background 0.3s ease, color 0.3s ease;
}

.hm-live-item span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--hm-ink);
}


.hm-issues {
    background: #ffffff;
    padding: 20px clamp(16px, 5vw, 96px) clamp(28px, 3vw, 44px);
}

.hm-issues-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.hm-issue {
    background: #dce5f5;
    border-radius: 8px;
    padding: 10px 14px;
    min-height: 52px;
    text-align: center;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--hm-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(15, 42, 40, 0.14);
}

/* environment monitoring */
.hm-env-media {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 7 / 6;
    box-shadow: 0 10px 30px rgba(15, 42, 40, 0.1);
}

.hm-env-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hm-env-media:hover img {
    transform: scale(1.05);
}

.hm-env-lead {
    color: var(--hm-ink);
}

.hm-env-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin-top: 22px;
}

.hm-env-tags span {
    background: #ffffff;
    border-radius: 4px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hm-ink);
    box-shadow: 0 2px 5px rgba(15, 42, 40, 0.14);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hm-env-tags span:hover {
    background: var(--hm-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ---------- 10. environment ---------- */
.hm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hm-chip {
    font-size: 12px;
    font-weight: 500;
    color: var(--hm-ink);
    background: #ffffff;
    border: 1px solid var(--hm-line);
    border-radius: 6px;
    padding: 6px 12px;
}

.hm-chip.is-teal {
    background: var(--hm-teal-soft);
    border-color: rgba(0, 128, 128, 0.2);
    color: var(--hm-primary);
    font-weight: 600;
}

.hm-env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 42, 40, 0.06);
}

.hm-env-feature {
    padding: 16px clamp(12px, 1.2vw, 20px);
    border-right: 1px solid var(--hm-line);
}

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

.hm-env-feature i {
    display: inline-block;
    font-size: 32px;
    line-height: 1;
    color: var(--hm-primary);
    margin-bottom: 8px;
    transition: transform 0.35s ease;
}

.hm-env-feature h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--hm-primary);
    margin: 0 0 8px;
}

.hm-env-feature p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--hm-ink);
    margin: 0;
}

.hm-env-feature:hover i {
    transform: translateY(-4px) scale(1.08);
}

/* ---------- 11. ECU ---------- */
.hm-ecu-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hm-ecu-specs span {
    background: rgba(220, 229, 245, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 128, 128, 0.12);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hm-ink);
    box-shadow: 0 4px 14px rgba(15, 42, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-ecu-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px 40px;
    margin: 24px 0 0;
    padding: 0;
}

.hm-ecu-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--hm-ink);
}

.hm-ecu-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hm-primary);
    font-weight: 700;
}

.hm-ecu-specs span:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(15, 42, 40, 0.14);
}

/* Only the frame and panel backgrounds tilt; the photo is never transformed so it stays sharp. */
.hm-ecu-frame {
    --ecu-pad: clamp(12px, 1.4vw, 20px);
    position: relative;
    isolation: isolate;
    padding: var(--ecu-pad);
    max-width: 420px;
    margin: 14px auto;
}

/* Frame, panel and photo tilt left together and straighten on hover.
   The rotating layers ignore the pointer, so only the frame's fixed (unrotated) box
   triggers hover — this stops the on/off flicker when the cursor sits near an edge. */
.hm-ecu-frame::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 42, 40, 0.12);
    transform: rotate(-5deg);
    pointer-events: none;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.9s ease;
}

.hm-ecu-frame:hover::before {
    transform: rotate(0deg);
    box-shadow: 0 28px 50px rgba(15, 42, 40, 0.18);
}

.hm-ecu-panel {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dce5f5;
    border-radius: 14px;
    transform: rotate(-5deg);
    pointer-events: none;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-ecu-frame:hover .hm-ecu-panel {
    transform: rotate(0deg);
}

.hm-ecu-panel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6%;
    mix-blend-mode: multiply;
    filter: brightness(1.08) contrast(1.04);
}

/* ---------- 12. why microcil ---------- */
.hm-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--hm-line);
}

.hm-why-list li {
    display: grid;
    grid-template-columns: 36px minmax(0, 300px) 1fr;
    gap: 12px;
    align-items: start;
    padding: 9px 0;
    border-bottom: 1px solid var(--hm-line);
}

.hm-why-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--hm-primary);
}

.hm-why-list h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--hm-primary);
    margin: 0;
}

.hm-why-list p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--hm-text);
    margin: 0;
}

/* ---------- glowing CTA button ---------- */
.hm-glow-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 26px;
    border-radius: 9px;
    overflow: hidden;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    background: var(--hm-primary);
}

/* fill hover: a solid dark-teal layer sweeps in from the left */
.hm-glow-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #012b27;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-glow-btn:hover::before {
    transform: scaleX(1);
}

.hm-glow-btn span,
.hm-glow-btn i {
    position: relative;
}

.hm-glow-btn i {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.hm-glow-btn:hover i {
    transform: translateX(5px);
}



/* ---------- faq ---------- */
.hm-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hm-faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(15, 42, 40, 0.07);
    transition: box-shadow 0.3s ease;
}

.hm-faq-item[open] {
    box-shadow: 0 10px 24px rgba(0, 128, 128, 0.14);
}

.hm-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 600;
    color: var(--hm-ink);
    transition: color 0.25s ease;
}

.hm-faq-item summary::-webkit-details-marker {
    display: none;
}

.hm-faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--hm-primary);
    background-color: var(--hm-teal-soft);
    background-image:
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor);
    background-size: 12px 2px, 2px 12px;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.hm-faq-item[open] summary,
.hm-faq-item summary:hover {
    color: var(--hm-primary);
}

.hm-faq-item[open] summary::after {
    transform: rotate(45deg);
    background-color: var(--hm-primary);
    color: #ffffff;
}

.hm-faq-item p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--hm-text);
}

/* ---------- hover states ---------- */
.hm-stat-card,
.hm-live-item,
.hm-issue,
.hm-why-list li,
.hm-eco-list li,
.hm-chip,
.hm-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.hm-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 128, 128, 0.18);
}

.hm-live-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(15, 42, 40, 0.1);
}

.hm-issue:hover {
    transform: translateY(-3px);
}

.hm-why-list li {
    border-radius: 10px;
}

.hm-why-list li:hover {
    background: var(--hm-teal-soft);
    padding-left: 12px;
    padding-right: 12px;
}


.hm-chip:hover {
    background: var(--hm-primary);
    border-color: var(--hm-primary);
    color: #ffffff;
}

.hm-media-wrap,
.hm-section .col-lg-6 > .hm-img {
    overflow: hidden;
    border-radius: var(--hm-radius);
}

.hm-media-wrap:hover .hm-img,
.hm-img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(15, 42, 40, 0.16);
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .hm-issues-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 1fr;
        gap: 10px;
    }

    .hm-issue {
        grid-column: span 2;
    }

    .hm-issue:nth-child(4),
    .hm-issue:nth-child(5) {
        grid-column: span 3;
    }
}

@media (max-width: 991.98px) {
    .hm-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hm-steps::before {
        top: 20px;
        bottom: 20px;
        left: 19px;
        right: auto;
        width: 1px;
        height: auto;
    }

    .hm-steps-line {
        top: 20px;
        bottom: 20px;
        left: 19px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, #5eead4, #ffffff);
        transform: scaleY(0);
        transform-origin: center top;
    }

    .hm-steps.is-visible .hm-steps-line {
        transform: scaleY(1);
    }

    .hm-steps-spark {
        top: 0;
        left: 50%;
    }

    .hm-steps.is-visible .hm-steps-spark {
        animation-name: hmSparkV;
    }

    @keyframes hmSparkV {
        0% {
            top: 0;
            opacity: 0;
        }

        6%,
        92% {
            opacity: 1;
        }

        100% {
            top: 100%;
            opacity: 0;
        }
    }

    .hm-step {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 16px;
        padding-bottom: 22px;
    }

    .hm-step {
        text-align: left;
    }

    .hm-step-num {
        grid-row: span 2;
        align-self: start;
        margin: 0;
    }

    .hm-step h4 {
        margin-top: 11px;
    }

    .hm-img {
        min-height: 240px;
        max-height: 420px;
    }
}

@media (max-width: 991.98px) {
    .hm-what-grid {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hm-what-grid {
        grid-template-columns: 1fr;
    }

    .hm-env-grid {
        grid-template-columns: 1fr;
    }

    .hm-env-feature {
        padding: 22px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--hm-line);
    }

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

    .hm-ecu-frame {
        max-width: 420px;
    }

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

    .hm-issue,
    .hm-issue:nth-child(4) {
        grid-column: span 1;
        min-height: 56px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .hm-issue:nth-child(5) {
        grid-column: 1 / -1;
    }

    .hm-why-list li {
        grid-template-columns: 36px 1fr;
    }

    .hm-why-list p {
        grid-column: 2;
    }
}

@media (max-width: 575.98px) {
    .hm-industry {
        width: 150px;
    }

    .hm-industry i {
        font-size: 28px;
    }

    .hm-ecu-list {
        grid-template-columns: 1fr;
    }

    .hm-feat-grid {
        grid-template-columns: 1fr;
    }

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

    .hm-split-img {
        height: 240px;
    }

    .hm-float-badge {
        left: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }
}
