﻿/*
Theme Name: AitiBIZ
Theme URI: /
Author: Codex
Description: Static site styles for AitiBIZ.
Version: 1.0.0
Text Domain: aitibiz
*/

:root {
    --ink: #061637;
    --muted: #51607a;
    --blue: #0964ff;
    --blue-2: #18a6ff;
    --panel: #061536;
    --line: rgba(7, 40, 97, 0.14);
    --bg: #f6f9ff;
    --white: #fff;
    --shadow: 0 20px 55px rgba(2, 18, 52, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1110px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 86px;
    padding: 12px max(28px, calc((100vw - 1110px) / 2));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 28px rgba(7, 23, 58, 0.08);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 236px;
}

.brand-mark {
    width: 46px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(3, 15, 42, 0.9)) drop-shadow(0 3px 6px rgba(3, 15, 42, 0.18));
}

.brand-word {
    display: block;
    color: #061637;
    font-size: 34px;
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.brand-word > span {
    color: var(--blue);
}

.brand-word small {
    display: block;
    margin-top: 7px;
    color: #46566f;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-inline {
    color: inherit;
}

.brand-inline > span {
    color: var(--blue);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.7vw, 26px);
    flex: 1;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a,
.site-header .btn {
    white-space: nowrap;
}

.phone-link {
    white-space: nowrap;
    font-weight: 800;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0c7bff, #044df4);
    box-shadow: 0 12px 28px rgba(8, 94, 255, 0.28);
}

.btn-secondary,
.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.04);
}

.hero {
    position: relative;
    min-height: clamp(560px, 40vw, 660px);
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 58% 35%, rgba(0, 125, 255, 0.34), transparent 19%),
        radial-gradient(circle at 87% 58%, rgba(0, 82, 216, 0.3), transparent 29%),
        linear-gradient(110deg, #04102b 0%, #041331 42%, #061b45 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(90deg, #04102b 0%, rgba(4, 16, 43, 0.94) 31%, rgba(4, 16, 43, 0.5) 56%, rgba(4, 16, 43, 0.14) 100%),
        linear-gradient(rgba(21, 123, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 123, 255, 0.1) 1px, transparent 1px);
    background-size: 100% 100%, 68px 68px, 68px 68px;
    background-repeat: no-repeat, repeat, repeat;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(440px, 0.86fr) 1.14fr;
    gap: 36px;
    min-height: clamp(560px, 40vw, 660px);
    padding: clamp(58px, 5vw, 88px) 0 clamp(74px, 5vw, 96px);
}

.hero-copy {
    align-self: center;
    min-width: 0;
    position: relative;
    z-index: 3;
}

.hero h1 {
    max-width: 580px;
    margin: 0 0 22px;
    font-size: clamp(46px, 4vw, 62px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
    overflow-wrap: normal;
    white-space: normal;
    text-wrap: balance;
}

.hero h1 span,
.eyebrow,
.case-cards strong {
    color: var(--blue);
}

.hero p {
    max-width: 520px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    min-height: 430px;
    background: transparent;
    border-radius: 0;
    filter: none;
}

.hero-visual > * {
    display: none;
}

.server {
    position: absolute;
    top: 0;
    width: 126px;
    height: 430px;
    border: 1px solid rgba(55, 135, 255, 0.27);
    border-radius: 4px;
    background:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 8px, transparent 8px 28px),
        linear-gradient(135deg, rgba(3, 16, 43, 0.86), rgba(8, 37, 86, 0.58));
    box-shadow: inset 0 0 36px rgba(0, 94, 255, 0.15);
}

.server::after {
    content: "";
    position: absolute;
    inset: 20px 18px;
    background: repeating-linear-gradient(180deg, #127dff 0 3px, transparent 3px 22px);
    opacity: 0.8;
}

.server-left {
    left: 3%;
    opacity: 0.38;
}

.server-right {
    right: 0;
    opacity: 0.76;
}

.cloud-node {
    position: absolute;
    left: 13%;
    top: 62px;
    width: 165px;
    height: 85px;
    border: 3px solid #0587ff;
    border-radius: 52px;
    box-shadow: 0 0 34px rgba(0, 132, 255, 0.7);
}

.cloud-node::before,
.cloud-node::after {
    content: "";
    position: absolute;
    border: 3px solid #0587ff;
    border-bottom: 0;
    background: #061638;
}

.cloud-node::before {
    left: 35px;
    top: -30px;
    width: 63px;
    height: 58px;
    border-radius: 48px 48px 0 0;
}

.cloud-node::after {
    right: 20px;
    top: -18px;
    width: 52px;
    height: 44px;
    border-radius: 42px 42px 0 0;
}

.shield {
    position: absolute;
    left: 35%;
    top: 18px;
    width: 250px;
    height: 330px;
    clip-path: polygon(50% 0, 94% 18%, 88% 72%, 50% 100%, 12% 72%, 6% 18%);
    background: linear-gradient(135deg, #f9fbff 0 8%, #0a60ff 9% 48%, #083a91 49% 100%);
    filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.38));
}

.shield::before {
    content: "";
    position: absolute;
    inset: 27px;
    clip-path: inherit;
    background: linear-gradient(145deg, #0c7fff, #032568);
}

.checkmark {
    position: absolute;
    left: 80px;
    top: 125px;
    z-index: 2;
    width: 105px;
    height: 60px;
    border-left: 22px solid #fff;
    border-bottom: 22px solid #fff;
    transform: rotate(-45deg);
    filter: drop-shadow(0 9px 10px rgba(0, 0, 0, 0.25));
}

.trust-panel,
.stats,
.cta {
    position: relative;
    z-index: 2;
    display: grid;
    background: linear-gradient(110deg, #061638, #03102b);
    color: #fff;
    border: 1px solid rgba(88, 140, 232, 0.42);
    box-shadow: var(--shadow);
}

.trust-panel {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: -64px;
    border-radius: 10px;
}

.trust-panel article {
    min-height: 96px;
    padding: 22px 26px 22px 82px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-panel article:last-child,
.stats article:last-child {
    border-right: 0;
}

.icon {
    position: absolute;
    left: 24px;
    top: 25px;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.trust-panel strong,
.stats span {
    display: block;
    font-size: 18px;
    font-weight: 900;
}

.trust-panel p,
.stats p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.section {
    padding: 54px 0 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 20px;
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.13;
    letter-spacing: 0;
}

.section-head p,
.why-copy p {
    max-width: 560px;
    margin: 10px 0 0;
    color: var(--muted);
}

.arrow-link {
    color: var(--blue);
    font-weight: 800;
    white-space: nowrap;
}

.arrow-link::after {
    content: " \2192";
    font-size: 22px;
}

.cards {
    display: grid;
    gap: 16px;
}

.service-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cards article {
    position: relative;
    min-height: 232px;
    padding: 28px 22px 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(8, 24, 55, 0.06);
}

.service-icon {
    display: block;
    margin-bottom: 26px;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.24;
}

.cards p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.58;
}

.cards article > a {
    position: absolute;
    left: 22px;
    bottom: 22px;
    color: var(--blue);
    font-size: 30px;
    line-height: 1;
}

.stats {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 24px;
    border-radius: 8px;
}

.stats article {
    min-height: 104px;
    padding: 22px 24px 22px 72px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.stats img {
    position: absolute;
    left: 22px;
    top: 27px;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.stats span {
    font-size: 31px;
}

.why {
    padding-top: 38px;
}

.why-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.why-copy {
    min-width: 0;
    padding: 18px 0 26px;
}

.why-copy h2 {
    max-width: 310px;
    font-size: clamp(28px, 2.6vw, 34px);
}

.feature-strip {
    min-width: 0;
}

.why-copy .btn {
    margin-top: 24px;
}

.feature-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 255px;
    align-self: center;
    overflow: hidden;
    color: #fff;
    background: #061538;
    border: 1px solid rgba(120, 160, 225, 0.5);
    clip-path: none;
}

.feature-strip article {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 255px;
    padding: 40px 34px 40px 36px;
    background-position: center;
    background-size: cover;
    clip-path: none;
}

.feature-strip article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 12, 34, 0.12), rgba(2, 12, 34, 0.84));
}

.feature-strip article::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.32);
    z-index: 1;
}

.feature-strip article:last-child::after {
    content: none;
}

.feature-strip article:nth-child(1) {
    background-image: url("assets/team-bg.png");
    background-position: 42% center;
}

.feature-strip article:nth-child(2) {
    background-image: url("assets/server-bg.png");
    background-position: 48% center;
}

.feature-strip article:nth-child(3) {
    background-image: url("assets/chart-bg.png");
    background-position: 48% center;
}

.feature-strip article:nth-child(4) {
    background-image: url("assets/building-bg.png");
    background-position: 58% center;
}

.feature-strip article > * {
    position: relative;
    z-index: 2;
    opacity: 1;
}

.feature-strip h3 {
    position: absolute;
    left: 36px;
    bottom: 150px;
    margin: 0;
    font-size: 17px;
    line-height: 1.15;
}

.feature-strip p {
    position: absolute;
    left: 36px;
    bottom: 48px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.45;
    max-width: 190px;
}

.case-cards {
    grid-template-columns: repeat(3, 1fr);
}

.case-cards article {
    min-height: 230px;
    overflow: hidden;
}

.case-cards article::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 42%;
    height: 100%;
    background: var(--case-image) center / cover no-repeat;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.94;
}

.case-cloud {
    --case-image: url("assets/case-cloud.png");
}

.case-warehouse {
    --case-image: url("assets/case-warehouse.png");
}

.case-shield {
    --case-image: url("assets/case-shield.png");
}

.tag {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 4px 13px;
    color: var(--blue);
    border: 1px solid rgba(9, 100, 255, 0.45);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.case-cards h3,
.case-cards p,
.case-cards strong,
.case-cards small,
.case-cards a,
.case-cards .tag {
    position: relative;
    z-index: 1;
    max-width: 62%;
}

.case-cards strong {
    display: block;
    margin-top: 18px;
    font-size: 34px;
    line-height: 1;
}

.case-cards small {
    display: block;
    color: var(--muted);
}

.case-cards article > a {
    left: auto;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--blue);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(4, 30, 75, 0.18);
}

.cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding: 26px 28px 26px 96px;
    border-radius: 10px;
}

.cta-icon {
    position: absolute;
    left: 30px;
    top: 28px;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.cta h2 {
    font-size: 23px;
}

.cta p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer {
    margin-top: -50px;
    padding: 92px 0 34px;
    color: #fff;
    background: linear-gradient(135deg, #061536, #020a1d);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
    gap: 46px;
}

.footer-brand {
    display: flex;
    width: fit-content;
    min-width: 236px;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand .brand-mark {
    width: 46px;
    height: 50px;
}

.footer-brand .brand-word {
    color: rgba(255, 255, 255, 0.94);
}

.footer-brand .brand-word > span {
    color: var(--blue);
}

.footer-brand .brand-word small {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer h3 {
    font-size: 15px;
}

.site-footer a,
.site-footer p,
.site-footer small {
    display: block;
    margin: 0 0 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.site-footer .footer-brand .brand-word small {
    display: block;
    width: max-content;
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-footer .footer-brand {
    display: flex;
    margin-bottom: 12px;
    color: #fff;
}

.inner-page {
    background: #f7faff;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    color: #fff;
    background: #061536;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.38;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 16, 43, 0.96), rgba(4, 16, 43, 0.72) 52%, rgba(4, 16, 43, 0.42)),
        linear-gradient(rgba(21, 123, 255, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 123, 255, 0.09) 1px, transparent 1px);
    background-size: 100% 100%, 68px 68px, 68px 68px;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: 70px 0;
}

.page-hero h1 {
    max-width: 780px;
    margin: 6px 0 18px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.06;
    font-weight: 900;
}

.page-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.page-content {
    padding-bottom: 78px;
}

.page-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
}

.page-content-grid-wide {
    grid-template-columns: minmax(0, 1fr);
}

.page-content-grid-wide .content-panel {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
}

.content-panel,
.page-contact-panel {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}

.content-panel {
    padding: clamp(28px, 4vw, 52px);
}

.content-panel > *:first-child {
    margin-top: 0;
}

.content-panel > *:last-child {
    margin-bottom: 0;
}

.content-panel h2,
.content-panel h3 {
    line-height: 1.15;
}

.content-panel h2 {
    margin: 36px 0 14px;
    font-size: 32px;
}

.content-panel h3 {
    margin: 28px 0 12px;
    font-size: 24px;
}

.content-panel p,
.content-panel li {
    color: var(--muted);
    font-size: 18px;
}

.content-panel ul,
.content-panel ol {
    padding-left: 22px;
}

.content-panel a {
    color: var(--blue);
    font-weight: 800;
}

.services-detail-list {
    display: grid;
}

.service-detail-item {
    padding-bottom: 27px;
}

.service-detail-item + .service-detail-item {
    padding-top: 27px;
    border-top: 1px solid var(--line);
}

.service-detail-item:last-child {
    padding-bottom: 0;
}

.content-panel .service-detail-item h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 2vw, 30px);
}

.service-detail-item h2 a {
    color: var(--navy);
    text-decoration: none;
}

.service-detail-item h2 a:hover,
.service-detail-item h2 a:focus-visible {
    color: var(--blue);
}

.service-detail-item p {
    margin: 0;
    line-height: 1.68;
}

.service-detail-item p a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-details {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.contact-details h2 {
    margin-top: 0;
}

.page-contact-panel {
    position: sticky;
    top: 110px;
    padding: 28px;
    color: #fff;
    background: linear-gradient(145deg, #061536, #03102d);
}

.page-contact-panel h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.page-contact-panel p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.76);
}

.inner-page + .site-footer {
    margin-top: 0;
    padding-top: 64px;
}

@media (max-width: 1680px) {
    .hero,
    .hero-grid {
        min-height: clamp(440px, 32vw, 520px);
    }

    .hero-grid {
        grid-template-columns: minmax(390px, 0.78fr) 1.22fr;
        padding: clamp(38px, 3.2vw, 54px) 0 clamp(56px, 3.8vw, 68px);
    }

    .hero h1 {
        max-width: 500px;
        font-size: clamp(36px, 2.95vw, 48px);
    }

    .hero p {
        max-width: 480px;
        margin-bottom: 24px;
        font-size: 15px;
    }

    .hero .btn {
        min-height: 42px;
        padding-inline: 22px;
    }

    .trust-panel {
        margin-top: -44px;
    }

    .trust-panel article {
        min-height: 84px;
        padding: 16px 20px 16px 68px;
    }

    .trust-panel .icon {
        left: 22px;
        top: 22px;
        width: 38px;
        height: 38px;
    }

    .trust-panel strong {
        font-size: 16px;
    }

    .trust-panel p {
        font-size: 12px;
    }

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

@media (max-width: 1240px) {
    .site-header {
        gap: 14px;
    }

    .brand {
        min-width: 216px;
    }

    .brand-word {
        font-size: 31px;
    }

    .main-nav {
        gap: 14px;
        font-size: 13px;
    }

    .site-header .btn {
        min-width: 164px;
        padding-inline: 18px;
    }
}

@media (max-width: 1180px) {
    .site-header {
        gap: 16px;
        flex-wrap: wrap;
    }

    .main-nav {
        order: 4;
        flex-basis: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 3px;
    }

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

    .stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-panel,
    .case-cards,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .page-content-grid {
        grid-template-columns: 1fr;
    }

    .page-contact-panel {
        position: static;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: clamp(430px, 50vw, 520px);
        padding: 34px 0 62px;
    }

    .hero {
        min-height: clamp(430px, 50vw, 520px);
    }

    .hero-bg {
        position: absolute;
        min-height: 0;
        object-position: center center;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        max-width: min(720px, 92vw);
        font-size: clamp(32px, 4vw, 42px);
    }

    .hero p {
        max-width: min(760px, 92vw);
        font-size: 15px;
    }

    .trust-panel {
        margin-top: -32px;
    }

    .feature-strip {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        background: #061538;
        clip-path: none;
        gap: 0;
    }

    .feature-strip article {
        background-position: center;
        background-size: cover;
        clip-path: none;
        margin-left: 0;
    }

    .feature-strip article::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(2, 12, 34, 0.18), rgba(2, 12, 34, 0.82));
    }

    .feature-strip article > * {
        opacity: 1;
    }

    .feature-strip article:nth-child(1) {
        background-image: url("assets/team-bg.png");
    }

    .feature-strip article:nth-child(2) {
        background-image: url("assets/server-bg.png");
    }

    .feature-strip article:nth-child(3) {
        background-image: url("assets/chart-bg.png");
    }

    .feature-strip article:nth-child(4) {
        background-image: url("assets/building-bg.png");
    }

    .feature-strip article:nth-child(1),
    .feature-strip article:nth-child(4) {
        padding-inline: 34px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1110px);
    }

    .site-header {
        position: relative;
        padding: 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand-word {
        font-size: 30px;
    }

    .brand-word small {
        font-size: 8px;
    }

    .site-header .btn,
    .phone-link {
        flex: 1 1 170px;
    }

    .main-nav {
        gap: 8px 18px;
        order: 5;
        margin-inline: -14px;
        padding: 4px 14px 8px;
        font-size: 14px;
        flex-wrap: wrap;
        overflow: visible;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 540px;
        padding: 38px 0 70px;
    }

    .hero {
        min-height: 540px;
    }

    .hero-bg {
        min-height: 0;
        object-position: center center;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: clamp(32px, 8.2vw, 44px);
        max-width: 92vw;
        white-space: normal;
    }

    .hero p {
        font-size: 17px;
        max-width: 92vw;
    }

    .shield {
        left: 34%;
        width: 170px;
        height: 232px;
    }

    .checkmark {
        left: 55px;
        top: 88px;
        width: 72px;
        height: 40px;
        border-left-width: 16px;
        border-bottom-width: 16px;
    }

    .server {
        height: 300px;
        width: 88px;
    }

    .cloud-node {
        transform: scale(0.72);
        transform-origin: left top;
    }

    .trust-panel,
    .service-cards,
    .stats,
    .case-cards,
    .feature-strip,
    .cta,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-panel {
        margin-top: -42px;
    }

    .trust-panel article,
    .stats article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .stats article {
        padding-left: 72px;
    }

    .section-head,
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .feature-strip {
        clip-path: none;
    }

    .feature-strip article {
        min-height: 230px;
        padding: 28px;
        clip-path: none;
        margin-left: 0;
    }

    .page-hero,
    .page-hero-inner {
        min-height: 320px;
    }

    .page-hero p {
        font-size: 17px;
    }

    .content-panel p,
    .content-panel li {
        font-size: 16px;
    }

    .feature-strip article:nth-child(1),
    .feature-strip article:nth-child(4) {
        padding-inline: 28px;
    }

    .case-cards article {
        min-height: 420px;
        padding-top: 190px;
    }

    .case-cards article::after {
        left: 0;
        right: auto;
        top: 0;
        width: 100%;
        height: 190px;
        clip-path: none;
    }

    .case-shield::after {
        background-color: #061538;
        background-position: center;
        background-size: contain;
    }

    .case-cards .case-shield {
        min-height: 390px;
        padding-top: 32px;
        padding-right: 42%;
    }

    .case-cards .case-shield::after {
        left: auto;
        right: 0;
        top: 0;
        width: 39%;
        height: 100%;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    }

    .case-cards .case-shield h3,
    .case-cards .case-shield p,
    .case-cards .case-shield strong,
    .case-cards .case-shield small,
    .case-cards .case-shield .tag {
        max-width: none;
    }

    .case-cards h3,
    .case-cards p,
    .case-cards strong,
    .case-cards small,
    .case-cards .tag {
        max-width: none;
    }

    .case-cards article > a {
        right: 22px;
        bottom: 22px;
    }

    .cta {
        padding: 28px;
    }

.cta-icon {
    position: static;
    display: block;
    margin-bottom: 6px;
}
}

.legal-details {
    margin-top: 24px;
}

.bitrix-hero {
    background: radial-gradient(circle at 78% 18%, rgba(0, 148, 255, 0.22), transparent 28%), linear-gradient(135deg, #06142f 0%, #071b44 52%, #031027 100%);
    color: #fff;
    overflow: hidden;
    padding: 86px 0 76px;
}

.bitrix-hero-grid {
    align-items: center;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
}

.bitrix-hero-copy h1 {
    color: #fff;
    font-size: clamp(42px, 4vw, 70px);
    line-height: 0.98;
    margin: 12px 0 24px;
    max-width: 760px;
}

.bitrix-hero-copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.58;
    max-width: 680px;
}

.bitrix-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.bitrix-hero-media {
    position: relative;
}

.bitrix-partner {
    display: block;
    height: auto;
    margin: 0 0 24px auto;
    max-width: 330px;
    width: 42%;
}

.bitrix-device {
    display: block;
    filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.45));
    height: auto;
    margin-left: auto;
    max-width: 100%;
}

.bitrix-overview,
.bitrix-slider-section,
.bitrix-process,
.bitrix-certificates,
.bitrix-final {
    background: #fff;
}

.bitrix-feature-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bitrix-feature-grid article,
.bitrix-steps article,
.bitrix-cert-card {
    background: #fff;
    border: 1px solid #d8e1f0;
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(4, 25, 62, 0.07);
}

.bitrix-feature-grid article {
    padding: 26px;
}

.bitrix-feature-grid strong,
.bitrix-steps strong,
.bitrix-cert-card strong {
    color: #061436;
    display: block;
    font-size: 22px;
    margin-bottom: 12px;
}

.bitrix-feature-grid p,
.bitrix-steps p {
    color: #52607c;
    line-height: 1.6;
    margin: 0;
}

.bitrix-carousel {
    display: grid;
    gap: 22px;
    grid-auto-columns: minmax(620px, 78%);
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 6px 2px 22px;
    scroll-snap-type: x mandatory;
}

.bitrix-carousel::-webkit-scrollbar {
    height: 10px;
}

.bitrix-carousel::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 20px;
}

.bitrix-slide {
    background: #061436;
    border-radius: 8px;
    color: #fff;
    overflow: hidden;
    scroll-snap-align: start;
}

.bitrix-slide img {
    aspect-ratio: 16 / 9;
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.bitrix-slide div {
    padding: 24px 28px 28px;
}

.bitrix-slide h3 {
    color: #fff;
    font-size: 26px;
    margin: 0 0 10px;
}

.bitrix-slide p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
}

.bitrix-process-grid {
    align-items: start;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
}

.bitrix-process-grid h2 {
    color: #061436;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1.05;
    margin: 10px 0 22px;
}

.bitrix-process-grid p {
    color: #52607c;
    font-size: 18px;
    line-height: 1.7;
}

.bitrix-steps {
    display: grid;
    gap: 14px;
}

.bitrix-steps article {
    padding: 24px;
}

.bitrix-steps span {
    color: #0d6efd;
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bitrix-cert-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bitrix-cert-card {
    color: inherit;
    overflow: hidden;
    padding: 14px 14px 20px;
    text-decoration: none;
}

.bitrix-cert-card img {
    aspect-ratio: 4 / 3;
    background: #edf4ff;
    border-radius: 6px;
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.bitrix-cert-card strong {
    font-size: 18px;
    margin: 16px 6px 0;
}

.bitrix-final-panel {
    align-items: center;
    background: linear-gradient(135deg, #061436, #082766);
    border-radius: 8px;
    color: #fff;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding: 36px;
}

.bitrix-final-panel h2 {
    color: #fff;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.08;
    margin: 8px 0 10px;
}

.bitrix-final-panel p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    max-width: 760px;
}

@media (max-width: 1100px) {
    .bitrix-hero-grid,
    .bitrix-process-grid {
        grid-template-columns: 1fr;
    }

    .bitrix-partner {
        margin-left: 0;
    }

    .bitrix-feature-grid,
    .bitrix-cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .bitrix-hero {
        padding: 58px 0;
    }

    .bitrix-actions,
    .bitrix-actions .btn,
    .bitrix-final-panel,
    .bitrix-final-panel .btn {
        width: 100%;
    }

    .bitrix-final-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .bitrix-feature-grid,
    .bitrix-cert-grid {
        grid-template-columns: 1fr;
    }

    .bitrix-carousel {
        grid-auto-columns: 88%;
    }
}

.cases-page-hero .page-hero-bg {
    object-position: center;
}

.cases-index-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-index-card {
    background: #fff;
    border: 1px solid #d8e1f0;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(4, 25, 62, 0.08);
    color: #061436;
    min-height: 360px;
    overflow: hidden;
    padding: 34px 32px;
    position: relative;
    text-decoration: none;
}

.case-index-card::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 52%, rgba(6, 20, 54, 0) 74%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.case-index-card::after {
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0 0 0 47%;
    position: absolute;
}

.case-index-card > * {
    position: relative;
    z-index: 2;
}

.case-index-card h3 {
    font-size: 28px;
    line-height: 1.15;
    margin: 28px 0 20px;
    max-width: 320px;
}

.case-index-card p {
    color: #52607c;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 320px;
}

.case-index-card strong {
    color: #0d6efd;
    display: block;
    font-size: 52px;
    line-height: 1;
}

.case-index-card small {
    color: #52607c;
    display: block;
    font-size: 17px;
    margin-top: 6px;
}

.case-index-arrow {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    bottom: 34px;
    box-shadow: 0 14px 34px rgba(4, 25, 62, 0.18);
    color: #0d6efd;
    display: flex;
    font-size: 38px;
    height: 70px;
    justify-content: center;
    position: absolute;
    right: 28px;
    width: 70px;
}

.cases-articles-section {
    padding-top: 0;
}

.cases-article-list {
    display: grid;
    gap: 18px;
}

.case-article {
    background: #fff;
    border: 1px solid #d8e1f0;
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(4, 25, 62, 0.07);
    overflow: hidden;
}

.case-article summary {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    list-style: none;
    padding: 28px 32px;
}

.case-article summary::-webkit-details-marker {
    display: none;
}

.case-article summary strong {
    color: #061436;
    display: block;
    font-size: 28px;
    line-height: 1.16;
}

.case-article summary small {
    color: #0d6efd;
    display: block;
    font-size: 17px;
    font-weight: 800;
    margin-top: 8px;
}

.case-toggle {
    border: 2px solid #0d6efd;
    border-radius: 50%;
    height: 42px;
    position: relative;
    width: 42px;
}

.case-toggle::before,
.case-toggle::after {
    background: #0d6efd;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.case-toggle::before {
    height: 2px;
    width: 18px;
}

.case-toggle::after {
    height: 18px;
    transition: opacity 0.2s ease;
    width: 2px;
}

.case-article[open] .case-toggle::after {
    opacity: 0;
}

.case-article-body {
    border-top: 1px solid #d8e1f0;
    padding: 32px;
}

.case-article-section {
    max-width: 920px;
}

.case-article-section + .case-article-section {
    margin-top: 30px;
}

.case-article-section h3 {
    color: #061436;
    font-size: 26px;
    margin: 0 0 14px;
}

.case-article-section p,
.case-article-section li {
    color: #52607c;
    font-size: 18px;
    line-height: 1.7;
}

.case-article-section p {
    margin: 0 0 14px;
}

.case-article-section ul {
    margin: 14px 0 0;
    padding-left: 22px;
}

.cases-contact-panel {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 28px;
    padding: 34px 40px;
}

.cases-contact-panel h2 {
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.1;
}

.cases-contact-panel p {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .cases-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .cases-index-grid {
        grid-template-columns: 1fr;
    }

    .case-index-card {
        min-height: 420px;
        padding: 28px;
    }

    .case-index-card::after {
        inset: 42% 0 0;
    }

    .case-index-card::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(6, 20, 54, 0) 82%);
    }

    .case-index-card h3,
    .case-index-card p {
        max-width: 100%;
    }

    .case-article summary {
        align-items: start;
        grid-template-columns: 1fr auto;
        padding: 24px;
    }

    .case-article summary .tag {
        grid-column: 1 / -1;
        width: max-content;
    }

    .case-article-body {
        padding: 24px;
    }

    .cases-contact-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .cases-contact-panel .btn {
        width: 100%;
    }
}

