* {
    box-sizing: border-box;
}


@font-face {
  font-family: "MontserratAlternates";
  src: url("./fonts/MontserratAlternates-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap; /* опционально */
}

@font-face {
  font-family: "MontserratAlternates";
  src: url("./fonts/MontserratAlternates-Medium.ttf") format("truetype");
  font-weight: medium;
  font-style: normal;
  font-display: swap; /* опционально */
}

/* Общий стиль для всех плейсхолдеров */
input::placeholder,
textarea::placeholder {
    color: #fff;
    opacity: 1; /* для Firefox, чтобы не было полупрозрачным */
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    font-family: "MontserratAlternates";
    font-weight: regular;
}

.hero__logo {
    height: -webkit-fill-available;
    width: calc(100% - 200px);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    color: #fff;
    font-size: 96px;
    opacity: 80%;
    font-family: "MontserratAlternates";
    font-weight: bold;
}

.app-btn {
    background-color: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 100px;
    text-decoration: none;
}

.videoBG {
    position: fixed;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.header {
    padding: 40px 100px;
    position: relative;
    height: 100vh;
    
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.header__top {
    display: flex;
    justify-content: space-between;
}

.header__bottom {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header__bottom h2 {
    max-width: 700px;
    font-size: 36px;
    text-align: center;
}

.header__bottom a {
    background-color: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 100px;
    text-decoration: none;
}

.logo {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

.menu a {
    padding: 7.5px 15px;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
}

.social__items {
    display: flex;
}

.social__items a {
    color: #fff;
    text-decoration: none;
}

.lang {
    color: #000;
    border-radius: 100px;
    outline: none;
    width: 50px;
    margin-right: 15px;
}



.account {
    display: flex;
}

.header__bottom h2 {
    color: #fff;
}



/*------*/

.blur-bg {
  background: rgba(0, 0, 0, 0.2); /* полупрозрачный слой */
  backdrop-filter: blur(10px); /* степень размытия */
  -webkit-backdrop-filter: blur(10px); /* поддержка Safari */
}

/*------*/

.services {
    padding: 200px 100px;
    color: #fff;
}

.services .top {
    display: flex;
    justify-content: space-between;
}

.services h2 {
    font-size: 64px;
    margin-top: 0px;
}

.services .left {
    width: 40%;
}

.services .right {
    width: 60%;
}

.services .items {
    display: flex;
    flex-wrap: wrap;
}

.services .item {
    width: 50%;
    padding: 15px;
}

.services .item h3 {
    font-size: 64px;
    margin-top: 0px;
    margin-bottom: 15px;  
}

.services .item p {
    font-size: 30px;
    margin: 0;
}

.services .bottom {
    padding-top: 100px;
}


.ai {
    display: flex;
    align-items: center;
    padding: 100px;
    color: #fff;
}

.ai-img {
    width: 90%;
}

.col-25-percent {
    width: 25%;
}

.col-37_5-percent {
    width: 37.5%;
}

.col-75-percent{
    width: 75%;
}

.col-75-percent .bottom {
    display: flex;
}

.ai h2 {
    font-size: 64px;
    margin-bottom: 10px;
    margin-top: 0px;
    padding: 0 15px;
}

.ai p {
    font-size: 18px;
    padding: 0 15px;
}


.quote-wrapper {
    padding: 200px 15px;
}

.quote {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.quote h2 {
    font-size: 64px;
    font-weight: medium;
}

.quote a {
    padding: 12px 22px;
    background-color: #fff;
    color: #000;
    border-radius: 100px;
    text-decoration: none;
}


.blog {
    padding: 200px 100px;
    color: #fff;
}

.blog h2 {
    font-size: 64px;
    width: 33.333333%;
}

.blog .items {
    display: flex;
    flex-wrap: wrap;
}

.blog .item {
    width: 33.333333%;
    padding: 15px;
}

.blog img {
    width: 100%;
    border-radius: 20px;
}

.blog a {
    background-color: #fff;
    color: #000;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 100px;
}




.wrap {
    width: calc(100% - 30px);
    margin: 15px;
    margin-bottom: 0px;
    border-radius: 30px;
    padding: 0;
}

.cta {
    position: relative;
    border-radius: 34px;
    padding: 52px clamp(18px, 3.6vw, 38px);
    background: linear-gradient(135deg, var(--cta-accent) 0%, var(--cta-accent-2) 100%);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(30, 80, 140, .18);
    color: #0b1220;
}

.cta__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    align-items: start;
}

.title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -.02em;
    margin: 10px 0 26px;
    max-width: 20ch;
}

.contact-list {
    color: #fff;
    display: grid;
    gap: 18px;
    margin-bottom: 36px;
}

.label {
    font-weight: 700;
    margin: 0 0 4px;
}

.value {
    margin: 0;
    font-weight: 500;
    opacity: .95;
}

.card {
    background: rgba(255, 255, 255, 0.20);
    color: #fff;
    border-radius: 40px;
    padding: 26px clamp(16px, 3vw, 34px);
    box-shadow: 0 16px 28px rgba(12, 43, 80, .18);
}

.card h3 {
    margin: 2px 0 18px;
    font-size: clamp(18px, 2.2vw, 22px);
    letter-spacing: -.01em;
}

.field {
    margin: 14px 0 6px;
}

.field label {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
}

.field input, .field select {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #e6edf5;
    padding: 12px 2px;
    font-size: 16px;
    color: #fff;
    background-color: transparent;
    border-radius: 0;
    outline: none;
    transition: border-color .15s 
ease;
}

.actions
Specificity: (0,1,0)
 {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}


.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform .15s 
ease, box-shadow .15s 
ease, background .15s 
ease;
}

.btn__icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #e6f2ff;
    border: 1px solid #cfe6ff;
}

.footer-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 40px;
    color: #fff;
}

.brand {
    margin-top: 24px;
    color: #fff;
    max-width: 34ch;
}

.links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
    min-width: 240px;
}

.brand__name {
    font-weight: 800;
    font-size: 22px;
    margin: 16px 0 6px;
}

.brand__desc {
    margin: 0;
    opacity: .95;
}

.links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
    min-width: 240px;
}

.links a {
    color: #fff;
    text-underline-offset: 3px;
}

.copyright {
    opacity: .9;
    font-size: 14px;
}

.footer-row .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    white-space: nowrap;
}

.logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #2b63d6;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16) inset;
}

.actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

#textfield {
    width: 100%;
    height: 100px;
    outline: none;
    border: none;
    border-bottom: 2px solid #e6edf5;
    background-color: transparent;
}




/* По умолчанию бургер скрыт на десктопе, показывается в медиазапросах */
.mobile-toggle {
    display: none;
}


/* === Общие мелкие правки === */

html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

/* Фикс для кнопок, ссылок и input в iOS */
button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

/* === Базовые брейкпоинты ===
   1200+     — десктоп
   1024-1199 — ноут/малый десктоп
   768-1023  — планшет
   <768      — мобильные
*/

/* ============================
   1) До 1200px — немного сжимаем
   ============================ */
@media (max-width: 1200px) {
    .header {
        padding: 30px 60px;
    }

    .hero__logo {
        font-size: 72px;
    }

    .services,
    .blog,
    .ai {
        padding: 120px 60px;
    }

    .services h2,
    .ai h2,
    .blog h2,
    .quote h2 {
        font-size: 48px;
    }

    .services .item h3 {
        font-size: 40px;
    }

    .services .item p {
        font-size: 22px;
    }
}

/* ============================
   2) Планшеты до 1024px
   ============================ */
@media (max-width: 1024px) {
    .header {
        padding: 24px 30px;
    }

    .hero__logo {
        font-size: 56px;
    }

    .header__top {
        gap: 16px;
    }

    .services,
    .blog,
    .ai {
        padding: 80px 30px;
    }

    .services .top {
        flex-direction: column;
        gap: 30px;
    }

    .services .left,
    .services .right {
        width: 100%;
    }

    .services .items .item {
        width: 50%;
    }

    .ai {
        flex-direction: column;
        gap: 30px;
    }

    .col-25-percent,
    .col-75-percent {
        width: 100%;
    }

    .ai-img {
        width: 100%;
        max-width: 420px;
        display: block;
        margin: 0 auto;
    }

    .ai h2 {
        text-align: center;
        padding: 0;
    }

    .ai .bottom {
        flex-direction: column;
    }

    .col-37_5-percent {
        width: 100%;
        padding: 0 0 10px;
    }

    .blog .item {
        width: 50%;
    }

    .cta__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-row {
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* ============================
   3) Мобильные до 768px
   ============================ */
@media (max-width: 768px) {
    .header {
        padding: 16px 16px 40px;
    }

    .hero__logo {
        font-size: 36px;
        width: calc(100% - 32px);
        text-align: center;
    }

    .header__top {
        align-items: center;
    }

    /* Скрываем десктопное меню и аккаунт, показываем бургер */
    .menu,
    .account {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: rgba(0, 0, 0, 0.3);
        cursor: pointer;
    }

    .mobile-toggle__bar {
        width: 20px;
        height: 2px;
        background-color: #fff;
        border-radius: 999px;
    }

    .header__bottom {
        align-items: flex-start;
        text-align: left;
    }

    .header__bottom h2,h1 {
        font-size: 24px;
        max-width: 100%;
        text-align: center;
    }

    .header__bottom a {
        margin-top: 16px;
    }

    .services,
    .blog,
    .ai {
        padding: 60px 16px;
    }

    .services h2,
    .blog h2,
    .ai h2,
    .quote h2 {
        font-size: 28px;
    }

    .services .items .item {
        width: 100%;
        padding: 12px 0;
    }

    .services .item h3 {
        font-size: 28px;
    }

    .services .item p {
        font-size: 16px;
    }

    .ai p {
        font-size: 16px;
        padding: 0;
    }

    .quote-wrapper {
        padding: 80px 16px;
    }

    .quote h2 {
        font-size: 24px;
    }

    .blog h2 {
        width: 100%;
        margin-bottom: 24px;
    }

    .blog .items {
        flex-direction: column;
    }

    .blog .item {
        width: 100%;
        padding: 8px 0;
        margin-bottom: 25px;
    }

    .wrap {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .cta {
        border-radius: 0;
        padding: 40px 16px 30px;
    }

    .card {
        border-radius: 24px;
        padding: 20px 16px;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .links {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-row .logo {
        padding-bottom: 8px;
    }

    .copyright {
        margin-top: 16px;
        font-size: 12px;
    }
}

/* ============================
   4) Очень маленькие экраны до 480px
   ============================ */
@media (max-width: 480px) {
    .hero__logo {
        font-size: 24px;
        display: flex; /* Чтобы не мешал тексту на очень маленьких экранах */
    }

    .header {
        min-height: 70vh;
    }

    .header__bottom h2 {
        font-size: 20px;
        text-align: center;
    }
    
    .header__bottom {
        text-align: center;
        align-items: center;
    }
    
    .header__bottom a {
        display: inline-block;
    }

    .app-btn {
        text-align: center;
    }
    
    .app-btn,
    .blog a,
    .quote a {
        padding: 10px 16px;
        font-size: 14px;
    }

    .card h3 {
        font-size: 16px;
    }

    .field label {
        font-size: 13px;
    }

    .field input,
    .field select,
    #textfield {
        font-size: 14px;
    }
}

/* ============================
   5) Мобильное меню (модалка)
   ============================ */



/* Контейнер мобильного меню */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: stretch;
    justify-content: flex-end;
    font-family: inherit;
}

/* Активное состояние */
.mobile-menu.is-open {
    display: flex;
}

/* Затемнённый фон */
.mobile-menu__overlay {
    flex: 1;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Панель меню */
.mobile-menu__panel {
    width: 80%;
    max-width: 360px;
    background: rgba(10, 10, 20, 0.96);
    color: #fff;
    padding: 24px 20px 30px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Кнопка закрытия */
.mobile-menu__close {
    align-self: flex-end;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* Навигация внутри модалки */
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.mobile-menu__nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

/* Блок аккаунта/соцсетей */
.mobile-menu__account {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu__account .social__items {
    gap: 10px;
}

.mobile-menu__account .lang {
    width: 70px;
    padding: 6px 10px;
}

/* Чуть уменьшим панель на очень маленьких ширинах */
@media (max-width: 480px) {
    .mobile-menu__panel {
        width: 85%;
        max-width: 320px;
        padding: 20px 16px 24px;
    }

    .mobile-menu__nav a {
        font-size: 16px;
    }
}



.post {
    color: #fff;
    max-width: 576px;
    margin: 0 auto;
    padding: 15px;
    padding-top: 100px;
}

.post img {
    border-radius: 25px;
    width: 100%;
}
