*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
:root {
    --bg: #f5f5f6;
    --white: #ffffff;
    --text: #2f3b4b;
    --text-soft: #69727f;
    --line: #dde2e8;
    --dark: #2f3b4b;
    --dark-2: #3c4959;
    --footer: #2f3c4c;
    --shadow: 0 10px 30px rgba(35, 46, 60, 0.08);
    --container: 1240px;
    --radius: 6px;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f8), to(#f1f1f2));
    background: linear-gradient(180deg, #f7f7f8 0%, #f1f1f2 100%);
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
button,
input,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
    border: none;
    background: none;
}
.container {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
}

/* Header */

.header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #dfe3e8;
}
.header__inner {
    min-height: 88px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.logo img {
    width: 290px;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}
.nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 26px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.nav a {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: #5a6472;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}
.nav a:hover {
    color: var(--text);
}
.nav a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -16px;
    color: #c6ccd4;
}
.header__right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
}
.lang-switch {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 4px;
    border: 1px solid #d7dde5;
    border-radius: 4px;
    background: #fff;
}
.lang-switch__btn {
    min-width: 52px;
    height: 36px;
    padding: 0 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #5f6977;
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.lang-switch__btn:hover {
    background: #f3f5f8;
}
.lang-switch__btn.is-active {
    background: -webkit-gradient(linear, left top, left bottom, from(#3d4959), to(#2f3b4b));
    background: linear-gradient(180deg, #3d4959 0%, #2f3b4b 100%);
    color: #fff;
}
.btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    -webkit-transition: 0.25s ease;
    transition: 0.25s ease;
    white-space: nowrap;
}
.btn--dark {
    background: -webkit-gradient(linear, left top, left bottom, from(#3d4959), to(#2f3b4b));
    background: linear-gradient(180deg, #3d4959 0%, #2f3b4b 100%);
    color: #fff;
    -webkit-box-shadow: 0 8px 18px rgba(39, 49, 63, 0.16);
    box-shadow: 0 8px 18px rgba(39, 49, 63, 0.16);
}
.btn--dark:hover {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 12px 22px rgba(39, 49, 63, 0.2);
    box-shadow: 0 12px 22px rgba(39, 49, 63, 0.2);
}
.btn--light {
    background: #fff;
    color: #3b4554;
    border: 1px solid #d7dbe2;
}
.btn--light:hover {
    background: #f7f8fa;
}

/* Hero */

.hero {
    padding: 42px 0 56px;
}
.hero__inner {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1.02fr 36px 1fr;
    grid-template-columns: 1.02fr 1fr;
    gap: 36px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.hero__title {
    margin: 0 0 28px;
    font-size: clamp(25px, 4vw, 40px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.8px;
    color: var(--text);
}
.hero__text {
    max-width: 560px;
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-soft);
}
.hero__actions {
    margin-top: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 14px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.hero__visual {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.hero__visual img {
    width: 100%;
    max-width: 680px;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}

/* Form section */

.contact-section {
    padding: 0 0 72px;
}
.contact-box {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 360px 32px 1fr;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 8px;
    -webkit-box-shadow: var(--shadow);
    box-shadow: var(--shadow);
    padding: 34px;
}
.contact-box__title {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.2;
    color: var(--text);
}
.contact-box__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
}
.form__grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 18px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.feedback .form {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, 1fr);
    gap: 18px;
}
.form__group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.form__group--full {
    grid-column: 1/-1;
}
.form__group label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #4b5665;
}
.form__group input,
.form__group textarea {
    width: 100%;
    border: 1px solid #d9dfe7;
    border-radius: 4px;
    background: #fff;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}
.form__group input:focus,
.form__group textarea:focus {
    border-color: #8d99a8;
    -webkit-box-shadow: 0 0 0 3px rgba(64, 79, 97, 0.08);
    box-shadow: 0 0 0 3px rgba(64, 79, 97, 0.08);
}
.form__group textarea {
    min-height: 140px;
    resize: vertical;
}
.form__group input::-webkit-input-placeholder,
.form__group textarea::-webkit-input-placeholder {
    color: #9aa3af;
}
.form__group input::-moz-placeholder,
.form__group textarea::-moz-placeholder {
    color: #9aa3af;
}
.form__group input:-ms-input-placeholder,
.form__group textarea:-ms-input-placeholder {
    color: #9aa3af;
}
.form__group input::-ms-input-placeholder,
.form__group textarea::-ms-input-placeholder {
    color: #9aa3af;
}
.form__group input::placeholder,
.form__group textarea::placeholder {
    color: #9aa3af;
}
.form__bottom {
    margin-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 20px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.form__checkbox {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #66707d;
}
.form__checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Footer */

.footer {
    background: -webkit-gradient(linear, left top, left bottom, from(#3c4958), to(#2d3948));
    background: linear-gradient(180deg, #3c4958 0%, #2d3948 100%);
    color: #eef3f8;
    padding: 28px 0;
}
.footer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 24px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.footer__brand {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.footer__copy {
    font-size: 14px;
    color: rgba(238, 243, 248, 0.85);
}
.footer__right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 24px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.footer__right a,
.footer__right span {
    font-size: 15px;
    color: #eef3f8;
}

/* Responsive */

@media (max-width: 1180px) {
    .hero__inner,
    .contact-box {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .contact-box__info {
        max-width: 720px;
    }
}
@media (max-width: 980px) {
    .header__inner {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 14px 0;
    }
    .nav {
        width: 100%;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 14px 24px;
    }
    .nav a:not(:last-child)::after {
        display: none;
    }
    .hero__title {
        font-size: 42px;
    }
}
@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, var(--container));
    }
    .logo img {
        width: 230px;
    }
    .header__right {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
    .lang-switch {
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .hero {
        padding-top: 28px;
    }
    .hero__title {
        font-size: 34px;
        line-height: 1.22;
    }
    .hero__text {
        font-size: 16px;
    }
    .hero__actions {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
    .btn {
        width: 100%;
    }
    .form__grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .form__group--full {
        grid-column: auto;
    }
    .form__bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
}
@media (max-width: 520px) {
    .hero__title {
        font-size: 28px;
    }
    .contact-box {
        padding: 22px;
    }
    .contact-box__title {
        font-size: 28px;
    }
    .footer__right {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 12px;
    }
}
.popup-bg {
    position: fixed;
    inset: 0;
    background: rgba(24, 31, 41, 0.72);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    z-index: 90;
}
.popup-bg.active {
    opacity: 1;
    visibility: visible;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 560px;
    padding: 34px 32px 30px;
    background: #ffffff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    -webkit-box-shadow: 0 25px 70px rgba(25, 35, 48, 0.22);
    box-shadow: 0 25px 70px rgba(25, 35, 48, 0.22);
    -webkit-transform: translate(-50%, -50%) scale(0.96);
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    z-index: 100;
}
.popup.active {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}
.popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 4px;
    background: #f4f6f8;
    color: #2f3b4b;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
}
.popup__close:hover {
    background: #e9edf2;
}
.popup__head {
    margin-bottom: 24px;
    padding-right: 44px;
}
.popup__title {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #2f3b4b;
}
.popup__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #69727f;
}
.popup-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
}
.popup-form__group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.popup-form__group label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #4b5665;
}
.popup-form__group input,
.popup-form__group textarea {
    width: 100%;
    border: 1px solid #d9dfe7;
    border-radius: 4px;
    background: #ffffff;
    padding: 14px 16px;
    font-size: 15px;
    color: #2f3b4b;
    outline: none;
    -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}
.popup-form__group input:focus,
.popup-form__group textarea:focus {
    border-color: #8d99a8;
    -webkit-box-shadow: 0 0 0 3px rgba(64, 79, 97, 0.08);
    box-shadow: 0 0 0 3px rgba(64, 79, 97, 0.08);
}
.popup-form__group textarea {
    min-height: 130px;
    resize: vertical;
}
.popup-form__group input::-webkit-input-placeholder,
.popup-form__group textarea::-webkit-input-placeholder {
    color: #9aa3af;
}
.popup-form__group input::-moz-placeholder,
.popup-form__group textarea::-moz-placeholder {
    color: #9aa3af;
}
.popup-form__group input:-ms-input-placeholder,
.popup-form__group textarea:-ms-input-placeholder {
    color: #9aa3af;
}
.popup-form__group input::-ms-input-placeholder,
.popup-form__group textarea::-ms-input-placeholder {
    color: #9aa3af;
}
.popup-form__group input::placeholder,
.popup-form__group textarea::placeholder {
    color: #9aa3af;
}
.popup-form__check {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #66707d;
}
.popup-form__check input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.popup-form__submit {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
}
.popup-form__error {
    display: none;
    margin-top: 8px;
    font-size: 13px;
    color: #d13b3b;
}
.popup-form__error.active {
    display: block;
}
.popup-form__success {
    min-height: 20px;
    font-size: 14px;
    color: #2d7a46;
    text-align: center;
}
.popup__policy {
    font-size: 13px;
    line-height: 1.5;
    color: #7b8492;
    text-align: center;
}
.popup__policy a {
    color: #2f3b4b;
    text-decoration: underline;
}
body.popup-open {
    overflow: hidden;
}
@media (max-width: 640px) {
    .popup {
        padding: 26px 20px 22px;
    }
    .popup__title {
        font-size: 26px;
    }
    .popup__text {
        font-size: 15px;
    }
    .popup__close {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }
}
.is-success {
    color: forestgreen;
    font-weight: bold;
}
.is-error {
    color: red;
    font-weight: bold;
}
input.is-error,
textarea.is-error {
    border-color: red;
}