/* --- MANROPE (Основной текст) --- */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-semibold.ttf') format('truetype');
    font-weight: 600; /* Используется в кнопках и навигации */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- UNBOUNDED (Заголовки) --- */
@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded-extralight.ttf') format('truetype');
    font-weight: 200; /* Используется в крупных цифрах (trust__value) */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded-semibold.ttf') format('truetype');
    font-weight: 600; /* Используется в заголовках h1, h2 */
    font-style: normal;
    font-display: swap;
}

.hud__corner { pointer-events: none; position: absolute; width: 16px; height: 16px; z-index: 2 }
.hud__corner--1 { left: 14px; border-left: 1px solid hsla(0,0%,100%,.26) }
.hud__corner--1,.hud__corner--2 { top: 14px; border-top: 1px solid hsla(0,0%,100%,.26) }
.hud__corner--2 { right: 14px; border-right: 1px solid hsla(0,0%,100%,.26) }
.hud__corner--3 { left: 14px; border-left: 1px solid hsla(0,0%,100%,.26) }
.hud__corner--3,.hud__corner--4 { bottom: 14px; border-bottom: 1px solid hsla(0,0%,100%,.26) }
.hud__corner--4 { right: 14px; border-right: 1px solid hsla(0,0%,100%,.26) }

.section--hud {
    position: relative; display: flex; flex-direction: column; align-items: center;
    --tw-bg-opacity: 1; background-color: rgb(255 255 255/var(--tw-bg-opacity,1)); z-index: 1
}
.section--hud h2 {
    font-family: Unbounded,Manrope,sans-serif; font-weight: 600; color: var(--ink);
    font-size: 28px; letter-spacing: .005em
}
.section-heading { display: flex; justify-content: center; margin-bottom: 44px }
@media(max-width: 760px) {
    .section--hud h2 { font-size: clamp(20px,5.6vw,28px)!important }
    .section-heading { padding: 0 18px }
}
@media(max-width: 560px) { .section-heading h2 { line-height: 1.22 } }

.hero__sky { pointer-events: none; inset: -14% }
.hero__blob,.hero__sky { position: absolute }
.hero__blob {
    border-radius: 50%; will-change: transform; transform: translateZ(0)
}
.hero__blob--1 { width: 760px; height: 640px; left: -32%; top: -4%; background: radial-gradient(closest-side,#6080b2ae 0,#6080b28f 28%,#6080b257 52%,#6080b227 72%,#6080b20a 88%,#6080b200) }
.hero__blob--2 { width: 470px; height: 470px; left: -22%; top: 44%; background: radial-gradient(closest-side,#6684b690 0,#6684b677 28%,#6684b648 52%,#6684b620 72%,#6684b609 88%,#6684b600) }
.hero__blob--3 { width: 240px; height: 215px; left: 77%; top: 48%; background: radial-gradient(closest-side,#d6e4f8dd 0,#d6e4f8b5 28%,#d6e4f86f 52%,#d6e4f831 72%,#d6e4f80e 88%,#d6e4f800) }
.hero__blob--4 { width: 175px; height: 280px; left: 82%; top: 24%; background: radial-gradient(closest-side,#98b2d85a 0,#98b2d849 28%,#98b2d82d 52%,#98b2d814 72%,#98b2d806 88%,#98b2d800) }
.hero__blob--5 { width: 215px; height: 190px; left: 74%; top: 70%; background: radial-gradient(closest-side,#bed2ee9e 0,#bed2ee82 28%,#bed2ee4f 52%,#bed2ee23 72%,#bed2ee09 88%,#bed2ee00) }
.hero__blob--6 { width: 240px; height: 200px; left: 68%; top: 58%; background: radial-gradient(closest-side,#607eae45 0,#607eae38 28%,#607eae22 52%,#607eae0f 72%,#607eae04 88%,#607eae00) }
.hero__blob--7 { width: 320px; height: 240px; left: 24%; top: 72%; background: radial-gradient(closest-side,#4e689434 0,#4e68942b 28%,#4e68941a 52%,#4e68940b 72%,#4e689403 88%,#4e689400) }
.hero__blob--8 { width: 210px; height: 175px; left: 41%; top: 78%; background: radial-gradient(closest-side,#465e862b 0,#465e8623 28%,#465e8615 52%,#465e8609 72%,#465e8603 88%,#465e8600) }

.hero__blob,.hero__sky { -webkit-transform: translateZ(0) }



.site-header__logo-text {
  display: flex;
  flex-direction: column;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 600;
  color: #14161a;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .04em;
}
.site-header__logo-line {
  display: block;
}
.site-header__logo-image {
  display: none;
}

.site-header__logo-link {
  text-decoration: none;
  color: inherit;
}

/* ---------- FAQ: частые вопросы ---------- */
.faq {
    margin: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 80px 16px 90px;
    background:
        radial-gradient(38% 76% at 0 40%, #3c567ec7 0, #3c567e00 76%),
        radial-gradient(30% 40% at 84% 64%, #30466a80 0, #30466a00 74%),
        radial-gradient(92% 80% at 70% 4%, #020306ad 0, #02030600 64%),
        linear-gradient(168deg, #05070d, #070a13 38%, #06080f 70%, #030509);
}
.faq__heading {
    width: 100%;
    max-width: 1160px;
    margin-bottom: 48px;
    text-align: center; /* Выравниваем текст по центру */
}
.faq__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    color: #7dd3fc;
    margin-bottom: 16px;
}
.faq__heading h2 {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 28px; /* Делаем размер таким же, как в блоке Expertise */
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0;
}
.faq__list {
    width: 100%;
    max-width: 1160px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq__item {
    background: #f4f4f5;
    border-radius: 20px;
    overflow: hidden;
    transition: background .3s;
}
.faq__item[data-faq].faq__item--open {
    background: #fff;
}
.faq__question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: padding .35s var(--ease);
}
.faq__number {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: #8b5cf6;
    flex: 0 0 auto;
    letter-spacing: .04em;
}
.faq__title {
    flex: 1 1 auto;
    font-family: Manrope, Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #14161a;
    line-height: 1.35;
}
.faq__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e1e2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    transition: background .3s, transform .35s var(--ease);
}
.faq__item--open .faq__icon {
    background: #8b5cf6;
    transform: rotate(45deg);
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease), padding .35s var(--ease);
}
.faq__answer p {
    padding: 0 24px 24px 52px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}
.faq__item--open .faq__answer {
    max-height: 300px;
}

/* Выделенный первый элемент FAQ */
.faq__item--highlight {
  background: #e31b3d; /* Красный как в projects */
}

.faq__item--highlight .faq__question {
  /* Можно добавить дополнительные стили при необходимости */
}

.faq__item--highlight .faq__number {
  color: #ffffff; /* Белый номер */
}

.faq__item--highlight .faq__title {
  color: #ffffff; /* Белый текст */
}

.faq__item--highlight .faq__icon {
  background: #ffffff; /* Белая иконка */
  color: #e31b3d; /* Красный плюс */
}

/* При открытии - белый фон, но текст остается красным */
.faq__item--highlight.faq__item--open {
  background: #ffffff;
}

.faq__item--highlight.faq__item--open .faq__number {
  color: #8b5cf6; /* Возвращаем фиолетовый как у остальных */
}

.faq__item--highlight.faq__item--open .faq__title {
  color: #14161a; /* Возвращаем темный как у остальных */
}

.faq__item--highlight.faq__item--open .faq__icon {
  background: #8b5cf6; /* Фиолетовый как у остальных */
  color: #ffffff;
}

@media (max-width: 760px) {
    .faq { padding: 56px 16px 64px; }
    .faq__heading { margin-bottom: 32px; }
    .faq__question { padding: 18px 18px; gap: 12px; }
    .faq__title { font-size: 15px; }
    .faq__icon { width: 36px; height: 36px; font-size: 20px; }
    .faq__answer p { padding: 0 18px 20px 44px; font-size: 14px; }
}
@media (max-width: 480px) {
    .faq__heading h2 { font-size: 32px; }
    .faq__list { gap: 10px; }
}
#faq { scroll-margin-top: 92px; }
@media (max-width: 900px) { #faq { scroll-margin-top: 76px; } }


/* ---------- Trust: "Нам можно доверять" ---------- */
.trust {
    margin: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 76px 16px 88px;
    background: radial-gradient(38% 76% at 0 40%,#3c567ec7 0,#3c567e00 76%),radial-gradient(30% 40% at 84% 64%,#30466a80 0,#30466a00 74%),radial-gradient(30% 34% at 30% 78%,#26365047 0,#26365000 76%),radial-gradient(92% 80% at 70% 4%,#020306ad 0,#02030600 64%),linear-gradient(168deg,#05070d,#070a13 38%,#06080f 70%,#030509);
}
.trust__sky {
    pointer-events: none;
    inset: -14%;
    position: absolute;
}
.trust__blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transform: translateZ(0);
}
.trust__blob--1 { width: 760px; height: 640px; left: -32%; top: -4%; background: radial-gradient(closest-side,#6080b2ae 0,#6080b28f 28%,#6080b257 52%,#6080b227 72%,#6080b20a 88%,#6080b200) }
.trust__blob--2 { width: 470px; height: 470px; left: -22%; top: 44%; background: radial-gradient(closest-side,#6684b690 0,#6684b677 28%,#6684b648 52%,#6684b620 72%,#6684b609 88%,#6684b600) }
.trust__blob--3 { width: 240px; height: 215px; left: 77%; top: 48%; background: radial-gradient(closest-side,#d6e4f8dd 0,#d6e4f8b5 28%,#d6e4f86f 52%,#d6e4f831 72%,#d6e4f80e 88%,#d6e4f800) }
.trust__blob--4 { width: 175px; height: 280px; left: 82%; top: 24%; background: radial-gradient(closest-side,#98b2d85a 0,#98b2d849 28%,#98b2d82d 52%,#98b2d814 72%,#98b2d806 88%,#98b2d800) }
.trust__blob--5 { width: 215px; height: 190px; left: 74%; top: 70%; background: radial-gradient(closest-side,#bed2ee9e 0,#bed2ee82 28%,#bed2ee4f 52%,#bed2ee23 72%,#bed2ee09 88%,#bed2ee00) }
.trust__blob--6 { width: 240px; height: 200px; left: 68%; top: 58%; background: radial-gradient(closest-side,#607eae45 0,#607eae38 28%,#607eae22 52%,#607eae0f 72%,#607eae04 88%,#607eae00) }
.trust__blob--7 { width: 320px; height: 240px; left: 24%; top: 72%; background: radial-gradient(closest-side,#4e689434 0,#4e68942b 28%,#4e68941a 52%,#4e68940b 72%,#4e689403 88%,#4e689400) }
.trust__blob--8 { width: 210px; height: 175px; left: 41%; top: 78%; background: radial-gradient(closest-side,#465e862b 0,#465e8623 28%,#465e8615 52%,#465e8609 72%,#465e8603 88%,#465e8600) }
.trust__heading {
    text-align: center;
    margin-bottom: 44px;
    width: 100%;
    max-width: 1160px;
    position: relative;
    z-index: 2;
}
.trust__heading h2 {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 28px;
    letter-spacing: .005em;
    margin: 0;
}
.trust__accent {
    color: #fff;
}
.trust__grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1160px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.trust__window {
    box-sizing: border-box;
    background: #16181d;
    border: 1px solid #ffffff66; /* полупрозрачная белая рамка */
    border-radius: 10px;
    width: 290px;
    overflow: hidden;
    box-shadow: 
        0 0 20px #ffffff33,   /* мягкое белое свечение */
        0 0 45px #ffffff1a,   /* широкое свечение */
        0 20px 50px #00000066,
        inset 0 1px #ffffff14;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.trust__window:hover {
    border-color: #ffffffaa; /* ярче при наведении */
    box-shadow: 
        0 0 30px #ffffff66,   /* усиленное свечение */
        0 0 70px #ffffff33,   /* широкое яркое свечение */
        0 26px 60px #00000088,
        inset 0 1px #ffffff22;
}
.trust__window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #2952ff; /* Синий цвет как у кнопки */
    border-radius: 10px 10px 0 0;
}

.trust__window-title {
    font-family: Manrope, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff; /* белый текст на красном фоне */
    letter-spacing: .02em;
}

.trust__window-controls {
    display: flex;
    gap: 9px;
}

.trust__window-controls span {
    color: #ffffffcc; /* полупрозрачный белый для иконок */
    font-size: 14px;
    cursor: default;
    font-family: ui-monospace, Menlo, monospace;
    line-height: 1;
}
.trust__window-content {
    padding: 28px 22px 30px;
    text-align: left;
}
.trust__value {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 200;
    font-size: clamp(44px, 5vw, 64px);
    color: #fff;
    line-height: 1.08;
    letter-spacing: .01em;
    white-space: nowrap;
}
.trust__label {
    margin-top: 14px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 15px;
    color: #fff;
    line-height: 1.45;
    font-weight: 400;
}
.trust__label-accent { color: #fff; }
.trust__label-accent2 { color: #fff; }
@media (max-width: 760px) {
    .trust { padding: 56px 16px 64px; }
    .trust__heading h2 { font-size: clamp(20px, 5.6vw, 28px); }
    .trust__grid { gap: 16px; }
    .trust__window { width: 100%; max-width: 340px; }
}
@media (max-width: 480px) {
    .trust { padding: 44px 14px 52px; }
    .trust__window-content { padding: 22px 18px 24px; }
}
#trust { scroll-margin-top: 92px; }
@media (max-width: 900px) { #trust { scroll-margin-top: 76px; } }

@media print { .hero__sky { display: none!important } }

.landing-section {
    opacity: 0; transform: translateY(64px) scale(.965); filter: blur(12px);
    transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease);
    will-change: transform, filter
}
.landing-section--visible { opacity: 1; transform: none; filter: blur(0); will-change: auto }
@media(prefers-reduced-motion:reduce) {
    .landing-section { opacity: 1!important; transform: none!important; filter: none!important; transition: none!important }
}

[data-reveal].reveal--visible { opacity: 1; transform: none }

.hero { margin: 0; width: 100%; border-radius: 0 }
.hero__sequence {
    display: inline-block; opacity: 0; transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d,0s)
}
body.site--loaded .hero__sequence { opacity: 1; transform: none }
@media(prefers-reduced-motion:reduce) {
    .hero__sequence { opacity: 1!important; transform: none!important; transition: none!important }
}
.hero {
    position: relative; overflow: hidden; padding: 0; z-index: 1; height: 700px;
    background: radial-gradient(38% 76% at 0 40%,#3c567ec7 0,#3c567e00 76%),radial-gradient(30% 40% at 84% 64%,#30466a80 0,#30466a00 74%),radial-gradient(30% 34% at 30% 78%,#26365047 0,#26365000 76%),radial-gradient(92% 80% at 70% 4%,#020306ad 0,#02030600 64%),linear-gradient(168deg,#05070d,#070a13 38%,#06080f 70%,#030509)
}
.hero canvas { position: absolute; inset: 0; display: block }
.hero__content {
    pointer-events: none; position: absolute;
    left: max(24px,(100% - 1280px)/2 + 60px);
    top: clamp(72px,12vh,126px);
    width: min(610px,100% - 40px); z-index: 3
}
h1 .hero__title-line { display: block; overflow: hidden }
.hero__subtitle { font-size: clamp(15px,1.6vw,18px); line-height: 1.55; color: #b9c0cc; max-width: 540px }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px }
.hero__content .button { pointer-events: auto }
.hero__trust { display: flex; flex-wrap: wrap; gap: 9px; padding-top: clamp(24px,4vh,44px) }
.hero__trust-chip {
    border-radius: 9999px; font-weight: 500; background: #ffffff12;
    border: 1px solid hsla(0,0%,100%,.12); padding: 6px 15px;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: #e7eaf1
}
.hero__hint {
    pointer-events: none; position: absolute; left: 0; right: 0;
    -webkit-user-select: none; -moz-user-select: none; user-select: none;
    text-align: center; bottom: 18px; z-index: 3;
    font: 600 10px/1.5 Manrope,sans-serif; letter-spacing: .24em; color: #ffffff4d;
    transition: opacity 1.2s ease
}
.hero__hint--hidden { opacity: 0 }
@media(max-width: 1024px) { .hero { height: 660px } }
@media(max-width: 1000px) { .hero { height: 84vh; min-height: 620px; max-height: 860px } }
@media(min-width: 1000px) and (max-width:1259px) { .hero__content { width: min(560px,44vw) } }
@media(max-width: 560px) {
    .hero { min-height: 780px }
    .hero__trust-chip { font-size: 12.5px; padding: 4px 12px }
    .hero__hint { display: none }
}
@media(hover: none) { .hero__hint { display: none } }
@media(max-width: 900px) {
    .hero { height: auto; justify-content: center; min-height: 520px; padding: 30px 0 40px }
    .hero__content { position: relative; left: 0; top: 0; width: auto; padding: 0 20px }
    .hero__subtitle { max-width: none; font-size: 15.5px; line-height: 1.6 }
    .hero__actions { padding-top: 22px; gap: 10px }
    .hero__actions .button { font-size: .875rem; line-height: 1.25rem; height: 50px }
    .hero__trust { padding-top: 20px; gap: 8px }
    .hero canvas { display: none }
}
@media(max-width: 640px) {
    .hero__actions .button { justify-content: center; text-align: center; flex: 1 1 100% }
    .hero { min-height: 0; padding: 24px 0 32px }
}
@media(max-width: 560px) { .hero { min-height: 0 } .hero__hint { display: none } }
@media print { .hero canvas { display: none!important } }
#hero__interface-canvas { z-index: 2 }
@media(max-width: 640px) { #hero__interface-canvas { display: none } }

.expertise {
    margin: 0;
    width: 100%;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    padding: 76px 16px 88px;
    background: radial-gradient(38% 76% at 0 40%,#3c567ec7 0,#3c567e00 76%),radial-gradient(30% 40% at 84% 64%,#30466a80 0,#30466a00 74%),radial-gradient(30% 34% at 30% 78%,#26365047 0,#26365000 76%),radial-gradient(92% 80% at 70% 4%,#020306ad 0,#02030600 64%),linear-gradient(168deg,#05070d,#070a13 38%,#06080f 70%,#030509);
}

.expertise__sky {
    pointer-events: none;
    inset: -14%;
    position: absolute;
}

.expertise__blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transform: translateZ(0);
}

.expertise__blob--1 { width: 760px; height: 640px; left: -32%; top: -4%; background: radial-gradient(closest-side,#6080b2ae 0,#6080b28f 28%,#6080b257 52%,#6080b227 72%,#6080b20a 88%,#6080b200) }
.expertise__blob--2 { width: 470px; height: 470px; left: -22%; top: 44%; background: radial-gradient(closest-side,#6684b690 0,#6684b677 28%,#6684b648 52%,#6684b620 72%,#6684b609 88%,#6684b600) }
.expertise__blob--3 { width: 240px; height: 215px; left: 77%; top: 48%; background: radial-gradient(closest-side,#d6e4f8dd 0,#d6e4f8b5 28%,#d6e4f86f 52%,#d6e4f831 72%,#d6e4f80e 88%,#d6e4f800) }
.expertise__blob--4 { width: 175px; height: 280px; left: 82%; top: 24%; background: radial-gradient(closest-side,#98b2d85a 0,#98b2d849 28%,#98b2d82d 52%,#98b2d814 72%,#98b2d806 88%,#98b2d800) }
.expertise__blob--5 { width: 215px; height: 190px; left: 74%; top: 70%; background: radial-gradient(closest-side,#bed2ee9e 0,#bed2ee82 28%,#bed2ee4f 52%,#bed2ee23 72%,#bed2ee09 88%,#bed2ee00) }
.expertise__blob--6 { width: 240px; height: 200px; left: 68%; top: 58%; background: radial-gradient(closest-side,#607eae45 0,#607eae38 28%,#607eae22 52%,#607eae0f 72%,#607eae04 88%,#607eae00) }
.expertise__blob--7 { width: 320px; height: 240px; left: 24%; top: 72%; background: radial-gradient(closest-side,#4e689434 0,#4e68942b 28%,#4e68941a 52%,#4e68940b 72%,#4e689403 88%,#4e689400) }
.expertise__blob--8 { width: 210px; height: 175px; left: 41%; top: 78%; background: radial-gradient(closest-side,#465e862b 0,#465e8623 28%,#465e8615 52%,#465e8609 72%,#465e8603 88%,#465e8600) }

.expertise .section-heading {
    text-align: center;
    margin-bottom: 44px;
    width: 100%;
    max-width: 1160px;
    position: relative;
    z-index: 2;
}

.expertise .section-heading h2 {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 28px;
    letter-spacing: .005em;
    margin: 0;
}

.expertise__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1160px;
    position: relative;
    z-index: 2;
}

.expertise__card {
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 20px 50px #00000066,
        inset 0 1px #ffffff;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    min-height: 206px;
    padding: 28px 22px 30px;
    position: relative;
}

.expertise__card:hover {
    border-color: #d1d5db;
    /* Добавляем темно-красное свечение (rgba(180, 20, 20, 0.4)) */
    box-shadow:
        0 0 25px rgba(180, 20, 20, 0.99),   /* Внешнее красное свечение */
        0 26px 60px #00000088,             /* Тень для объема */
        inset 0 1px #ffffff;               /* Внутренняя белая обводка */
    transform: translateY(-4px);
}

.expertise__title {
    position: static;
    font-weight: 600;
    color: #14161a;
    width: auto;
    font-size: 18.5px;
    line-height: 1.28;
    letter-spacing: -.02px;
    margin: 0 0 12px 0;
    padding-right: 150px;
}

.expertise__description {
    position: static;
    font-weight: 400;
    width: auto;
    font-size: 14.5px;
    line-height: 1.55;
    color: #6e7480;
    margin: 0;
    padding-right: 150px;
}

.expertise__image {
    position: absolute;
    right: 22px;
    top: 50%; /* Ставим точку отсчета ровно в середину карточки */
    transform: translateY(-50%); /* Сдвигаем саму картинку вверх на половину её высоты для точного центрирования */
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform .5s var(--ease);
    opacity: 1;
}

@media (max-width: 1024px) {
    .expertise__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 760px) {
  .expertise {
    padding: 56px 16px 64px;
  }
  .expertise .section-heading h2 {
    font-size: clamp(20px, 5.6vw, 28px);
  }
  .expertise__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 500px;
  }
  .expertise__card {
    padding: 24px 20px;
    min-height: auto; /* Убрали фиксированную высоту */
    display: flex;
    flex-direction: column; /* Вертикальное расположение */
    align-items: flex-start; /* Выравнивание по левому краю */
    gap: 16px;
    position: relative;
  }
  .expertise__title {
    padding-right: 0; /* Убрали отступ справа */
    margin: 0 0 8px 0;
    font-size: 17px;
    width: 100%; /* На всю ширину */
  }
  .expertise__description {
    padding-right: 0; /* Убрали отступ справа */
    margin: 0;
    font-size: 14px;
    width: 100%; /* На всю ширину */
    line-height: 1.5;
  }
  .expertise__image {
    position: static; /* Убрали абсолютное позиционирование */
    transform: none; /* Убрали смещение */
    width: 100%; /* Картинка на всю ширину */
    max-width: 200px; /* Но не больше 200px */
    height: auto; /* Пропорции сохраняются */
    margin: 12px auto 0; /* Центрируем снизу */
    flex-shrink: 0;
    display: block;
  }
}

@media (max-width: 480px) {
    .expertise {
        padding: 44px 14px 52px;
    }
}

#expertise {
    scroll-margin-top: 92px;
}

@media (max-width: 900px) {
    #expertise {
        scroll-margin-top: 76px;
    }
}

@keyframes icoGlitch {
    0% { filter: none; transform: translateY(-6px) scale(1.04) }
    11% { filter: drop-shadow(-2.4px 0 rgba(255,11,80,.55)) drop-shadow(2.4px 0 rgba(29,43,255,.5)); transform: translate(-1.4px,-6px) scale(1.04) }
    24% { filter: drop-shadow(2px 0 rgba(29,43,255,.48)) drop-shadow(-2px 0 rgba(255,11,80,.42)); transform: translate(1.4px,-6px) scale(1.04) }
    38% { filter: drop-shadow(-1.6px 0 rgba(255,11,80,.38)) drop-shadow(1.6px 0 rgba(29,43,255,.34)); transform: translate(-.8px,-6px) scale(1.04) }
    52% { filter: drop-shadow(1.1px 0 rgba(29,43,255,.26)) drop-shadow(-1.1px 0 rgba(255,11,80,.22)); transform: translate(.6px,-6px) scale(1.04) }
    66%,to { filter: none; transform: translateY(-6px) scale(1.04) }
}

@media print {
    .hero__sky { display: none!important }
}

/* ---------- Projects: "Проекты" ---------- */
.projects {
    margin: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 76px 16px 88px;
    background: radial-gradient(38% 76% at 0 40%,#3c567ec7 0,#3c567e00 76%),radial-gradient(30% 40% at 84% 64%,#30466a80 0,#30466a00 74%),radial-gradient(30% 34% at 30% 78%,#26365047 0,#26365000 76%),radial-gradient(92% 80% at 70% 4%,#020306ad 0,#02030600 64%),linear-gradient(168deg,#05070d,#070a13 38%,#06080f 70%,#030509);
}

.projects__heading {
    text-align: center;
    margin-bottom: 44px;
    width: 100%;
    max-width: 1160px;
    position: relative;
    z-index: 2;
}

.projects__heading h2 {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 28px;
    letter-spacing: .005em;
    margin: 0;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 2;
}

.projects__window {
    box-sizing: border-box;
    background: #16181d;
    border: 1px solid #ffffff66;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 0 20px #ffffff33,
        0 0 45px #ffffff1a,
        0 20px 50px #00000066,
        inset 0 1px #ffffff14;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    min-height: 220px;
}

.projects__window:hover {
    border-color: #ffffffaa;
    box-shadow:
        0 0 30px #ffffff66,
        0 0 70px #ffffff33,
        0 26px 60px #00000088,
        inset 0 1px #ffffff22;
    transform: translateY(-4px);
}

.projects__window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #e31b3d;
    border-radius: 10px 10px 0 0;
}

.projects__window-title {
    font-family: Manrope, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .02em;
}

.projects__window-controls {
    display: flex;
    gap: 9px;
}

.projects__window-controls span {
    color: #ffffffcc;
    font-size: 14px;
    cursor: default;
    font-family: ui-monospace, Menlo, monospace;
    line-height: 1;
}

.projects__window-content {
    padding: 28px 22px 30px;
    text-align: left;
}

.projects__value {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 200;
    font-size: clamp(44px, 5vw, 64px);
    color: #fff;
    line-height: 1.08;
    letter-spacing: .01em;
    white-space: nowrap;
}

.projects__label {
    margin-top: 14px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 15px;
    color: #fff;
    line-height: 1.45;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .projects__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 760px) {
    .projects { padding: 56px 16px 64px; }
    .projects__heading h2 { font-size: clamp(20px, 5.6vw, 28px); }
    .projects__grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
        max-width: 500px;
    }
    .projects__window { min-height: 180px; }
}

@media (max-width: 480px) {
    .projects { padding: 44px 14px 52px; }
    .projects__window-content { padding: 22px 18px 24px; }
}

#projects { scroll-margin-top: 92px; }
@media (max-width: 900px) { #projects { scroll-margin-top: 76px; } }



/* ---------- Contact Form ---------- */
.contact-form {
    position: relative;
    padding: 100px 16px 80px;
    background: radial-gradient(38% 76% at 0 40%, #3c567ec7 0, #3c567e00 76%),
                radial-gradient(30% 40% at 84% 64%, #30466a80 0, #30466a00 74%),
                radial-gradient(92% 80% at 70% 4%, #020306ad 0, #02030600 64%),
                linear-gradient(168deg, #05070d, #070a13 38%, #06080f 70%, #030509);
    overflow: hidden;
}

.contact-form__container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form__title {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 5vw, 42px);
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.contact-form__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #b9c0cc;
    margin: 0 0 40px 0;
    max-width: 600px;
}

.contact-form__form {
    margin-bottom: 40px;
}

.contact-form__label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.contact-form__row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.contact-form__input {
    flex: 1;
    min-width: 250px;
    padding: 16px 24px;
    font-size: 16px;
    font-family: Manrope, Arial, sans-serif;
    background: #fff;
    border: none;
    border-radius: 9999px;
    color: #14161a;
    outline: none;
    transition: box-shadow 0.3s;
}

.contact-form__input:focus {
    box-shadow: 0 0 0 3px rgba(41, 82, 255, 0.3);
}

.contact-form__input::placeholder {
    color: #9ca3af;
}

.contact-form__button {
    flex: 0 0 auto;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: Manrope, Arial, sans-serif;
    background: #2952ff;
    color: #fff;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.contact-form__button:hover {
    background: #1e40e8;
    transform: translateY(-2px);
}

.contact-form__button:active {
    transform: translateY(0);
}

.contact-form__note {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.contact-form__features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.contact-form__feature {
    padding: 10px 20px;
    font-size: 14px;
    font-family: Manrope, Arial, sans-serif;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    color: #e7eaf1;
}

.contact-form__telegram {
    font-size: 15px;
    color: #9ca3af;
    margin: 0;
}

.contact-form__telegram-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-form__telegram-link:hover {
    color: #2952ff;
}

/* Decorative elements */
.contact-form::before,
.contact-form::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}

.contact-form::before {
    background: radial-gradient(closest-side, #6080b2 0, #6080b200);
    left: -100px;
    top: -100px;
}

.contact-form::after {
    background: radial-gradient(closest-side, #30466a 0, #30466a00);
    right: -100px;
    bottom: -100px;
}

@media (max-width: 760px) {
    .contact-form {
        padding: 60px 16px 50px;
    }
    
    .contact-form__row {
        flex-direction: column;
    }
    
    .contact-form__input,
    .contact-form__button {
        width: 100%;
        min-width: auto;
    }
    
    .contact-form__features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-form__title {
        font-size: 26px;
    }
    
    .contact-form__subtitle {
        font-size: 15px;
    }
}