/* ======================================== */
/* RESET & GLOBAL */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    position: relative;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Все контейнеры не шире экрана */
html {
    overflow-x: hidden;
}




/* ======================================== */
/* ANIMATIONS */
/* ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

.delay-5 {
    animation-delay: 0.75s;
}

/* ======================================== */
/* RING BUTTON */
/* ======================================== */
.ring__button {
    color: #FFFFFF;
    background: #236CD1;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    width: 280px;
    height: 50px;
    font-size: 18px;
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ring__button:hover {
    background: #1a5ab5;
    transform: translateY(-2px);
}

@media (min-width: 600px) and (orientation: landscape) {
    .ring__button {
        width: 350px;
        height: 60px;
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .ring__button {
        width: 400px;
        height: 65px;
        font-size: 24px;
    }
}

@media (min-width: 1080px) {
    .ring__button {
        width: 574px;
        height: 94px;
        font-size: 40px;
    }
}

@media (min-width: 1280px) {
    .ring__button {
        width: 330px;
        height: 52px;
        font-size: 18px;
        margin-top: 0;
    }
}

@media (min-width: 1920px) {
    .ring__button {
        width: 440px;
        height: 70px;
        font-size: 24px;
        margin-top: 0;
    }
}

/* ======================================== */
/* MOBILE HEADER */
/* ======================================== */
.mobile-header {
    display: flex;
    width: 100%;
    justify-content: center;
    height: fit-content;
}

.mobile-header__inner {
    width: 100%;
}

.mobile-header__container {
    margin-top: 19px;
    margin-inline: 17px;
    height: 52px;
}

.mobile-header__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-header__logo-img {
    height: 52px;
}

.mobile-header__phone,
.mobile-header__menu {
    width: 38px;
    height: 38px;
    color: #000000;
}

.mobile-header__models {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.07em;
    color: #6B8495;
    text-align: center;
    margin-top: 12px;
}

@media (min-width: 768px) {
    .mobile-header__container {
        margin-top: 39px;
        margin-inline: 36px;
        height: 107px;
    }

    .mobile-header__logo-img {
        height: 107px;
    }

    .mobile-header__phone,
    .mobile-header__menu {
        width: 78px;
        height: 78px;
    }

    .mobile-header__models {
        font-size: 26px;
        margin-top: 26px;
    }
}

@media (min-width: 1080px) and (max-width: 1439px) {
    .mobile-header__container {
        margin-top: 55px;
        margin-inline: 50px;
        height: 150px;
    }

    .mobile-header__logo-img {
        height: 150px;
    }

    .mobile-header__phone,
    .mobile-header__menu {
        width: 110px;
        height: 110px;
    }

    .mobile-header__models {
        font-size: 36px;
        margin-top: 36px;
    }
}

@media (min-width: 1280px) {
    .mobile-header {
        display: none;
    }
}

/* ======================================== */
/* HERO SECTION */
/* ======================================== */
.hero {
    background-image: linear-gradient(89.88deg, rgba(255, 255, 255, 0.95) 0.52%, rgba(255, 255, 255, 0.665) 62.15%, rgba(255, 255, 255, 0.3135) 99.9%), url(../images/фон1.png?v=2);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

@media (max-width: 1080px) {
    .hero {
        background-image: linear-gradient(194deg, rgb(255 255 255) 0.52%, rgb(255 255 255 / 93%) 62.15%, rgb(255 255 255 / 37%) 99.9%), url(../images/фон1.png?v=2);
    }
}

.hero-header {
    display: none;
}

@media (min-width: 1280px) {
    .hero-header {
        display: flex;
    }
}

.hero__grid {
    display: grid;
    grid-template-columns: 69px auto minmax(0, 1fr) auto auto 59px;
    width: 100%;
    align-items: center;
    height: 80px;
}

.hero__col-placeholder {
    width: 69px;
    border-bottom: solid 4px #ffffff;
    height: 100%;
    display: flex;
}

.hero__logo {
    display: inline-flex;
    align-items: center;
    border-bottom: solid 4px #ffffff;
    height: 80px;
}

.hero__logo-img {
    padding-inline: 8px;
}

.hero__logo-title {
    font-weight: 700;
    font-size: 26px;
    color: #131A22;
}

.hero__logo-subtitle {
    font-weight: 700;
    font-size: 8px;
    color: #000000;
}

.hero__models {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    font-size: 26px;
    color: #6B8495;
    padding-right: 100px;
    border-bottom: solid 4px #ffffff;
    display: flex;
    align-items: center;
    justify-content: end;
    height: 80px;
}

.hero__address {
    display: flex;
    justify-content: flex-end;
    min-width: 280px;
    align-items: center;
    border-bottom: solid 4px #ffffff;
    height: 80px;
}

.hero__address:hover,
.hero__phone:hover {
    border-image: linear-gradient(90deg, #FFFFFF 0%, #FF0000 50%, #FFFFFF 100%) 1;
    cursor: pointer;
}

.hero__address-inner {
    display: flex;
}

.hero__address-icon {
    display: flex;
    padding-right: 10px;
}

.hero__address-icon-img {
    width: 26px;
    height: 26px;
    display: block;
}

.hero__address-text {
    height: 50px;
}

.hero__address-line1 {
    white-space: nowrap;
    font-weight: 700;
    font-size: 26px;
    color: #002B49;
    padding-bottom: 9px;
}

.hero__address-line2 {
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
}

.hero__phone {
    display: flex;
    justify-content: flex-end;
    padding-left: 45px;
    align-items: center;
    border-bottom: solid 4px #ffffff;
    height: 80px;
}

.hero__phone-inner {
    height: 50px;
}

.hero__phone-number {
    white-space: nowrap;
    font-weight: 700;
    font-size: 26px;
    color: #002B49;
    padding-bottom: 9px;
}

.hero__phone-hours {
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
}

.hero__col-end {
    width: 59px;
}

@media (min-width: 1280px) {
    .hero__grid {
        margin-top: 12px;
    }
}

@media (min-width: 1920px) {
    .hero__grid {
        margin-top: 16px;
    }
}

.hero__content {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-top: 40px;
}

.hero__content-inner {
    flex-direction: column;
    display: flex;
    width: 100%;
}

.hero__text-block {
    margin-inline: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__title-wrapper {
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* gap: 10px; */
}

.hero__gradient-text {
    font-weight: 700;
    font-style: italic;
    font-size: 33px;
    background: linear-gradient(91.46deg, #004775 24.5%, #000000 91.19%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.hero__gradient-text-margin {
    margin-top: 8px;
    font-size: 33px;
}

.hero__description {
    max-width: 780px;
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
    padding-inline: 10px;
    font-weight: 300;
    line-height: 150%;
}

.hero__image-img {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 30px;
}

.hero__image-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero__icon-m {
    height: 40px;
}

@media (min-width: 600px) and (orientation: landscape) {
    .hero__gradient-text {
        font-size: 50px;
    }

    .hero__gradient-text-margin {
        font-size: 46px;
        margin-top: 12px;
    }

    .hero__description {
        font-size: 24px;
    }

    .hero__icon-m {
        height: 55px;
    }
}

@media (min-width: 768px) {
    .hero__content {
        margin-top: 60px;
    }

    .hero__text-block {
        margin-inline: 40px;
    }

    .hero__gradient-text {
        font-size: 66px;
    }

    .hero__gradient-text-margin {
        font-size: 66px;
    }

    .hero__description {
        font-size: 33px;
        margin-top: 35px;
        margin-bottom: 48px;
    }

    .hero__icon-m {
        height: 60px;
    }
}

@media (min-width: 1080px) {
    .hero__content {
        display: flex;
        flex-direction: row;
        margin-top: 100px;
    }

    .hero__text-block {
        margin-inline: 50px;
        align-items: center;
    }

    .hero__gradient-text {
        font-size: 96px;
    }

    .hero__gradient-text-margin {
        font-size: 96px;
        margin-top: 0;
    }

    .hero__description {
        font-size: 40px;
        margin-top: 45px;
        margin-bottom: 58px;
    }

    .hero__icon-m {
        height: 115px;
    }
}

@media (min-width: 1280px) {
    .hero__models {
        font-size: 20px;
        text-align: center;
    }

    .hero__content {
        margin-top: 97px;
    }

    .hero__content-inner {
        flex-direction: row;
        padding-left: 95px;
    }

    .hero__text-block {
        text-align: left;
        align-items: start;
        margin-inline: 0;
    }

    .hero__description {
        text-align: left;
        font-size: 18px;
        width: 350px;
        line-height: 36px;
    }

    .hero__gradient-text {
        text-align: left;
        font-size: 60px;
    }

    .hero__icon-m {
        height: 64px;
    }

    .hero__image-img {
        margin-left: 0;
    }
}

@media (min-width: 1920px) {
    .hero__models {
        font-size: 26px;
    }

    .hero__content-inner {
        padding-left: 125px;
    }

    .hero__description {
        font-size: 24px;
        width: 466px;
        line-height: 40px;
    }

    .hero__gradient-text {
        font-size: 80px;
    }

    .hero__icon-m {
        height: 86px;
    }
}

/* ======================================== */
/* FEATURES SECTION */
/* ======================================== */
.features {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.features__card {
    height: 240px;
    width: 100%;
    background: #F6F6F6;
    border-radius: 4px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
    align-items: center;
    gap: 5px;
}

.features__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: 3px;
}

.features__icon-1,
.features__icon-2,
.features__icon-3,
.features__icon-4 {
    width: 32px;
    height: 32px;
}

.features__text-wrapper {
    width: 100%;
    height: 35px;
    border-right: solid 3px #236cd1;
}

.features__item:nth-child(2) .features__text-wrapper {
    border: none;
}

.features__text-wrapper--last {
    border-right: none;
}

.features__text {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3;
}

@media (min-width: 600px) and (orientation: landscape) {
    .features__card {
        height: 340px;
    }

    .features__grid {
        gap: 20px;
    }

    .features__item {
        gap: 18px;
    }

    .features__icon-1,
    .features__icon-2,
    .features__icon-3,
    .features__icon-4 {
        width: 50px;
        height: 50px;
    }

    .features__text-wrapper {
        height: 70px;
    }

    .features__text {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .features {
        margin-left: 40px;
        margin-right: 40px;
    }

    .features__card {
        height: 550px;
    }

    .features__grid {
        gap: 20px;
    }

    .features__item {
        gap: 20px;
    }

    .features__icon-1,
    .features__icon-2,
    .features__icon-3,
    .features__icon-4 {
        width: 70px;
        height: 70px;
    }

    .features__text-wrapper {
        height: 80px;
    }

    .features__text {
        font-size: 28px;
        line-height: 38px;
    }
}

@media (min-width: 1080px) {
    .features {
        margin-left: 55px;
        margin-right: 55px;
        margin-top: -150px;
    }

    .features__card {
        height: 690px;
        border-radius: 10px;
    }

    .features__item {
        gap: 24px;
    }

    .features__icon-1 {
        width: 93px;
        height: 92px;
    }

    .features__icon-2 {
        width: 98px;
        height: 92px;
    }

    .features__icon-3 {
        width: 93px;
        height: 92px;
    }

    .features__icon-4 {
        width: 76px;
        height: 92px;
    }

    .features__text-wrapper {
        height: 102px;
    }

    .features__text {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (min-width: 1280px) {
    .features {
        margin-left: 95px;
        margin-right: 95px;
        margin-top: -55px;
    }

    .features__card {
        height: 226px;
    }

    .features__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features__icon-1 {
        width: 43px;
        height: 42px;
    }

    .features__icon-2 {
        width: 46px;
        height: 43px;
    }

    .features__icon-3 {
        width: 43px;
        height: 43px;
    }

    .features__icon-4 {
        width: 39px;
        height: 47px;
    }

    .features__text-wrapper {
        height: 50px;
    }

    .features__text {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (min-width: 1920px) {
    .features {
        margin-inline: 125px;
        margin-top: -75px;
    }

    .features__card {
        height: 300px;
    }

    .features__icon-1 {
        width: 58px;
        height: 57px;
    }

    .features__icon-2 {
        width: 61px;
        height: 57px;
    }

    .features__icon-3 {
        width: 57px;
        height: 57px;
    }

    .features__icon-4 {
        width: 51px;
        height: 62px;
    }

    .features__text-wrapper {
        height: 65px;
    }

    .features__text {
        font-size: 24px;
        line-height: 35px;
    }
}

/* ======================================== */
/* SERVICES SECTION with Swiper */
/* ======================================== */
.services {
    margin-top: 40px;
    margin-left: 20px;
    position: relative;
}

.services__title {
    font-weight: 200;
    font-size: 22px;
    line-height: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

/* Swiper Custom Styles */
.services-swiper {
    overflow: visible;
    padding: 10px 0 50px 0;
}

.services-swiper .swiper-wrapper {
    display: flex;
    gap: 16px;
}

.services-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.services__card {
    width: 290px;
}

.services__image-wrapper {
    height: 312px;
    border-radius: 16px;
    overflow: hidden;
}

.services__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services__card-title {
    font-size: 21px;
    font-weight: 300;
    margin-top: 35px;
}

.services__card-desc {
    font-size: 14px;
    line-height: 17px;
    font-weight: 300;
    margin-top: 23px;
}

/* ======================================== */
/* PRICES SECTION */
/* ======================================== */
.prices {
    margin-top: 50px;
    margin-left: 20px;
    position: relative;
    z-index: 2;
}

.prices__card {
    padding-right: 20px;
    height: 240px;
    width: 100%;
    background: #F6F6F6;
    border-radius: 4px 0 4px 0;
    overflow-x: auto;
}

.prices__container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.prices__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 20px;
}

.prices__item {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.prices__value {
    font-size: 22px;
    font-weight: 700;
    color: #236CD1;
}

.prices__service-wrapper {
    width: 100%;
    height: 42px;
    border-right: solid 3px #236cd1;
}

.prices__service-wrapper--last {
    border-right: none;
}

.prices__service {
    font-size: 14px;
    line-height: 17px;
    font-weight: 300;
}

.prices__arrow {
    right: 25px;
    top: 40%;
    border-radius: 4px;
    background: #D9D9D9BF;
    width: 48px;
    height: 48px;
    position: absolute;
    border: none;
}

.prices__arrow-img {
    height: 26px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.prices__arrow {
    transition: transform 0.3s ease;
}

.prices__arrow.rotated {
    transform: rotate(180deg);
}

.prices__container {
    transition: transform 0.3s ease;
}

.prices__container.slide {
    transform: translateX(-100%);
}

@media (min-width: 1080px) {
    .prices {
        margin-top: 150px;
    }

    .prices__card {
        height: 690px;
        padding-right: 50px;
        border-radius: 10px 0 10px 0;
    }

    .prices__container {
        gap: 200px;
    }

    .prices__item {
        width: 435px;
    }

    .prices__value {
        font-size: 64px;
    }

    .prices__service {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (min-width: 1280px) {
    .prices {
        margin-top: 100px;
        margin-inline: 95px;
    }

    .prices__card {
        height: 375px;
        border-radius: 7px;
    }

    .prices__container {
        gap: 50px;
    }

    .prices__item {
        width: 280px;
    }

    .prices__value {
        font-size: 24px;
    }

    .prices__service-wrapper {
        height: 55px;
    }

    .prices__service {
        font-size: 18px;
        line-height: 26px;
    }

    .prices__arrow {
        display: none;
    }
}

@media (min-width: 1920px) {
    .prices {
        margin-top: 145px;
        margin-inline: 125px;
    }

    .prices__card {
        height: 500px;
    }

    .prices__container {
        gap: 90px;
    }

    .prices__item {
        width: 375px;
    }

    .prices__value {
        font-size: 32px;
    }

    .prices__service-wrapper {
        height: 70px;
    }

    .prices__service {
        font-size: 24px;
        line-height: 35px;
    }
}

/* ======================================== */
/* TEAM SECTION with Swiper */
/* ======================================== */
.team {
    margin-top: 48px;
    margin-left: 20px;
    position: relative;
}

.team-swiper {
    overflow: visible;
    padding: 10px 0 50px 0;
}

.team-swiper .swiper-wrapper {
    display: flex;
    gap: 8px;
}

.team-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.team__card {
    width: 288px;
}

.team__info-card {
    background: #F6F6F6;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    padding: 20px;
    height: 350px;
}

.team__title {
    font-size: 22px;
    line-height: 31.25px;
    font-weight: 300;
}

.team__desc {
    font-weight: 300;
    font-size: 14px;
    line-height: 17.36px;
    margin-top: 20px;
}

.team__photo-wrapper {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team__person {
    font-size: 16px;
    position: absolute;
    bottom: 0px;
    text-align: center;
    width: 100%;
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff;
    padding: 10px;
    /* background: #D9D9D9C9;
    backdrop-filter: blur(3px); */
}

/* ======================================== */
/* FORM & GALLERY SECTION */
/* ======================================== */
.form-section {
    margin-top: 50px;
    padding-bottom: 20px;
    background: #000002;
    position: relative;
}

.form-section__input {
    transition: all 0.3s ease;
    border-radius: 4px;
}

.form-section__input:focus {
    outline: 2px solid #236CD1;
}

.form-section__input:focus::placeholder {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-section__bg {
    padding-top: 20px;
    display: flex;
    align-items: start;
    justify-content: center;
    background-image: url(../images/car-sm.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-inline: 20px;
}

.form-section__card {
    width: 100%;
    height: 332px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #D9D9D9C9;
    backdrop-filter: blur(3px);
}

.form-section__title {
    font-size: 22px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

.form-section__input {
    font-size: 12px;
    border-radius: 4px;
    height: 37px;
    padding: 10px;
    width: 307px;
    margin-bottom: 26px;
    font-weight: 300;
    border: none;
}

.form-section__note {
    max-width: 306px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 200;
    text-align: center;
}

.form-section__button {
    padding-bottom: 30px;
}

.gallery-wrapper {
    position: relative;
    margin-top: 20px;
    margin-left: 20px;
}

.gallery-swiper {
    overflow: visible;
    padding: 10px 0 0px 0;
}

.gallery-swiper .swiper-wrapper {
    display: flex;
    gap: 4px;
}

.gallery-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.gallery__item {
    width: 288px;
}

.gallery__image-wrapper {
    height: 170px;
    border-radius: 4px;
    overflow: hidden;
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================== */
/* Swiper Navigation & Pagination */
/* ======================================== */
.services-swiper-next,
.services-swiper-prev,
.team-swiper-next,
.team-swiper-prev,
.gallery-swiper-next,
.gallery-swiper-prev {
    width: 48px;
    height: 48px;
    background: #D9D9D9BF;
    border-radius: 4px;
    color: #000;
    transition: all 0.3s ease;
}

.services-swiper-next:hover,
.services-swiper-prev:hover,
.team-swiper-next:hover,
.team-swiper-prev:hover,
.gallery-swiper-next:hover,
.gallery-swiper-prev:hover {
    background: #ffffff;
    color: #000000;
}

.swiper-pagination-bullet {
    background: #236CD1;
}

/* ======================================== */
/* CONTACTS SECTION */
/* ======================================== */
.contacts {
    margin: 20px;
    padding-top: 20px;
}

.contacts__grid {
    display: flex;
    flex-direction: column;
    gap: 19px;
    height: 100%;
}

.contacts__info {
    background: #F6F6F6;
    padding: 20px;
}

.contacts__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contacts__title {
    font-size: 22px;
    font-weight: 200;
    height: 43px;
}

.contacts__phone-block,
.contacts__hours-block,
.contacts__coords,
.contacts__address-block {
    margin-top: 8px;
}

.contacts__phone-label,
.contacts__phone-value,
.contacts__hours-value,
.contacts__hours-note,
.contacts__coords,
.contacts__address-block {
    font-weight: 200;
}

.contacts__phone-value,
.contacts__hours-value,
.contacts__coords,
.contacts__address-block {
    font-size: 16px;
    line-height: 20px;
}

.contacts__phone-label,
.contacts__hours-note {
    font-size: 16px;
}

.contacts__button {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.map-container {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

@media (min-width: 1080px) {
    .contacts {
        margin: 55px;
    }

    .contacts__grid {
        flex-direction: row;
        gap: 35px;
    }

    .contacts__info {
        flex: 0 0 45%;
        padding: 55px;
    }

    .contacts__title {
        font-size: 64px;
        line-height: 43px;
        height: 123px;
    }

    .contacts__phone-block,
    .contacts__hours-block,
    .contacts__coords,
    .contacts__address-block {
        margin-top: 23px;
    }

    .contacts__phone-label,
    .contacts__hours-note {
        font-size: 36px;
        line-height: 43px;
    }

    .contacts__phone-value,
    .contacts__hours-value,
    .contacts__coords,
    .contacts__address-block {
        font-size: 40px;
        line-height: 50px;
    }

    .map-container {
        height: 746px;
        flex: 1;
    }
}

@media (min-width: 1280px) {
    .contacts {
        margin: 95px;
    }

    .contacts__grid {
        gap: 14px;
    }

    .contacts__info {
        padding: 25px;
    }

    .contacts__title {
        font-size: 37px;
        line-height: 32px;
        height: 87px;
    }

    .contacts__phone-label,
    .contacts__hours-note {
        font-size: 18px;
        line-height: 32px;
    }

    .contacts__phone-value,
    .contacts__hours-value,
    .contacts__coords,
    .contacts__address-block {
        font-size: 24px;
        line-height: 32px;
    }

    .map-container {
        height: 657px;
    }
}

@media (min-width: 1920px) {
    .contacts {
        margin: 125px;
    }

    .contacts__grid {
        gap: 19px;
    }

    .contacts__info {
        padding: 30px;
    }

    .contacts__title {
        font-size: 50px;
        line-height: 43px;
        height: auto;
        margin-block: 20px;
    }

    .contacts__phone-label,
    .contacts__hours-note {
        font-size: 24px;
        line-height: 43px;
    }

    .contacts__phone-value,
    .contacts__hours-value,
    .contacts__coords,
    .contacts__address-block {
        font-size: 32px;
        line-height: 43px;
    }

    .contacts__address-block {
        margin-bottom: 30px;
    }

    .contacts__button {
        text-align: left;
    }

    .map-container {
        height: 877px;
    }
}

/* ======================================== */
/* FOOTER & BACK TO TOP */
/* ======================================== */
.footer {
    margin-inline: 20px;
    margin-bottom: 20px;
}

.footer__copyright {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 16px;
    width: 49px;
    height: 47px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    color: #939393;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: #236CD1;
    transform: translateY(-3px);
}

.footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1080px) {
    .footer {
        margin-inline: 55px;
        margin-bottom: 55px;
    }

    .footer__copyright {
        font-size: 40px;
        height: 118px;
    }

    .back-to-top {
        bottom: 90px;
        right: 48px;
        width: 140px;
        height: 134px;
    }
}

@media (min-width: 1280px) {
    .footer {
        margin-inline: 95px;
        margin-bottom: 95px;
    }

    .footer__copyright {
        font-size: 24px;
    }

    .back-to-top {
        width: 82px;
        height: 78px;
    }
}

/* ======================================== */
/* АДАПТИВ ДЛЯ КАРУСЕЛЕЙ */
/* ======================================== */

/* Планшеты (768px) */
@media (min-width: 768px) {
    .services-swiper .swiper-wrapper {
        gap: 20px;
    }

    .team-swiper .swiper-wrapper {
        gap: 15px;
    }

    .gallery-swiper .swiper-wrapper {
        gap: 10px;
    }
}

/* Десктоп (1080px) */
@media (min-width: 1080px) {
    .services {
        margin-left: 55px;
        margin-top: 115px;
    }

    .services__card {
        width: 833px;
    }

    .services__image-wrapper {
        height: 899px;
    }

    .services__card-title {
        font-size: 58px;
        line-height: 43px;
    }

    .services__card-desc {
        font-size: 40px;
        line-height: 50px;
    }

    .services__title {
        font-size: 64px;
        line-height: 43px;
        margin-bottom: 70px;
    }

    .services-swiper .swiper-wrapper {
        gap: 25px;
    }

    .services-swiper-next,
    .services-swiper-prev,
    .team-swiper-next,
    .team-swiper-prev,
    .gallery-swiper-next,
    .gallery-swiper-prev {
        width: 140px;
        height: 140px;
        border-radius: 10px;
    }

    .team {
        margin-top: 140px;
        margin-left: 55px;
    }

    .team__card {
        width: 830px;
    }

    .team__info-card {
        padding: 50px;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
    }

    .team__title {
        font-size: 64px;
        line-height: 90px;
    }

    .team__desc {
        font-size: 40px;
        line-height: 50px;
        margin-top: 0;
    }

    .team__photo-wrapper {
        height: 100%;
    }

    .team__person {
        font-size: 24px;
    }

    .team-swiper .swiper-wrapper {
        gap: 25px;
    }

    .form-section {
        margin-top: 143px;
        padding-bottom: 55px;
        border-radius: 10px;
    }

    .form-section__bg {
        padding-top: 55px;
    }

    .form-section__card {
        width: 977px;
        height: 957px;
        border-radius: 10px;
    }

    .form-section__title {
        font-size: 64px;
        margin-bottom: 60px;
        margin-top: -80px;
    }

    .form-section__input {
        font-size: 36px;
        border-radius: 10px;
        height: 107px;
        width: 884px;
        margin-bottom: 60px;
    }

    .form-section__note {
        max-width: 884px;
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 55px;
    }

    .gallery-wrapper {
        margin-top: 55px;
        margin-left: 55px;
    }

    .gallery__item {
        width: 831px;
    }

    .gallery__image-wrapper {
        height: 497px;
        border-radius: 10px;
    }

    .gallery-swiper .swiper-wrapper {
        gap: 30px;
    }
}

/* Десктоп (1280px) */
@media (min-width: 1280px) {
    .services {
        margin-left: 95px;
        margin-top: 85px;
    }

    .services__card {
        width: 368px;
    }

    .services__image-wrapper {
        height: 397px;
    }

    .services__card-title {
        font-size: 24px;
        line-height: 32px;
    }

    .services__card-desc {
        font-size: 18px;
        line-height: 32px;
    }

    .services__title {
        font-size: 37px;
        line-height: 32px;
        margin-bottom: 60px;
    }

    .services-swiper .swiper-wrapper {
        gap: 20px;
    }

    .services-swiper-next,
    .services-swiper-prev,
    .team-swiper-next,
    .team-swiper-prev,
    .gallery-swiper-next,
    .gallery-swiper-prev {
        width: 54px;
        height: 54px;
    }

    .team {
        margin-top: 150px;
        margin-left: 95px;
    }

    .team__card {
        width: 367px;
    }

    .team__info-card {
        padding: 25px;
        border-bottom-left-radius: 7px;
        border-top-left-radius: 7px;
        height: 525px;
    }

    .team__title {
        font-size: 30px;
        line-height: 43px;
    }

    .team__desc {
        font-size: 18px;
        line-height: 32px;
        margin-top: 44px;
    }

    .team__photo-wrapper {
        height: 525px;
    }

    .team-swiper .swiper-wrapper {
        gap: 11px;
    }

    .form-section {
        margin-top: 100px;
    }

    .form-section__bg {
        padding-top: 210px;
        margin-inline: 95px;
    }

    .form-section__card {
        width: 588px;
        height: 538px;
        border-radius: 7px;
    }

    .form-section__title {
        font-size: 37px;
    }

    .form-section__input {
        font-size: 19px;
        border-radius: 7px;
        height: 55px;
        width: 465px;
        margin-bottom: 19px;
    }

    .form-section__note {
        max-width: 458px;
        font-size: 19px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .gallery-wrapper {
        margin-top: 87px;
        margin-left: 95px;
    }

    .gallery__item {
        width: 366px;
    }

    .gallery__image-wrapper {
        height: 219px;
    }

    .gallery-swiper .swiper-wrapper {
        gap: 13px;
    }
}

/* Большие экраны (1920px) */
@media (min-width: 1920px) {
    .services {
        margin-left: 125px;
        margin-top: 115px;
    }

    .services__card {
        width: 490px;
    }

    .services__image-wrapper {
        height: 530px;
    }

    .services__card-title {
        font-size: 32px;
        line-height: 43px;
    }

    .services__card-desc {
        font-size: 24px;
        line-height: 43px;
    }

    .services__title {
        font-size: 50px;
        margin-bottom: 75px;
    }

    .services-swiper .swiper-wrapper {
        gap: 30px;
    }

    .services-swiper-next,
    .services-swiper-prev,
    .team-swiper-next,
    .team-swiper-prev,
    .gallery-swiper-next,
    .gallery-swiper-prev {
        width: 72px;
        height: 72px;
    }

    .team {
        margin-top: 200px;
        margin-left: 125px;
    }

    .team__card {
        width: 490px;
    }

    .team__info-card {
        padding: 30px;
        height: 700px;
    }

    .team__title {
        font-size: 40px;
        line-height: 57px;
    }

    .team__desc {
        font-size: 24px;
        line-height: 43px;
        margin-top: 60px;
    }

    .team__photo-wrapper {
        height: 700px;
    }

    .team-swiper .swiper-wrapper {
        gap: 16px;
    }

    .form-section {
        margin-top: 140px;
        padding-bottom: 105px;
    }

    .form-section__bg {
        padding-top: 285px;
        margin-inline: 125px;
    }

    .form-section__card {
        width: 985px;
        height: 784px;
    }

    .form-section__title {
        font-size: 50px;
    }

    .form-section__input {
        font-size: 26px;
        border-radius: 10px;
        height: 74px;
        width: 620px;
        margin-bottom: 26px;
    }

    .form-section__note {
        max-width: 611px;
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 70px;
    }

    .gallery-wrapper {
        margin-top: 116px;
        margin-left: 125px;
    }

    .gallery__item {
        width: 488px;
    }

    .gallery__image-wrapper {
        height: 292px;
    }

    .gallery-swiper .swiper-wrapper {
        gap: 17px;
    }
}

/* ======================================== */
/* SERVICES CARD HOVER EFFECTS */
/* ======================================== */
.services__card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.services__card:hover .services__card-title {
    color: #236CD1;
    transition: color 0.3s ease;
}

.services__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.services__card:hover {
    transform: translateY(-10px);
}

.services__card:hover .services__image {
    transform: scale(1.05);
}

.services__image {
    transition: transform 0.5s ease;
}


/***/

.swiper-button-next svg,
.swiper-button-prev svg {
    display: none;
}

/* Добавляем свои стрелки через псевдоэлементы */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2214%22%20viewBox%3D%220%200%2018%2014%22%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M10.7207%200.21934C10.5802%200.359965%2010.5013%200.550589%2010.5013%200.74934C10.5013%200.948091%2010.5802%201.13872%2010.7207%201.27934L15.4407%205.99934H1.25066C1.05175%205.99934%200.860979%206.07836%200.720329%206.21901C0.579678%206.35966%200.500656%206.55043%200.500656%206.74934C0.500656%206.94825%200.579678%207.13902%200.720329%207.27967C0.860979%207.42032%201.05175%207.49934%201.25066%207.49934H15.4407L10.7207%2012.2193C10.647%2012.288%2010.5879%2012.3708%2010.5469%2012.4628C10.5059%2012.5548%2010.4838%2012.6541%2010.4821%2012.7548C10.4803%2012.8555%2010.4988%2012.9556%2010.5365%2013.0489C10.5743%2013.1423%2010.6304%2013.2272%2010.7016%2013.2984C10.7728%2013.3696%2010.8577%2013.4257%2010.9511%2013.4635C11.0445%2013.5012%2011.1445%2013.5197%2011.2452%2013.5179C11.3459%2013.5162%2011.4452%2013.4941%2011.5372%2013.4531C11.6292%2013.4121%2011.712%2013.353%2011.7807%2013.2793L17.7807%207.27934C17.9211%207.13872%2018%206.94809%2018%206.74934C18%206.55059%2017.9211%206.35997%2017.7807%206.21934L11.7807%200.21934C11.64%200.0788894%2011.4494%200%2011.2507%200C11.0519%200%2010.8613%200.0788894%2010.7207%200.21934Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-button-prev::after {
    transform: rotate(180deg);
}

/***/

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #236CD1;
}

.lightbox-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10000;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #236CD1;
}

/* Стили для валидации */
.form-section__input.error {
    outline: 2px solid #ff4444;
    background-color: #fff0f0;
}

.form-section__input.valid {
    outline: 2px solid #236CD1;
}

/* Эффект масштабирования для команды */
.team__photo-img {
    transition: transform 0.5s ease;
}

.team__photo-wrapper {
    overflow: hidden;
}

.team__card:hover .team__photo-img {
    transform: scale(1.1);
}

/* Эффект масштабирования для галереи */
.gallery__image {
    transition: transform 0.5s ease;
}

.gallery__image-wrapper {
    overflow: hidden;
}

.gallery__item:hover .gallery__image {
    transform: scale(1.1);
}


.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.swiper-pagination {
    display: none;
}

.services__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hero__phone-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hero__phone-link:hover,
.hero__phone-link:focus,
.hero__phone-link:active {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.swiper.services-swiper{
    margin-right: 50px;
}
.swiper-button-next.services-swiper-next{
    margin-right: -50px;
}

/* ======================================== */
/* МОБИЛЬНОЕ МЕНЮ */
/* ======================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.mobile-menu__container {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active .mobile-menu__container {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu__title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.mobile-menu__close:hover {
    color: #236CD1;
}

.mobile-menu__nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__item {
    margin-bottom: 20px;
}

.mobile-menu__link {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__link:hover {
    color: #236CD1;
}

