svg {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

svg:not(:root) {
    overflow: hidden;
}

p, ul {
    margin: 0;
}

h2 {
    margin: 0 0 20px 0;
    text-transform: none;
    line-height: 1.2;
    font-weight: 600;
    font-size: 45px;
}

input {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    overflow: visible;
}

[type="text"], [type="tel"] {
    padding: 0 20px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    height: 60px;
    color: #4D4D4D;
    font-size: 16px;
    width: 50%;
    line-height: 1;
    background: #FFFFFF;
}

[type="textlink"], [type="tel"] {
    padding: 0 20px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    height: 60px;
    color: #4D4D4D;
    font-size: 16px;
    width: 100%;
    line-height: 1;
    background: #FFFFFF;
}

/* [type="submit"], button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    cursor: pointer;
    border: none;
} */

a:active, a:focus, input:active, input:focus, button:active, button:focus {
    outline: none;
}

:focus {
    outline: none;
    box-shadow: none;
}

/* Кастомные классы */
.btn-primary {
    display: inline-flex;
    padding: 2px 30px 4px;
    text-align: center;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #0B22EF;
    border: 1px solid #0B22EF;
    color: #fff;
    line-height: 1;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.btn-primary:hover {
    text-decoration: none;
    background: #fff;
    color: #0B22EF;
}

.btn-primary:disabled {
    opacity: 0.6;
}

.btn-primary:disabled:hover {
    color: #fff;
    background: #0B22EF;
    border: 1px solid #0B22EF;
}

.social-links {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.social-links > :not(:last-child) {
    margin-right: 10px;
}

.social-links a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0B22EF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a svg path {
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
}

.social-links a:hover svg path {
    fill: #0B22EF;
}

.social-links a:first-child svg {
    position: relative;
    right: 1px;
}

.main-title {
    text-transform: uppercase;
}

.main-title:not(:last-child) {
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Блок вопросов */
.aq-section {
    padding-top: 60px;
    margin-left: -20px;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.aq-content {
    width: calc(66.6666% - 20px);
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aq-form-container {
    width: calc(33.3333% - 20px);
    margin-left: 20px;
    padding: 25px 20px 20px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgb(0 81 255 / 89%);
}

.form-field {
    margin-bottom: 15px;
}

.form-submit-btn {
    position: relative;
}

.form-submit-btn .wpcf7-spinner {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 10px auto 0;
}

.form-agreement {
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
}

.form-agreement a {
    text-decoration: underline;
    color: inherit;
}

.form-agreement a:hover {
    color: #0B22EF;
}

.form-field-phone {
    position: relative;
}

.form-field-phone:before {
    content: '';
    position: absolute;
    z-index: 1;
    right: 21px;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234D4D4D"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>') no-repeat center;
    background-size: contain;
    top: 50%;
    margin-top: -10px;
}

.form-field-phone input {
    padding-right: 45px;
}

.aq-top-block {
    padding-top: 20px;
}

.aq-bottom-block {
    box-shadow: 0 4px 20px rgb(0 81 255 / 89%);
    margin-top: 20px;
    border-radius: 30px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.aq-tagline {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    position: relative;
    top: -2px;
    margin-right: 15px;
}

.aq-messengers .social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid #0B22EF;
}

.aq-messengers .social-links svg {
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

/* Адаптивность */
@media screen and (min-width: 1201px) {
    .form-field input {
        height: 70px;
        font-size: 20px;
    }
}

@media screen and (max-width: 1200px) {
    h2 {
        font-size: 38px;
    }
    
    .btn-primary {
        font-size: 18px;
    }
    
    .aq-form-container {
        padding-top: 20px;
    }
    
    .aq-top-block {
        padding-top: 0;
    }
    
    .aq-tagline {
        font-size: 20px;
    }
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 34px;
    }
    
    [type="text"], [type="tel"] {
        height: 50px;
        border-radius: 10px;
        padding: 0 15px;
    }
    
    .btn-primary {
        font-size: 16px;
        border-radius: 15px;
        min-height: 50px;
    }
    
    .social-links > :not(:last-child) {
        margin-right: 15px;
    }
    
    .aq-form-container {
        border-radius: 15px;
    }
    
    .form-field-phone:before {
        width: 14px;
        height: 14px;
        margin-top: -7px;
        right: 15px;
    }
    
    .form-field-phone input {
        padding-right: 35px;
    }
    
    .aq-bottom-block {
        border-radius: 15px;
    }
    
    .aq-content, .aq-form-container {
        width: calc(100% - 20px);
    }
    
    .aq-form-container {
        margin-top: 20px;
    }
    
    .aq-tagline {
        font-size: 16px;
    }
    
    .aq-section {
        margin-left: 0;
        flex-direction: column;
    }
    
    .aq-content, .aq-form-container {
        margin-left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 479px) {
    h2 {
        font-size: 30px;
    }
    
    .aq-bottom-block {
        flex-direction: column;
        text-align: center;
    }
    
    .aq-tagline {
        margin: 0 0 15px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}