@font-face {
    font-family: 'Montserrat-Regular';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2'),
         url('fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geometria-Bold";
    src: url("../fonts/Geometria-Bold.woff"), url("../fonts/Geometria-Bold.woff2");
    font-display: swap;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

@font-face {
    font-family: 'Montserrat-Medium';
    src: url('fonts/Montserrat-Medium.woff2') format('woff2'),
         url('fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
         url('fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('fonts/Montserrat-Bold.woff2') format('woff2'),
         url('fonts/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url('fonts/Montserrat-Light.woff2') format('woff2'),
         url('fonts/Montserrat-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: "Montserrat-Regular", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #181C18;
}

/* Wrapper - Mobile First (без медиазапроса) */
.wrapper {
    position: relative;
    max-width: 362px;
    margin: 0 auto;
    padding: 0 6px; 
}

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
}

.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.main-section__inner {
    padding: 76px 0;
}

.header-left {
    text-align: left;
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.main-logo {
    margin-top: 10px;
    margin-bottom: 5px;
}

.main-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 50px; /* базовый размер на мобилках */
}

.phone-number {
    font-size: 9px;
    font-family: "Montserrat-Medium";
}


.connection-link {
    display: flex;
    flex-direction: row;
    gap: 7px;
    align-items: center;
    display: none;
    color: inherit;
    text-decoration: none;
}

.connection-link:visited,
.connection-link:hover,
.connection-link:active {
    color: inherit;
    text-decoration: none;
}

/* # */

.phone-number {
    font-size: 12px;
}


.description {
    font-size: 8px;
    color: #212529;
    font-family: "Montserrat-Medium";
    line-height: 120%;
    display: block;
    max-width: 120px;
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.connection-button {
    font-family: "Montserrat-SemiBold", sans-serif;
    background-color: #FFD317;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    line-height: normal;
    width: 126px;
    height: 32px;
    font-size: 11px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.connection-button::before{
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 36px;
  transform: skewX(-45deg);
  left: -150%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
  animation: flareAnimation 4s infinite ease-in;
}

@keyframes flareAnimation {
    0% {
        left: -150%;
    }

    100% {
        left: 250%;
    }
}

.phone {
    font-size: 16px;
    font-weight: 500;
}

.header .phone-icon {
    width: 12px;
}

.header .phone-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Body */
.body {
    padding: 30px 0;
    flex: 1;

}

.text-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 20;
    align-items: center;
    margin-bottom: 38px;
}

.main-section {
   display: flex; 
}

.main-title {
    font-family: "Montserrat-Bold";
    font-size: 26px;
    margin-bottom: 20px;
    line-height: 120%;
    text-align: center;
    color: #161C2C;
}





.subtitle {
    font-family: "Montserrat-SemiBold";
    font-size: 13px;
    line-height: 130%;
    text-align: center;
    color: #161C2C;
}

.under_subtitle {
    font-family: "Montserrat-SemiBold";
    font-size: 9px;
    line-height: 130%;
    text-align: center;
    color: #161C2C;
}


/* Chat Window */
.chat-window {
    width: 100%;
    display: flex;
    border: 1px solid #272E44;
    border-radius: 20px;
    display: flex;
    min-height: 400px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    z-index: 25;
    background-color: #fff;
    padding: 18px 22px 16px 22px;
    gap: 10px;
}

.chat-avatar {
    display: flex;
    align-items: flex-start;
}

.avatar-placeholder {
    width: 46px;
    height: 46px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
    background-color: #EBF2FF;;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #28a745;
    border: 2px solid white;
    border-radius: 50%;
    animation: onlineIndicatorPulse 2.4s ease-in-out infinite;
}

@keyframes onlineIndicatorPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.035);
        opacity: 0.95;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.chat-messages {
    flex: 1;
    overflow-y: hidden;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: fadeIn 0.3s ease-in;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-user {
    align-items: flex-end;
}

.message-bot {
    align-items: flex-start;
}

.message-content {
    max-width: 90%;
    padding: 10px 12px;
    padding-bottom: 24px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 120%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    min-width: 0;
    position: relative;
}

.message-user .message-content {
    background-color: #FFD317;
    color: white;
    border-bottom-right-radius: 4px;
    font-family: "Montserrat-Medium";
    min-width: 8%;
}

.message-bot .message-content {
    background-color: #EBF2FF;
    color: #181C18;
    border-bottom-left-radius: 4px;
    font-family: "Montserrat-Regular";
}

.message-time {
    font-size: 11px;
    color: #999;
    position: absolute;
    bottom: 4px;
    right: 8px;
    white-space: nowrap;
    font-family: "Montserrat-Regular";
}

.message-user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.loading {
    display: inline-block;
    padding: 10px 14px;
    background-color: #f0f0f0;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
}

.loading-indicator {
    animation: loadingFadeIn 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, filter;
}

@keyframes loadingFadeIn {
    from {
        opacity: 0;
        filter: blur(2px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

.loading-dots {
    display: inline-block;
}

.loading-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #999;
    margin: 0 2px;
    animation: loading 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.chat-input-area {
    flex-shrink: 0;
    padding-top: 12px;
    box-sizing: border-box;
}

.chat-form {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.chat-input {
    flex: 1;
    padding: 0 4px 0 8px;
    border: 1px solid #181C18;
    color: #181C18;
    border-radius: 6px;
    font-size: 12px;
    height: 36px;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    min-width: 0;
    box-sizing: border-box;
}

.chat-input:focus {
    border-color: #272E44;
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: #203d7f;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-btn svg {
    width: 20px;
    height: 20px;
}

.chat-send-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.chat-send-btn:active {
    background-color: #004085;
    transform: scale(0.95);
}

.chat-send-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Стартовые вопросы */
.start-questions-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 6px;
}

.start-question-btn {
    border: 1px solid #181C18;
    color: #181C18;
    font-family: "Montserrat-Regular", sans-serif;
    background: none;
    cursor: pointer;
    line-height: 120%;
    outline: none;
    text-align: left;
    border-radius: 10px;
    font-size: 12px;
    padding: 10px 12px;
    transition: all 0.6s;
    word-break: break-word;
    width: 90%;
}

.start-question-btn:hover {
    font-style: bold;
    background-color: #2C72C7;
    border: 1px solid #2C72C7;
    color: #ffffff;
}


/* Кнопки с опциями */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 6px;
    
}

.option-button {
    background: none;
    cursor: pointer;
    line-height: 120%;
    outline: none;
    text-align: center;
    border-radius: 10px;
    font-size: 11px;
    padding: 8px 12px;
    border: 1px solid #181C18;
    color: #181C18;
    transition: all 0.6s;
    font-family: inherit;
    width: 90%;
}

.option-button:hover {
    font-family: "Montserrat-SemiBold", sans-serif;
    background-color: #2C72C7;
    border: 1px solid #2C72C7;
    color: #ffffff;
}



/* Кнопки выбора мессенджеров */
.messengers-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 6px;
}

.messenger-button {
    border: 1px solid #181C18;
    color: #181C18;
    font-family: "Montserrat-Regular", sans-serif;
    background: none;
    cursor: pointer;
    line-height: 120%;
    outline: none;
    text-align: center;
    border-radius: 10px;
    font-size: 11px;
    padding: 8px 12px;
    transition: all 0.6s;
    word-break: break-word;
    width: 90%;
}

.messenger-button:hover {
    font-family: "Montserrat-SemiBold", sans-serif;
    background-color: #2C72C7;
    border: 1px solid #2C72C7;
    color: #ffffff;
}


/* Формы ввода */
.input-form-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
    width: 100%;
}

.name-input,
.phone-input {
    width: 75%;
    height: 44px;
    padding: 0 10px 0 24px;
    font-size: 12px;
    display: block;
    outline: none;
    border: 1px solid #a2a2a2;
    border-radius: 100px;
    background: none;
    color: #292231;
    font-family: "Montserrat-Regular", sans-serif;
    font-weight: 400;
    line-height: 120%;
    transition: 0.3s linear;
}

.name-input:focus,
.phone-input:focus {
    border: 1.2px solid #322b3a;
}

.name-input::placeholder,
.phone-input::placeholder {
    font-size: 12px;
}

.phone-input-error {
    color: #dc3545 !important;
    text-decoration: underline;
    border-color: #dc3545 !important;
}

.phone-input::placeholder {
    color: #999;
}

.form-submit-btn {
    font-family: "Montserrat-Bold", sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    border: none;
    border-radius: 100px;
    background: #FFD317;
    box-shadow: 0px -2px 0px rgba(0, 0, 0, 0.3) inset;
    width: 75%;
    height: 44px;
    font-size: 12px;
    line-height: 140%;
    color: #fff;
    transition: 0.3s linear;
    padding: 0 5px;
}

.input-form-container.phone-capture-form {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 10px !important;

}

.phone-capture-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    align-items: center;
}

.chat-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 2px;
    position: relative;
    cursor: pointer;
    width: 100%;
}

.chat-consent__checkbox {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
}

.chat-consent__checkbox-ui {
    width: 18px;
    height: 18px;
    border: 1px solid #181C18;
    border-radius: 3px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.chat-consent__checkbox-ui::after {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #181C18;
    border-bottom: 2px solid #181C18;
    transform: rotate(-45deg) scale(0.6) translateY(-1px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-consent__checkbox:checked + .chat-consent__checkbox-ui::after {
    opacity: 1;
    transform: rotate(-45deg) scale(1) translateY(-1px);
    border-left-color: #fff;
    border-bottom-color: #fff;
}

.chat-consent__checkbox:checked + .chat-consent__checkbox-ui {
    background-color: #2C72C7;
    border-color: #2C72C7;
}

.chat-consent__text {
    font-size: 10px;
    line-height: 130%;
    color: #181C18;
}

.chat-consent__text a {
    color: #181C18;
    text-decoration: underline;
}

.chat-consent__error {
    min-height: 9px;
    margin: 0;
    padding-left: 22px;
    font-size: 10px;
    line-height: 120%;
    color: #d94c4c;
    text-align: left;
    width: 100%;
}



/* Плашка о принятии заявки */
.request-accepted {
    margin: 15px 0;
    width: 100%;
}

.accepted-content {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px;
    color: #155724;
}

.accepted-content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.accepted-content p {
    margin: 0;
    font-size: 14px;
    line-height: 120%;
}

/* Gallery Carousel */
.gallery-container {
    width: 100%;
    margin: 10px 0;
    position: relative;
}

.gallery-swiper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-swiper .swiper-slide {
    height: auto;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: bold;
}

/* Modal — Заказать звонок */
.remodal--call {
    align-items: center !important;
    padding: 14px 10px !important;
}

.call-modal {
    width: 100%;
    max-width: 370px;
    color: #fff;
    background-color: #2c2d30;
    border-radius: 14px;
    padding: 38px 8px 17px 8px;
    position: relative;
    color: #fff;
}

.call-modal__close {
    position: absolute;
    top: 1px;
    right: 5px;
    width: 32px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 37px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

.call-modal__close:hover {
    transform: scale(1.3);
}

.call-modal__title {
    font-family: "Geometria-Bold", sans-serif;
    font-size: 18px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.call-modal__form {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.call-modal__input {
    height: 56px;
    width: 286px;
    margin: 0 auto;
    border-radius: 999px;
    border: 1px solid #fff;
    background: none;
    color: #fff;
    font-size: 14px;
    line-height: 140%;
    outline: none;
    padding: 0 10px 0 24px;
    transition: 0.3s;
}

.call-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.call-modal__input:focus {
    border-color: #D9712A;
    background: rgba(255, 255, 255, 0.03);
}

.call-modal__submit {
    margin-top: 2px;
    height: 56px;
    width: 286px;
    margin: 0 auto;
    border: none;
    border-radius: 999px;
    background: #ff0026;
    color: #fff;
    font-family: "Montserrat-Bold", sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease;
}

.call-modal__submit:hover {
    filter: brightness(1.08);
}

.call-modal__submit:active {
    transform: scale(0.985);
}

.call-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.call-modal__agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0 0 8px;
    position: relative;
    cursor: pointer;
}

.call-modal__checkbox {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
}

.call-modal__checkbox-ui {
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 3px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: transform 0.15s ease;
}

.call-modal__checkbox-ui::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0.6) translateY(-1px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.call-modal__checkbox:checked + .call-modal__checkbox-ui::after {
    opacity: 1;
    transform: rotate(-45deg) scale(1) translateY(-1px);
}

.call-modal__checkbox:checked + .call-modal__checkbox-ui {
    animation: checkbox-pop 0.2s ease-out;
}

.call-modal__checkbox:active + .call-modal__checkbox-ui {
    transform: scale(0.96);
}

@keyframes checkbox-pop {
    0% { transform: scale(0.92); }
    60% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.call-modal__checkbox:focus-visible + .call-modal__checkbox-ui {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.call-modal__agree-text {
    font-size: 10px;
    line-height: 130%;
    color: #fff;
}

.call-modal__agree-text a {
    color: #fff;
    text-decoration: underline;
}

.call-modal__error {
    min-height: 16px;
    margin: 0;
    font-size: 10px;
    text-align: center;
    margin-top: 6px;
    line-height: 120%;
    color: #d94c4c;
}



/* Cookie Banner — Mobile First */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 280px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.cookie-banner-content {
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 0 10px 1px #929090;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.cookie-text {
    font-size: 11px;
    color: #000000;
    line-height: 120%;
    margin: 0;
    text-align: center;
}

.cookie-link {
    color: #FFD317;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #FFD317;
}

.cookie-accept-btn {
    background-color: #FFD317;
    color: #fff;
    border: none;
    border-radius: 16px;
    width: 220px;
    height: 46px;
    font-size: 16px;
    font-family: "Montserrat-Bold", sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.cookie-accept-btn:hover {
    background-color: #ebd469;
}

.cookie-accept-btn:active {
    transform: scale(0.97);
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: #0d0d0d;
    color: #fff;
    line-height: 120%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}


/* Колонка 1: Логотип + ссылки */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 120px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 12px;
    color: #929292;
    line-height: 120%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 10px;
    text-align: center;
}

.footer-link {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #ffffff;
    transition: 0.3s;
    letter-spacing: -0.02em;
    
}


/* Колонка 2: Инфо о компании */


.footer-company-detail {
    font-size: 11px;
    color: #fff;
    letter-spacing: -0.02em;
    font-family: "Montserrat-Medium";
}

.footer-col-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

/* Колонка 3: Контакты */




.footer-contact-label {
    display: block;
    font-size: 12px;
    color: #929292;
}

.footer-contact-value {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-family: "Montserrat-Medium", sans-serif;
}



.price-range {
    font-family: "Montserrat-Bold", sans-serif;
    font-style: italic;
    color: #FFD317
}

.warrant {
    font-family: "Montserrat-Bold", sans-serif;
    font-style: italic;
    color: #FFD317
}

.payment {
    font-family: "Montserrat-Regular", sans-serif;
    line-height: 160%;
    color: #ffffff;
    background-color: #203d7f;
    margin-bottom: 12px;
    padding: 2px 9px 4px 9px;
    border-radius: 8px;
    display: inline;
    width: fit-content;
    text-align: center;
    font-size: 22px;
}

.footer-col-info {
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 4px;
}

.hero {
    position: absolute;
    z-index: 10;
    visibility: hidden;
    justify-content: flex-end;

}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-divider {
    background-color: #212529;
    margin-top: 1px;
    width: 0.6px;
    height: 18px;
    border-radius: 10px;
}

/* Media Query: min-width 768px */
@media (min-width: 768px) {
    .wrapper {
        max-width: 720px;
        margin: 0 auto;
        padding: 0 12px;
    }

    .chat-consent__checkbox-ui::after {
        width: 10px;
        height: 6px;
    }


    .chat-consent__text {
        font-size: 11px;
    }

    .chat-consent__error {
        font-size: 11px;
        padding-left: 0px;
    }

    .chat-consent__checkbox-ui {
        width: 20px;
        height: 20px;
    }

    .chat-consent__checkbox {
        width: 20px;
        height: 20px;
    }

    .call-modal {
        padding: 34px 10px 14px 10px;
    }

    .header-divider {
        margin-top: 5px;
        height: 20px;
        border-radius: 10px;
    }

    .footer-links {
        gap: 2px;
        font-size: 10px;
        text-align: left;
    }

    .footer-col-contacts {
        gap: 6px;
        text-align: left;
    }

    .footer-contact-label {
        font-size: 10px;
    }

    .footer-company-detail {
        font-size: 11px;
    }

    .footer-contact-value {
        font-size: 12px;
    }

    .footer-col-info {
        gap: 8px;
        text-align: left;
    }

    .footer-logo-text {
        font-size: 10px;
    }

    .footer-logo {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .footer-logo-img {
        width: 100px;
    }

    .input-form-container {
        flex-direction: row;
        margin-top: 5px;
        align-items: center;
    }

    .start-questions-container button:nth-child(1) {
        width: 148px;
    }

    .start-questions-container button:nth-child(2) {
        width: 168px;
    }

    .start-questions-container button:nth-child(3) {
        width: 116px;
    }

    .start-questions-container button:nth-child(4) {
        width: 112px;
    }

    .start-questions-container button:nth-child(5) {
        width: 130px;
    }

    .start-questions-container button:nth-child(6) {
        width: 128px;
    }

    .start-questions-container button:nth-child(7) {
        width: 148px;
    }

    .start-questions-container button:nth-child(8) {
        width: 144px;
    }

    .start-questions-container {
        gap: 6px;
        margin-top: 3px;
    }

    .messengers-container {
        gap: 6px;
        margin-top: 3px;
    }

    .buttons-container {
        gap: 6px;
        margin-top: 3px;
    }

    .connection-link {
        display: flex;
    
    }

    .text-content {
        margin-bottom: 50px;
        align-items:flex-start;
    }

    .payment {
        font-size: 26px;
    }

    .main-section__inner {
        padding: 96px 0;
    }

    .hero {
        width: 335px;
        top: 52px;
        left: 374px;
        visibility: visible;

    }


    .connection-button {
        font-size: 11px;
    }

    .header-logo {
        flex-direction: row;
        gap: 6px;
    }

    .main-logo {
        width: 65px;
    }

    .main-logo img {
        max-width: 100px;
    }
    

    .header-right {
        flex-direction: row;
        gap: 12px;
    }


    .description {
        font-size: 10px;
        margin-top: 5px;
        max-width: 100%;
    }

    .header .phone-icon {
        width: 12px;
    }

    .phone {
        font-size: 18px;
    }

    .main-title {
        font-size: 28px;
        margin-bottom: 20px;
        text-align: left;
    }


    .subtitle {
        font-size: 16px;
        text-align: left;
    }

    .under_subtitle{
        font-size: 11px;
        text-align: left;
    }


    .chat-window {
        min-height: 450px;
        gap: 16px;
        padding: 36px 50px 22px 50px;
    }


    .avatar-placeholder {
        width: 52px;
        height: 52px;
    }

    .online-indicator {
        width: 14px;
        height: 14px;
        border-width: 2.5px;
    }


    .chat-input-area {
        padding-top: 15px;
        
    }

    .chat-form {
        gap: 10px;
    }

    .chat-input {
        height: 42px;
        border-radius: 12px;
        font-size: 13px;
        padding: 0 18px;
    }

    .chat-send-btn {
        width: 42px;
        height: 42px;
    }

    .chat-send-btn svg {
        width: 20px;
        height: 20px;
    }

    .start-question-btn {
        border-radius: 12px;
        padding: 11px 8px;
        font-size: 13px;
    }

    .option-button {
        border-radius: 12px;
        padding: 10px 8px;
        font-size: 12px;
        min-width: 23.5%;
        max-width: 31.9%;
    }

    .messenger-button {
        border-radius: 12px;
        padding: 10px 8px;
        font-size: 12px;
        min-width: 23.5%;
        max-width: 31.9%;
    }

    .name-input,
    .phone-input {
        height: 52px;
        font-size: 13px;
        width: 175px;
    }

    .name-input::placeholder,
    .phone-input::placeholder {
        font-size: 13px;
    }

    .form-submit-btn {
        height: 52px;
        font-size: 13px;
        width: 175px;
    }

    .accepted-content {
        padding: 18px;
    }

    .accepted-content strong {
        font-size: 17px;
    }

    .accepted-content p {
        font-size: 15px;
    }

    .message-content {
        font-size: 13px;
        padding: 10px 14px;
        padding-bottom: 26px;
    }

    .message-time {
        font-size: 12px;
        bottom: 5px;
        right: 10px;
    }


    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
        align-items: flex-start;
    }


    


    /* Cookie Banner — 768px: правый нижний угол, горизонтальный */
    .cookie-banner {
        bottom: 60px;
        right: 20px;
        left: auto;
        margin: 0;
        width: 550px;
    }

    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        
        padding: 14px;
        gap: 14px;
        border-radius: 20px;
    }

    .cookie-text {
        font-size: 12px;
        text-align: left;
    }

    .cookie-accept-btn {
        width: 160px;
        height: 48px;
        border-radius: 16px;
        font-size: 18px;
    }

    /* Modal 768px */
    .modal {
        max-width: 420px;
        padding: 36px 32px;
        border-radius: 14px;
    }

    .modal-title {
        font-size: 18px;
        margin-bottom: 28px;
    }

    .modal-input {
        padding: 16px 18px;
        font-size: 15px;
    }

    .modal-submit-btn {
        padding: 16px;
        font-size: 16px;
    }

    .modal-checkbox-label {
        font-size: 13px;
    }

    .modal-policy-link {
        font-size: 13px;
    }
}

/* Media Query: min-width 1024px */
@media (min-width: 1024px) {
    .wrapper {
        max-width: 970px;
        padding: 0 15px;
    }

    .chat-consent__text {
        padding-top: 2px;
        font-size: 12px;
    }

    .chat-consent__error {
        font-size: 12px;
    }

    .call-modal__form {
        gap: 8px;
    }

    .call-modal {
        padding: 38px 14px 20px 14px;
        max-width: 420px;
    }

    .call-modal__title {
        font-size: 20px;
        margin-bottom: 22px;
    }

    .header-divider {
        height: 26px;
    }

    .footer-logo-text {
        font-size: 12px;
    }

    .footer-col-contacts {
        gap: 10px;
    }

    .footer-contact-label {
        font-size: 12px;
    }

    .footer-company-detail {
        font-size: 13px;
    }

    .footer-col-info {
        gap: 10px;
    }

    .footer-links {
        font-size: 12px;
        gap: 4px;
    }

    .text-content {
        margin-bottom: 25px;
        align-items:flex-start;
    }

    .footer-logo-img {
        width: 130px;
    }

    .footer-logo {
        gap: 12px;
        margin-bottom: 14px;
    }

    .start-questions-container button:nth-child(1) {
        width: 180px;
    }

    .start-questions-container button:nth-child(2) {
        width: 139px;
    }

    .start-questions-container button:nth-child(3) {
        width: 131px;
    }

    .start-questions-container button:nth-child(4) {
        width: 141px;
    }

    .start-questions-container button:nth-child(5) {
        width: 135px;
    }

    .start-questions-container button:nth-child(6) {
        width: 214px;
    }

    .start-questions-container button:nth-child(7) {
        width: 168px;
    }

    .start-questions-container button:nth-child(8) {
        width: 229px;
    }

    .start-questions-container {
        gap: 8px;
        margin-bottom: 10px;
        margin-top: 4px;
    }

    .buttons-container {
        gap: 12px;
        margin-bottom: 10px;
        margin-top: 4px;
    }

    .messengers-container {
        gap: 12px;
        margin-bottom: 10px;
        margin-top: 4px;
    }

    .hero {
        width: 399px;
        top: 52px;
        left: 520px;
    }

    .main-section__inner {
        padding: 125px 0 58px 0;
    }

    .main-logo {
        width: 80px;
    }

    .main-logo img {
        max-width: 128px;
    }

    .payment {
        font-size: 32px;
    }

    .header .phone-icon {
        width: 14px;
        padding-top: 3px;
    }

    .phone-number {
        font-size: 15px;
    }

    .connection-button {
        font-size: 13px;
        width: 140px;
        height: 36px;
    }

    .header {
        padding: 25px 0;
    }

    .descriptor {
        font-size: 24px;
    }

    .description {
        font-size: 12px;
    }

    .phone {
        font-size: 20px;
    }

    .body {
        padding: 40px 0;
    }

    .main-title {
        font-size: 38px;
        margin-bottom: 26px;
    }


    .subtitle {
        font-size: 22px;
    }

    .under_subtitle{
        font-size: 14px;
    }


    .chat-window {
        min-height: 500px;
    }


    .avatar-placeholder {
        width: 60px;
        height: 60px;
    }

    .online-indicator {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }


    .chat-input-area {
        padding-top: 20px;
    }

    .chat-input {
        height: 47px;
        font-size: 15px;
        border-radius: 14px;
    }

    .chat-send-btn {
        width: 47px;
        height: 47px;
    }

    .chat-send-btn svg {
        width: 22px;
        height: 22px;
    }

    .start-question-btn {
        font-size: 15px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .option-button {
        border-radius: 14px;
        font-size: 15px;
        padding: 12px 10px;
    }

    .messenger-button {
        border-radius: 14px;
        font-size: 15px;
        padding: 12px 10px;
    
    }

    .name-input,
    .phone-input {
        width: 200px;
        height: 56px;
        font-size: 15px;
    }

    .name-input::placeholder,
    .phone-input::placeholder {
        font-size: 15px;
    }

    .form-submit-btn {
        width: 200px;
        height: 56px;
        font-size: 15px;
    }

    .accepted-content {
        padding: 20px;
    }

    .accepted-content strong {
        font-size: 18px;
    }

    .accepted-content p {
        font-size: 16px;
    }

    .message-content {
        font-size: 15px;
        padding: 12px 16px;
        padding-bottom: 28px;
    }

    .message-time {
        font-size: 12px;
        bottom: 6px;
        right: 12px;
    }


    .footer {
        padding: 50px 0;
    }


    .footer-contact-value {
        font-size: 14px;
    }

    /* Modal 1024px */
    .modal {
        max-width: 480px;
        padding: 40px 36px;
    }

    .header-logo {
        gap: 8px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-form {
        gap: 14px;
    }

    .modal-input {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 8px;
    }

    .modal-submit-btn {
        padding: 16px;
        font-size: 17px;
        border-radius: 8px;
    }
}

/* Media Query: min-width 1400px */
@media (min-width: 1400px) {
    .wrapper {
        padding: 0 20px;
        max-width: 1200px;
    }

    .chat-consent__text {
        font-size: 13px;
        margin-top: 4px;
    }

    .chat-consent__error {
        font-size: 13px;
    }

    .chat-consent__checkbox-ui {
        width: 24px;
        height: 24px;
    }

    .chat-consent__checkbox {
        width: 24px;
        height: 24px;
    }

    .call-modal__error {
        font-size: 13px;
    }

    .call-modal__close {
        width: 40px;
        height: 40px;
        font-size: 44px;
    }

    .call-modal__checkbox {
        width: 24px;
        height: 24px;
    }
    
    .call-modal__checkbox-ui {
        width: 24px;
        height: 24px;
    }

    .call-modal__agree {
        gap: 12px;
        margin: 10px 0 0 12px;
    }

    

    

    .call-modal__form {
        gap: 10px;
    }

    .call-modal__title {
        font-size: 22px;
    }

    .call-modal {
        padding: 40px 20px;
        border-radius: 20px;
        max-width: 456px;
    }

    .header-divider {
        margin-top: 7px;
        height: 32px;
        width: 1px;
    }

    .footer-logo-img {
        width: 146px;
    }

    .input-form-container {
        gap: 8px;
        margin-top: 6px;
        margin-bottom: 8px;
    }

    .start-questions-container {
        gap: 10px;
        margin-bottom: 10px;
        margin-top: 4px;
    }

    .start-questions-container button:nth-child(1) {
        width: 196px;
    }

    .start-questions-container button:nth-child(2) {
        width: 214px;
    }

    .start-questions-container button:nth-child(3) {
        width: 164px;
    }

    .start-questions-container button:nth-child(4) {
        width: 160px;
    }

    .start-questions-container button:nth-child(5) {
        width: 151px;
    }

    .start-questions-container button:nth-child(6) {
        width: 188px;
    }

    .start-questions-container button:nth-child(7) {
        width: 188px;
    }

    .start-questions-container button:nth-child(8) {
        width: 169px;
    }

    .messengers-container {
        gap: 10px;
        margin-bottom: 10px;
        margin-top: 4px;
    }

    .buttons-container {
        gap: 10px;
        margin-bottom: 10px;
        margin-top: 4px;
    }

    .payment {
        font-size: 42px;
    }

    .text-content {
        margin-bottom: 28px;
    }

    .connection-button {
        width: 173px;
        height: 43px;
        font-size: 16px;
    }

    .header-logo {
        gap: 10px;
    }

    .main-logo {
        width: 100px;
    }
    .main-logo img {
        max-width: 100px;
        margin-top: 10px;
    }

    .header-right {
        gap: 20px;
    }

    .connection-link {
        gap: 8px;
    }

    .header .phone-icon {
        width: 17px;
        padding-top: 5px;
    }

    .phone-number {
        font-size: 18px;
    }

    .header {
        padding: 36px 0;
    }

    .hero {
        width: 478px;
        top: 66px;
        left: 670px;
    }

    .description {
        font-size: 15px;
        margin-top: 7px;
    }

    .phone {
        font-size: 22px;
    }

    .body {
        padding: 50px 0;
    }

    .main-title {
        font-size: 48px;
        margin-bottom: 36px;
    }


    .subtitle {
        font-size: 28px;
    }

    .under_subtitle{
        font-size: 20px;
    }


    .chat-window {
        min-height: 550px;
        gap: 20px;
    }

    .avatar-placeholder {
        width: 70px;
        height: 70px;
    }

    .online-indicator {
        width: 18px;
        height: 18px;
        border-width: 3px;
    }


    .chat-input-area {
        padding-top: 25px;
    }

    .chat-input {
        font-size: 16px;
        height: 51px;
    }

    .chat-send-btn {
        width: 51px;
        height: 51px;
    }

    .chat-send-btn svg {
        width: 24px;
        height: 24px;
    }

    .start-question-btn {
        border-radius: 16px;
        padding: 10px 16px;
        font-size: 16px;
    }

    .option-button {
        border-radius: 16px;
        padding: 12px 14px;
        font-size: 16px;
    }

    .messenger-button {
        border-radius: 16px;
        padding: 12px 14px;
        font-size: 16px;
    }

    .name-input,
    .phone-input {
        width: 33%;
        height: 62px;
        font-size: 16px;
    }

    .name-input::placeholder,
    .phone-input::placeholder {
        font-size: 16px;
    }

    .form-submit-btn {
        width: 33%;
        height: 62px;
        font-size: 16px;
    }

    .accepted-content {
        padding: 22px;
    }

    .accepted-content strong {
        font-size: 19px;
    }

    .accepted-content p {
        font-size: 17px;
    }

    .message-content {
        font-size: 16px;
        padding: 12px 18px;
        padding-bottom: 30px;
    }

    .message-time {
        font-size: 13px;
        bottom: 6px;
        right: 14px;
    }


    .footer {
        padding: 60px 0;
    }


    .footer-contact-value {
        font-size: 16px;
    }

    .footer-logo-text {
        font-size: 14px;
    }

    .footer-links {
        font-size: 13px;
        gap: 6px;
    }

    .footer-col-info {
        gap: 12px;
    }

    .footer-contact-label {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .footer-col-contacts {
        gap: 10px;
    }

    /* Modal 1400px */
    .modal {
        max-width: 520px;
        padding: 44px 42px;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .modal-input {
        padding: 18px 22px;
        font-size: 16px;
    }

    .modal-submit-btn {
        padding: 18px;
        font-size: 18px;
    }

    .modal-checkbox-label {
        font-size: 14px;
    }

    .modal-policy-link {
        font-size: 14px;
    }
}






/* Modals: privacy, user agreement, personal data */

.content-modals {
    padding: 0 0 14px 0;
    font-size: 13px;
  }
  
  .content-modals a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
  
  .content-modals__wrapper {
    max-width: 450px;
    width: 100%;
    padding: 30px 12px 40px 12px;
    background-color: #fff;
    text-align: start;
    position: relative;
    border-radius: 8px;
  }
  
  .content-modals__close {
    cursor: pointer;
    position: absolute;
    top: 6px;
    right: 11px;
  }
  
  .content-modals__icon {
    width: 18px;
    height: 18px;
    transition: 0.3s;
    background-image: url("../images/icon-close-2.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  
  .content-modals__icon:hover {
    transform: scale(1.3);
  }
  
  .content-modals__btn-up {
    position: absolute;
    bottom: 10px;
    right: 9px;
  }
  
  .content-modals__icon-up {
    width: 34px;
    height: 34px;
    border-radius: 100%;
    background: rgb(78, 78, 78);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: arrowUpFloat 1.2s linear infinite;
  }
  
  .content-modals__icon-up img {
    width: 17px;
    height: auto;
  }
  
  .content-modals h2 {
    text-align: center;
    font-size: 17px;
    line-height: 120%;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .content-modals h3 {
    font-size: 13px;
    line-height: 120%;
    font-family: "Geometria-Bold";
    margin: 10px 0 6px 0;
  }
  
  .content-modals div {
    margin-bottom: 4px;
  }
  
  .content-modals li {
    padding: 0 0 0 5%;
  }
  
  .content-modals li p {
    font-size: 13px;
    line-height: 120%;
  }
  
  .content-modals .modal-text {
    margin: 5px 0;
    padding-left: 10px;
  }
  
  .content-modals .modal-text.fat {
    padding-left: 0;
  }
  
  .content-modals ul.modal-text {
    list-style: disc !important;
    margin: 5px 0;
    padding-left: 25px !important;
  }
  
  .content-modals ul.modal-text li {
    list-style: disc !important;
    margin: 3px 0;
    padding-left: 0 !important;
  }
  
  .remodal-bg.remodal-is-opening,
  .remodal-bg.remodal-is-opened {
    filter: blur(3px);
  }
  
  .remodal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: RGBA(10, 10, 10, 0.769);
  }

  .remodal-overlay.remodal-is-opened {
    display: block;
  }
  
  .remodal-overlay.remodal-is-opening,
  .remodal-overlay.remodal-is-closing {
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
  
  .remodal-overlay.remodal-is-opening {
    animation-name: remodal-overlay-opening-keyframes;
  }
  
  .remodal-overlay.remodal-is-closing {
    animation-name: remodal-overlay-closing-keyframes;
  }
  
  .remodal {
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    max-height: 100%;
  }
  
  .remodal.remodal-is-opening,
  .remodal.remodal-is-closing {
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
  
  .remodal.remodal-is-opening {
    animation-name: remodal-opening-keyframes;
  }
  
  .remodal.remodal-is-closing {
    animation-name: remodal-closing-keyframes;
  }
  
  .remodal,
  .remodal-wrapper:after {
    vertical-align: middle;
  }
  
  .remodal-wrapper.remodal-is-opened {
    display: flex !important;
  }
  
  .remodal-wrapper {
    overflow: hidden;
    padding: 20px 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .modal-scrollable.remodal-wrapper {
    display: flex;
    justify-content: center;
    padding: 14px 0;
    overflow: auto;
  }
  
  .remodal[data-remodal-id] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    width: 100%;
    padding: 14px 10px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
  }

  .remodal[data-remodal-id].remodal-is-opened {
    display: flex;
  }

  body.remodal-is-opened {
    overflow: hidden;
  }
  
  @-moz-keyframes arrowUpFloat {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(5px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  @-webkit-keyframes arrowUpFloat {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(5px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  @-o-keyframes arrowUpFloat {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(5px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  @keyframes arrowUpFloat {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(5px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  @-moz-keyframes remodal-opening-keyframes {
    from {
      transform: scale(1.05);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
      filter: blur(0);
    }
  }
  
  @-webkit-keyframes remodal-opening-keyframes {
    from {
      transform: scale(1.05);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
      filter: blur(0);
    }
  }
  
  @-o-keyframes remodal-opening-keyframes {
    from {
      transform: scale(1.05);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
      filter: blur(0);
    }
  }
  
  @keyframes remodal-opening-keyframes {
    from {
      transform: scale(1.05);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
      filter: blur(0);
    }
  }
  
  @-moz-keyframes remodal-closing-keyframes {
    from {
      transform: scale(1);
      opacity: 1;
    }
    to {
      transform: scale(0.95);
      opacity: 0;
      filter: blur(0);
    }
  }
  
  @-webkit-keyframes remodal-closing-keyframes {
    from {
      transform: scale(1);
      opacity: 1;
    }
    to {
      transform: scale(0.95);
      opacity: 0;
      filter: blur(0);
    }
  }
  
  @-o-keyframes remodal-closing-keyframes {
    from {
      transform: scale(1);
      opacity: 1;
    }
    to {
      transform: scale(0.95);
      opacity: 0;
      filter: blur(0);
    }
  }
  
  @keyframes remodal-closing-keyframes {
    from {
      transform: scale(1);
      opacity: 1;
    }
    to {
      transform: scale(0.95);
      opacity: 0;
      filter: blur(0);
    }
  }
  
  @-moz-keyframes remodal-overlay-opening-keyframes {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @-webkit-keyframes remodal-overlay-opening-keyframes {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @-o-keyframes remodal-overlay-opening-keyframes {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes remodal-overlay-opening-keyframes {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @-moz-keyframes remodal-overlay-closing-keyframes {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  @-webkit-keyframes remodal-overlay-closing-keyframes {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  @-o-keyframes remodal-overlay-closing-keyframes {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  @keyframes remodal-overlay-closing-keyframes {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  @media only screen and (min-width: 768px) {
    .content-modals {
      padding: 0 0 20px 0;
      font-size: 14px;
    }
  
    .content-modals__wrapper {
      padding: 24px 20px 34px 20px;
      max-width: 450px;
    }
  
    .content-modals__close {
      top: 6px;
      right: 6px;
    }
  
    .content-modals__icon {
      width: 22px;
      height: 22px;
    }
  
    .content-modals h2 {
      font-size: 20px;
      margin-bottom: 10px;
    }
  
    .content-modals h3 {
      font-size: 14px;
      margin: 12px 0 8px 0;
    }
  
    .content-modals div {
      margin-bottom: 6px;
    }
  
    .modal-scrollable.remodal-wrapper {
      padding: 20px 0;
    }
  
    .remodal[data-remodal-id] {
      padding-top: 20px;
    }
  }
  
  @media only screen and (min-width: 1024px) {
    .content-modals__wrapper {
      max-width: 550px;
      padding: 30px 36px 40px 36px;
    }

    .call-modal__error {
        font-size: 12px;
    }

    .call-modal__close {
        font-size: 39px;
    }

    .call-modal__input {
        width: 300px;
        height: 60px;
    }

    .call-modal__submit {
        width: 300px;
        height: 60px;
    }
  
    .content-modals__close {
      top: 14px;
      right: 14px;
    }
  
    .content-modals__icon-up {
      width: 40px;
      height: 40px;
    }
  
    .content-modals__icon-up img {
      width: 20px;
    }
  
    .content-modals h2 {
      margin-bottom: 20px;
      font-size: 24px;
    }
  
    .content-modals {
      font-size: 16px;
    }
  
    .content-modals div {
      margin-bottom: 8px;
    }

    .call-modal__agree-text {
        font-size: 11px;
    }

    .call-modal__error {
        font-size: 11px;
    }
  
    .content-modals h3 {
      font-size: 16px;
      margin: 16px 0 10px 0;
    }
  }
  
  @media only screen and (min-width: 1400px) {
    .content-modals__wrapper {
      max-width: 650px;
      padding: 30px 44px 40px 44px;
    }

    .call-modal__input {
        width: 332px;
        height: 70px;
    }

    .call-modal__agree-text {
        font-size: 12px;
    }

    .call-modal__error {
        font-size: 12px;
    }

    .call-modal__submit {
        width: 332px;
        height: 70px;
    }
  
    .content-modals__close {
      top: 20px;
      right: 20px;
    }
  }

/* Thanks page */
.thanks-page {
    background: #f4f4f4;
}

.thanks-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    padding-top: 90px;
    padding-bottom: 30px;
}

.thanks-section {
    text-align: center;
    margin: 0 auto;
    max-width: 520px;
}

.thanks-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "Montserrat-Bold", sans-serif;
    font-size: 18px;
    line-height: 118%;
    color: #1f232f;
    margin-bottom: 12px;
}

.thanks-title--accent {
    color: #FFD317;
}

.thanks-description {
    font-family: "Montserrat-Medium", sans-serif;
    font-size: 14px;
    line-height: 135%;
    color: #1f232f;
    margin-bottom: 22px;
}

.thanks-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 13px 22px;
    border-radius: 999px;
    font-family: "Montserrat-Bold", sans-serif;
    font-size: 14px;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    background: #FFD317;
    transition: filter 0.2s ease, transform 0.1s ease;
}

.thanks-button:hover {
    filter: brightness(1.06);
}

.thanks-button:active {
    transform: scale(0.985);
}

@media only screen and (min-width: 768px) {
    .thanks-body {
        min-height: calc(100vh - 190px);
        padding-top: 100px;
        padding-bottom: 36px;
    }

    .thanks-section {
        max-width: 760px;
    }

    .thanks-title {
        font-size: 22px;
        gap: 5px;
        margin-bottom: 12px;
    }

    .thanks-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .thanks-button {
        min-width: 240px;
        font-size: 15px;
        padding: 14px 24px;
    }
}

@media only screen and (min-width: 1024px) {
    .thanks-body {
        min-height: calc(100vh - 210px);
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .thanks-section {
        max-width: 980px;
    }

    .thanks-title {
        font-size: 28px;
        gap: 6px;
        margin-bottom: 16px;
    }

    .thanks-description {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .thanks-button {
        min-width: 260px;
        padding: 15px 28px;
        font-size: 16px;
    }
}

@media only screen and (min-width: 1400px) {
    .thanks-section {
        max-width: 1120px;
    }

    .thanks-title {
        font-size: 34px;
    }

    .thanks-description {
        font-size: 24px;
    }

    .thanks-button {
        min-width: 290px;
        font-size: 18px;
        padding: 17px 32px;
    }
}

@media not all {
/* ========================================================================== 
   CL-007 / SERIK — redesign preview: screens 01–02
   Direction: industrial editorial / blueprint navigator
   ========================================================================== */

@font-face {
    font-family: "Serik Sans";
    src: url("fonts/Montserrat-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Serik Sans";
    src: url("fonts/Montserrat-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Serik Sans";
    src: url("fonts/Montserrat-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Serik Sans";
    src: url("fonts/Montserrat-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-accent: #ffd216;
    --color-accent-strong: #f5bd00;
    --color-ink: #101828;
    --color-ink-soft: #273247;
    --color-text: #f7f8fa;
    --color-text-muted: #aab3c1;
    --color-surface-dark: #111722;
    --color-surface-deep: #0a0f17;
    --color-surface-light: #eef0ea;
    --color-line: rgba(255, 255, 255, 0.12);
    --font-display: "Serik Sans", sans-serif;
    --font-body: "Serik Sans", sans-serif;
    --site-heading-size: clamp(38px, 5.3vw, 78px);
    --section-heading-size: clamp(36px, 4.4vw, 66px);
    --section-space-top: clamp(72px, 8vw, 124px);
    --container-width: 1320px;
    --radius-card: 26px;
    --radius-control: 16px;
    --shadow-deep: 0 36px 90px rgba(0, 0, 0, 0.42);
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    display: block;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
    color: var(--color-text);
    background: var(--color-surface-deep);
    font-family: var(--font-body);
    line-height: 1.45;
}

body,
button,
input {
    font-family: var(--font-body);
}

img,
main,
section,
header,
form {
    max-width: 100%;
}

.wrapper {
    width: min(var(--container-width), calc(100% - 48px));
    max-width: var(--container-width);
    margin-inline: auto;
    padding: 0;
}

.header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 80;
    padding: 22px 0;
    color: #fff;
}

.header-content {
    min-height: 52px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 26px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    aspect-ratio: 1;
    border-radius: 11px 3px 11px 3px;
    color: #10141c;
    background: var(--color-accent);
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
    transform: rotate(-2deg);
    box-shadow: 0 0 32px rgba(255, 210, 22, 0.22);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 0.08em;
}

.brand-copy strong {
    font-size: 18px;
    font-weight: 700;
}

.brand-copy small {
    margin-top: 5px;
    color: #9ba6b7;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.24em;
}

.header-nav-link {
    color: #c7ced8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.header-nav-link:hover {
    color: var(--color-accent);
}

.header-right {
    justify-self: end;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

.connection-link {
    display: inline-flex;
    gap: 9px;
    color: #fff;
}

.header .phone-icon {
    width: 15px;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

.phone-number {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.connection-button,
.primary-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border: 0;
    border-radius: 4px 14px 4px 14px;
    color: #10141c;
    background: var(--color-accent);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.connection-button {
    width: 152px;
    height: 44px;
}

.connection-button:hover,
.primary-cta:hover {
    color: #10141c;
    background: #ffe26c;
    transform: translateY(-2px);
    box-shadow: 0 15px 36px rgba(255, 210, 22, 0.18);
}

.hero-screen {
    position: relative;
    isolation: isolate;
    min-height: 960px;
    padding: 134px 0 82px;
    overflow: hidden;
    background:
        radial-gradient(circle at 56% 40%, rgba(56, 80, 105, 0.24), transparent 29%),
        radial-gradient(circle at 8% 86%, rgba(255, 210, 22, 0.09), transparent 23%),
        linear-gradient(118deg, #101722 0%, #0b111a 48%, #111a25 100%);
}

.hero-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hero-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: repeating-linear-gradient(112deg, transparent 0 22px, rgba(255, 255, 255, 0.012) 23px 24px);
    mix-blend-mode: screen;
}

.hero-blueprint {
    position: absolute;
    z-index: -1;
    width: 680px;
    height: 680px;
    top: -255px;
    right: -150px;
    border: 1px solid rgba(255, 210, 22, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(255, 210, 22, 0.025),
        0 0 0 180px rgba(255, 210, 22, 0.018),
        0 0 0 270px rgba(255, 210, 22, 0.012);
}

.hero-wordmark {
    position: absolute;
    z-index: -1;
    left: 3vw;
    bottom: -5vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
    font-size: clamp(170px, 24vw, 390px);
    line-height: 0.8;
    font-weight: 700;
    letter-spacing: -0.09em;
    user-select: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(390px, 0.92fr) minmax(250px, 0.58fr) minmax(400px, 0.9fr);
    align-items: center;
    gap: clamp(10px, 2vw, 34px);
}

.hero-copy {
    position: relative;
    z-index: 10;
    align-self: start;
    padding-top: 34px;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 24px;
    color: #b9c1cc;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-kicker > span {
    display: block;
    width: 34px;
    height: 2px;
    background: var(--color-accent);
}

.main-title,
.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.main-title {
    color: #fff;
    font-size: var(--site-heading-size);
    line-height: 0.96;
    text-align: left;
}

.main-title em,
.section-title em {
    color: var(--color-accent);
    font-style: normal;
}

.hero-lead {
    max-width: 565px;
    margin: 30px 0 0;
    color: #b9c1cc;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
}

.primary-cta {
    min-width: 218px;
    padding: 0 23px;
    justify-content: space-between;
}

.primary-cta span {
    font-size: 18px;
}

.text-cta {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 560px;
    margin: 54px 0 0;
    padding: 22px 0 0;
    list-style: none;
    border-top: 1px solid var(--color-line);
}

.hero-facts li {
    min-width: 0;
    padding-right: 18px;
}

.hero-facts li + li {
    padding-left: 18px;
    border-left: 1px solid var(--color-line);
}

.hero-facts strong,
.hero-facts span {
    display: block;
}

.hero-facts strong {
    color: #fff;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.05;
    font-weight: 700;
}

.hero-facts span {
    margin-top: 7px;
    color: #7f8a9a;
    font-size: 10px;
    line-height: 1.25;
}

.hero-person {
    position: relative;
    z-index: 4;
    align-self: end;
    height: 650px;
    margin: 0 -66px -82px -54px;
    pointer-events: none;
}

.hero-person::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 4%;
    bottom: 12px;
    height: 50px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    filter: blur(18px);
}

.person-halo {
    position: absolute;
    left: 8%;
    top: 17%;
    width: 78%;
    aspect-ratio: 1;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 210, 22, 0.34), rgba(255, 210, 22, 0.05) 47%, transparent 70%);
    filter: blur(2px);
}

.hero-person img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter:
        drop-shadow(0 26px 34px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.38));
}

.person-caption {
    position: absolute;
    left: 8%;
    bottom: 68px;
    display: flex;
    flex-direction: column;
    min-width: 152px;
    padding: 12px 15px;
    border-left: 3px solid var(--color-accent);
    color: #fff;
    background: rgba(9, 14, 22, 0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.person-caption strong {
    font-size: 14px;
}

.person-caption span {
    margin-top: 2px;
    color: #aeb7c4;
    font-size: 9px;
}

.chat-window {
    align-self: start;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 615px;
    margin: 6px 0 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
    color: var(--color-ink);
    background: rgba(249, 250, 247, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-card) 7px var(--radius-card) 7px;
    box-shadow: var(--shadow-deep);
    backdrop-filter: blur(18px);
}

.chat-window::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    flex: 0 0 auto;
    background: var(--color-accent);
}

.chat-panel-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 18px 20px 15px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.09);
}

.chat-avatar {
    display: block;
}

.avatar-placeholder {
    width: 44px;
    height: 44px;
    background: #dce1e7;
    box-shadow: 0 0 0 4px rgba(255, 210, 22, 0.2);
}

.online-indicator {
    width: 12px;
    height: 12px;
    border-width: 2px;
    background: #35ad6d;
}

.chat-agent-copy {
    display: flex;
    flex-direction: column;
}

.chat-agent-copy strong {
    color: var(--color-ink);
    font-size: 14px;
    line-height: 1.2;
}

.chat-agent-copy span {
    margin-top: 3px;
    color: #788294;
    font-size: 9px;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #268b58;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.chat-status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.chat-content-area {
    flex: 1;
    padding: 16px 18px 18px;
}

.chat-messages {
    gap: 10px;
}

.message-content {
    max-width: 92%;
    padding: 11px 13px 25px;
    border-radius: 4px 15px 15px 15px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.35;
}

.message-bot .message-content {
    color: var(--color-ink);
    background: #e8ebeb;
    border-bottom-left-radius: 15px;
}

.message-user .message-content {
    color: #10141c;
    background: var(--color-accent);
    border-radius: 15px 4px 15px 15px;
    font-family: var(--font-body);
}

.message-user .message-time,
.message-time {
    color: rgba(16, 24, 40, 0.5);
    font-size: 9px;
}

.start-questions-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 2px 0 8px;
}

.start-question-btn,
.start-questions-container button:nth-child(n) {
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    color: var(--color-ink);
    background: transparent;
    border: 1px solid rgba(16, 24, 40, 0.2);
    border-radius: 4px 12px 4px 12px;
    font-family: var(--font-body);
    font-size: 10px;
    line-height: 1.25;
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.start-question-btn:hover {
    color: #10141c;
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-1px);
}

.chat-input-area {
    padding-top: 13px;
    border-top: 1px solid rgba(16, 24, 40, 0.09);
}

.chat-input {
    height: 47px;
    padding: 0 15px;
    color: var(--color-ink);
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.18);
    border-radius: var(--radius-control);
    font-size: 11px;
}

.chat-input:focus {
    border-color: #a98400;
    box-shadow: 0 0 0 3px rgba(255, 210, 22, 0.16);
}

.chat-send-btn {
    width: 47px;
    height: 47px;
    color: #10141c;
    background: var(--color-accent);
    border-radius: 4px 14px 4px 14px;
}

.chat-send-btn:hover {
    color: #10141c;
    background: #ffe26c;
}

.scroll-cue {
    position: absolute;
    z-index: 15;
    left: 50%;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7f8997;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-cue i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #10141c;
    background: var(--color-accent);
    border-radius: 50%;
    font-size: 13px;
    font-style: normal;
    animation: cueBounce 1.8s ease-in-out infinite;
}

@keyframes cueBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.task-selector {
    position: relative;
    padding: var(--section-space-top) 0 clamp(76px, 9vw, 136px);
    overflow: hidden;
    color: var(--color-ink);
    background:
        linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
        var(--color-surface-light);
    background-size: 72px 72px;
}

.task-selector::after {
    content: "02";
    position: absolute;
    right: -18px;
    bottom: -70px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(16, 24, 40, 0.07);
    font-size: clamp(220px, 30vw, 520px);
    line-height: 0.8;
    font-weight: 700;
    letter-spacing: -0.08em;
    pointer-events: none;
}

.selector-heading {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: end;
    gap: 48px;
    margin-bottom: clamp(46px, 6vw, 78px);
}

.section-kicker--dark {
    color: #667083;
}

.section-title {
    color: var(--color-ink);
    font-size: var(--section-heading-size);
    line-height: 0.98;
}

.selector-intro {
    max-width: 390px;
    margin: 0 0 8px auto;
    color: #677184;
    font-size: 15px;
    line-height: 1.6;
}

.selector-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(410px, 0.9fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: stretch;
}

.task-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(16, 24, 40, 0.18);
    border-left: 1px solid rgba(16, 24, 40, 0.18);
}

.task-card {
    position: relative;
    min-height: 148px;
    padding: 22px 54px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.28);
    border: 0;
    border-right: 1px solid rgba(16, 24, 40, 0.18);
    border-bottom: 1px solid rgba(16, 24, 40, 0.18);
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.task-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--color-ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.task-card:hover,
.task-card.is-active {
    color: #fff;
}

.task-card:hover::before,
.task-card.is-active::before {
    transform: scaleY(1);
}

.task-number {
    color: #7f8997;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.task-card.is-active .task-number,
.task-card:hover .task-number {
    color: var(--color-accent);
}

.task-name {
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.task-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    opacity: 0.5;
}

.task-card.is-active .task-arrow {
    color: var(--color-accent);
    opacity: 1;
}

.recommendation-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 490px;
    padding: clamp(24px, 3vw, 40px);
    overflow: hidden;
    color: #fff;
    background: var(--color-ink);
    border-radius: var(--radius-card) 7px var(--radius-card) 7px;
    box-shadow: 0 32px 70px rgba(16, 24, 40, 0.2);
}

.recommendation-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -150px;
    right: -120px;
    border: 1px solid rgba(255, 210, 22, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 210, 22, 0.025), 0 0 0 120px rgba(255, 210, 22, 0.02);
}

.recommendation-topline {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding-bottom: 18px;
    color: #8d98a8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.recommendation-topline strong {
    color: var(--color-accent);
}

.machine-graphic {
    position: relative;
    height: 155px;
    margin: 8px 0 4px;
    color: var(--color-accent);
}

.machine-graphic svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.25));
    transition: transform 0.35s ease;
}

.recommendation-card.is-changing .machine-graphic svg {
    transform: translateX(12px);
}

.machine-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 84px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
}

.machine-label {
    position: absolute;
    right: 0;
    bottom: 4px;
    color: rgba(255, 255, 255, 0.06);
    font-size: 58px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.08em;
}

.recommendation-label {
    margin: 0 0 8px;
    color: #8f9aab;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recommendation-card h3 {
    margin: 0;
    max-width: 440px;
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.recommendation-card > p:not(.recommendation-label) {
    max-width: 500px;
    margin: 16px 0 0;
    color: #aeb7c4;
    font-size: 12px;
    line-height: 1.55;
}

.recommendation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.recommendation-tags span {
    padding: 7px 10px;
    color: #c7ced8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 9px;
}

.recommendation-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: 0 18px;
    color: #10141c;
    background: var(--color-accent);
    border: 0;
    border-radius: 4px 14px 4px 14px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.recommendation-cta:hover {
    background: #ffe26c;
    transform: translateY(-2px);
}

.footer {
    background: #080c12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1180px) {
    .hero-screen {
        min-height: 1160px;
        padding-bottom: 88px;
    }

    .header-nav-link {
        display: none;
    }

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

    .hero-layout {
        grid-template-columns: minmax(420px, 1fr) minmax(280px, 0.58fr);
        align-items: end;
    }

    .hero-copy {
        align-self: start;
    }

    .hero-person {
        height: 610px;
        margin-left: -90px;
        margin-right: -20px;
    }

    .chat-window {
        grid-column: 1 / -1;
        width: min(760px, 100%);
        min-height: 500px;
        margin: -100px auto 0;
        z-index: 15;
    }

    .selector-layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    }
}

@media (max-width: 820px) {
    .wrapper {
        width: min(100% - 32px, 720px);
    }

    .header {
        padding-top: 16px;
    }

    .connection-link {
        display: none;
    }

    .hero-screen {
        min-height: auto;
        padding: 110px 0 74px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-top: 18px;
    }

    .hero-lead {
        max-width: 620px;
    }

    .hero-person {
        justify-self: end;
        width: min(480px, 72vw);
        height: 510px;
        margin: -160px -18px -50px auto;
        opacity: 0.98;
    }

    .person-caption {
        left: 5%;
        bottom: 60px;
    }

    .chat-window {
        width: 100%;
        min-height: 520px;
        margin: -20px 0 0;
    }

    .scroll-cue {
        display: none;
    }

    .selector-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .selector-intro {
        margin-left: 0;
    }

    .selector-layout {
        grid-template-columns: 1fr;
    }

    .recommendation-card {
        min-height: 520px;
    }
}

@media (max-width: 560px) {
    :root {
        --site-heading-size: clamp(38px, 12vw, 53px);
        --section-heading-size: clamp(36px, 10.8vw, 50px);
        --section-space-top: 58px;
    }

    .wrapper {
        width: calc(100% - 28px);
    }

    .header-content {
        gap: 10px;
    }

    .brand-mark {
        width: 36px;
        border-radius: 9px 3px 9px 3px;
        font-size: 20px;
    }

    .brand-copy strong {
        font-size: 15px;
    }

    .brand-copy small {
        font-size: 6.5px;
    }

    .connection-button {
        width: 126px;
        height: 39px;
        font-size: 10px;
    }

    .hero-screen {
        padding-top: 94px;
        padding-bottom: 60px;
    }

    .hero-copy {
        padding-top: 28px;
    }

    .section-kicker {
        margin-bottom: 18px;
        font-size: 8px;
    }

    .section-kicker > span {
        width: 25px;
    }

    .main-title {
        line-height: 0.98;
    }

    .hero-lead {
        margin-top: 22px;
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 26px;
    }

    .primary-cta {
        width: 100%;
    }

    .hero-facts {
        margin-top: 34px;
    }

    .hero-facts li {
        padding-right: 8px;
    }

    .hero-facts li + li {
        padding-left: 8px;
    }

    .hero-facts strong {
        font-size: 14px;
    }

    .hero-facts span {
        font-size: 8px;
    }

    .hero-person {
        width: 88vw;
        height: 430px;
        margin: -94px -60px -32px auto;
    }

    .person-caption {
        left: 15%;
        bottom: 44px;
    }

    .chat-window {
        min-height: 540px;
        border-radius: 20px 5px 20px 5px;
    }

    .chat-panel-head {
        padding: 15px 14px 13px;
    }

    .chat-content-area {
        padding: 14px;
    }

    .chat-status {
        display: none;
    }

    .start-questions-container {
        grid-template-columns: 1fr;
    }

    .message-content {
        font-size: 11px;
    }

    .task-selector {
        background-size: 48px 48px;
    }

    .selector-heading {
        margin-bottom: 38px;
    }

    .selector-intro {
        font-size: 13px;
    }

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

    .task-card {
        min-height: 108px;
        padding: 17px 52px 17px 17px;
    }

    .task-name {
        font-size: 18px;
    }

    .recommendation-card {
        min-height: 520px;
        padding: 22px 18px;
        border-radius: 20px 5px 20px 5px;
    }

    .machine-graphic {
        height: 135px;
    }
}

@media (max-width: 380px) {
    .connection-button {
        width: 112px;
    }

    .brand-copy {
        display: none;
    }

    .hero-person {
        height: 380px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* First-screen correction v2: preserve the original chat-landing format. */

.header {
    color: var(--color-ink);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--color-ink);
    text-decoration: none;
}

.main-logo {
    display: block;
    width: 74px;
    margin: 0;
}

.main-logo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.header-divider {
    width: 1px;
    height: 28px;
    margin: 0;
    background: rgba(16, 24, 40, 0.32);
}

.description {
    max-width: 170px;
    margin: 0;
    color: #394458;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.header .phone-icon {
    filter: none;
    opacity: 0.78;
}

.connection-link,
.phone-number {
    color: var(--color-ink);
}

.hero-screen {
    min-height: auto;
    padding: 118px 0 78px;
    color: var(--color-ink);
    background:
        radial-gradient(circle at 74% 23%, rgba(255, 210, 22, 0.2), transparent 23%),
        radial-gradient(circle at 12% 8%, rgba(44, 114, 199, 0.07), transparent 22%),
        linear-gradient(135deg, #f7f8f5 0%, #eef1ef 56%, #f8f7f1 100%);
}

.hero-screen::before {
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0.36) 76%, transparent);
}

.hero-screen::after {
    opacity: 0.7;
    background: repeating-linear-gradient(112deg, transparent 0 24px, rgba(16, 24, 40, 0.013) 25px 26px);
    mix-blend-mode: multiply;
}

.hero-blueprint {
    top: -360px;
    right: -170px;
    border-color: rgba(16, 24, 40, 0.1);
    box-shadow:
        0 0 0 90px rgba(16, 24, 40, 0.018),
        0 0 0 180px rgba(16, 24, 40, 0.012),
        0 0 0 270px rgba(16, 24, 40, 0.008);
}

.hero-wordmark {
    left: auto;
    right: -2vw;
    bottom: 30px;
    -webkit-text-stroke-color: rgba(16, 24, 40, 0.045);
    font-size: clamp(170px, 22vw, 340px);
}

.hero-layout {
    display: block;
}

.hero-top {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.72fr);
    align-items: end;
    min-height: 510px;
}

.hero-copy {
    align-self: center;
    padding: 18px 0 72px;
}

.hero-screen .section-kicker {
    color: #697386;
}

.hero-screen .main-title {
    color: var(--color-ink);
    font-size: clamp(40px, 4.05vw, 62px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.hero-screen .main-title em {
    color: #e6b600;
}

.hero-screen .main-title > span {
    display: inline-block;
    margin-top: 5px;
    padding: 2px 11px 7px;
    color: #fff;
    background: #203d7f;
    border-radius: 5px 16px 5px 16px;
}

.hero-lead {
    max-width: 610px;
    margin-top: 26px;
    color: #3f4a5d;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
}

.chat-invitation {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: #596477;
    font-size: 12px;
    font-weight: 600;
}

.chat-invitation::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--color-accent);
}

.hero-person {
    justify-self: end;
    align-self: end;
    width: min(520px, 39vw);
    height: 520px;
    margin: 0 -28px 0 -38px;
}

.hero-person::after {
    left: 5%;
    right: 5%;
    bottom: -3px;
    height: 42px;
    background: rgba(16, 24, 40, 0.34);
    filter: blur(17px);
}

.person-halo {
    left: 10%;
    top: 20%;
    width: 76%;
    background: radial-gradient(circle, rgba(255, 210, 22, 0.32), rgba(255, 210, 22, 0.07) 46%, transparent 72%);
}

.hero-person img {
    filter:
        drop-shadow(0 28px 28px rgba(16, 24, 40, 0.2))
        drop-shadow(0 0 1px rgba(16, 24, 40, 0.24));
}

.person-caption,
.chat-panel-head,
.hero-actions,
.hero-facts {
    display: none;
}

.hero-screen .chat-window {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    min-height: 500px;
    margin: -22px 0 0;
    padding: 34px 44px 22px;
    gap: 16px;
    color: var(--color-ink);
    background: #fff;
    border: 1px solid #273249;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(16, 24, 40, 0.14);
    backdrop-filter: none;
}

.hero-screen .chat-window::before {
    display: none;
}

.hero-screen .chat-avatar {
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
}

.hero-screen .avatar-placeholder {
    width: 58px;
    height: 58px;
    background: #e8edf5;
    box-shadow: none;
}

.hero-screen .online-indicator {
    width: 15px;
    height: 15px;
    border-width: 3px;
}

.hero-screen .chat-content-area {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 0;
}

.hero-screen .chat-messages {
    gap: 12px;
}

.hero-screen .message-content {
    max-width: 90%;
    padding: 11px 14px 26px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.25;
}

.hero-screen .message-bot .message-content {
    background: #ebf2ff;
    border-bottom-left-radius: 4px;
}

.hero-screen .message-user .message-content {
    color: #fff;
    background: #ffd317;
    border-bottom-right-radius: 4px;
}

.hero-screen .start-questions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 3px 0 10px;
}

.hero-screen .start-question-btn,
.hero-screen .start-questions-container button:nth-child(n) {
    flex: 1 1 calc(33.333% - 7px);
    width: auto;
    min-width: 210px;
    padding: 11px 12px;
    border: 1px solid #8a93a2;
    border-radius: 12px;
    color: #202738;
    background: transparent;
    font-size: 12px;
    line-height: 1.25;
}

.hero-screen .start-question-btn:hover {
    color: #fff;
    background: #2c72c7;
    border-color: #2c72c7;
}

.hero-screen .chat-input-area {
    padding-top: 15px;
    border-top: 0;
}

.hero-screen .chat-input {
    height: 46px;
    padding: 0 16px;
    border: 1px solid #273249;
    border-radius: 12px;
    font-size: 13px;
}

.hero-screen .chat-send-btn {
    width: 46px;
    height: 46px;
    color: #fff;
    background: #203d7f;
    border-radius: 50%;
}

.hero-screen .chat-send-btn:hover {
    color: #fff;
    background: #2c72c7;
}

.scroll-cue {
    display: none;
}

@media (max-width: 920px) {
    .hero-screen {
        padding-top: 110px;
    }

    .hero-top {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.66fr);
        min-height: 470px;
    }

    .hero-copy {
        padding-bottom: 52px;
    }

    .hero-screen .main-title {
        font-size: clamp(36px, 5vw, 48px);
    }

    .hero-person {
        width: min(430px, 43vw);
        height: 450px;
    }

    .hero-screen .chat-window {
        min-height: 500px;
        padding: 28px 30px 20px;
    }

    .hero-screen .start-question-btn,
    .hero-screen .start-questions-container button:nth-child(n) {
        flex-basis: calc(50% - 7px);
        min-width: 0;
    }
}

@media (max-width: 680px) {
    .header {
        padding-top: 14px;
    }

    .main-logo {
        width: 50px;
    }

    .header-divider {
        height: 22px;
    }

    .description {
        max-width: 116px;
        font-size: 7px;
    }

    .connection-link {
        display: none;
    }

    .connection-button {
        width: 124px;
        height: 36px;
        font-size: 10px;
    }

    .hero-screen {
        padding: 88px 0 58px;
    }

    .hero-top {
        display: block;
        min-height: auto;
    }

    .hero-copy {
        padding: 30px 0 0;
    }

    .hero-screen .main-title {
        font-size: clamp(34px, 9.8vw, 46px);
    }

    .hero-lead {
        margin-top: 20px;
        font-size: 13px;
    }

    .chat-invitation {
        margin-top: 18px;
        font-size: 10px;
    }

    .hero-person {
        width: min(430px, 94vw);
        height: 410px;
        margin: -74px -70px 0 auto;
    }

    .hero-screen .chat-window {
        min-height: 520px;
        margin-top: -18px;
        padding: 18px 17px 16px;
        gap: 10px;
        border-radius: 20px;
    }

    .hero-screen .avatar-placeholder {
        width: 46px;
        height: 46px;
    }

    .hero-screen .message-content {
        max-width: 94%;
        font-size: 11px;
    }

    .hero-screen .start-questions-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-screen .start-question-btn,
    .hero-screen .start-questions-container button:nth-child(n) {
        width: 100%;
        min-width: 0;
        padding: 9px 10px;
        font-size: 10px;
    }

    .hero-screen .chat-input {
        height: 42px;
        font-size: 11px;
    }

    .hero-screen .chat-send-btn {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 380px) {
    .description,
    .header-divider {
        display: none;
    }

    .hero-person {
        height: 370px;
    }
}
}

/* CL-007: исходная структура первого экрана сохранена; меняется только визуальный слой. */
:root {
    --serik-accent: #ffd317;
    --serik-ink: #111a2d;
    --serik-blue: #203d7f;
    --serik-surface: #f3f5f1;
    --serik-muted: #626d7f;
    --serik-display-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serik-display-size: clamp(40px, 4.5vw, 66px);
    --serik-display-weight: 750;
    --serik-display-line-height: 0.98;
    --serik-display-tracking: -0.055em;
}

body,
button,
input,
.main-title,
.subtitle,
.under_subtitle,
.price-range,
.warrant,
.payment,
.phone-number,
.description,
.connection-button,
.message-content,
.start-question-btn {
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.body {
    color: var(--serik-ink);
    background-color: var(--serik-surface);
    background-image:
        linear-gradient(to bottom, rgba(248, 249, 246, 0.04) 0%, rgba(248, 249, 246, 0.12) 42%, rgba(246, 247, 243, 0.94) 68%, #f4f5f1 84%),
        linear-gradient(90deg, rgba(250, 251, 248, 0.9) 0%, rgba(250, 251, 248, 0.72) 44%, rgba(250, 251, 248, 0.2) 72%, rgba(250, 251, 248, 0.34) 100%),
        url("images/hero-industrial-sketch-v1.png");
    background-size: 100% 100%, 100% 100%, 100% auto;
    background-position: center, center, center top;
    background-repeat: no-repeat;
}

.main-title {
    color: var(--serik-ink);
    font-family: var(--serik-display-font);
    font-size: var(--serik-display-size);
    font-weight: var(--serik-display-weight);
    line-height: var(--serik-display-line-height);
    letter-spacing: var(--serik-display-tracking);
}

.subtitle {
    color: #303b50;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.under_subtitle {
    color: var(--serik-muted);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.price-range,
.warrant {
    color: #e4b900;
    font-family: inherit;
    font-style: normal;
}

.payment {
    display: inline-block;
    color: #fff;
    background: var(--serik-blue);
    font-family: inherit;
    font-size: 1em;
    font-weight: inherit;
    line-height: 1;
    letter-spacing: inherit;
    padding: 0 0.12em 0.08em;
    margin-top: 0.14em;
    border-radius: 0.12em;
    vertical-align: baseline;
}

.task-selector {
    position: relative;
    padding: clamp(72px, 8vw, 118px) 0 clamp(78px, 9vw, 132px);
    overflow: hidden;
    color: var(--serik-ink);
    background:
        linear-gradient(rgba(17, 26, 45, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 26, 45, 0.035) 1px, transparent 1px),
        #eef0ea;
    background-size: 72px 72px;
}

.task-selector .wrapper {
    width: min(1320px, calc(100% - 48px));
    max-width: 1320px;
    padding: 0;
}

.selector-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 48px;
    margin-bottom: clamp(44px, 6vw, 72px);
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 24px;
    color: #667083;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-kicker > span {
    width: 34px;
    height: 2px;
    background: var(--serik-accent);
}

.section-title {
    margin: 0;
    color: var(--serik-ink);
    font-family: var(--serik-display-font);
    font-size: var(--serik-display-size);
    line-height: var(--serik-display-line-height);
    font-weight: var(--serik-display-weight);
    letter-spacing: var(--serik-display-tracking);
}

.section-title em {
    color: #e4b900;
    font-style: normal;
}

.selector-intro {
    max-width: 390px;
    margin: 0 0 8px auto;
    color: #677184;
    font-size: 15px;
    line-height: 1.6;
}

.selector-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(410px, 0.9fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: stretch;
}

.task-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(17, 26, 45, 0.18);
    border-left: 1px solid rgba(17, 26, 45, 0.18);
}

.task-card {
    position: relative;
    min-height: 148px;
    padding: 22px 54px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--serik-ink);
    background: rgba(255, 255, 255, 0.28);
    border: 0;
    border-right: 1px solid rgba(17, 26, 45, 0.18);
    border-bottom: 1px solid rgba(17, 26, 45, 0.18);
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease;
}

.task-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--serik-ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.task-card:hover,
.task-card.is-active {
    color: #fff;
}

.task-card:hover::before,
.task-card.is-active::before {
    transform: scaleY(1);
}

.task-number {
    color: #7f8997;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.task-card:hover .task-number,
.task-card.is-active .task-number {
    color: var(--serik-accent);
}

.task-name {
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.task-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    opacity: 0.55;
}

.task-card.is-active .task-arrow {
    color: var(--serik-accent);
    opacity: 1;
}

.recommendation-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 490px;
    padding: clamp(24px, 3vw, 40px);
    overflow: hidden;
    color: #fff;
    background: var(--serik-ink);
    border-radius: 26px 7px 26px 7px;
    box-shadow: 0 32px 70px rgba(17, 26, 45, 0.2);
}

.recommendation-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -150px;
    right: -120px;
    border: 1px solid rgba(255, 211, 23, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 211, 23, 0.025), 0 0 0 120px rgba(255, 211, 23, 0.02);
}

.recommendation-topline {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-bottom: 18px;
    color: #8d98a8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.recommendation-topline strong,
.machine-graphic {
    color: var(--serik-accent);
}

.machine-graphic {
    position: relative;
    height: 155px;
    margin: 8px 0 4px;
}

.machine-graphic svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.machine-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 84px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
}

.machine-label {
    position: absolute;
    right: 0;
    bottom: 4px;
    color: rgba(255, 255, 255, 0.06);
    font-size: 58px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.recommendation-label {
    margin: 0 0 8px;
    color: #8f9aab;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recommendation-card h3 {
    margin: 0;
    max-width: 440px;
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.recommendation-card > p:not(.recommendation-label) {
    max-width: 500px;
    margin: 16px 0 0;
    color: #aeb7c4;
    font-size: 12px;
    line-height: 1.55;
}

.recommendation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.recommendation-tags span {
    padding: 7px 10px;
    color: #c7ced8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 9px;
}

.recommendation-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: 0 18px;
    color: #10141c;
    background: var(--serik-accent);
    border: 0;
    border-radius: 4px 14px 4px 14px;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

@media (max-width: 900px) {
    .task-selector .wrapper {
        width: calc(100% - 32px);
    }

    .selector-heading,
    .selector-layout {
        grid-template-columns: 1fr;
    }

    .selector-heading {
        gap: 22px;
    }

    .selector-intro {
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    :root {
        --serik-display-size: clamp(36px, 10.8vw, 50px);
    }

    .body {
        background-size: 100% 100%, 100% 100%, auto 640px;
        background-position: center, center, center top;
    }

    .task-selector {
        padding: 58px 0 72px;
        background-size: 48px 48px;
    }

    .task-selector .wrapper {
        width: calc(100% - 28px);
    }

    .section-kicker {
        margin-bottom: 18px;
        font-size: 8px;
    }

    .selector-intro {
        font-size: 13px;
    }

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

    .task-card {
        min-height: 108px;
        padding: 17px 52px 17px 17px;
    }

    .recommendation-card {
        min-height: 500px;
        padding: 22px 18px;
        border-radius: 20px 5px 20px 5px;
    }
}

/* Единая контентная линия: второй экран является эталоном для первого. */
.header > .wrapper,
.body > .wrapper {
    width: min(1320px, calc(100% - 48px));
    max-width: 1320px;
    padding-left: 0;
    padding-right: 0;
}

.main-section__inner {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    .body .hero {
        left: auto;
        right: 0;
        z-index: 24;
        pointer-events: none;
        transform: translateY(32px) scale(1.1);
        transform-origin: right bottom;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .body .hero {
        transform: translateY(18px) scale(1.1);
    }
}

@media (min-width: 901px) {
    .body {
        padding-bottom: 0;
    }

    .main-section__inner {
        padding-bottom: 30px;
    }

    .chat-window {
        margin-bottom: 20px;
    }

    .task-selector {
        padding-top: 72px;
    }
}

@media (max-width: 900px) {
    .header > .wrapper,
    .body > .wrapper {
        width: calc(100% - 32px);
    }
}

@media (max-width: 560px) {
    .header > .wrapper,
    .body > .wrapper {
        width: calc(100% - 28px);
    }
}

/* Simplified eight-task selector with a local request form. */
.selector-layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
    align-items: start;
}

.task-card {
    min-height: 118px;
    padding: 18px 52px 18px 20px;
}

.recommendation-card {
    min-height: 602px;
    padding: 26px 28px 28px;
}

.machine-graphic {
    height: 238px;
    margin: 14px -4px 18px;
    padding: 8px 12px;
    overflow: hidden;
    border-radius: 18px 5px 18px 5px;
    background: radial-gradient(circle at 58% 42%, #202b3a 0, #0b111c 52%, #05080d 100%);
}

.machine-graphic::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 68%, rgba(5, 8, 13, 0.62));
}

.machine-graphic img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.22s ease, transform 0.3s ease;
}

.recommendation-card.is-changing .machine-graphic img {
    opacity: 0.42;
    transform: scale(1.025);
}

.recommendation-card h3 {
    max-width: 520px;
    font-size: clamp(25px, 2vw, 32px);
}

.recommendation-card > p:not(.recommendation-label) {
    margin-top: 12px;
    font-size: 13px;
}

.task-request-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.task-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.task-request-form label:not(.task-form-consent) {
    display: grid;
    gap: 6px;
}

.task-request-form label > span:first-child {
    color: #8f9aab;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.task-request-form input[type="text"],
.task-request-form input[type="tel"] {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px 13px 5px 13px;
    outline: none;
    font: 500 12px/1 var(--serik-body-font);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.task-request-form input::placeholder {
    color: #7f8998;
}

.task-request-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--serik-accent);
}

.task-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #8f9aab;
    cursor: pointer;
}

.task-form-consent input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--serik-accent);
}

.task-form-consent span {
    font-size: 9px !important;
    line-height: 1.35;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.task-form-consent button {
    padding: 0;
    color: #c6cfdb;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(198, 207, 219, 0.48);
    font: inherit;
    cursor: pointer;
}

.task-form-error {
    min-height: 14px;
    margin: -4px 0 0 !important;
    color: #ff8a7a !important;
    font-size: 10px !important;
}

.task-request-form .recommendation-cta {
    margin-top: 0;
}

@media (max-width: 900px) {
    .selector-layout {
        grid-template-columns: 1fr;
    }

    .recommendation-card {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .task-grid {
        grid-template-columns: 1fr 1fr;
    }

    .task-card {
        min-height: 96px;
        padding: 14px 34px 14px 13px;
    }

    .task-name {
        font-size: 13px;
    }

    .task-arrow {
        top: 12px;
        right: 10px;
        width: 23px;
        height: 23px;
        font-size: 10px;
    }

    .recommendation-card {
        padding: 18px 16px 20px;
    }

    .machine-graphic {
        height: 190px;
        margin: 12px 0 16px;
    }

    .task-form-row {
        grid-template-columns: 1fr;
    }
}

/* Compact second-screen state: image and one modal trigger only. */
@media (min-width: 901px) {
    .task-selector {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .selector-heading {
        margin-bottom: 36px;
    }

    .selector-layout {
        align-items: stretch;
    }

    .task-card {
        min-height: 100px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .recommendation-card {
        height: 100%;
        min-height: 0;
        padding: 24px 26px;
    }

    .recommendation-card .machine-graphic {
        flex: 1 1 auto;
        height: auto;
        min-height: 238px;
        margin: 12px -2px 14px;
    }
}

.recommendation-card .task-modal-open {
    flex: 0 0 auto;
    margin-top: auto;
    background: linear-gradient(105deg, #f5bd00 0%, #ffe87a 34%, #ffd216 55%, #fff0a3 72%, #f5bd00 100%);
    background-size: 240% 100%;
    box-shadow: 0 10px 26px rgba(245, 189, 0, 0.24);
    animation: task-cta-shimmer 3.4s ease-in-out infinite;
}

.recommendation-card .task-modal-open:hover {
    animation-duration: 1.8s;
}

@keyframes task-cta-shimmer {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .recommendation-card .task-modal-open {
        animation: none;
        background-position: 50% 50%;
    }
}

.task-card:hover,
.task-card.is-active {
    background: var(--serik-ink);
}

.task-modal {
    max-width: 500px;
    padding: 40px 24px 24px;
    background: var(--serik-ink);
}

.task-modal .call-modal__title {
    max-width: 410px;
    margin: 0 auto 12px;
    font-family: var(--serik-display-font);
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-transform: none;
}

.task-modal__task {
    margin: 0 0 20px;
    color: var(--serik-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.task-request-form--modal {
    margin-top: 0;
}

@media (max-width: 900px) {
    .recommendation-card .task-modal-open {
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    .task-modal {
        padding: 38px 16px 20px;
    }

    .task-modal .call-modal__title {
        font-size: 19px;
    }
}

/* Third screen: trust through clear, already confirmed conditions. */
.trust-screen {
    position: relative;
    padding: clamp(64px, 7vw, 94px) 0 clamp(58px, 6.5vw, 88px);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        var(--serik-ink);
    background-size: 72px 72px;
}

.trust-screen::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -240px;
    top: -250px;
    border: 1px solid rgba(255, 210, 22, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 76px rgba(255, 210, 22, 0.018), 0 0 0 152px rgba(255, 210, 22, 0.012);
    pointer-events: none;
}

.trust-screen .wrapper {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 48px));
    max-width: 1320px;
    padding: 0;
}

.trust-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 48px;
}

.section-title--light {
    color: #fff;
}

.trust-heading > p {
    max-width: 410px;
    margin: 0 0 8px auto;
    color: #9ca7b8;
    font-size: 15px;
    line-height: 1.6;
}

.trust-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: clamp(22px, 3vw, 40px);
    min-height: 410px;
    margin-top: clamp(34px, 4.5vw, 56px);
}

.trust-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    min-height: 0;
}

.trust-machine {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at 55% 44%, #273446 0, #0b111c 54%, #05080d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 6px 24px 6px;
}

.trust-machine--main {
    grid-row: 1 / span 2;
}

.trust-machine img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.45s ease;
}

.trust-machine:hover img {
    transform: scale(1.025);
}

.trust-machine figcaption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dce2ea;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trust-machine figcaption span {
    color: var(--serik-accent);
}

.trust-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.trust-fact {
    min-width: 0;
    padding: clamp(18px, 2vw, 26px);
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px 5px 20px 5px;
}

.trust-fact--accent {
    color: #111722;
    background: var(--serik-accent);
    border-color: var(--serik-accent);
}

.trust-fact--wide {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
}

.trust-fact__number {
    display: block;
    margin-bottom: 22px;
    color: var(--serik-accent);
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.trust-fact--accent .trust-fact__number {
    color: #111722;
}

.trust-fact--wide .trust-fact__number {
    margin: 0;
    font-size: clamp(42px, 4.2vw, 62px);
}

.trust-fact h3 {
    margin: 0;
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.trust-fact p {
    margin: 10px 0 0;
    color: #9ea8b8;
    font-size: 11px;
    line-height: 1.48;
}

.trust-fact--accent p {
    color: rgba(17, 23, 34, 0.68);
}

.trust-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 22px;
    padding: 16px 18px 16px 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px 5px 18px 5px;
}

.trust-cta p {
    display: grid;
    gap: 4px;
    margin: 0;
}

.trust-cta strong {
    font-size: 14px;
}

.trust-cta p span {
    color: #8f9bac;
    font-size: 11px;
}

.trust-cta .task-modal-open {
    width: min(390px, 100%);
    flex: 0 0 auto;
    margin: 0;
    background: linear-gradient(105deg, #f5bd00 0%, #ffe87a 34%, #ffd216 55%, #fff0a3 72%, #f5bd00 100%);
    background-size: 240% 100%;
    box-shadow: 0 10px 26px rgba(245, 189, 0, 0.2);
    animation: task-cta-shimmer 3.4s ease-in-out infinite;
}

@media (max-width: 900px) {
    .trust-screen .wrapper {
        width: calc(100% - 32px);
    }

    .trust-heading,
    .trust-layout {
        grid-template-columns: 1fr;
    }

    .trust-heading {
        gap: 20px;
    }

    .trust-heading > p {
        margin-left: 0;
    }

    .trust-showcase {
        min-height: 430px;
    }
}

@media (max-width: 560px) {
    .trust-screen {
        padding: 58px 0 64px;
        background-size: 48px 48px;
    }

    .trust-screen .wrapper {
        width: calc(100% - 28px);
    }

    .trust-heading > p {
        font-size: 13px;
    }

    .trust-showcase {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 235px 155px;
        min-height: 0;
    }

    .trust-machine--main {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .trust-machine--loader,
    .trust-machine--bulldozer {
        grid-row: 2;
    }

    .trust-machine {
        border-radius: 18px 5px 18px 5px;
    }

    .trust-machine img {
        padding: 8px;
    }

    .trust-machine figcaption {
        left: 10px;
        right: 10px;
        bottom: 9px;
        font-size: 8px;
    }

    .trust-facts {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .trust-fact--wide {
        grid-column: 1;
    }

    .trust-fact__number {
        margin-bottom: 14px;
    }

    .trust-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .trust-cta .task-modal-open {
        width: 100%;
    }
}

/* Alternating section rhythm: dark task selector, light trust screen. */
.task-selector {
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        var(--serik-ink);
    background-size: 72px 72px;
}

.task-selector .section-title {
    color: #fff;
}

.task-selector .selector-intro {
    color: #9ca7b8;
}

.task-selector .task-grid {
    border-color: rgba(255, 255, 255, 0.14);
}

.task-selector .task-card {
    color: #fff;
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.14);
}

.task-selector .task-number {
    color: #7f8a9a;
}

.task-selector .task-card:hover,
.task-selector .task-card.is-active {
    color: var(--serik-ink);
    background: var(--serik-accent);
}

.task-selector .task-card:hover .task-number,
.task-selector .task-card.is-active .task-number,
.task-selector .task-card.is-active .task-arrow {
    color: var(--serik-ink);
}

.task-selector .recommendation-card {
    background: #1a2333;
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.26);
}

.trust-screen {
    color: var(--serik-ink);
    background:
        linear-gradient(rgba(17, 26, 45, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 26, 45, 0.035) 1px, transparent 1px),
        #eef0ea;
    background-size: 72px 72px;
}

.trust-screen::before {
    border-color: rgba(228, 185, 0, 0.22);
    box-shadow: 0 0 0 76px rgba(228, 185, 0, 0.025), 0 0 0 152px rgba(228, 185, 0, 0.016);
}

.trust-screen .section-title--light {
    color: var(--serik-ink);
}

.trust-screen .trust-heading > p {
    color: #667184;
}

.trust-screen .trust-fact {
    color: var(--serik-ink);
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(17, 26, 45, 0.13);
}

.trust-screen .trust-fact--accent {
    color: var(--serik-ink);
    background: var(--serik-accent);
    border-color: var(--serik-accent);
}

.trust-screen .trust-fact__number {
    color: #c79f00;
}

.trust-screen .trust-fact--accent .trust-fact__number {
    color: var(--serik-ink);
}

.trust-screen .trust-fact p {
    color: #667184;
}

.trust-screen .trust-fact--accent p {
    color: rgba(17, 23, 34, 0.68);
}

.trust-screen .trust-cta {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(17, 26, 45, 0.13);
}

.trust-screen .trust-cta p span {
    color: #667184;
}

@media (max-width: 560px) {
    .task-selector,
    .trust-screen {
        background-size: 48px 48px;
    }
}

/* Refined third-screen materials: light technical plates and a 2x2 fact grid. */
.trust-screen .trust-machine {
    background:
        radial-gradient(circle at 78% 20%, transparent 0 58px, rgba(17, 26, 45, 0.075) 59px 60px, transparent 61px),
        linear-gradient(rgba(17, 26, 45, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 26, 45, 0.045) 1px, transparent 1px),
        #f9faf6;
    background-size: auto, 34px 34px, 34px 34px, auto;
    border-color: rgba(17, 26, 45, 0.14);
    box-shadow: 0 18px 42px rgba(17, 26, 45, 0.1);
}

.trust-screen .trust-machine::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(17, 26, 45, 0.07);
    border-radius: 16px 4px 16px 4px;
    pointer-events: none;
}

.trust-screen .trust-machine img {
    position: relative;
    z-index: 1;
}

.trust-screen .trust-machine figcaption {
    z-index: 2;
    color: var(--serik-ink);
}

.trust-screen .trust-machine figcaption span {
    color: #b48f00;
}

.trust-screen .trust-facts {
    grid-template-rows: 1fr 1fr;
}

.trust-screen .trust-fact--service {
    color: #fff;
    background: var(--serik-ink);
    border-color: var(--serik-ink);
}

.trust-screen .trust-fact--service .trust-fact__number {
    color: var(--serik-accent);
}

.trust-screen .trust-fact--service p {
    color: #9ea8b8;
}

@media (max-width: 560px) {
    .trust-screen .trust-facts {
        grid-template-rows: auto;
    }
}

/* Fourth screen: mirrored closing CTA. */
.final-screen {
    position: relative;
    min-height: 760px;
    padding: 64px 0 0;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        #0e1522;
    background-size: 72px 72px;
}

.final-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/hero-industrial-sketch-v1.png") center / cover no-repeat;
    opacity: 0.055;
    filter: grayscale(1) contrast(1.1);
    pointer-events: none;
}

.final-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 21, 34, 0.08), rgba(14, 21, 34, 0.58) 58%, #0e1522 100%);
    pointer-events: none;
}

.final-screen .wrapper {
    width: min(1320px, calc(100% - 48px));
    max-width: 1320px;
    padding: 0;
}

.final-screen__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(420px, 0.82fr) minmax(560px, 1.18fr);
    align-items: end;
    gap: clamp(8px, 2vw, 28px);
    min-height: 696px;
}

.final-screen__visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
    z-index: 3;
}

.final-screen__visual img {
    position: absolute;
    z-index: 2;
    left: -18px;
    bottom: -3px;
    width: min(570px, 116%);
    max-width: none;
    filter: drop-shadow(28px 28px 38px rgba(0, 0, 0, 0.36));
}

.final-screen__orbit {
    position: absolute;
    left: 45%;
    bottom: 105px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 210, 22, 0.2);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 52px rgba(255, 210, 22, 0.022), 0 0 0 104px rgba(255, 210, 22, 0.014);
}

.final-screen__content {
    position: relative;
    z-index: 1;
    align-self: center;
    margin-left: -20px;
    padding: clamp(32px, 4vw, 52px);
    overflow: hidden;
    background: rgba(26, 35, 51, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px 8px 30px 8px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

.final-screen__content::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -145px;
    top: -165px;
    border: 1px solid rgba(255, 210, 22, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 56px rgba(255, 210, 22, 0.02), 0 0 0 112px rgba(255, 210, 22, 0.012);
    pointer-events: none;
}

.final-screen__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: #8e99aa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.final-screen__eyebrow span {
    width: 34px;
    height: 2px;
    background: var(--serik-accent);
}

.final-screen__content .section-title {
    position: relative;
    z-index: 1;
    font-size: clamp(42px, 4.3vw, 66px);
}

.final-screen__lead {
    max-width: 570px;
    margin: 24px 0 0;
    color: #a7b0be;
    font-size: 14px;
    line-height: 1.58;
}

.final-screen__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.final-screen__steps > div {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.final-screen__steps span {
    color: var(--serik-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.final-screen__steps strong {
    font-size: 14px;
}

.final-screen__steps small {
    color: #7f8a9a;
    font-size: 9px;
    line-height: 1.35;
}

.final-screen__content .task-modal-open {
    width: 100%;
    margin: 0;
    background: linear-gradient(105deg, #f5bd00 0%, #ffe87a 34%, #ffd216 55%, #fff0a3 72%, #f5bd00 100%);
    background-size: 240% 100%;
    box-shadow: 0 12px 30px rgba(245, 189, 0, 0.23);
    animation: task-cta-shimmer 3.4s ease-in-out infinite;
}

.final-screen__contact {
    margin: 16px 0 0;
    color: #7f8a9a;
    font-size: 11px;
    text-align: center;
}

.final-screen__contact a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .final-screen {
        min-height: 0;
        padding: 72px 0;
    }

    .final-screen__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .final-screen__visual {
        display: none;
    }

    .final-screen__content {
        width: min(760px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .final-screen {
        padding: 58px 0 64px;
        background-size: 48px 48px;
    }

    .final-screen .wrapper {
        width: calc(100% - 28px);
    }

    .final-screen__content {
        padding: 26px 18px 22px;
        border-radius: 22px 6px 22px 6px;
    }

    .final-screen__eyebrow {
        margin-bottom: 18px;
        font-size: 8px;
    }

    .final-screen__content .section-title {
        font-size: clamp(34px, 10.2vw, 44px);
    }

    .final-screen__lead {
        margin-top: 18px;
        font-size: 12px;
    }

    .final-screen__steps {
        margin: 22px 0 18px;
    }

    .final-screen__steps > div {
        padding: 12px 9px;
    }

    .final-screen__steps strong {
        font-size: 11px;
    }

    .final-screen__steps small {
        font-size: 8px;
    }
}
.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
