@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: '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: column;
    align-items: center;
}

.main-logo {
    width: 130px;
}

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


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

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


.description {
    font-size: 10px;
    color: #212529;
    font-family: "Montserrat-Medium";
    line-height: 120%;
    display: none;
}

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

.connection-button {
    font-family: "Montserrat-SemiBold", sans-serif;
    background-color: #D9712A;
    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;
}

.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;
}

.title-description {
    font-size: 13px;
    color: #646464;
    margin-bottom: 20px;
}




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

.subtitle-description {
    font-size: 14px;
    color: #646464;
}

/* 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: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    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: auto;
    overflow-x: hidden;
    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: #903b00;
    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-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: #D9712A;
    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;
}



/* Плашка о принятии заявки */
.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 — Заказать звонок */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 24px;
    width: 100%;
    max-width: 340px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-family: "Montserrat-Bold", sans-serif;
    font-size: 18px;
    line-height: 120%;
    text-align: center;
    margin-bottom: 24px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.modal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.modal-input {
    width: 100%;
    padding: 0 10px 0 24px;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 14px;
    font-family: "Montserrat-Regular", sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.modal-input:focus {
    border-color: #D9712A;
}

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

.modal-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #F04B4B;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-family: "Montserrat-Bold", sans-serif;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 4px;
}

.modal-submit-btn:hover {
    background-color: #d93c3c;
}

.modal-submit-btn:active {
    transform: scale(0.98);
}

.modal-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

.modal-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #D9712A;
}

.modal-policy-link {
    font-size: 12px;
    color: #D9712A;
    text-decoration: underline;
}

.modal-policy-link:hover {
    color: #b85e1f;
}

/* 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: #D9712A;
    text-decoration: underline;
}

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

.cookie-accept-btn {
    background-color: #D9712A;
    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: #ec9f6d;;
}

.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: #903b00
}

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

.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;

}

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

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

    .header-divider {
        background-color: #212529;
        margin-top: 5px;
        width: 1px;
        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: 80px;
        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: 145px;
    }

    

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


    .description {
        font-size: 10px;
        margin-top: 5px;
        display: block;
    }

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

    .phone {
        font-size: 18px;
    }

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

    .title-description {
        font-size: 15px;
    }

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

    .subtitle-description {
        font-size: 15px;
    }

    .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;
    }

    .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;
    }

    .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: 164;
    }

    .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;
    }

    .title-description {
        font-size: 16px;
    }

    .subtitle {
        font-size: 22px;
    }

    .subtitle-description {
        font-size: 16px;
    }

    .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;
    }

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

    .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: 90px;
    }

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

    .header-logo {
        gap: 10px;
    }

    .main-logo {
        width: 208px;
    }

    .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;
    }

    .title-description {
        font-size: 17px;
    }

    .subtitle {
        font-size: 28px;
    }

    .subtitle-description {
        font-size: 17px;
    }

    .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;
    }
}

