:root {
    --navy: #101d35;
    --navy2: #172b4d;
    --blue: #2585e8;
    --cyan: #51c7ed;
    --text: #18243a;
    --muted: #66748a;
    --light: #f4f7fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Manrope, Arial, sans-serif; color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.header { background: white; position: relative; z-index: 5; border-bottom: 1px solid #e8edf4; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.brand small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .18em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: white; background: linear-gradient(135deg,var(--blue),var(--cyan)); font-size: 23px; }
.nav { display: flex; gap: 27px; font-size: 13px; font-weight: 700; }
.nav a:hover, .header-phone:hover { color: var(--blue); }
.header-phone { font-size: 14px; font-weight: 800; white-space: nowrap; }
.hero { background: radial-gradient(circle at 80% 45%,#244b78 0,transparent 35%), linear-gradient(115deg,#101d35,#172f51); color: white; overflow: hidden; }
.hero-grid { min-height: 570px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 55px; padding-bottom: 55px; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 18px; }
.hero .eyebrow { color: #70d5f3; }
.eyebrow span, .art-status span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-right: 8px; }
h1 { font-size: clamp(42px,5.2vw,66px); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 23px; max-width: 700px; }
h1 span { color: #61c9f0; }
.hero-copy > p { max-width: 590px; color: #c2d0e2; font-size: 17px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 23px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.button-primary { background: var(--blue); color: white; }
.button-outline { border: 1px solid #7890ae; color: white; }
.hero-note { margin-top: 34px; color: #9fb2ca; font-size: 12px; }
.hero-art { min-height: 350px; position: relative; display: grid; place-items: center; }
.art-glow { position: absolute; width: 330px; height: 330px; background: #2389db; filter: blur(100px); opacity: .3; }
.art-orbit { position: absolute; width: 330px; height: 330px; border: 1px solid #5b85ae66; border-radius: 50%; transform: rotate(-25deg) scaleY(.55); }
.art-card { position: absolute; z-index: 1; background: #ffffff12; border: 1px solid #ffffff30; backdrop-filter: blur(16px); border-radius: 18px; box-shadow: 0 25px 70px #06132666; }
.art-card-main { width: 270px; padding: 28px; }
.art-icon { color: #6bd8fa; font-size: 42px; }
.art-label { font-weight: 800; font-size: 19px; margin: 20px 0; }
.art-line { height: 1px; background: #ffffff30; }
.art-status { color: #c4d6e8; font-size: 12px; margin-top: 17px; }
.art-card-small { right: 0; bottom: 25px; padding: 18px 22px; display: grid; }
.art-card-small strong { font-size: 29px; color: #70d5f3; }
.art-card-small span { font-size: 11px; color: #d1deec; }
.trust-strip { background: #f0f5fa; }
.trust-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #60718a; font-size: 11px; font-weight: 800; }
.trust-inner span:first-child { color: var(--navy); }
.section { padding: 100px 0; }
.section-heading { max-width: 680px; margin-bottom: 43px; }
h2 { font-size: clamp(30px,4vw,43px); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 16px; }
.section-heading p, .muted { color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { padding: 28px; border: 1px solid #e5ebf2; border-radius: 13px; background: white; transition: .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #18243a12; border-color: #b6d8f8; }
.service-card > span { color: var(--blue); font-weight: 800; font-size: 12px; }
.service-card h3 { font-size: 18px; line-height: 1.35; margin: 23px 0 10px; }
.service-card p { color: var(--muted); font-size: 13px; margin: 0; }
.about-section { padding: 85px 0; background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-grid p { color: var(--muted); }
.text-link { color: var(--blue); font-weight: 800; font-size: 13px; }
.review-section { background: #fff; padding: 65px 0; }
.review-card { padding: 42px; border-radius: 16px; background: #f3f7fc; border-left: 4px solid var(--blue); }
blockquote { margin: 0; font-size: 19px; line-height: 1.7; font-weight: 600; }
.contact-section { padding: 90px 0; background: var(--navy); color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact-section p { color: #b7c6d9; }
.contact-section a { display: inline-block; margin: 5px 0; color: #83d8f4; font-weight: 700; }
.contact-placeholder { padding: 30px; border: 1px solid #ffffff30; border-radius: 14px; background: #ffffff0b; }
.footer { background: #0b1528; color: #aab9cc; padding: 25px 0; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: white; }
@media(max-width:850px) {
    .nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { min-height: 280px; }
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
}
@media(max-width:560px) {
    .header-inner { min-height: 72px; }
    .header-phone { font-size: 11px; }
    .brand { font-size: 13px; }
    .brand-mark { width: 36px; height: 36px; }
    .hero-grid { padding-top: 65px; padding-bottom: 45px; }
    .hero-art { min-height: 250px; }
    .art-card-small { right: -5px; }
    .services-grid { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
    .trust-inner { padding: 18px 0; }
    .review-card { padding: 25px; }
    blockquote { font-size: 16px; }
}

/* Логотипы клиентов */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
    margin-top: 36px;
}

.client-logo {
    min-height: 120px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20, 45, 75, .09);
}

.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 760px) {
    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .client-logo {
        min-height: 100px;
        padding: 16px;
    }
}

/* Контрастная подложка для белого логотипа ClusterX */
.client-logo[href="https://clusterx.ru/"] {
    background: #172b45;
}

.client-logo[href="https://clusterx.ru/"] img {
    max-width: 90%;
    max-height: 76px;
}

/* Contact form */
.contact-form {
    padding: 30px;
    border: 1px solid #ffffff30;
    border-radius: 14px;
    background: #ffffff0b;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #ffffff35;
    border-radius: 8px;
    background: #fff;
    color: #172b45;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #83d8f4;
    outline-offset: 2px;
}

.contact-form input[type="checkbox"] {
    margin-right: 9px;
    accent-color: #83d8f4;
}

.contact-form button,
.contact-form input[type="submit"] {
    cursor: pointer;
}

.contact-form .buttons {
    margin-top: 20px;
}

.privacy-note {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.privacy-note a {
    color: #83d8f4;
}

.contact-form .form-field {
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 20px;
    }
}

/* Privacy policy page */
.privacy-page {
    min-height: 65vh;
    padding: 65px 0 90px;
    background: #f3f7fc;
    color: #172b45;
}

.privacy-content {
    max-width: 900px;
    padding: 45px 55px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(23, 43, 69, .07);
}

.privacy-content h1 {
    margin: 0 0 28px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.privacy-content h2 {
    margin: 35px 0 15px;
    font-size: 23px;
}

.privacy-content h3 {
    margin: 25px 0 12px;
    font-size: 19px;
}

.privacy-content p,
.privacy-content li {
    line-height: 1.8;
    color: #46566b;
}

.privacy-content ul {
    padding-left: 24px;
}

@media (max-width: 600px) {
    .privacy-page {
        padding: 30px 0 50px;
    }

    .privacy-content {
        padding: 25px 20px;
    }
}

/* Согласие на обработку персональных данных */
.contact-form .form-input-wrapper:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
}

.contact-form .form-input-wrapper input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: #83d8f4;
}

.contact-form .form-input-wrapper input[type="checkbox"] + label {
    display: inline;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}

.contact-form .form-input-wrapper label a {
    color: #83d8f4;
    text-decoration: underline;
}

.contact-form .required {
    color: #83d8f4;
}

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .65);
}
.success-modal-box {
    width: 100%;
    max-width: 440px;
    padding: 36px 30px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.success-modal-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e7f8ee;
    color: #159447;
    font-size: 36px;
    line-height: 58px;
}
.success-modal-box h2 {
    margin: 0 0 12px;
}
.success-modal-box p {
    margin: 0 0 24px;
}
