.home-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(15, 118, 110, 0.045), transparent 28%),
        #f5f6fa;
}

.hero {
    padding: 52px 0 30px;
}

.hero .container {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 24px;
    padding: 48px 52px;
    background: linear-gradient(135deg, #f3fffa 0%, #ffffff 62%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.hero .container::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 118, 110, 0.16) 0.8px, transparent 0.8px);
    background-size: 18px 18px;
    content: "";
    opacity: 0.24;
    pointer-events: none;
}

.hero-visual {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 49%;
    overflow: hidden;
    background-image: url("../images/hero/industrial-control-panel.jpg");
    background-position: 54% center;
    background-size: cover;
    pointer-events: none;
}

.hero-visual::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, #f7fffb 0%, rgba(247, 255, 251, 0.95) 18%, rgba(247, 255, 251, 0.5) 52%, rgba(247, 255, 251, 0.08) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 118, 110, 0.14));
    content: "";
}

.hero-content,
.hero-actions {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 820px;
}

.eyebrow {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 940px;
    margin-top: 14px;
    color: #1d2c29;
    font-size: clamp(2.25rem, 4vw, 3.35rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.hero-copy {
    max-width: 790px;
    margin-top: 17px;
    color: #586a64;
    font-size: 1.06rem;
    line-height: 1.7;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #71817b;
    font-size: 0.88rem;
}

.hero-note i {
    color: var(--primary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.hero-actions .btn {
    gap: 8px;
}

.content-section {
    padding: 28px 0 12px;
}

.content-section--companies {
    padding-top: 24px;
}

.content-section--articles {
    padding-bottom: 62px;
}

.home-page .section-head--accent {
    align-items: baseline;
    margin-bottom: 20px;
}

.home-page .section-head--accent h2 {
    flex-shrink: 0;
}

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

.home-company-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid #dce5df;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-company-card:hover {
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.home-company-card .company-logo-plain {
    width: 50px;
    height: 50px;
}

.home-company-card .company-brand,
.home-company-card .company-area {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .series-showcase {
    gap: 14px;
    margin-top: 16px;
}

.home-page .series-band {
    min-height: 102px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-page .series-band:hover {
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.home-page .series-band-image {
    width: 102px;
    border-radius: 11px 0 0 11px;
}

.series-company {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
}

.home-page .series-band-content h3 {
    font-weight: 600;
}

.home-article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-article-card {
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.055);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-article-card:hover {
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.home-article-media {
    height: 190px;
}

.home-article-card .card-body {
    min-height: 190px;
    padding: 22px;
}

.home-article-card--text .card-body {
    min-height: 210px;
    justify-content: flex-start;
    background:
        linear-gradient(145deg, rgba(239, 250, 246, 0.8), rgba(255, 255, 255, 0.96) 52%),
        #fff;
}

.article-kicker {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    color: var(--primary);
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home-article-card .card-body h3 {
    margin-top: 2px;
    color: #24342f;
    font-size: 1.18rem;
}

.home-article-card .card-body p {
    display: -webkit-box;
    overflow: hidden;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.55;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #60716b;
    font-size: 0.82rem;
    font-weight: 600;
}

.article-tag {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.09);
    color: var(--primary-strong);
    font-size: 0.74rem;
}

@media (max-width: 1180px) {
    .home-company-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero {
        padding-top: 38px;
    }

    .hero .container {
        padding: 40px 34px;
    }

    .hero-visual {
        width: 46%;
        opacity: 0.48;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 28px 0 20px;
    }

    .hero .container {
        padding: 34px 26px;
        border-radius: 20px;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.65rem);
    }

    .home-page .section-head--accent {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .home-page .section-head--accent p {
        margin-top: 0;
    }

    .home-article-grid {
        grid-template-columns: 1fr;
    }

    .home-article-card .card-body,
    .home-article-card--text .card-body {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .hero .container {
        padding: 29px 20px;
        border-radius: 17px;
    }

    .eyebrow {
        font-size: 0.68rem;
        line-height: 1.45;
    }

    .hero h1 {
        margin-top: 11px;
        font-size: clamp(1.85rem, 9.4vw, 2.25rem);
        line-height: 1.12;
    }

    .hero-copy {
        margin-top: 14px;
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .hero-note {
        align-items: flex-start;
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .content-section {
        padding-top: 22px;
    }

    .home-company-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .home-company-card {
        min-height: 74px;
        padding: 11px;
    }

    .home-page .series-band {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 88px;
    }

    .home-page .series-band-image {
        width: 88px;
    }

    .home-page .series-band-content {
        gap: 4px;
    }

    .home-page .series-band-content h3 {
        font-size: 0.92rem;
    }

    .home-page .series-band-content p {
        -webkit-line-clamp: 1;
    }

    .home-article-card .card-body {
        padding: 18px;
    }

    .home-article-media {
        height: 175px;
    }
}

@media (hover: none) {
    .home-company-card:hover,
    .home-page .series-band:hover,
    .home-article-card:hover {
        box-shadow: none;
        transform: none;
    }
}
