﻿:root {
    --black: #1E1D23;
    --blue-accent: #0660FF;
    --gray: #888888;
    --stroke: #D8D8D8;
    --background: #F8F8F8;
    --white: #FFFFFF;
    --font-family: "Montserrat", sans-serif;
    --second-family: "Inter", sans-serif;
    --third-family: "Arial", sans-serif;
    --font3: "Verdana", sans-serif;
    --main-font-size: 16px;
    --main-font-weight: 500;
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background: white;
    color: var(--black);
    font-size: var(--main-font-size);
    line-height: 1.38;
    font-weight: var(--main-font-weight);
}
ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
h1,
h2,
h3 {
    margin: 0;
    display: block;
    padding: 0;
}
p {
    margin: 0;
}
article,
address,
aside,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}
section{
    position: relative;
}
address{
    font-style: normal;
}
section {
    display: block;
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
svg,
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-underline-offset: 3px;
    text-decoration: underline;
    transition: all 0.3s;
}
a:hover {
    text-decoration-color: transparent;
}
.container{
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
h1,
.h1{
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    line-height: 115%;
}
h2,
.h2{
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 119%;
}
h3,
.h3{
    font-weight: 700;
    font-size: 24px;
    line-height: 125%;
}
h,
.h4{
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
}
h5,
.h5{
    font-family: var(--font-family);
    font-weight: 700;
}
.pad{
    padding: 48px 0;
}
.pad-top{
    padding-top: 24px;
}
div.swiper-slide{
    height: auto;
}
.call{
    position: fixed;
    right: 68px;
    bottom: 36px;
    z-index: 9;
}
.call::before,
.call::after{
    content: '';
    display: block;
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.call::after{
    border: 2px solid var(--blue-accent);
    animation: call 1s infinite;
}
.call::before{
    background: var(--background);
    z-index: -1;
    animation: call 1s infinite;
}
@keyframes call{
    0%{
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100%{
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}
.call__icon{
    background: var(--blue-accent);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}
.call:hover .call__icon{
    transform: scale(1.1);
}
.modal{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
    justify-content: center;
    align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}
.modal.show{
	opacity: 1;
	visibility: visible;
}
.overlay{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(30, 29, 35, 0.7);
}
.modal__wrapper{
	position: relative;
    max-width: 424px;
    width: 100%;
	overflow: hidden;
    max-height: 100%;
    overflow-y: auto;
	padding: 0;
}
.modal__content{
    background: var(--white);
    border-radius: 4px 8px 4px 4px;
}
.modal__box{
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.modal__close{
    cursor: pointer;
    transition: all 0.3s;
}
.modal__close svg{
    transition: all 0.3s;
}
.modal__close:hover{
    background: #0B53D3;
}
.modal__close:hover svg{
    transform: rotate(180deg);
}
.modal__btn{
    width: 100%;
    margin-top: 8px;
}
.text-styled{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.text-styled h2,
.text-styled h3,
.text-styled h4,
.text-styled h5{
    color: var(--black);
}

@media all and (max-width: 1200px){
    .pad{
        padding: 32px 0;
    }
    .call{
        bottom: 28px;
        right: 28px;
    }
}

@media all and (max-width: 768px){
    h1,
    .h1{
        font-size: 32px;
        line-height: 119%;
    }
    h2,
    .h2{
        font-size: 24px;
        line-height: 125%;
    }
    h3,
    .h3{
        font-size: 20px;
        line-height: 130%;
    }
    h,
    .h4{
        font-size: 16px;
    }
    .call{
        bottom: 20px;
        right: 20px;
    }
    .modal__wrapper{
        width: calc(100% - 32px);
    }
}