html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    outline: none;
}

html {
    height: 101%;
}

body {
    font-size: 62.5%;
    line-height: 1.2;
    font-size: 14.67px;
    font-family: Tahoma, Verdana, sans-serif;
    color: #552723;
    background: #fff;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

strong {
    font-weight: bold;
}

input {
    outline: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    border: 0;
    max-width: 100%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

header {
    border-bottom: 8px solid #51596d;
    margin-bottom: 40px;
}

header .phone {
    padding-top: 20px;
    width: 100%;
    max-width: 400px;
}

header .phone span {
    font-size: 14px;
    width: 100%;
    max-width: 180px;
    display: inline-block;
}

@media screen and (max-width: 310px) {
    header .phone span {
        margin-bottom: 5px;
        display: block;
    }
}

@media screen and (max-width: 420px) {
    header .phone span {
        max-width: 105px;
    }
}

header .phone a {
    font-size: 20px;
    font-weight: 600;
    color: #552723;
}

@media screen and (max-width: 400px) {
    header .phone a {
        font-size: 17px;
    }
}

header .phone p {
    margin-bottom: 12px;
}

header .mail {
    padding-top: 20px;
    color: #552723;
}

header .mail a {
    color: #052a90;
}

header .mail p {
    margin-bottom: 12px;
}

.container-header {
    max-width: 1100px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 30px 15px 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0 auto;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.container {
    width: 100%;
    max-width: 960px;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto;
}

.content .item {
    margin-bottom: 40px;
}

.content .item > div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

@media screen and (max-width: 650px) {
    .content .item > div {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

.content .item > div .char {
    max-width: 310px;
    width: 100%;
    margin-right: 20px;
}

.content .item > div .char img {
    margin-bottom: 20px;
}

.content .item > div .char p {
    color: #052a90;
    margin-bottom: 4px;
}

.content .item > div .text {
    width: 70%;
}

@media screen and (max-width: 400px) {
    .content .item > div .text {
        width: 100%;
        margin-top: 15px;
    }
}

.content .item > div .text p {
    margin-bottom: 30px;
}

.content .item h1 {
    width: 100%;
    color: #052a90;
    font-size: 32px;
    margin-bottom: 22px;
}

@media screen and (max-width: 650px) {
    .content .item h1 {
        font-size: 25px;
    }
}

footer {
    background: #51596d;
    font-size: 13.34px;
}

footer .foot-con {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

footer .con {
    color: #ffffff;
    padding-left: 80px;
    background: url("../img/foot-phone.png") no-repeat left center;
}

@media screen and (max-width: 650px) {
    footer .con {
        padding-left: 50px;
    }
}

footer .con p {
    margin-bottom: 7px;
}

footer .con p:first-child a {
    text-decoration: none;
}

footer .con span {
    max-width: 120px;
    display: inline-block;
    width: 100%;
}

@media screen and (max-width: 420px) {
    footer .con span {
        max-width: 100px;
    }
}

footer .con a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
}

footer .copy {
    color: #7e8aa7;
}

@media screen and (max-width: 570px) {
    footer .copy {
        width: 100%;
        margin-top: 10px;
    }
}

footer .copy a {
    color: #7e8aa7;
    text-decoration: underline;
}

.items-site {
    margin-top: 40px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .items-site {
        grid-template-columns: 1fr;
    }
}

/* Стили для кнопки заказа звонка */
.btn-callback {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-callback:hover {
    background-color: #e55a2b;
    color: white;
}

.btn-callback:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* Адаптивность для кнопки */
@media screen and (max-width: 650px) {
    .btn-callback {
        width: 100%;
        margin-top: 15px;
    }
}

/* Ширина модального окна */
#callbackModal .modal-dialog,
#thanksModal .modal-dialog {
    max-width: 400px;
}

/* Стили для кнопки в модалке */
#callbackModal .btn-callback,
#thanksModal .btn-callback {
    margin-top: 0;
    width: 100%;
}


.form-check-label a {
    color: #552723;
    text-decoration: underline;
}