.li-section {
    --li-accent: #e31b23;
    --li-accent-dark: #bd141b;
    --li-heading: #1f2432;
    --li-text: #333946;
    --li-muted: #677083;
    --li-warm: #fff3f3;
    --li-soft: #fff8f8;
    --li-border: #eceef3;
    padding: 0px 0;
    overflow: hidden;
    background: #fff;
}

.li-theme-german {
    --li-accent: #dd0000;
    --li-accent-dark: #151515;
    --li-warm: #fff7df;
    --li-soft: #fffaf0;
}

.li-theme-japanese {
    --li-accent: #e31b23;
    --li-accent-dark: #1f2432;
    --li-warm: #fff1f2;
    --li-soft: #fff7f7;
}

.li-theme-mandarin {
    --li-accent: #d71920;
    --li-accent-dark: #24519a;
    --li-warm: #fff1f2;
    --li-soft: #fff8f8;
}

.li-section .container {
    max-width: 1160px;
}

.li-company-panel,
.li-tech-panel {
    position: relative;
    isolation: isolate;
}

.li-section-head {
    max-width: 930px;
    margin-bottom: 28px;
}

.li-section-head h2,
.li-tech-head h2 {
    margin: 0 0 16px;
    color: var(--li-heading);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: 0;
}

.li-section-head h2::first-letter {
    color: var(--li-accent);
}

.li-section-head p,
.li-company-note,
.li-tech-head p {
    margin: 0;
    color: var(--li-text);
    font-size: 17px;
    line-height: 1.68;
}

.li-logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 34px auto;
}

.li-logo-card {
    width: min(100%, 176px);
    flex: 0 1 176px;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid var(--li-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 36, 50, .06);
    animation: liFadeUp .55s ease both;
    animation-delay: calc(var(--li-delay) * 70ms);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.li-logo-card:hover {
    transform: translateY(-6px);
    border-color: var(--li-accent);
    box-shadow: 0 18px 34px rgba(31, 36, 50, .14);
}

.li-logo-card img {
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.li-company-note {
    max-width: 980px;
    margin-top: 28px;
}

.li-tech-panel {
    width: 100vw;
    margin-top: 40px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px max(18px, calc((100vw - 1160px) / 2 + 18px));
    border: 1px solid #ffe3e5;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 6% 18%, rgba(227, 27, 35, .07) 0 86px, transparent 87px),
        radial-gradient(circle at 96% 8%, rgba(248, 198, 47, .1) 0 76px, transparent 77px),
        var(--li-warm);
}

.li-section-technology-only .li-tech-panel {
    margin-top: 0;
}

.li-tech-panel::before,
.li-tech-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 94px;
    height: 94px;
    background-image: radial-gradient(var(--li-accent) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: .18;
}

.li-tech-panel::before {
    left: 24px;
    top: 20px;
}

.li-tech-panel::after {
    right: 24px;
    bottom: 24px;
}

.li-tech-head {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}

.li-tech-head span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--li-accent);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.li-tech-head span::before,
.li-tech-head span::after {
    content: "";
    width: 38px;
    height: 1px;
    background: var(--li-accent);
}

.li-tech-head h2 strong {
    color: var(--li-accent);
    font-weight: 900;
}

.li-tech-head p + p {
    margin-top: 8px;
}

.li-tech-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.li-tech-card {
    min-height: 184px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 12px 16px;
    border: 1px solid rgba(227, 27, 35, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    text-align: center;
    box-shadow: 0 12px 28px rgba(31, 36, 50, .07);
    animation: liFloat 3.8s ease-in-out infinite;
    animation-delay: calc(var(--li-delay) * 120ms);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.li-tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--li-accent);
    box-shadow: 0 20px 36px rgba(31, 36, 50, .13);
}

.li-tech-icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border: 1px solid rgba(227, 27, 35, .12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .95) 0 18px, transparent 19px),
        linear-gradient(145deg, #ffffff 0%, var(--li-soft) 100%);
    box-shadow: inset 0 -8px 18px rgba(227, 27, 35, .06), 0 12px 24px rgba(31, 36, 50, .08);
}

.li-tech-icon i {
    color: var(--li-accent);
    font-size: 34px;
    line-height: 1;
}

.li-tech-card h3 {
    margin: 0 0 6px;
    color: var(--li-heading);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.li-tech-card p {
    margin: 0;
    color: var(--li-muted);
    font-size: 11px;
    line-height: 1.35;
}

@keyframes liFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes liFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 1199px) {
    .li-tech-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .li-section {
        padding: 52px 0 58px;
    }

    .li-section-head,
    .li-company-note {
        text-align: center;
    }

    .li-section-head p,
    .li-company-note,
    .li-tech-head p {
        font-size: 15px;
    }

    .li-logo-card {
        flex-basis: calc(50% - 5px);
        min-height: 84px;
        padding: 12px;
    }

    .li-logo-card img {
        max-height: 48px;
    }

    .li-tech-panel {
        margin-top: 42px;
        padding: 34px 12px 28px;
    }

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

@media (max-width: 430px) {
    .li-tech-grid {
        grid-template-columns: 1fr;
    }

    .li-logo-card {
        flex-basis: 100%;
    }
}
