.layout-home .header-inner { padding-left: 20px; gap: clamp(14px, 2.3vw, 38px); }
.layout-home .site-header .site-logo { width: clamp(205px, 19vw, 300px); }
.layout-home .site-nav { font-size: 15px; }
.layout-home .header-phone { border: 1px solid #97b9cf; border-radius: 7px; padding: 7px 13px; font-size: 14px; }
.home-main { background: radial-gradient(ellipse at 58% 12%, #0d324f 0, #061e30 39%, #041b2c 85%); }
.home-hero { position: relative; overflow: hidden; min-height: 266px; }
.home-hero-image { position: absolute; inset: 0 0 0 auto; width: 56%; height: 100%; object-fit: cover; object-position: right bottom; mask-image: linear-gradient(90deg, transparent, #000 8%); }
.home-hero-inner { position: relative; padding: 15px 0 24px 36px; }
.home-hero h1 { font-size: clamp(36px, 3.2vw, 52px); font-weight: 800; line-height: 1.06; }
.home-hero p { margin-top: 7px; font-size: clamp(16px, 1.24vw, 20px); line-height: 1.19; color: #e6eef4; }
.home-hero-buttons { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 19px; }
.home-hero-buttons .button { min-height: 42px; padding-inline: 20px; font-size: 15px; }
.home-hero-buttons .outline { border-color: #61c8c8; }
.home-hero-buttons .outline .cs-icon { color: var(--aqua); }
.home-hero-benefits { margin-top: 16px; }
.home-hero-benefits li { position: relative; padding-right: 23px; margin-right: 23px; font-size: 13px; line-height: 1.25; }
.home-hero-benefits li > .cs-icon { font-size: 31px; color: var(--teal); }
.home-hero-benefits strong { font-weight: 550; }
.home-hero-benefits li + li::before { content: ""; position: absolute; left: -24px; width: 1px; height: 22px; background: #335268; }
.home-solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.solution { display: flex; min-height: 109px; position: relative; overflow: hidden; border-radius: 13px; border: 1px solid #7890a3; background: linear-gradient(110deg, #174362, #092539 86%); }
.solution-img { width: 46%; object-fit: cover; flex: 0 0 46%; }
.solution-copy { align-self: center; flex: 1; padding: 8px 29px 8px 3px; }
.solution h2 { display: flex; align-items: center; gap: 8px; font-size: clamp(14px, 1.18vw, 20px); }
.solution h2 .cs-icon, .service h3 .cs-icon { font-size: 1.28em; color: var(--aqua); }
.solution p { margin-top: 8px; color: #e0e9f0; font-size: 14px; line-height: 1.2; }
.card-arrow { position: absolute; color: var(--aqua); }
.solution .card-arrow { font-size: 23px; right: 17px; bottom: 20px; }
.solution:hover, .service:hover { border-color: var(--aqua); }
.home-services { padding-top: 11px; text-align: center; }
.home-services > h2 { font-size: 27px; }
.home-services > p { margin: 2px 0 8px; color: #cfdee9; font-size: 14px; }
.services-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; text-align: left; }
.service { border: 1px solid #51677a; background: linear-gradient(160deg, #0c3044, #0b263b); border-radius: 11px; overflow: hidden; position: relative; }
.service-image { height: 75px; background: #0d334a; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-copy { padding: 6px 29px 8px 14px; min-height: 70px; }
.service h3 { display: flex; gap: 7px; align-items: center; font-size: 14px; }
.service p { font-size: 12px; margin-top: 4px; color: #e3ebf2; line-height: 1.22; }
.service .card-arrow { font-size: 15px; right: 12px; bottom: 19px; }
.home-stats { width: min(calc(100% - 66px), 1350px); min-height: 62px; justify-content: space-around; align-items: center; }
.home-stats li { flex: 1; justify-content: center; position: relative; font-size: 13px; }
.home-stats strong { font-weight: 550; }
.home-stats li:first-child strong { font-weight: 750; }
.home-stats li + li::before { content: ""; position: absolute; left: 0; height: 25px; width: 1px; background: #294459; }
.home-cta { position: relative; background: linear-gradient(100deg, #065978, #005373 50%, #00476b); border-block: 1px solid #205875; }
.home-cta::before, .home-cta::after { content: ""; position: absolute; inset: 0 auto 0 0; width: min(19%, 254px); pointer-events: none; background: url(img/wave-left.png) left bottom / auto 100% no-repeat; mask-image: linear-gradient(90deg, #000 53%, transparent 93%); }
.home-cta::after { inset: 0 0 0 auto; background-image: url(img/wave-right.png); background-position: right bottom; mask-image: linear-gradient(270deg, #000 53%, transparent 93%); }
.home-cta .frame { position: relative; z-index: 1; max-width: 1128px; min-height: 67px; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 7px; }
.home-cta h2 { font-size: 22px; }
.home-cta p { font-size: 14px; margin-top: 3px; }
.home-cta .button { min-width: 200px; min-height: 40px; }
.home-news { padding-block: 18px; border-bottom: 1px solid #264257; }
.home-news-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 9px; }
.home-news-heading h2 { font-size: 26px; }
.home-news-controls { display: flex; align-items: center; gap: 6px; }
.news-control { min-width: 38px; min-height: 38px; padding: 5px 9px; border: 1px solid #51677a; border-radius: 8px; background: #0b263b; color: #e9f8f7; font-size: 12px; }
.news-control:not(:disabled):hover { border-color: var(--aqua); color: var(--aqua); }
.news-control:disabled { opacity: .45; cursor: default; }
.news-prev svg { transform: rotate(180deg); }
.home-news-track { --news-gap: 14px; --news-visible: var(--news-count); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--news-visible) - 1) * var(--news-gap)) / var(--news-visible)); gap: var(--news-gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; list-style: none; padding: 3px 0 8px; }
.home-news-track > li { min-width: 0; scroll-snap-align: start; }
.news-card { height: 100%; display: flex; flex-direction: column; }
.news-card:focus-visible { outline-offset: -3px; }
.news-card-image { aspect-ratio: 2.1; max-height: 156px; background: #0d334a; overflow: hidden; }
.news-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-card-placeholder { background: #f4f8fa; }
.news-card-placeholder img { object-fit: contain; padding: min(14px, 5%) 14%; }
.news-card-copy { position: relative; flex: 1; padding: 9px 34px 11px 12px; }
.news-card-copy time { display: block; margin-bottom: 4px; color: #b8d5df; font-size: 12px; }
.news-card-copy h3 { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.news-card-arrow { position: absolute; top: 10px; right: 12px; color: var(--aqua); }
.home-news-all { margin-top: 11px; text-align: center; }
.home-news-all .button { min-height: 42px; }
@media (max-width: 1050px) {
    .home-news-track { --news-visible: min(3, var(--news-count)); }
}
@media (max-width: 780px) {
    .home-news-track { --news-visible: min(2, var(--news-count)); }
}
@media (max-width: 520px) {
    .home-news-track { --news-visible: 1; }
}
@media (max-width: 1350px) {
    .layout-home .site-nav { font-size: 13px; }
    .layout-home .header-inner { padding-left: 0; }
    .solution-copy { padding-right: 23px; }
    .solution .card-arrow { right: 7px; font-size: 17px; }
}
@media (max-width: 1150px) {
    .home-hero-inner { padding-left: 12px; }
    .home-hero-image { width: 66%; mask-image: linear-gradient(90deg, transparent, #000 45%); opacity: .82; }
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .solution p { font-size: 12px; }
    .home-stats li { padding-inline: 6px; font-size: 12px; }
    .home-cta .frame { padding-inline: 10px; }
}
@media (max-width: 780px) {
    .layout-home .site-header .site-logo { width: min(48vw, 230px); }
    .home-hero { min-height: 0; }
    .home-hero-image { width: 100%; height: 175px; object-position: right center; mask-image: linear-gradient(#000 55%, transparent); }
    .home-hero-inner { padding: 117px 2px 21px; }
    .home-hero h1 { font-size: clamp(31px, 7.5vw, 45px); }
    .home-hero p br, .solution p br { display: none; }
    .home-hero-buttons { gap: 8px; margin-top: 14px; }
    .home-hero-buttons .button { padding-inline: 9px; min-height: 38px; font-size: 12px; }
    .home-hero-benefits, .home-stats { flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
    .home-hero-benefits li { margin: 0; padding: 0; gap: 6px; font-size: 11px; }
    .home-hero-benefits li + li::before, .home-stats li + li::before { display: none; }
    .home-hero-benefits li > .cs-icon, .home-stats li > .cs-icon { font-size: 21px; }
    .home-solutions { grid-template-columns: 1fr; gap: 9px; }
    .solution { min-height: 88px; }
    .solution-img { max-height: 106px; }
    .solution-copy { padding-left: 6px; }
    .solution h2 { font-size: 16px; }
    .solution p { margin-top: 5px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .service-copy { padding-inline: 7px 17px; }
    .service h3 { font-size: 12px; gap: 4px; }
    .service .card-arrow { right: 4px; font-size: 11px; }
    .service p { font-size: 11px; }
    .home-stats { padding-bottom: 10px; justify-content: start; }
    .home-stats li { flex: 0 0 calc(50% - 6px); justify-content: flex-start; gap: 7px; }
    .home-cta .frame { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
    .home-cta h2 { font-size: 18px; }
    .home-cta p { font-size: 13px; }
    .home-cta .button { min-width: 0; min-height: 35px; }
}
