/*
Theme Name: Dentsist Theme
Theme URI: https://example.com
Author: Dmitriy Mecker
Author URI: https://example.com
Description: Кастомная тема для стоматологии
Version: 1.0
*/

body {
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6{
    font-family: 'Open Sans', sans-serif;
}
p,a,span,strong,ul,li,article{
    font-family: 'Roboto', sans-serif;
}
.hero {
    min-height: clamp(300px, 30vw, 600px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-position: center;
    background-size: cover;
    position: relative;
}
.hero::before {
    content: '';
    background-color: rgb(24, 93, 64, 0.4);
    width: 100%;
    position: absolute;
    height: 100%;
}
.hero-inner {
    padding: clamp(52px, 5.2vw, 100px) clamp(100px, 11.2vw, 215px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(40px, 4vw, 80px);
}
h1 {
    font-size: clamp(52px, 3.6vw, 72px);
    text-align: center;
    color: #fff;
    position: relative;
    margin: 0;
    line-height: 120%;
    font-weight: 500;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
}
.hero p {
    color: #111114;
    position: relative;
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 125%;
    text-align: center;
    margin: clamp(30px, 3vw, 60px) 0;
    font-weight: 300;
}
.hero a.quote-btn {
    position: relative;
    height: clamp(40px, 3vw, 60px);
    width: clamp(150px, 15vw, 300px);
    font-size: clamp(18px, 1.25vw, 24px);
    background: #fff;
    color: #2a867b;
    font-weight: 400;
}
.quote-btn:hover, .form-btn:hover {
    transition: all 0.5s ease;
    transform: scale(0.9);
}
.quote-btn {
    width: clamp(100px, 10vw, 200px);
    border-radius: 5px;
    text-align: center;
    background: #fff;
    height: clamp(30px, 2vw, 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #2a867b;
    font-size: clamp(14px, 0.9375vw, 18px);
    transition: all 0.5s ease;
}
.copy {
    padding: clamp(52px, 5.2vw, 100px) clamp(100px, 11.2vw, 215px) 0;
}
.copy p {
    font-size: clamp(16px, 1vw, 20px);
    line-height: 125%;
}
.features {
    padding: clamp(52px, 5.2vw, 100px) clamp(100px, 11.2vw, 215px) 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.feature-item {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 1px #7dbeb6;
    padding: clamp(20px, 2vw, 40px);
    border-radius: 15px;
    box-shadow: rgba(42, 134, 123, 0.3) 0px 0px 10px 0px;
    transition: 0.5s;
}
.feature-item:hover {
    box-shadow: rgb(42, 134, 123) 0px 0px 10px 0px;
    transition: 0.5s;
}
.feature-text {
    text-align: center;
    font-size: clamp(16px, 1vw, 20px);
    line-height: 140%;
}
.cards {
    padding: clamp(52px, 5.2vw, 100px) clamp(100px, 11.2vw, 215px) 0;
}
.cards h2 {
    font-size: clamp(30px, 2.9vw, 56px);
    color: #2a867b;
    margin: 0 0 clamp(20px, 2vw, 40px);
}
.cards {
    padding: clamp(52px, 5.2vw, 100px) clamp(100px, 11.2vw, 215px) 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cards-left {
    width: 65%;
}
.cards-right {
    width: 30%;
    position: relative;
    display: flex;
    justify-content: center;
}
.cards-left img {
    width: 100%;
    border-radius: 5px;
    height: 350px;
    object-fit: cover;
}
.cards-desc p {
    font-size: clamp(18px, 1.25vw, 24px);
    line-height: 125%;
    font-weight: 300;
    text-align: justify;
    margin: 0 0 clamp(20px, 2vw, 40px);
    padding: 0;
}
.card-item {
    width: clamp(200px, 20vw, 400px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 1px #7dbeb6;
    padding: clamp(20px, 2vw, 40px);
    border-radius: 15px;
    transition: 0.5s;
}
.swiper-slide {
    display: flex !important;
    justify-content: center;
}
.swiper-button-next, .swiper-button-prev {
    color: #7dbeb6 !important;
}
.swiper-button-next {
    right: -20px !important;
}
.swiper-button-prev {
    left: -20px !important;
}
.swiper-pagination-bullet-active {
    background: #7dbeb6 !important;
}