﻿/* Homepage redesign */

#hero {
    color: #ffffff;
    margin: 0;
    position: relative;
    text-align: left;
}

.slider {
    background: #123249;
    height: clamp(500px, 60vh, 640px);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    position: absolute;
    z-index: 3;
}

.hero-particles {
    inset: 0;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.5) 38%, #000 74%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.5) 38%, #000 74%);
    mix-blend-mode: screen;
    opacity: 0.48;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
    will-change: transform;
}

.slides.no-transition {
    transition: none;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    min-width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-image {
    display: block;
    filter: saturate(0.95) contrast(1.04);
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    width: 100%;
}

.diagonal-block {
    background:
        linear-gradient(105deg, rgba(10, 31, 48, 0.92) 0%, rgba(10, 31, 48, 0.78) 39%, rgba(10, 31, 48, 0.2) 72%, rgba(10, 31, 48, 0.1) 100%),
        linear-gradient(0deg, rgba(10, 31, 48, 0.46), rgba(10, 31, 48, 0.08));
    inset: 0;
    position: absolute;
    z-index: 1;
}

.diagonal-block::before {
    background: linear-gradient(135deg, rgba(17, 126, 99, 0.9), rgba(17, 126, 99, 0));
    clip-path: polygon(0 0, 18% 0, 0 54%);
    content: "";
    inset: 0;
    opacity: 0.72;
    position: absolute;
}

.caption {
    color: #ffffff;
    left: clamp(20px, 6vw, 96px);
    max-width: min(760px, calc(100% - 40px));
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: min(58vw, 760px);
    z-index: 4;
}

.hero-kicker,
.section-kicker {
    color: var(--color-accent-warm);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.caption h1,
.caption h2 {
    color: #ffffff;
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.02;
    margin: 0 0 22px;
    max-width: 880px;
    overflow-wrap: break-word;
    text-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.caption p:not(.hero-kicker) {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.65;
    margin: 0;
    max-width: 650px;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.hero-actions,
.home-cta-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    text-decoration: none;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.hero-button:hover,
.hero-button:focus-visible {
    transform: translateY(-2px);
}

.hero-button-primary {
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.hero-button-primary:hover,
.hero-button-primary:focus-visible {
    background: var(--color-accent-hover);
    color: #ffffff;
}

.hero-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.44);
    color: #ffffff;
}

.hero-button-secondary:hover,
.hero-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.controls {
    align-items: center;
    bottom: clamp(20px, 4vw, 46px);
    display: flex;
    gap: 10px;
    left: auto;
    position: absolute;
    right: clamp(20px, 6vw, 96px);
    z-index: 5;
}

.indicators {
    display: flex;
    gap: 8px;
    margin: 0;
}

.prev,
.next {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    width: 42px;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.62);
    transform: translateY(-1px);
}

.prev::before,
.next::before {
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    content: "";
    display: inline-block;
    height: 10px;
    width: 10px;
}

.prev::before {
    transform: rotate(135deg);
}

.next::before {
    transform: rotate(-45deg);
}

.dot {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    cursor: pointer;
    height: 10px;
    margin: 16px 0;
    transition: background 0.2s ease, width 0.2s ease;
    width: 10px;
}

.dot.active {
    background: var(--color-accent-warm);
    box-shadow: 0 0 0 5px rgba(53, 209, 154, 0.2);
    transform: none;
    width: 34px;
}

#block {
    animation: energyLine 8s ease-in-out infinite;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent) 52%, #c9822f);
    background-size: 220% 100%;
    height: 6px;
    margin: 0;
    width: 100%;
}

@keyframes energyLine {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.quick-access {
    background: #ffffff;
    border-bottom: 1px solid #dce7ed;
    box-shadow: 0 18px 40px rgba(21, 49, 69, 0.08);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    position: relative;
    z-index: 5;
}

.quick-access a {
    align-items: center;
    background: #ffffff;
    color: var(--color-text);
    display: flex;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.28;
    min-height: 74px;
    padding: 14px 18px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-access a:hover,
.quick-access a:focus-visible {
    background: #edf7f4;
    color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.home-stats {
    background: var(--color-header);
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.home-stat {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    min-height: 150px;
    overflow: hidden;
    padding: clamp(24px, 3vw, 36px);
    position: relative;
    transition: background 0.22s ease, transform 0.22s ease;
}

.home-stat::before {
    background: linear-gradient(180deg, rgba(53, 209, 154, 0.38), transparent);
    content: "";
    inset: 0 auto 0 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.22s ease;
    width: 4px;
}

.home-stat:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.home-stat:hover::before {
    opacity: 1;
}

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

.home-stat strong {
    color: var(--color-accent-warm);
    display: block;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
    margin-bottom: 10px;
}

.home-stat span {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.directions-section,
.home-engineering,
.seo-section,
.faq-section,
.home-cta {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1240px;
    padding: clamp(58px, 7vw, 96px) 20px;
}

#company-directions {
    background: transparent;
    backdrop-filter: none;
    box-sizing: border-box;
    max-width: none;
    padding-left: clamp(22px, 5vw, 96px);
    padding-right: clamp(22px, 5vw, 96px);
    width: 100%;
}

.section-heading {
    margin: 0 auto 36px;
    max-width: 920px;
    text-align: center;
}

.section-title,
.section-heading h2,
.home-engineering-copy h2,
.seo-section h2,
.home-cta h2 {
    color: var(--color-text);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0;
}

.section-heading p:not(.section-kicker),
.home-engineering-copy p,
.home-cta p {
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 18px auto 0;
    max-width: 820px;
}

#company-directions .section-heading {
    max-width: 1180px;
}

#company-directions .section-title {
    font-size: clamp(30px, 3vw, 40px);
    margin-inline: auto;
    max-width: 1120px;
    overflow-wrap: break-word;
}

#company-directions .directions-container {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1680px;
    width: 100%;
}

#company-directions .direction-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 249, 0.96));
    border: 1px solid #d7e6ed;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(21, 49, 69, 0.1);
    box-sizing: border-box;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 520px;
    max-width: none;
    overflow: hidden;
    padding: 22px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    width: 100%;
}

#company-directions .direction-card::before {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent));
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

#company-directions .direction-card:hover,
#company-directions .direction-card:focus-visible {
    border-color: #9fc9ba;
    box-shadow: 0 26px 58px rgba(21, 49, 69, 0.16);
    transform: translateY(-4px);
}

.direction-card-copy span,
.engineering-list span {
    color: var(--color-accent-hover);
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

#company-directions .direction-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

#company-directions .direction-card h3 {
    color: var(--color-text);
    display: block;
    font-size: clamp(17px, 1.25vw, 21px);
    hyphens: auto;
    line-height: 1.12;
    margin: 0 0 14px;
    min-height: 0;
    overflow-wrap: anywhere;
    text-align: left;
}

#company-directions .direction-card p {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: break-word;
}

#company-directions .direction-card strong,
.text-link {
    color: var(--color-accent-hover);
    display: inline-flex;
    font-weight: 800;
    margin-top: auto;
    padding-top: 18px;
    text-decoration: none;
}

#company-directions .direction-card .image-container {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: #ffffff;
    border: 1px solid #dce9ef;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    height: auto;
    justify-content: center;
    order: -1;
    overflow: hidden;
    max-height: 210px;
    min-height: 0;
    padding: 10px;
    width: 100%;
}

#company-directions .direction-card .image-container img {
    border-radius: 6px;
    box-shadow: none;
    display: block;
    height: 100%;
    margin: 0;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.28s ease;
    width: 100%;
}

#company-directions .direction-card:hover .image-container img,
#company-directions .direction-card:focus-visible .image-container img {
    transform: scale(1.035);
}

.home-engineering {
    align-items: start;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
}

.home-engineering-copy {
    position: sticky;
    top: 92px;
}

.home-engineering-copy p {
    margin-left: 0;
}

.engineering-list {
    display: grid;
    gap: 16px;
}

.engineering-list article,
.faq-list details {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d7e6ed;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(21, 49, 69, 0.09);
    padding: 26px;
}

.engineering-list h3,
.seo-grid h3 {
    color: var(--color-text);
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.engineering-list p,
.seo-grid p,
.faq-list p {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.seo-section {
    border-top: 0;
    padding-top: clamp(48px, 6vw, 78px);
}

.seo-section > div:first-child {
    align-items: start;
    display: grid;
    gap: clamp(24px, 5vw, 70px);
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    margin-bottom: clamp(28px, 4vw, 44px);
}

.seo-section .section-kicker {
    line-height: 1.35;
    max-width: 280px;
}

.seo-section h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    letter-spacing: 0;
    max-width: 840px;
}

.seo-grid {
    border-top: 1px solid #d7e6ed;
    counter-reset: seo;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-grid article {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d7e6ed;
    border-radius: 0;
    box-shadow: none;
    counter-increment: seo;
    padding: 24px 0 26px;
}

.seo-grid article::before {
    color: var(--color-accent-warm);
    content: counter(seo, decimal-leading-zero);
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
}

.seo-grid h3 {
    font-size: clamp(19px, 1.7vw, 23px);
    margin-bottom: 12px;
}

.seo-grid p {
    font-size: 15px;
    line-height: 1.7;
}

@media (min-width: 1081px) {
    .seo-grid article:not(:last-child) {
        border-right: 1px solid #d7e6ed;
        padding-right: 24px;
    }

    .seo-grid article + article {
        padding-left: 24px;
    }
}

.faq-section {
    padding-top: 44px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    padding: 0;
}

.faq-list summary {
    color: var(--color-text);
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    list-style: none;
    padding: 22px 26px;
}

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

.faq-list summary::after {
    color: var(--color-accent-hover);
    content: "+";
    float: right;
    font-size: 24px;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list p {
    border-top: 1px solid #dce7ed;
    padding: 20px 26px 24px;
}

.home-cta {
    align-items: center;
    background:
        linear-gradient(105deg, rgba(13, 42, 66, 0.94), rgba(13, 42, 66, 0.82)),
        url("/assets/images/index/slide2.png") center / cover;
    border-radius: 0;
    color: #ffffff;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: clamp(58px, 7vw, 96px);
    max-width: none;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
}

.home-cta h2,
.home-cta p {
    color: #ffffff;
    max-width: 790px;
}

.home-cta p {
    color: rgba(255, 255, 255, 0.82);
    margin-left: 0;
}

.home-cta-actions {
    justify-content: flex-end;
    margin-top: 0;
}

@media (max-width: 1080px) {
    #company-directions .directions-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-grid {
        grid-template-columns: 1fr;
    }

    .quick-access {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .slider {
        height: clamp(540px, 76vh, 660px);
    }

    .caption {
        top: 46%;
        width: calc(100% - 40px);
    }

    .caption h1,
    .caption h2 {
        font-size: clamp(34px, 9vw, 50px);
    }

    .home-stats,
    .home-engineering,
    .seo-section > div:first-child,
    .home-cta {
        grid-template-columns: 1fr;
    }

    .home-engineering-copy {
        position: static;
    }

    .home-cta-actions {
        justify-content: flex-start;
    }

    .seo-section h2 {
        font-size: clamp(30px, 8vw, 42px);
    }
}

@media (max-width: 640px) {
    .slider {
        height: 640px;
    }

    .hero-particles {
        -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.38) 42%, #000 100%);
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.38) 42%, #000 100%);
        opacity: 0.35;
    }

    .caption {
        left: 18px;
        max-width: calc(100% - 36px);
        top: 45%;
        width: calc(100% - 36px);
    }

    .caption p:not(.hero-kicker) {
        font-size: 16px;
    }

    .caption h1,
    .caption h2 {
        font-size: clamp(30px, 8vw, 36px);
    }

    #company-directions .section-title {
        font-size: 24px;
        line-height: 1.14;
        max-width: 100%;
    }

    #company-directions .section-heading {
        max-width: 100%;
        width: 100%;
    }

    #company-directions .section-heading p:not(.section-kicker) {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
    }

    #company-directions .direction-card {
        min-height: 0;
        padding: 20px;
    }

    #company-directions .image-container {
        aspect-ratio: 16 / 10;
    }

    .hero-actions,
    .home-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }

    .controls {
        left: 18px;
        right: auto;
    }

    .quick-access,
    .home-stats,
    #company-directions .directions-container,
    .seo-grid {
        grid-template-columns: 1fr;
    }

    .quick-access a {
        min-height: 58px;
    }

    .home-stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-right: 0;
        min-height: 0;
    }

    #company-directions .direction-card,
    #company-directions .direction-card-featured {
        grid-column: auto;
        min-height: 0;
    }

    .directions-section,
    .home-engineering,
    .seo-section,
    .faq-section,
    .home-cta {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* SPBSEZ-inspired homepage layer */
body:has(#hero) main {
    background: transparent;
}

#hero {
    isolation: isolate;
}

.slider {
    background: var(--ez-ink);
    height: 100svh;
    max-height: 860px;
    min-height: 720px;
}

.slider::before {
    background:
        radial-gradient(circle at 76% 12%, rgba(134, 119, 255, 0.34), transparent 32%),
        radial-gradient(circle at 8% 28%, rgba(73, 214, 194, 0.2), transparent 30%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.slider::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 108px 108px;
    opacity: 0.22;
}

.hero-image {
    filter: saturate(0.85) contrast(1.05);
    transform: scale(1.03);
}

.diagonal-block {
    background:
        linear-gradient(90deg, rgba(13, 12, 34, 0.9) 0%, rgba(13, 12, 34, 0.72) 38%, rgba(13, 12, 34, 0.42) 70%, rgba(13, 12, 34, 0.2) 100%),
        linear-gradient(180deg, rgba(13, 12, 34, 0.28), rgba(13, 12, 34, 0.62));
}

.diagonal-block::before {
    background: linear-gradient(135deg, rgba(73, 214, 194, 0.34), rgba(134, 119, 255, 0));
    clip-path: polygon(0 0, 24% 0, 0 62%);
    opacity: 1;
}

.hero-particles {
    opacity: 0.44;
}

.caption {
    left: clamp(30px, 8vw, 108px);
    max-width: min(1040px, calc(100% - 80px));
    top: 54%;
    width: min(76vw, 1040px);
}

.caption .hero-kicker {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 28px;
    text-transform: none;
}

.caption h1,
.caption h2 {
    color: #ffffff;
    font-family: var(--site-font-family);
    font-size: 3.9rem;
    font-weight: 400;
    line-height: 1.02;
    margin-bottom: 30px;
    max-width: 1120px;
    text-shadow: 0 28px 58px rgba(0, 0, 0, 0.34);
}

.caption p:not(.hero-kicker) {
    color: rgba(255, 255, 255, 0.58);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.45;
    max-width: 980px;
    text-shadow: none;
}

.hero-actions {
    gap: 0;
    margin-top: 34px;
}

.hero-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    min-height: 56px;
    padding: 0 28px;
}

.hero-button + .hero-button {
    border-left: 0;
}

.hero-button-primary,
.hero-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
    box-shadow: none;
}

.hero-button:hover,
.hero-button:focus-visible,
.hero-button-primary:hover,
.hero-button-primary:focus-visible,
.hero-button-secondary:hover,
.hero-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.62);
    color: #ffffff;
    transform: none;
}

.controls {
    bottom: 86px;
}

.prev,
.next {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    height: 54px;
    width: 54px;
}

.dot {
    background: rgba(255, 255, 255, 0.36);
}

.dot.active {
    background: #ffffff;
    box-shadow: none;
}

#block {
    background: linear-gradient(90deg, transparent, var(--ez-gold), var(--ez-teal), transparent);
    height: 2px;
}

.quick-access {
    background: rgba(12, 13, 31, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
    margin-top: -78px;
    z-index: 8;
}

@supports (backdrop-filter: blur(18px)) {
    .quick-access {
        backdrop-filter: blur(18px);
        background: rgba(12, 13, 31, 0.46);
    }
}

.quick-access a {
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    font-weight: 700;
    min-height: 78px;
}

.quick-access a:last-child {
    border-right: 0;
}

.quick-access a:hover,
.quick-access a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: none;
}

.home-stats {
    background: rgba(12, 13, 31, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-stat {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    min-height: 166px;
    padding: 34px clamp(24px, 4vw, 52px);
}

.home-stat::before {
    background: linear-gradient(180deg, var(--ez-accent), var(--ez-teal));
}

.home-stat strong {
    color: #ffffff;
    font-family: var(--site-font-family);
    font-size: 3.25rem;
    font-weight: 700;
}

.home-stat span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 1rem;
    font-weight: 600;
}

.directions-section,
.home-engineering,
.seo-section,
.faq-section {
    max-width: 1380px;
    padding-bottom: 112px;
    padding-top: 112px;
}

#company-directions {
    padding-top: 122px;
}

.section-heading {
    margin-bottom: 54px;
    max-width: 1080px;
}

.section-kicker {
    color: var(--ez-accent);
    font-size: 0.86rem;
    font-weight: 800;
}

.section-title,
.section-heading h2,
.home-engineering-copy h2,
.seo-section h2,
.home-cta h2 {
    color: var(--ez-text);
    font-family: var(--site-font-family);
    font-size: 3.4rem;
    font-weight: 500;
    line-height: 1.02;
}

.section-heading p:not(.section-kicker),
.home-engineering-copy p,
.home-cta p {
    color: var(--ez-muted);
    font-size: 1.18rem;
}

#company-directions .directions-container {
    gap: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

#company-directions .direction-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--ez-line-dark);
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 560px;
    padding: 26px;
}

#company-directions .direction-card:first-child {
    border-left: 1px solid var(--ez-line-dark);
}

#company-directions .direction-card::before {
    background: linear-gradient(90deg, var(--ez-accent), var(--ez-teal));
    height: 2px;
}

#company-directions .direction-card:hover,
#company-directions .direction-card:focus-visible {
    border-color: rgba(134, 119, 255, 0.34);
    box-shadow: 0 30px 76px rgba(16, 17, 38, 0.12);
    transform: translateY(-6px);
}

.direction-card-copy span,
.engineering-list span {
    color: var(--ez-accent);
}

#company-directions .direction-card h3,
.engineering-list h3,
.seo-grid h3 {
    color: var(--ez-text);
    font-family: var(--site-font-family);
    font-weight: 600;
}

#company-directions .direction-card p,
.engineering-list p,
.seo-grid p,
.faq-list p {
    color: var(--ez-muted);
}

#company-directions .direction-card .image-container {
    background: #eef1f7;
    border: 1px solid var(--ez-line-dark);
    border-radius: 0;
    max-height: 220px;
}

.home-engineering {
    border-top: 1px solid var(--ez-line-dark);
}

.engineering-list article,
.faq-list details {
    border-radius: 0;
    box-shadow: none;
}

.seo-grid {
    border-color: var(--ez-line-dark);
}

.seo-grid article {
    border-color: var(--ez-line-dark);
}

.seo-grid article::before {
    color: var(--ez-accent);
}

.home-cta {
    background:
        linear-gradient(90deg, rgba(13, 12, 34, 0.94), rgba(13, 12, 34, 0.72)),
        url("/assets/images/index/slide2.png") center / cover;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 0;
    padding-bottom: 96px;
    padding-top: 96px;
}

@media (max-width: 1180px) {
    .caption h1,
    .caption h2 {
        font-size: 3.25rem;
    }

    .caption p:not(.hero-kicker) {
        font-size: 1.35rem;
    }

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

    #company-directions .direction-card:nth-child(odd) {
        border-left: 1px solid var(--ez-line-dark);
    }
}

@media (max-width: 760px) {
    .slider {
        height: 760px;
        max-height: none;
        min-height: 720px;
    }

    .caption {
        left: 20px;
        max-width: calc(100% - 40px);
        top: 57%;
        width: calc(100% - 40px);
    }

    .caption .hero-kicker {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .caption h1,
    .caption h2 {
        font-size: 2.12rem;
        line-height: 1.05;
        margin-bottom: 22px;
    }

    .caption p:not(.hero-kicker) {
        font-size: 1rem;
        line-height: 1.48;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 24px;
    }

    .hero-button {
        min-height: 52px;
    }

    .hero-button + .hero-button {
        border-left: 1px solid rgba(255, 255, 255, 0.34);
    }

    .controls {
        bottom: 24px;
    }

    .quick-access {
        margin-top: 0;
    }

    .quick-access a {
        border-right: 0;
        min-height: 62px;
    }

    .home-stat {
        min-height: 0;
    }

    .section-title,
    .section-heading h2,
    .home-engineering-copy h2,
    .seo-section h2,
    .home-cta h2 {
        font-size: 2.15rem;
    }
}

/* Refined homepage scale */
.slider {
    max-height: 780px;
    min-height: 640px;
}

.slider::before {
    background:
        radial-gradient(circle at 76% 12%, rgba(15, 111, 159, 0.2), transparent 30%),
        radial-gradient(circle at 8% 28%, rgba(22, 135, 98, 0.16), transparent 28%);
}

.diagonal-block {
    background:
        linear-gradient(90deg, rgba(10, 31, 48, 0.88) 0%, rgba(10, 31, 48, 0.72) 40%, rgba(10, 31, 48, 0.36) 72%, rgba(10, 31, 48, 0.12) 100%),
        linear-gradient(180deg, rgba(10, 31, 48, 0.18), rgba(10, 31, 48, 0.5));
}

.caption {
    top: 52%;
    width: min(70vw, 980px);
}

.caption .hero-kicker {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 500;
    margin-bottom: 18px;
}

.caption h1,
.caption h2 {
    color: #ffffff !important;
    font-family: var(--site-font-family);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 22px;
}

.caption p:not(.hero-kicker) {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.55;
    max-width: 760px;
}

.hero-button {
    border-radius: 6px;
    font-size: 15px;
    min-height: 48px;
}

.hero-button-primary {
    background: var(--site-accent, var(--color-accent));
}

.hero-button-primary:hover,
.hero-button-primary:focus-visible {
    background: var(--site-accent-strong, var(--color-accent-hover));
}

.section-title,
.section-heading h2,
.home-engineering-copy h2,
.seo-section h2,
.home-cta h2 {
    color: var(--site-ink, var(--color-text));
    font-family: var(--site-font-family);
    font-size: clamp(26px, 2.7vw, 38px);
    font-weight: 600;
    line-height: 1.14;
}

.section-heading p:not(.section-kicker),
.home-engineering-copy p,
.home-cta p {
    color: var(--site-muted, var(--color-muted));
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.65;
}

.section-kicker {
    color: var(--site-accent, var(--color-accent));
}

.home-stat strong {
    font-size: clamp(30px, 3.3vw, 46px);
}

#company-directions {
    padding-top: clamp(72px, 7vw, 104px);
}

#company-directions .section-title {
    font-size: clamp(25px, 2.4vw, 34px);
}

#company-directions .direction-card {
    border-radius: 6px;
    min-height: 500px;
}

#company-directions .direction-card::before,
.home-stat::before,
.seo-grid article::before {
    color: var(--site-accent, var(--color-accent));
}

#company-directions .direction-card::before {
    background: linear-gradient(90deg, var(--site-accent, var(--color-accent)), var(--site-green, var(--color-accent)));
}

.home-stat::before {
    background: linear-gradient(180deg, var(--site-accent, var(--color-accent)), var(--site-green, var(--color-accent)));
}

#block {
    background: linear-gradient(90deg, transparent, var(--site-accent, var(--color-accent)), var(--site-green, var(--color-accent)), transparent);
}

.direction-card-copy span,
.engineering-list span {
    color: var(--site-accent, var(--color-accent));
}

.quick-access,
.home-stats {
    background: rgba(12, 31, 47, 0.9);
}

.quick-access a {
    font-size: 15px;
}

.home-cta {
    background:
        linear-gradient(90deg, rgba(10, 31, 48, 0.95), rgba(10, 31, 48, 0.76)),
        url("/assets/images/index/slide2.png") center / cover;
}

.home-cta .section-kicker,
.home-cta h2,
.home-cta p {
    color: #ffffff !important;
}

.home-cta .section-kicker {
    color: rgba(255, 255, 255, 0.72) !important;
}

.home-cta p {
    color: rgba(255, 255, 255, 0.78) !important;
}

.home-cta h2 {
    font-size: clamp(26px, 2.6vw, 36px);
}

@media (max-width: 1180px) {
    .caption h1,
    .caption h2 {
        font-size: clamp(32px, 4.8vw, 46px);
    }
}

@media (max-width: 760px) {
    .slider {
        min-height: 680px;
    }

    .caption {
        top: 54%;
    }

    .caption h1,
    .caption h2 {
        font-size: clamp(29px, 8vw, 36px);
    }

    .section-title,
    .section-heading h2,
    .home-engineering-copy h2,
    .seo-section h2,
    .home-cta h2 {
        font-size: clamp(24px, 6.4vw, 31px);
    }
}

/* Slightly lighter homepage slides */
.hero-image {
    filter: brightness(1.05) saturate(0.9) contrast(1.02);
}

.diagonal-block {
    background:
        linear-gradient(90deg, rgba(10, 31, 48, 0.82) 0%, rgba(10, 31, 48, 0.66) 40%, rgba(10, 31, 48, 0.32) 72%, rgba(10, 31, 48, 0.1) 100%),
        linear-gradient(180deg, rgba(10, 31, 48, 0.14), rgba(10, 31, 48, 0.44));
}

/* Brighter slides and clearer point connections */
.hero-image {
    filter: brightness(1.12) saturate(0.94) contrast(1.01);
}

.diagonal-block {
    background:
        linear-gradient(90deg, rgba(10, 31, 48, 0.74) 0%, rgba(10, 31, 48, 0.56) 40%, rgba(10, 31, 48, 0.24) 72%, rgba(10, 31, 48, 0.08) 100%),
        linear-gradient(180deg, rgba(10, 31, 48, 0.1), rgba(10, 31, 48, 0.34));
}

.hero-particles {
    opacity: 0.72;
}

/* Commercial homepage direction */
body:has(#hero) {
    --home-ink: var(--color-header);
    --home-text: var(--color-text);
    --home-muted: var(--color-muted);
    --home-line: rgba(16, 24, 32, 0.14);
    --home-soft: #ebf0f3;
    --home-card: #ffffff;
    --home-accent: var(--color-accent);
    --home-green: var(--color-accent);
    --home-amber: var(--color-accent);
    background: #f5f7f8;
    font-family: var(--site-font-family);
}

body:has(#hero) main {
    background:
        linear-gradient(180deg, #f5f7f8 0, #ffffff 720px, #f1f5f7 100%);
}

.slider {
    background: var(--home-ink);
    height: clamp(650px, 82svh, 780px);
    max-height: 780px;
    min-height: 650px;
}

.slider::before {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.48), rgba(16, 24, 32, 0.08) 58%, rgba(16, 24, 32, 0.18)),
        linear-gradient(180deg, rgba(16, 24, 32, 0.04), rgba(16, 24, 32, 0.28));
    opacity: 0.86;
}

.slider::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.2;
}

.hero-image {
    filter: brightness(1.24) saturate(1.02) contrast(0.98);
}

.diagonal-block {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.54) 0%, rgba(16, 24, 32, 0.36) 42%, rgba(16, 24, 32, 0.1) 74%, rgba(16, 24, 32, 0.02) 100%),
        linear-gradient(180deg, rgba(16, 24, 32, 0.04), rgba(16, 24, 32, 0.2));
}

.diagonal-block::before {
    background: linear-gradient(135deg, rgba(199, 116, 45, 0.22), rgba(22, 95, 153, 0));
    clip-path: polygon(0 0, 18% 0, 0 52%);
    opacity: 0.72;
}

.caption {
    left: clamp(24px, 6vw, 92px);
    max-width: 720px;
    top: 50%;
    width: min(52vw, 720px);
}

.caption .hero-kicker {
    color: var(--color-accent-warm);
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.caption h1,
.caption h2 {
    color: #ffffff !important;
    font-family: var(--site-font-family);
    font-size: clamp(36px, 4.35vw, 54px);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 22px;
    max-width: 720px;
    text-shadow: 0 16px 34px rgba(0, 0, 0, 0.46);
}

.caption p:not(.hero-kicker) {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.55;
    max-width: 650px;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.hero-actions {
    gap: 10px;
    margin-top: 28px;
}

.hero-button {
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    min-height: 46px;
    padding: 0 20px;
}

.hero-button + .hero-button {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-button-primary {
    background: var(--home-green);
    border-color: var(--home-green);
    box-shadow: 0 18px 42px rgba(169, 92, 26, 0.34);
}

.hero-button-primary:hover,
.hero-button-primary:focus-visible {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.hero-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.34);
}

.hero-sales-panel {
    background: rgba(16, 24, 32, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    color: #ffffff;
    padding: 22px;
    position: absolute;
    right: clamp(24px, 5.5vw, 86px);
    top: 50%;
    transform: translateY(-50%);
    width: min(360px, 29vw);
    z-index: 5;
}

.hero-sales-panel[hidden] {
    display: none !important;
}

@supports (backdrop-filter: blur(16px)) {
    .hero-sales-panel {
        backdrop-filter: blur(16px);
        background: rgba(16, 24, 32, 0.46);
    }
}

.hero-sales-panel__header {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.hero-sales-panel__header span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-sales-panel__header strong {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.hero-sales-panel p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.hero-sales-panel__links {
    display: grid;
    gap: 8px;
}

.hero-sales-panel__links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #ffffff;
    display: grid;
    font-size: 14px;
    font-weight: 700;
    gap: 12px;
    grid-template-columns: 36px 1fr;
    min-height: 54px;
    padding: 8px 12px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-sales-panel__links a:hover,
.hero-sales-panel__links a:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-sales-panel__links span {
    color: var(--color-accent-warm);
    font-size: 12px;
    font-weight: 800;
}

.controls {
    bottom: 38px;
}

#block {
    background: linear-gradient(90deg, transparent, var(--home-accent), var(--home-green), transparent);
    height: 2px;
}

.object-solutions {
    box-sizing: border-box;
    display: grid;
    gap: clamp(26px, 4vw, 54px);
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1320px;
    padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 40px) clamp(42px, 6vw, 72px);
}

.object-solutions__intro h2 {
    color: var(--home-ink);
    font-family: var(--site-font-family);
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 600;
    line-height: 1.12;
    margin: 0;
}

.object-solutions__intro p:not(.section-kicker) {
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 18px 0 0;
}

.object-solutions__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.object-card {
    background: var(--home-card);
    border: 1px solid var(--home-line);
    border-radius: 8px;
    box-sizing: border-box;
    color: var(--home-text);
    min-height: 214px;
    padding: 22px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.object-card:hover,
.object-card:focus-visible {
    border-color: rgba(15, 111, 159, 0.34);
    box-shadow: 0 22px 56px rgba(16, 38, 56, 0.1);
    transform: translateY(-3px);
}

.object-card--featured {
    background:
        linear-gradient(135deg, rgba(16, 38, 56, 0.95), rgba(16, 38, 56, 0.84)),
        url("/assets/images/products/official/EX_SR3.jpg") center / cover;
    color: #ffffff;
    grid-row: span 2;
}

.object-card span,
.home-news-card span {
    color: var(--home-accent);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.object-card--featured span,
.object-card--featured h3,
.object-card--featured p {
    color: #ffffff;
}

.object-card h3 {
    color: currentColor;
    font-family: var(--site-font-family);
    font-size: clamp(19px, 1.65vw, 24px);
    font-weight: 600;
    line-height: 1.16;
    margin: 0 0 12px;
}

.object-card p {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.58;
    margin: 0;
}

.object-card--featured p {
    color: rgba(255, 255, 255, 0.74);
}

.quick-access {
    background: #ffffff;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(16, 38, 56, 0.08);
    box-sizing: border-box;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 auto clamp(34px, 5vw, 56px);
    max-width: 1280px;
    overflow: hidden;
    width: calc(100% - 40px);
}

.quick-access a {
    background: #ffffff;
    border-right: 1px solid var(--home-line);
    color: var(--home-text);
    font-size: 14px;
    font-weight: 700;
    min-height: 62px;
    padding: 12px 16px;
}

.quick-access a:last-child {
    border-right: 0;
}

.quick-access a:hover,
.quick-access a:focus-visible {
    background: #eef7f5;
    color: var(--home-green);
    transform: none;
}

.home-stats {
    background: var(--home-ink);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-stat {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    min-height: 136px;
    padding: clamp(24px, 3.4vw, 38px);
}

.home-stat strong {
    color: #ffffff;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
}

.home-stat span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    font-weight: 600;
}

.directions-section,
.home-engineering,
.seo-section,
.faq-section,
.home-news {
    max-width: 1320px;
    padding: clamp(58px, 7vw, 92px) clamp(18px, 4vw, 40px);
}

#company-directions {
    background: #f3f6f8;
    padding-bottom: clamp(46px, 6vw, 76px);
    padding-top: clamp(68px, 7vw, 96px);
}

.section-heading {
    margin-bottom: 38px;
    max-width: 980px;
}

.section-kicker {
    color: var(--home-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.section-title,
.section-heading h2,
.home-engineering-copy h2,
.seo-section h2,
.home-news h2,
.home-cta h2 {
    color: var(--home-ink);
    font-family: var(--site-font-family);
    font-size: clamp(26px, 2.75vw, 38px);
    font-weight: 600;
    line-height: 1.13;
}

.section-heading p:not(.section-kicker),
.home-engineering-copy p,
.home-cta p {
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.65;
}

#company-directions .directions-container {
    gap: 12px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 1320px;
}

#company-directions .direction-card {
    background: #ffffff;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    box-shadow: none;
    grid-column: span 1;
    min-height: 430px;
    padding: 18px;
}

#company-directions .direction-card:first-child {
    background:
        linear-gradient(135deg, rgba(16, 38, 56, 0.96), rgba(16, 38, 56, 0.86)),
        url("/assets/images/products/official/EX_SR3.jpg") center / cover;
    border-left: 1px solid var(--home-line);
    grid-column: span 2;
}

#company-directions .direction-card::before {
    background: linear-gradient(90deg, var(--home-accent), var(--home-green));
    height: 3px;
}

#company-directions .direction-card:hover,
#company-directions .direction-card:focus-visible {
    border-color: rgba(15, 111, 159, 0.32);
    box-shadow: 0 24px 60px rgba(16, 38, 56, 0.1);
    transform: translateY(-4px);
}

.direction-card-copy span,
.engineering-list span {
    color: var(--home-accent);
    font-size: 12px;
    letter-spacing: 0.06em;
}

#company-directions .direction-card h3 {
    color: var(--home-ink);
    font-family: var(--site-font-family);
    font-size: clamp(17px, 1.28vw, 20px);
    font-weight: 600;
    line-height: 1.18;
}

#company-directions .direction-card p {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.58;
}

#company-directions .direction-card:first-child h3,
#company-directions .direction-card:first-child p,
#company-directions .direction-card:first-child strong {
    color: #ffffff;
}

#company-directions .direction-card:first-child p {
    color: rgba(255, 255, 255, 0.74);
}

#company-directions .direction-card .image-container {
    background: #f7fafb;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    max-height: 176px;
}

#company-directions .direction-card:first-child .image-container {
    background: rgba(255, 255, 255, 0.92);
}

.home-engineering {
    align-items: start;
    background: #ffffff;
    border-bottom: 1px solid var(--home-line);
    border-top: 1px solid var(--home-line);
    max-width: none;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
}

.engineering-list article,
.faq-list details {
    background: #ffffff;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    box-shadow: none;
}

.engineering-list h3,
.seo-grid h3,
.faq-list summary {
    color: var(--home-ink);
    font-family: var(--site-font-family);
    font-weight: 600;
}

.engineering-list p,
.seo-grid p,
.faq-list p {
    color: var(--home-muted);
}

.seo-section > div:first-child {
    gap: clamp(22px, 4vw, 54px);
}

.seo-grid,
.seo-grid article,
.faq-list p {
    border-color: var(--home-line);
}

.home-news {
    margin: 0 auto;
}

.home-news__heading {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 26px;
}

.home-news__heading h2 {
    margin: 0;
}

.home-news__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-news-card {
    background: #ffffff;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    box-shadow: none;
    display: grid;
    grid-template-rows: 190px 1fr;
    min-height: 390px;
    overflow: hidden;
}

.home-news-card.is-loading {
    display: block;
    min-height: 0;
    padding: 24px;
}

.home-news-card__image {
    background: #e8eef2;
    display: block;
    overflow: hidden;
}

.home-news-card__image img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
    width: 100%;
}

.home-news-card:hover .home-news-card__image img,
.home-news-card:focus-within .home-news-card__image img {
    transform: scale(1.035);
}

.home-news-card__copy {
    padding: 20px;
}

.home-news-card h3 {
    color: var(--home-ink);
    font-family: var(--site-font-family);
    font-size: clamp(18px, 1.45vw, 22px);
    font-weight: 600;
    line-height: 1.18;
    margin: 0 0 12px;
}

.home-news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.home-news-card p {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.58;
    margin: 0;
}

.text-link {
    color: var(--home-accent);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.home-cta {
    background:
        linear-gradient(90deg, rgba(16, 38, 56, 0.96), rgba(16, 38, 56, 0.76)),
        url("/assets/images/index/slide2.png") center / cover;
    padding-bottom: clamp(70px, 8vw, 104px);
    padding-top: clamp(70px, 8vw, 104px);
}

.home-cta h2 {
    color: #ffffff;
    font-size: clamp(26px, 2.6vw, 36px);
}

.home-cta p {
    color: rgba(255, 255, 255, 0.76) !important;
}

@media (max-width: 1180px) {
    .hero-sales-panel {
        display: none;
    }

    .caption {
        max-width: 760px;
        width: min(76vw, 760px);
    }

    .object-solutions {
        grid-template-columns: 1fr;
    }

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

    .object-card--featured {
        grid-row: auto;
    }

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

    #company-directions .direction-card,
    #company-directions .direction-card:first-child {
        grid-column: auto;
    }

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

    .home-news-card {
        grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
        grid-template-rows: auto;
        min-height: 240px;
    }
}

@media (max-width: 860px) {
    .slider {
        height: 700px;
        max-height: none;
        min-height: 680px;
        max-width: 100vw;
        overflow: hidden;
        width: 100vw;
    }

    .slide {
        flex: 0 0 100vw;
        max-width: 100vw;
        min-width: 100vw;
        width: 100vw;
    }

    .caption {
        left: 20px;
        max-width: calc(100% - 40px);
        top: 52%;
        width: calc(100% - 40px);
    }

    .caption h1,
    .caption h2 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .caption p:not(.hero-kicker) {
        font-size: 16px;
    }

    .object-solutions__grid,
    .quick-access,
    .home-stats {
        grid-template-columns: 1fr;
    }

    .quick-access {
        width: calc(100% - 32px);
    }

    .quick-access a {
        border-bottom: 1px solid var(--home-line);
        border-right: 0;
        min-height: 54px;
    }

    .quick-access a:last-child {
        border-bottom: 0;
    }

    .home-news__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .home-news-card {
        grid-template-columns: 1fr;
        grid-template-rows: 190px 1fr;
        min-height: 0;
    }

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

@media (max-width: 560px) {
    .slider {
        height: 720px;
        min-height: 720px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button + .hero-button {
        border-left: 1px solid rgba(255, 255, 255, 0.28);
    }

    .object-card,
    .home-news-card__copy,
    .engineering-list article {
        padding: 18px;
    }
}

/* Desktop layout correction after commercial redesign */
@media (min-width: 1181px) {
    .slider {
        height: clamp(620px, 72svh, 720px);
        min-height: 620px;
    }

    .caption {
        max-width: 820px;
        top: 56%;
        width: min(48vw, 820px);
    }

    .caption h1,
    .caption h2 {
        color: #ffffff !important;
        font-size: clamp(34px, 3vw, 46px);
        line-height: 1.08;
        max-width: 820px;
        text-shadow: 0 18px 38px rgba(0, 0, 0, 0.46);
    }

    .caption p:not(.hero-kicker) {
        color: rgba(255, 255, 255, 0.86);
        font-size: clamp(15px, 1.05vw, 18px);
        max-width: 680px;
    }

    .hero-sales-panel {
        right: clamp(38px, 5.5vw, 106px);
        top: 54%;
        width: min(420px, 27vw);
    }

    .controls {
        bottom: 42px;
        left: clamp(24px, 6vw, 92px);
        right: auto;
    }

    .object-solutions {
        gap: clamp(28px, 3.6vw, 48px);
        grid-template-columns: minmax(360px, 0.42fr) minmax(0, 1fr);
        padding-top: clamp(44px, 5.4vw, 70px);
    }

    .object-solutions__intro h2 {
        font-size: clamp(27px, 2.05vw, 32px);
    }

    .object-solutions__intro p:not(.section-kicker) {
        font-size: 15px;
    }

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

    .object-card,
    .object-card--featured {
        grid-row: auto;
        min-height: 176px;
    }
}

/* Hero image brightness correction. The header stays dark; only the slide is lightened. */
#hero .hero-image {
    filter: brightness(1.18) saturate(1) contrast(1) !important;
}

#hero .slider::before {
    background:
        linear-gradient(180deg, rgba(16, 24, 32, 0.3) 0%, rgba(16, 24, 32, 0.14) 34%, rgba(16, 24, 32, 0.06) 100%),
        linear-gradient(90deg, rgba(16, 24, 32, 0.36), rgba(16, 24, 32, 0.06) 52%, rgba(16, 24, 32, 0.02));
    opacity: 0.78;
}

#hero .diagonal-block {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.44) 0%, rgba(16, 24, 32, 0.28) 42%, rgba(16, 24, 32, 0.07) 74%, rgba(16, 24, 32, 0) 100%),
        linear-gradient(180deg, rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.14));
}

#hero .diagonal-block::before {
    opacity: 0.44;
}

#hero .hero-particles {
    opacity: 0.5;
}

#hero .caption {
    color: #ffffff;
    opacity: 1;
    z-index: 20;
}

#hero .caption .hero-kicker {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 800;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.52);
}

#hero .caption h1,
#hero .caption h2 {
    color: #ffffff !important;
    font-weight: 800;
    opacity: 1;
    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.58),
        0 18px 38px rgba(0, 0, 0, 0.42);
    -webkit-font-smoothing: antialiased;
}

#hero .caption p:not(.hero-kicker) {
    color: rgba(255, 255, 255, 0.96) !important;
    font-weight: 500;
    opacity: 1;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.58),
        0 12px 28px rgba(0, 0, 0, 0.34);
}

/* Match the cleaner style-2 hero layout: wider text block, lower placement, separated buttons. */
#hero .caption {
    left: clamp(30px, 8vw, 108px);
    max-width: min(1040px, calc(100vw - 80px));
    top: 54%;
    width: min(76vw, 1040px);
}

#hero .caption .hero-kicker {
    font-size: clamp(16px, 1.45vw, 22px);
    line-height: 1.25;
    margin-bottom: clamp(20px, 2.4vw, 30px);
}

#hero .caption h1,
#hero .caption h2 {
    font-size: clamp(46px, 5vw, 64px);
    line-height: 1.02;
    margin-bottom: clamp(28px, 3vw, 38px);
    max-width: 1120px;
}

#hero .caption p:not(.hero-kicker) {
    font-size: clamp(18px, 1.55vw, 23px);
    line-height: 1.45;
    max-width: 980px;
}

#hero .hero-actions {
    gap: 0;
    margin-top: clamp(34px, 4vw, 48px);
}

#hero .hero-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 6px;
    box-shadow: none;
    color: #ffffff;
    font-size: clamp(15px, 1vw, 18px);
    font-weight: 700;
    min-height: 60px;
    padding: 0 clamp(28px, 3vw, 40px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
    transform: none;
}

#hero .hero-button + .hero-button {
    border-left: 0;
}

#hero .hero-button-primary,
#hero .hero-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
}

#hero .hero-button:hover,
#hero .hero-button:focus-visible,
#hero .hero-button-primary:hover,
#hero .hero-button-primary:focus-visible,
#hero .hero-button-secondary:hover,
#hero .hero-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.62);
    color: #ffffff;
    transform: none;
}

#hero .controls {
    bottom: clamp(42px, 7vw, 86px);
}

@media (max-width: 1180px) {
    #hero .caption {
        left: clamp(22px, 6vw, 64px);
        max-width: calc(100vw - 44px);
        width: min(82vw, 860px);
    }

    #hero .caption h1,
    #hero .caption h2 {
        font-size: clamp(36px, 6vw, 54px);
    }
}

@media (max-width: 760px) {
    #hero .caption {
        left: 20px;
        top: 55%;
        width: calc(100vw - 40px);
    }

    #hero .caption .hero-kicker {
        font-size: 14px;
        margin-bottom: 16px;
    }

    #hero .caption h1,
    #hero .caption h2 {
        font-size: clamp(30px, 8vw, 38px);
        margin-bottom: 20px;
    }

    #hero .caption p:not(.hero-kicker) {
        font-size: 16px;
    }

    #hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-top: 28px;
    }

    #hero .hero-button + .hero-button {
        border-left: 1px solid rgba(255, 255, 255, 0.34);
    }
}

/* Final serious homepage composition: restrained text and buttons below copy. */
#hero .slider {
    height: clamp(620px, 72svh, 720px);
    max-height: 720px;
    min-height: 620px;
}

#hero .caption {
    left: clamp(24px, 6vw, 92px);
    max-width: 820px;
    top: 51%;
    width: min(54vw, 820px);
}

#hero .caption .hero-kicker {
    color: var(--color-accent-warm) !important;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
    text-transform: uppercase;
}

#hero .caption h1,
#hero .caption h2 {
    color: #ffffff !important;
    font-family: var(--site-font-family);
    font-size: clamp(34px, 3.25vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 22px;
    max-width: 820px;
    text-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

#hero .caption p:not(.hero-kicker) {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 400;
    line-height: 1.58;
    max-width: 690px;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

#hero .hero-actions {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

#hero .hero-button {
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    min-height: 46px;
    padding: 0 20px;
}

#hero .hero-button + .hero-button {
    border-left: 1px solid rgba(255, 255, 255, 0.34);
}

#hero .hero-button-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

#hero .hero-button-primary:hover,
#hero .hero-button-primary:focus-visible {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

#hero .hero-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.34);
}

#hero .controls {
    bottom: 42px;
    left: clamp(24px, 6vw, 92px);
    right: auto;
}

@media (max-width: 860px) {
    #hero .slider {
        height: 700px;
        max-height: none;
        min-height: 680px;
    }

    #hero .caption {
        left: 20px;
        max-width: calc(100vw - 40px);
        top: 52%;
        width: calc(100vw - 40px);
    }

    #hero .caption h1,
    #hero .caption h2 {
        font-size: clamp(30px, 8vw, 38px);
    }

    #hero .caption p:not(.hero-kicker) {
        font-size: 16px;
        max-width: 100%;
    }

    #hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Designer finish: crisp white type, graphite slide shading and measured copper accents. */
#hero .slider {
    background: var(--color-header);
}

#hero .slider::before {
    background:
        linear-gradient(180deg, rgba(16, 24, 32, 0.22) 0%, rgba(16, 24, 32, 0.08) 42%, rgba(16, 24, 32, 0.04) 100%),
        linear-gradient(90deg, rgba(16, 24, 32, 0.62) 0%, rgba(16, 24, 32, 0.42) 31%, rgba(16, 24, 32, 0.14) 58%, rgba(16, 24, 32, 0.04) 100%);
    opacity: 1;
}

#hero .diagonal-block {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.62) 0%, rgba(16, 24, 32, 0.42) 42%, rgba(16, 24, 32, 0.1) 73%, rgba(16, 24, 32, 0) 100%),
        linear-gradient(180deg, rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.16));
}

#hero .diagonal-block::before {
    background: linear-gradient(135deg, rgba(199, 116, 45, 0.22), rgba(199, 116, 45, 0));
    clip-path: polygon(0 0, 18% 0, 0 58%);
    opacity: 0.78;
}

#hero .hero-image {
    filter: brightness(1.12) saturate(0.98) contrast(1.02) !important;
}

#hero .caption {
    isolation: isolate;
    max-width: 780px;
    opacity: 1 !important;
    top: 50%;
    width: min(52vw, 780px);
}

#hero .caption::before {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.62), rgba(16, 24, 32, 0.42) 58%, rgba(16, 24, 32, 0)),
        linear-gradient(180deg, rgba(16, 24, 32, 0.18), rgba(16, 24, 32, 0.04));
    content: "";
    inset: -24px -80px -28px -28px;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

#hero .caption .hero-kicker {
    color: var(--color-accent-warm) !important;
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 15px;
}

#hero .caption h1,
#hero .caption h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    filter: none !important;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.09;
    margin-bottom: 20px;
    max-width: 780px;
    opacity: 1 !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.52),
        0 10px 24px rgba(0, 0, 0, 0.42);
}

#hero .caption p:not(.hero-kicker) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    filter: none !important;
    font-size: clamp(15px, 1.05vw, 17px);
    font-weight: 500;
    line-height: 1.58;
    max-width: 660px;
    opacity: 1 !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.58),
        0 8px 20px rgba(0, 0, 0, 0.38);
}

#hero .caption .hero-kicker::after {
    background: linear-gradient(90deg, var(--color-accent), rgba(240, 179, 109, 0));
    content: "";
    display: block;
    height: 2px;
    margin-top: 10px;
    width: min(220px, 42vw);
}

#hero .hero-actions {
    margin-top: 30px;
}

#hero .hero-button-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 16px 34px rgba(169, 92, 26, 0.22);
}

#hero .hero-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.32);
}

#hero .hero-button-secondary:hover,
#hero .hero-button-secondary:focus-visible {
    background: rgba(199, 116, 45, 0.18);
    border-color: rgba(240, 179, 109, 0.5);
}

#hero .dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 0 5px rgba(199, 116, 45, 0.2);
}

#block {
    background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent-warm), transparent);
}

/* Final slide layering: darken only the image layer, keep hero copy clean white. */
#hero .slider {
    isolation: isolate;
}

#hero .slider::before,
#hero .slider::after {
    opacity: 0 !important;
    z-index: 0 !important;
}

#hero .slides {
    position: relative;
    z-index: 1;
}

#hero .slide {
    background: var(--color-header);
}

#hero .hero-image {
    position: relative;
    z-index: 0;
}

#hero .diagonal-block {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.82) 0%, rgba(16, 24, 32, 0.62) 34%, rgba(16, 24, 32, 0.3) 62%, rgba(16, 24, 32, 0.08) 100%),
        linear-gradient(180deg, rgba(16, 24, 32, 0.08) 0%, rgba(16, 24, 32, 0.34) 100%);
    z-index: 1;
}

#hero .diagonal-block::before {
    background:
        linear-gradient(135deg, rgba(199, 116, 45, 0.26), rgba(199, 116, 45, 0) 54%),
        linear-gradient(90deg, rgba(199, 116, 45, 0.12), rgba(199, 116, 45, 0));
    clip-path: polygon(0 0, 14% 0, 0 48%);
    opacity: 0.72;
}

#hero .caption {
    max-width: 760px;
    z-index: 4;
}

#hero .caption::before {
    background: linear-gradient(90deg, rgba(16, 24, 32, 0.78), rgba(16, 24, 32, 0.48) 58%, rgba(16, 24, 32, 0));
    inset: -20px -70px -24px -24px;
}

#hero .caption,
#hero .caption * {
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

#hero .caption h1,
#hero .caption h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-size: clamp(32px, 2.82vw, 42px);
    font-weight: 700;
    max-width: 760px;
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.74),
        0 7px 18px rgba(0, 0, 0, 0.5);
}

#hero .caption p:not(.hero-kicker) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    max-width: 640px;
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.72),
        0 5px 14px rgba(0, 0, 0, 0.46);
}

#hero .hero-kicker {
    color: var(--color-accent-warm) !important;
}

#hero .hero-particles {
    z-index: 2;
}

#hero .controls {
    z-index: 5;
}

/* Final homepage rhythm: fewer hard contrast jumps, clearer industrial hierarchy. */
body:has(#hero) main {
    background:
        linear-gradient(180deg, var(--color-header) 0, var(--color-header) 660px, #eef3f6 720px, #f4f6f8 100%);
}

#hero .slider {
    height: clamp(600px, 70svh, 700px);
    max-height: 700px;
    min-height: 600px;
}

#hero .slide {
    background: var(--color-header);
}

#hero .hero-image {
    filter: brightness(1.22) saturate(0.98) contrast(0.98) !important;
    object-position: center;
}

#hero .diagonal-block {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.78) 0%, rgba(16, 24, 32, 0.56) 34%, rgba(16, 24, 32, 0.22) 61%, rgba(16, 24, 32, 0.04) 100%),
        linear-gradient(180deg, rgba(16, 24, 32, 0.02) 0%, rgba(16, 24, 32, 0.22) 100%);
}

#hero .diagonal-block::before {
    background:
        linear-gradient(135deg, rgba(199, 116, 45, 0.2), rgba(199, 116, 45, 0) 56%),
        linear-gradient(90deg, rgba(240, 179, 109, 0.08), rgba(240, 179, 109, 0));
    opacity: 0.66;
}

#hero .caption {
    left: clamp(24px, 6vw, 92px);
    max-width: 740px;
    top: 50%;
    width: min(52vw, 740px);
}

#hero .caption::before {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.7), rgba(16, 24, 32, 0.42) 58%, rgba(16, 24, 32, 0)),
        linear-gradient(180deg, rgba(16, 24, 32, 0.1), rgba(16, 24, 32, 0.02));
    inset: -18px -66px -22px -22px;
}

#hero .caption .hero-kicker {
    color: var(--color-accent-warm) !important;
    font-size: clamp(13px, 0.9vw, 14px);
    letter-spacing: 0.02em;
}

#hero .caption h1,
#hero .caption h2 {
    font-size: clamp(32px, 2.7vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    max-width: 740px;
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.66),
        0 8px 18px rgba(0, 0, 0, 0.44);
}

#hero .caption p:not(.hero-kicker) {
    font-size: clamp(15px, 1.05vw, 17px);
    font-weight: 500;
    line-height: 1.58;
    max-width: 640px;
}

#hero .hero-actions {
    gap: 10px;
    margin-top: 28px;
}

#hero .hero-button {
    border-radius: 6px;
    min-height: 46px;
}

#hero .hero-button + .hero-button {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

#hero .controls {
    bottom: 36px;
}

#block {
    animation: none;
    background: linear-gradient(180deg, var(--color-header) 0%, #172434 32%, #eef3f6 100%);
    height: 42px;
    position: relative;
}

#block::before {
    background: linear-gradient(90deg, transparent, rgba(199, 116, 45, 0.72), rgba(240, 179, 109, 0.52), transparent);
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.object-solutions {
    background: #eef3f6;
    box-sizing: border-box;
    max-width: none;
    padding: clamp(48px, 5vw, 72px) max(20px, calc((100vw - 1240px) / 2 + 20px));
}

.object-solutions__intro h2,
.section-title,
.section-heading h2,
.home-engineering-copy h2,
.seo-section h2,
.home-news h2,
.home-cta h2 {
    color: var(--color-text);
    font-weight: 700;
}

.object-solutions__intro p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.home-engineering-copy p,
.home-cta p {
    color: var(--color-muted);
}

.object-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 24, 32, 0.12);
    border-radius: 8px;
    box-shadow: none;
}

.object-card:hover,
.object-card:focus-visible {
    border-color: rgba(199, 116, 45, 0.34);
    box-shadow: 0 16px 38px rgba(16, 24, 32, 0.1);
    transform: translateY(-2px);
}

.object-card--featured {
    background:
        linear-gradient(135deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.74)),
        url("/assets/images/products/official/EX_SR3.jpg") center / cover;
    color: #ffffff;
}

.object-card--featured h3,
.object-card--featured p,
.object-card--featured span {
    color: #ffffff;
}

.object-card--featured span {
    color: var(--color-accent-warm);
}

.quick-access {
    border: 1px solid rgba(16, 24, 32, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(16, 24, 32, 0.08);
    margin: 0 auto;
    max-width: 1240px;
    overflow: hidden;
    width: calc(100% - 40px);
}

.quick-access a {
    color: var(--color-text);
    min-height: 66px;
}

.quick-access a:hover,
.quick-access a:focus-visible {
    background: var(--color-accent-soft);
    color: var(--color-accent-hover);
    transform: none;
}

.home-stats {
    background: #f4f6f8;
    color: #ffffff;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 28px auto 0;
    max-width: 1240px;
    padding: 0 20px clamp(50px, 5vw, 72px);
}

.home-stat {
    background:
        linear-gradient(180deg, rgba(22, 36, 50, 0.98), rgba(16, 24, 32, 1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    min-height: 128px;
    padding: clamp(22px, 2.5vw, 32px);
}

.home-stat strong {
    color: var(--color-accent-warm);
    font-size: clamp(32px, 3.4vw, 48px);
}

.home-stat span {
    color: rgba(255, 255, 255, 0.76);
}

#company-directions {
    background: #f4f6f8;
    padding-top: clamp(44px, 5vw, 68px);
}

#company-directions .direction-card,
.engineering-list article,
.faq-list details,
.home-news-card {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 32, 0.12);
    box-shadow: none;
}

#company-directions .direction-card:hover,
#company-directions .direction-card:focus-visible,
.engineering-list article:hover,
.faq-list details:hover,
.home-news-card:hover {
    border-color: rgba(199, 116, 45, 0.3);
    box-shadow: 0 16px 38px rgba(16, 24, 32, 0.09);
    transform: translateY(-2px);
}

#company-directions .direction-card:first-child {
    background:
        linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.84)),
        url("/assets/images/products/official/EX_SR3.jpg") center / cover;
}

#company-directions .direction-card:first-child h3,
#company-directions .direction-card:first-child p,
#company-directions .direction-card:first-child strong {
    color: #ffffff;
}

#company-directions .direction-card:first-child p {
    color: rgba(255, 255, 255, 0.74);
}

#company-directions .direction-card .image-container {
    background: #f7fafb;
    border-color: rgba(16, 24, 32, 0.12);
    box-shadow: none;
}

.home-engineering {
    background: #ffffff;
    border-bottom: 1px solid rgba(16, 24, 32, 0.1);
    border-top: 1px solid rgba(16, 24, 32, 0.1);
}

.seo-section,
.faq-section,
.home-news {
    background: #f4f6f8;
}

.home-cta {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.94), rgba(16, 36, 52, 0.76)),
        url("/assets/images/index/slide2.png") center / cover;
    margin-bottom: clamp(54px, 6vw, 82px);
}

.home-cta h2 {
    color: #ffffff;
}

.home-cta p {
    color: rgba(255, 255, 255, 0.76) !important;
}

@media (max-width: 860px) {
    body:has(#hero) main {
        background:
            linear-gradient(180deg, var(--color-header) 0, var(--color-header) 680px, #eef3f6 730px, #f4f6f8 100%);
    }

    #hero .slider {
        height: 680px;
        min-height: 680px;
    }

    #hero .caption {
        left: 20px;
        max-width: calc(100vw - 40px);
        top: 52%;
        width: calc(100vw - 40px);
    }

    #hero .caption h1,
    #hero .caption h2 {
        font-size: clamp(30px, 8vw, 38px);
    }

    #hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .object-solutions,
    .home-engineering,
    .seo-section,
    .faq-section,
    .home-news,
    .home-cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .quick-access {
        width: calc(100% - 32px);
    }

    .home-stats {
        grid-template-columns: 1fr;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Contrast correction after live review. */
body:has(#hero) main {
    background:
        linear-gradient(180deg, var(--color-header) 0, var(--color-header) 660px, #dce6ec 720px, #e3ebf1 100%);
}

.object-solutions {
    background: linear-gradient(180deg, #dce6ec 0%, #e7eef3 100%);
}

#company-directions,
.seo-section,
.faq-section,
.home-news {
    background: transparent;
}

.quick-access {
    box-shadow: 0 18px 42px rgba(16, 24, 32, 0.12);
}

.home-stats {
    background: transparent;
    gap: 14px;
}

.home-stat,
.home-stat:hover,
.home-stat:focus-within {
    background:
        linear-gradient(135deg, rgba(28, 43, 58, 0.98), rgba(16, 24, 32, 1)) !important;
    border-color: rgba(240, 179, 109, 0.18);
    box-shadow: 0 16px 36px rgba(16, 24, 32, 0.15);
    color: #ffffff;
    transform: none;
}

.home-stat::before {
    background: linear-gradient(180deg, var(--color-accent), rgba(240, 179, 109, 0.26));
    opacity: 0.9;
}

.home-stat {
    overflow: hidden;
    transition:
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        transform 0.24s ease,
        background 0.24s ease;
}

.home-stat::after {
    background:
        radial-gradient(260px circle at 18% 0%, rgba(240, 179, 109, 0.2), transparent 56%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 44%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.24s ease;
}

.home-stat > * {
    position: relative;
    z-index: 1;
}

.home-stat:hover,
.home-stat:focus-within {
    background:
        linear-gradient(135deg, rgba(34, 53, 70, 0.98), rgba(16, 24, 32, 1)) !important;
    border-color: rgba(240, 179, 109, 0.5);
    box-shadow:
        0 22px 48px rgba(16, 24, 32, 0.22),
        0 0 0 1px rgba(199, 116, 45, 0.22);
    transform: translateY(-4px);
}

.home-stat:hover::before,
.home-stat:focus-within::before {
    opacity: 1;
}

.home-stat:hover::after,
.home-stat:focus-within::after {
    opacity: 1;
}

.home-stat strong,
.home-stat:hover strong,
.home-stat:focus-within strong {
    color: #f4b76f !important;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.home-stat span,
.home-stat:hover span,
.home-stat:focus-within span {
    color: rgba(255, 255, 255, 0.78) !important;
}

#company-directions .direction-card,
.engineering-list article,
.faq-list details,
.home-news-card,
.object-card {
    box-shadow: 0 10px 28px rgba(16, 24, 32, 0.07);
}

.home-engineering {
    background:
        linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
}

@media (max-width: 860px) {
    body:has(#hero) main {
        background:
            linear-gradient(180deg, var(--color-header) 0, var(--color-header) 680px, #dce6ec 730px, #e3ebf1 100%);
    }
}

/* Final framing for the product homepage slides. */
#hero .slider {
    height: clamp(540px, 62svh, 650px);
    max-height: 650px;
    min-height: 540px;
}

body:has(#hero) main {
    background:
        linear-gradient(180deg, var(--color-header) 0, var(--color-header) 590px, #dce6ec 650px, #e3ebf1 100%);
}

#hero .hero-image {
    filter: brightness(1.12) saturate(1.02) contrast(0.99) !important;
    object-fit: cover;
    object-position: center bottom;
}

#hero .diagonal-block {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.72) 0%, rgba(16, 24, 32, 0.48) 34%, rgba(16, 24, 32, 0.18) 61%, rgba(16, 24, 32, 0.02) 100%),
        linear-gradient(180deg, rgba(16, 24, 32, 0.01) 0%, rgba(16, 24, 32, 0.16) 100%);
}

#hero .caption::before {
    background:
        linear-gradient(90deg, rgba(16, 24, 32, 0.66), rgba(16, 24, 32, 0.38) 58%, rgba(16, 24, 32, 0)),
        linear-gradient(180deg, rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.01));
}

@media (max-width: 860px) {
    #hero .slider {
        height: 620px;
        min-height: 620px;
    }

    #hero .hero-image {
        object-position: center bottom;
    }

    body:has(#hero) main {
        background:
            linear-gradient(180deg, var(--color-header) 0, var(--color-header) 620px, #dce6ec 675px, #e3ebf1 100%);
    }
}

/* Final side navigation for the homepage slider. */
#hero .slider {
    touch-action: pan-y;
}

#hero .hero-image--building {
    object-position: center top !important;
}

#hero .controls {
    align-items: stretch;
    bottom: 0 !important;
    box-sizing: border-box;
    display: grid;
    gap: 0;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    height: 100%;
    left: 0 !important;
    padding: 0;
    pointer-events: none;
    right: 0 !important;
    top: 0 !important;
    transform: none;
    width: 100%;
    z-index: 8;
}

#hero .prev,
#hero .next {
    backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: none;
    height: 100%;
    opacity: 0.62;
    padding: 0;
    pointer-events: auto;
    transition: background 0.2s ease, opacity 0.2s ease;
    width: 54px;
}

#hero .prev {
    background: linear-gradient(90deg, rgba(13, 24, 34, 0.34), rgba(13, 24, 34, 0));
    grid-column: 1;
}

#hero .next {
    background: linear-gradient(270deg, rgba(13, 24, 34, 0.34), rgba(13, 24, 34, 0));
    grid-column: 3;
}

#hero .indicators {
    align-self: end;
    grid-column: 2;
    justify-self: center;
    padding-bottom: 22px;
    pointer-events: auto;
}

#hero .prev:hover,
#hero .prev:focus-visible,
#hero .next:hover,
#hero .next:focus-visible {
    outline: none;
    opacity: 1;
    transform: none;
}

#hero .prev:hover,
#hero .prev:focus-visible {
    background: linear-gradient(90deg, rgba(217, 120, 37, 0.38), rgba(217, 120, 37, 0));
}

#hero .next:hover,
#hero .next:focus-visible {
    background: linear-gradient(270deg, rgba(217, 120, 37, 0.38), rgba(217, 120, 37, 0));
}

#hero .prev::before,
#hero .next::before {
    height: 11px;
    width: 11px;
}

@media (max-width: 860px) {
    #hero .controls {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
    }

    #hero .prev,
    #hero .next {
        width: 40px;
    }
}

/* Final readability pass for the generation card. */
.object-solutions .object-card.object-card--featured {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-header) 86%, transparent), color-mix(in srgb, var(--color-header) 70%, transparent)),
        linear-gradient(180deg, color-mix(in srgb, var(--color-header) 28%, transparent), color-mix(in srgb, var(--color-header) 48%, transparent)),
        url("/assets/images/products/official/EX_SR3.jpg") center / cover !important;
}

.object-solutions .object-card.object-card--featured span {
    color: var(--color-accent-warm) !important;
}

.object-solutions .object-card.object-card--featured h3,
.object-solutions .object-card.object-card--featured p {
    color: var(--color-white) !important;
}

.object-solutions .object-card.object-card--featured span,
.object-solutions .object-card.object-card--featured h3,
.object-solutions .object-card.object-card--featured p {
    text-shadow: 0 2px 8px color-mix(in srgb, var(--color-header) 78%, transparent) !important;
}

/* Commercial product slides: strict equipment presentation for slides 2 and 3. */
#hero .slide--commercial {
    background:
        linear-gradient(115deg, color-mix(in srgb, var(--color-header) 98%, var(--color-steel)) 0%, color-mix(in srgb, var(--color-header) 92%, var(--color-steel)) 42%, color-mix(in srgb, var(--color-steel) 34%, var(--color-header)) 100%),
        var(--color-header);
}

#hero .slide--commercial::before {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--color-white) 6%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in srgb, var(--color-white) 4%, transparent) 1px, transparent 1px),
        linear-gradient(132deg, transparent 0 48%, color-mix(in srgb, var(--color-steel) 18%, transparent) 48.1% 48.5%, transparent 48.6%),
        linear-gradient(158deg, transparent 0 60%, color-mix(in srgb, var(--color-accent) 10%, transparent) 60.1% 60.4%, transparent 60.5%);
    background-size: 92px 92px, 92px 92px, auto, auto;
    content: "";
    inset: 0;
    opacity: 0.72;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

#hero .slide--commercial::after {
    background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-accent) 64%, transparent) 46%, color-mix(in srgb, var(--color-accent-warm) 74%, transparent) 54%, transparent 100%);
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    opacity: 0.88;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 0;
}

#hero .slide--commercial .hero-image {
    display: none;
    filter: brightness(0.96) saturate(0.98) contrast(1.03) !important;
}

#hero .slider[data-current-slide="1"] .hero-particles,
#hero .slider[data-current-slide="2"] .hero-particles {
    opacity: 0.16;
}

#hero .slide--commercial .diagonal-block {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--color-header) 86%, transparent) 0%, color-mix(in srgb, var(--color-header) 70%, transparent) 38%, color-mix(in srgb, var(--color-header) 20%, transparent) 66%, transparent 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--color-header) 8%, transparent), color-mix(in srgb, var(--color-header) 30%, transparent));
}

#hero .slide--commercial .diagonal-block::before {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-accent) 18%, transparent), transparent 56%),
        linear-gradient(90deg, color-mix(in srgb, var(--color-steel) 16%, transparent), transparent);
    opacity: 0.52;
}

#hero .slide--commercial .caption {
    left: clamp(70px, 7.1vw, 122px);
    max-width: 610px;
    width: min(40vw, 610px);
}

#hero .slide--commercial .caption::before {
    display: none;
}

#hero .slide--commercial .caption h2 {
    font-size: clamp(32px, 2.62vw, 43px);
    max-width: 600px;
}

#hero .slide--commercial .caption p:not(.hero-kicker) {
    max-width: 560px;
}

.hero-product-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 18px;
    max-width: 560px;
}

.hero-product-lines span {
    background: transparent;
    border: 0;
    color: var(--color-white);
    font-size: clamp(12px, 0.86vw, 14px);
    font-weight: 800;
    line-height: 1.15;
    padding: 0 14px;
    text-shadow: 0 2px 8px color-mix(in srgb, var(--color-header) 70%, transparent);
}

.hero-product-lines span:first-child {
    padding-left: 0;
}

.hero-product-lines span + span {
    border-left: 1px solid color-mix(in srgb, var(--color-accent-warm) 44%, transparent);
}

@supports (backdrop-filter: blur(10px)) {
    .hero-product-lines span {
        backdrop-filter: none;
    }
}

.hero-product-visual {
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    box-sizing: border-box;
    height: min(56vh, 500px);
    margin: 0;
    overflow: visible;
    position: absolute;
    right: clamp(74px, 6vw, 122px);
    top: 50%;
    transform: translateY(-50%);
    width: min(44vw, 690px);
    z-index: 6;
}

.hero-product-visual::before {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-white) 14%, transparent), color-mix(in srgb, var(--color-steel) 12%, transparent)),
        linear-gradient(90deg, color-mix(in srgb, var(--color-white) 10%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in srgb, var(--color-white) 8%, transparent) 1px, transparent 1px);
    background-size: auto, 54px 54px, 54px 54px;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--color-white) 16%, transparent),
        0 26px 54px color-mix(in srgb, var(--color-header) 42%, transparent);
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    content: "";
    inset: 4% 2% 10% 8%;
    position: absolute;
    z-index: 0;
}

.hero-product-visual::after {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent-warm) 88%, transparent), transparent);
    bottom: 8%;
    content: "";
    height: 2px;
    left: 2%;
    position: absolute;
    right: 8%;
    transform: skewX(-14deg);
    z-index: 1;
}

.hero-product-visual img {
    box-sizing: border-box;
    display: block;
    filter:
        drop-shadow(0 28px 28px color-mix(in srgb, var(--color-header) 42%, transparent))
        drop-shadow(0 4px 0 color-mix(in srgb, var(--color-white) 16%, transparent));
    height: 86%;
    left: 50%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    position: absolute;
    top: 48%;
    transform: translate(-50%, -50%);
    width: 92%;
    z-index: 2;
}

.hero-product-visual--excitation img {
    height: 94%;
    left: 54%;
    width: auto;
}

.hero-product-visual--power img {
    height: 78%;
    left: 60%;
    top: 47%;
    width: 80%;
}

.hero-product-visual--power figcaption {
    left: 0;
    top: 13%;
}

.hero-product-visual figcaption {
    background: transparent;
    border-left: 2px solid var(--color-accent);
    box-sizing: border-box;
    color: var(--color-white);
    display: grid;
    gap: 14px;
    left: 4%;
    padding: 0 0 0 16px;
    position: absolute;
    top: 10%;
    z-index: 3;
}

.hero-product-visual figcaption span {
    color: var(--color-accent-warm);
    font-size: clamp(11px, 0.72vw, 12px);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-product-visual figcaption strong {
    color: var(--color-white);
    font-size: clamp(14px, 1vw, 17px);
    font-weight: 800;
    line-height: 1.2;
    max-width: 230px;
    text-align: left;
}

@media (max-width: 1180px) {
    #hero .slide--commercial .caption {
        left: 56px;
        max-width: 500px;
        width: min(45vw, 500px);
    }

    .hero-product-visual {
        height: min(44vh, 360px);
        right: 54px;
        width: min(43vw, 500px);
    }

    .hero-product-visual img {
        padding: 20px;
    }

    .hero-product-visual figcaption {
        padding: 12px 14px;
    }
}

@media (max-width: 860px) {
    #hero .slide--commercial .caption {
        left: 46px;
        max-width: calc(100vw - 92px);
        top: 58%;
        width: calc(100vw - 92px);
    }

    #hero .slide--commercial .caption::before {
        inset: -16px -20px -20px -18px;
    }

    #hero .slide--commercial .caption h2 {
        font-size: clamp(25px, 6.8vw, 33px);
        margin-bottom: 14px;
    }

    #hero .slide--commercial .caption p:not(.hero-kicker) {
        font-size: 14px;
        line-height: 1.42;
        max-width: calc(100vw - 98px);
    }

    .hero-product-lines {
        gap: 6px;
        margin-top: 12px;
    }

    .hero-product-lines span {
        font-size: 11px;
        padding: 7px 8px;
    }

    .hero-product-visual {
        height: clamp(122px, 22vh, 168px);
        left: 46px;
        right: auto;
        top: 80px;
        transform: none;
        width: calc(100vw - 92px);
    }

    .hero-product-visual img,
    .hero-product-visual--power img {
        padding: 10px;
    }

    .hero-product-visual figcaption {
        display: none;
    }
}

@media (max-width: 420px) {
    #hero .slide--commercial .caption {
        left: 42px;
        max-width: calc(100vw - 84px);
        top: 57%;
        width: calc(100vw - 84px);
    }

    #hero .slide--commercial .caption h2 {
        font-size: clamp(23px, 6.6vw, 30px);
    }

    .hero-product-visual {
        height: clamp(116px, 20vh, 150px);
        left: 42px;
        top: 76px;
        width: calc(100vw - 84px);
    }
}

