/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Stetica_Regular;
}
@font-face {
    font-family: 'Stetica_Regular';
    src: url(/leding/Stetica_Regular.otf)
}

@font-face {
    font-family: 'Lato-lite';
    src: url(/leding/Lato-Light.ttf)
}
@font-face {
    font-family: 'Stetica_Bold';
    src: url(/leding/AA-Stetica-Bold.otf)
}

body {
    background: linear-gradient(to bottom, rgb(69, 50, 45), rgb(196, 196, 196));

    color: #fff;
    line-height: 1.6;
    font-size: 19px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 20px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.contact-info {
    display: flex;
    gap: 100px;
    align-items: flex-end;
    margin-top: 7px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info i {
    font-size: 18px;
}

.call-button {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 8px 35px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.greeting {
    margin-top: 20px;
}

.greeting h2 {
    font-size: 3rem;
    line-height: 1.3;
    margin-top: 40px;
}
h3{
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 20px;
    color: #45322D;
}


.small {
    font-size: 0.8rem;
}
.content {
    color: #45322D;
    padding-bottom: 4px;
}

.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-top: 20px;
}

.col-left,
.col-right {
    background-color: #ffffffa6;
    padding: 20px;
}

.col-left ul {
    list-style: none;
    padding-left: 0;
}

.col-left li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.col-left li i {
    font-size: 18px;
    color: #45322d;
}

.box {
    display: flex;
    gap: 20px;
    min-width: 120px;
}


.box-number span {
display: block;
font-size: 36px;
line-height: 1.1;
font-family: stetica_bold;
}

.years {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}

.years span {
font-size: 48px;
font-weight: bold;
line-height: 1.1;
text-align: center;
}

.certificates img {
/*width: 60px;*/
/*height: 60px;*/
object-fit: cover;
margin-right: 10px;
}

.col-right img {
width: 100%;
height: auto;
top: 10px;
position: relative;
}

.labels p {
position: relative;
margin-bottom: 5px;
}

.labels p::before {
content: "•";
position: absolute;
left: -20px;
top: 50%;
transform: translateY(-50%);
}


/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .row {
        grid-template-columns: 1fr;
    }

    .contact-info {
        gap: 20px;}

    .col-left,
    .col-right {
        padding: 15px;
    }

    .header-top {
        align-items: flex-start;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .call-button {
        width: 100%;
    }
    .col-right img {
        top: 7px;
    }

}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    body {font-size: 14px;}

    .box-number {
    width: 100px;
    height: 100px;
        padding: 4px;
        min-width: initial;

    }

    .call-button {

                     font-size: 13px;}

    .box-number span {
        font-size: 28px;}
    .box {min-width: auto;}


    .contact-info {
        gap: 5px;
        margin-top: -10px;}

    .container {
        padding: 0 10px;
    }

    .greeting h2 {
        font-size: 1.9rem;
    }

    .box-number span {
        font-size: 36px;
        line-height: 0.8;
    }

    .years span {
        font-size: 36px;
    }

    .certificates img {
        width: 50px;
        height: 50px;
    }

    .labels p {
        font-size: 14px;
    }
    /*.fa-globe{display: none !important;}*/
    /*.fa-envelope{display: none !important;}*/
    /*.header-top {*/
    /*    flex-direction: row;}*/


.poc_r {
    font-family: 'Stetica_Bold';
    font-size: 15px;}

.col-right img {
    top:8px;
 }

    .certificates {
        padding: 4px;
        width: 110px;
    }

    .certificates img {
        width: 100%;
        height: auto;
    }
}

/* Глобальные анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Анимация кнопки */
.call-button {
    transition: background-color 0.3s, transform 0.3s;
}

.call-button:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.05);
}

/* Анимация для блоков */
.col-left,
.col-right,
.box,
.years {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.col-left.active,
.col-right.active,
.box.active,
.years.active {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для модального окна */
/* Стили для модального окна */
.modal {
    display: none; /* По умолчанию скрыто */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
}

.modal-content {
    background-color: #f3f3f3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    color: black;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 24px;
    cursor: pointer;
}

.close:hover {
    color: #ff0000;
}

form label {
    display: block;
    margin-top: 10px;
    color: #45322D;
}

form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #45322D;
}

form button {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #c9c9c9;
}
.text-vertical-alling {
    position: sticky;
    margin: auto;
}