@font-face {
    font-family: "Gilroy";
    src: url('../font/Gilroy-Medium.woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy";
    src: url('../font/Gilroy-Regular.woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Gilroy";
    font-size: 15px;
    line-height: 1.6;
}

:root {
    --color-grey: rgba(217, 217, 217, 1);
    --color-white: rgba(255, 255, 255, 1);
    --color-blue: rgba(87, 140, 213, 1);
    --color-green: rgb(3, 69, 86);
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

blockquote {
    margin: 0;
    padding: 0;
}

button {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.container {
    max-width: 1310px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}


/* Header */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 20px 0 0;
}

.header__top {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 41px;
}

.header__item {
    grid-column: 8 span;
}

.header__item-small {
    grid-column: 4 span;
}

.header__item-big {
    grid-column: 12 span;
}

.header__contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0 30px;
}


/* Social */

.social {
    display: flex;
    align-items: center;
    gap: 0 12px;
}

.header__tel {
    border-radius: 10px;
    border: 1px solid var(--color-white);
    padding: 14px 40px 14px 40px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: 1%;
    transition: background-color .3s ease, color .3s ease;
}

.header__tel:hover {
    background-color: var(--color-white);
    color: var(--color-green);
}


/* Logo */

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Btn */

.btn {
    display: inline-block;
    vertical-align: top;
    font-family: inherit;
    width: 223px;
    height: 46px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1;
    letter-spacing: 1%;
    border-radius: 10px;
}

.btn-modal {
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    padding: 14px 0;
    transition: background-color .3s ease, color .3s ease;
}

.btn-modal__fill {
    border: 1px solid var(--color-blue);
    background-color: var(--color-blue);
    color: var(--color-white);
}

.btn-modal:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.btn-modal:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btns {
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    gap: 0 60px;
}

.btn-order {
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1;
    letter-spacing: 1%;
    transition: background-color .3s ease, color .3s ease;
}

.btn-order:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.btn-order:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-details {
    border-radius: 10px;
    border: 1px solid var(--color-white);
    padding: 14px 40px 14px 40px;
    color: var(--color-white);
    transition: background-color .3s ease, color .3s ease;
}

.btn-details:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.btn-details:hover {
    background-color: var(--color-white);
    color: var(--color-green);
}

.btn-ticket {
    position: absolute;
    left: 35px;
    bottom: 38px;
    border: 1px solid var(--color-white);
    background-color: var(--color-white);
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1;
    letter-spacing: 1%;
    transition: background-color .3s ease, color .3s ease;
}

.btn-ticket:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.btn-ticket:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-about {
    width: 223px;
    border: 1px solid var(--color-green);
    background-color: var(--color-green);
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: 1%;
    transition: background-color .3s ease, color .3s ease;
}

.btn-about:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}

.btn-about:hover {
    background-color: transparent;
    color: var(--color-green);
}

.btn-payment {
    padding: 14px 42px;
    background-color: var(--color-blue);
    border: 1px solid var(--color-blue);
    color: var(--color-white);
    transition: border .3s ease, color .3s ease;
}

.btn-payment:hover {
    background-color: transparent;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
}


/* Nav */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu{
    display: flex;
    align-items: center;
    gap: 0 50px;
}

.nav-item-mob {
    display: none;
}

.nav-link {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1;
}

.nav-link:hover {
    text-decoration: underline;
}

.hamburger{
    display: none;
    cursor: pointer;
}

.bar{
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: var(--color-white);
}

.hamburger.active{
    opacity: 1;
    z-index: 1200;
}

.hamburger.active .bar {
    background-color: var(--color-blue);
}


/* Intro */

.intro {
    position: relative;
    width: 100%;
    padding: 234px 0 158px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2))
    ,url('../images/background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.intro__title {
    max-width: 658px;
    font-size: 48px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 23px;
}

.intro__text {
    max-width: 620px;
    font-size: 20px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.5;
}


/* Modal */

.overlay {
   opacity: 0;
   visibility: hidden;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.6);
   z-index: 20;
   transition: .3s all;
}

.modal {
   opacity: 0;
   visibility: hidden;
   width: 100%;   
   max-width: 467px;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 30;
   box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2); 
   text-align: center;
   padding: 84px 30px 34px;
   border-radius: 20px;
   background-color: var(--color-white);
   transition: 0.3s all;
}

.modal__title {
    font-size: 32px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1.4;
}

.modal__text {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.1;
    margin: 0 0 32px;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}

.modal.active,
.overlay.active{
   opacity: 1;
   visibility: visible;
}

.modal__cross {
   width: 15px;
   height: 15px;
   position: absolute;
   top: 20px;
   right: 20px;
   fill: #444;
   cursor: pointer;
}


/* Section */

.section__header {
    margin: 0 0 35px;
}

.section__title {
    font-size: 48px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1;
}

.section__text {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.5;
    margin: 20px 0 0;
}


/* Schedule */

.schedule {
    padding: 168px 0 0;
}

.schedule__list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 35px;
}

.schedule__img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.schedule__item {
    grid-column: 3 span;
}

.schedule__item-big {
    grid-column: 6 span;
}

.schedule__wrapper {
    position: relative;
}

.schedule__box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

.schedule__time {
    position: absolute;
    top: 35px;
    right: 38px;
    border-radius: 5px;
    border: 1px solid var(--color-white);
    padding: 14px 25px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.schedule__title {
    max-width: 270px;
    position: absolute;
    left: 38px;
    bottom: 96px;
    font-size: 32px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1;
}


/* Ticket */

.ticket {
    padding: 168px 0 0;
}

.ticket__top {
    padding: 37px 44px;
    background-color: var(--color-grey);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}

.ticket__wrapper {
    padding: 19px 44px 20px;
    border: 1px solid var(--color-green);
    background-color: var(--color-white);
    border-radius: 20px;
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.ticket__item {
    grid-column: 1 span;
}

.ticket__item-big {
    grid-column: 8 span;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    text-align: center;
}

.ticket__item-direction {
    display: flex;
    flex-direction: column;
    gap: 22px 0;
}

.ticket__time {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
}

.ticket__direction {
    display: flex;
    flex-direction: column;
    gap: 3px 0;
}

.ticket__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
}

.ticket__daily {
    padding: 13px 31px;
    border: 1px solid var(--color-green);
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
}

.ticket__info {
    grid-column: 6 span;
    display: flex;
    flex-direction: column;
    gap: 19px 0;
}

.ticket__price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-green);
    line-height: .9px;
}

.ticket__descr {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1;
}

.ticket-daily__mob {
    display: none;
}


/* About */

.about {
    padding: 168px 0;
}

.about__wrapper {
    display: flex;
    align-items: center;
    gap: 0 129px;
}

.about__img {
    max-width: 100%;
    height: auto;
    display: block;
}

.about__content {
    max-width: 425px;
}

.about__title {
    margin: 0 0 20px;
}

.about__text {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.5;
    margin: 0 0 20px;
}


/* Advantages */

.advantages {
    padding: 58px 0 52px;
    background-color: var(--color-green);
}

.advantages__wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.advantages__item {
    grid-column: 3 span;
    border: 1px solid var(--color-white);
    border-radius: 20px;
    padding: 40px 31px 45px 31px;
}

.advantages__img {
    max-width: 100%;
    height: auto;
    display: block;
}

.advantages__title {
    margin: 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

.advantages__text {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.5;
}


/* Questions */

.questions {
    padding: 168px 0;
}

.questions__list {
  position: relative;
  color: #444;
  cursor: pointer;
  padding: 20px 42px 40px 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-green);
  line-height: 1.1;
  transition: 0.4s;
  border-bottom: 1px solid var(--color-green);
}

.questions__list:after {
  content: '\002B';
  float: right;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-green);
  border-radius: 50%;
  color: var(--color-green);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: 400;
  position: absolute;
  top: 20px;
  right: 0;
}

.active:after {
  content: "\2212";
}

.questions__panel {
  padding: 0;
  max-height: 0;
  background-color: transparent;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-green);
  line-height: 1.1;
}


/* Form */

.form__top {
    display: flex;
    justify-content: space-between;
    gap: 0 20px;
}

.form__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.form__content {
    max-width: 630px;
    padding: 92px 88px 88px 88px;
    background-color: var(--color-grey);
    border-radius: 20px;
}

.form__title {
    margin: 0 0 20px;
}

.form__text {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.1;
    letter-spacing: .4px;
    margin: 0 0 49px 0;
}

.form__wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px 0;
}

.form__input {
    width: 100%;
    border: none;
    background-color: transparent;
    padding: 0 0 16px 0;
    font-size: 20px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1;
    border-bottom: 1px solid var(--color-green);
    outline: none;
}

.form__input-modal {
    font-size: 16px;
}

.form__btn {
    margin: 10px 0 0;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--color-blue);
    background-color: var(--color-blue);
    padding: 12.38px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1;
    transition: background-color .3s ease, color .3s ease;
}

.form__btn:hover {
    background-color: transparent;
    color: var(--color-blue);
}

.form__btn:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}


/* Chekcbox */

.checkbox {
    position: relative;
    margin: 28px 0 0;
}

.checkbox__input {
    position: absolute;
    appearance: none;
}

.checkbox__label {
    display: inline-block;
    padding-left: 32px;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.4;
    letter-spacing: .16px;
    cursor: pointer;
}

.checkbox__label-modal {
    padding-left: 18px;
}

.checkbox__link {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.4;
    letter-spacing: .16px;
}

.checkbox__link:hover {
    text-decoration: underline;
}

.checkbox__label::before {
    content: '';
    display: block;
    width: 18px;
    height: 17px;
    border: 1px solid var(--color-green);
    border-radius: 5px;
    position: absolute;
    top: 3px;
    left: 0;
    z-index: 1;
}

.checkbox__label::after {
    content: '';
    display: block;
    width: 18px;
    height: 17px;
    border-radius: 5px;
    background-color: var(--color-green);
    transition: background-color .3s ease;
    opacity: 0;
    position: absolute;
    top: 3px;
    left: 0;
    z-index: 2;
}

.checkbox__input:checked + .checkbox__label::after {
    opacity: 1;
}


/* Gallery */

.gallery {
    padding: 160px 0 83px;
}

.gallery__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.swiper-top {
    margin: 0 0 16px;
}

.slider-buttons {
    position: absolute;
    top: 25px;
    right: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: '';
    display: none;
}

.swiper-button-next {
    left: -80px;
}

.swiper-button-prev {
    left: -280px;
}

.swiper-pagination {
    display: none;
}

.swiper-container1,
.swiper-container2,
.swiper-container3 {
    overflow: hidden;
    width: 100%;
}

.swiper-top {
    position: relative;
}

.card {
    width: 200px;
    height: 200px;
    background-color: red;
}


/* Reviews */

.reviews {
    padding: 83px 0;
}

.reviews__wrapper {
    padding: 70px 0;
    border-top: 1px solid var(--color-green);
    border-bottom: 1px solid var(--color-green);
}

.reviews__header {
    display: flex;
    align-items: center;
    gap: 0 33px;
    margin: 0 0 21px;
}

.reviews__header img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
}

.reviews__name {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1.5;
    letter-spacing: .24px;
}

.reviews__name span {
    display: block;
    font-size: 16px;
    font-weight: 300;
    color: var(--color-green);
    line-height: 1.5;
    letter-spacing: .16px;
}

.reviews__text {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.5;
    letter-spacing: .2px;
}


/* Contact */

.contact {
    padding: 86px 0 186px;
}

.contact__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 0 20px;
}

.contact__content {
    max-width: 600px;
}

.contact__photo {
    max-width: 650px;
}

.contact__photo img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.contact__list {
    margin: 40px 0 0;
    display: flex;
    flex-direction: column;
    gap: 40px 0;
}

.contact__item {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1.5;
}

.contact__item a{
    font-size: 20px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1.5;
}

.contact__item span{
    display: block;
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.2;
}


/* Footer */

.footer {
    padding: 28px 0 0;
    background-color: var(--color-green);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 0 20px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-white);
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: 0 30px;
}

.footer__nav {
    padding: 36px 0;
    border-bottom: 1px solid var(--color-white);
}

.footer__nav-menu {
    display: flex;
    justify-content: space-between;
    gap: 0 50px;
}

.footer__bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
}

.footer__date {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1;
}

.footer__policy {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1;
}

.footer__policy:hover {
    text-decoration: underline;
}


@media (max-width: 1250px) {
    
    /* Schedule */

    .schedule__title {
        left: 19px;
        font-size: 28px;
    }

    .btn-ticket {
        width: 160px;
        left: 19px;
    }

    /* Ticket */

    .ticket__wrapper {
        gap: 20px;
    }

    .ticket__daily {
        display: none;
    }
}

@media (max-width: 1209px) {

    /* Advantages */

    .advantages__item {
        grid-column: 6 span;
    }
}

@media (max-width: 1120px) {

    /* Nav */

    .nav-menu {
        gap: 0 25px;
    }

    .footer__nav-menu {
        gap: 0 25px;
    }

    /* Ticket */

    .ticket__wrapper {
        padding: 16px 18px;
        grid-column-gap: 0;
        grid-row-gap: 16px;
    }

    .ticket__item {
        grid-column: 12 span;
        padding: 0 0 16px;
        border-bottom: 1px solid var(--color-green);
    }

    .ticket__item:last-child {
        border-bottom: none;
    }

    .ticket__item-big {
        grid-column: 12 span;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
    }

    .ticket-item__daily {
        display: none;
    }

    .ticket__header {
        display: flex;
        justify-content: space-between;
    }

    .ticket-daily__mob {
        display: block;
    }

    .btn-payment {
        width: 100%;
    }

    /* About */

    .about__wrapper {
        gap: 60px;
    }

    /* Form */

    .form__content {
        padding: 35px;
    }
}

@media (max-width: 992px) {

    /* Header */

    .header__contact {
        gap: 0 15px;
    }

    .header__tel {
        padding: 14px 18px;
        font-size: 14px;
    }

    /* Btn */

    .btn-modal {
        width: 168px;
    }

    /* Nav */

    .nav-link {
        font-size: 16px;
    }

    /* Schedule */

    .schedule {
        padding: 110px 0 0;
    }

    .schedule__list {
        grid-row-gap: 16px;
    }

    .schedule__item {
        grid-column: 6 span;
    }

    .schedule__item-big {
        grid-column: 12 span;
    }

    .schedule__item-big img {
        height: 320px;
    }

    .schedule__item:nth-of-type(1) {
        order: 1;
    }

    .schedule__item:nth-of-type(2) {
        order: 2;
    }

    .schedule__item:nth-of-type(5) {
        order: 3;
    }

    .schedule__img {
        width: 100%;
    }

    .schedule__time {
        display: none;
    }

    .schedule__title {
        top: 15px;
        left: 19px;
    }

    /* Ticket */

    .ticket__top {
        padding: 20px;
    }

    .ticket__wrapper {
        padding: 16px 18px;
        grid-column-gap: 0;
        grid-row-gap: 16px;
    }

    .ticket__time {
        font-size: 24px;
    }

    .ticket__price {
        font-size: 24px;
    }

    .ticket__descr {
        font-size: 12px;
    }

    .ticket__direction {
        display: flex;
        justify-content: space-between;
        flex-direction: initial;
    }

    .ticket__title {
        font-size: 16px;
    }

    /* About */

    .about__wrapper {
        gap: 40px;
    }

    .about__text {
        font-size: 15px;
    }

    /* Advantages */

    .advantages {
        padding: 16px 0;
    }

    .advantages__item {
        grid-column: 6 span;
    }

    .advantages__title {
        margin: 10px 0;
        font-size: 16px;
    }

    .advantages__text {
        font-size: 14px;
    }

    /* Questions */

    .questions__list {
        font-size: 21px;
    }

    .questions__list::after {
        width: 32px;
        height: 32px;
    }

    /* Form */

    .form {
        max-width: 671px;
        margin: 0 auto;
    }

    .form__top {
        gap: 0;
    }

    .form__img {
        display: none;
    }

    .form__text {
        margin: 0 0 10px;
    }
    
    .form__title {
        text-align: center;
    }

    .form__text {
        text-align: center;
    }

    .form__wrapper {
        gap: 16px 0;
    }

    .form__input {
        padding: 0 0 12px;
        font-size: 16px;
    }

    .form__btn {
        font-size: 16px;
    }

    /* Checkbox */

    .checkbox {
        margin: 16px 0 0;
    }

    .checkbox__label {
        padding-left: 28px;
        font-size: 12px;
    }

    .checkbox__label::before,
    .checkbox__label::after {
        width: 16px;
        height: 16px;
        top: 5px;
    }

    /* Swiper */

    .slider-buttons {
        gap: 0 48px;
    }
}

@media (max-width: 820px) {

    /* Intro */

    .intro__title {
        font-size: 40px;
    }

    /* Nav */

    .nav-link {
        font-size: 14px;
    }

    /* About */

    .about__wrapper {
        gap: 20px;
    }

    .about__title {
        font-size: 24px;
    }

    .about__text {
        font-size: 14px;
        margin: 0 0 16px;
    }

    /* Questions */

    .questions__list {
        font-size: 16px;
        padding: 20px 42px 20px 0;
    }

    .questions__panel {
        font-size: 14px;
    }

    /* Footer */

    .footer {
        padding: 16px 0 0;
    }

    .footer__top {
        padding: 0 0 41px;
        border-bottom: none;
    }

    .footer__nav {
        padding: 12px 0;
    }

    .footer__nav-menu {
        grid-template-columns: repeat(12, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 40px;
    }

    .slider-buttons {
        display: none;
    }

    /* Form */

    .form__top {
        display: inherit;
    }

    /* Questions */

    .questions {
        padding: 86px 0;
    }

    /* Btn */

    .btn-modal__fill {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Header */

    .header {
        padding: 22px 0 0;
    }

    .header__top {
        gap: 0;
        align-items: center;
    }

    .header__item:nth-of-type(2) {
        display: none;
    }

    .header__item-big {
        grid-column: 8 span;
    }

    /* Intro */

    .intro {
        padding: 103px 0 163px;
    }

    .intro__title {
        max-width: 346px;
        font-size: 24px;
        line-height: 1.3;
        margin: 0 0 16px;
    }

    .intro__text {
        max-width: 326px;
        font-size: 14px;
    }

    /* logo */

    .logo {
        position: relative;
        z-index: 12;
    }

    /* Nav */

    .hamburger{
        display: block;
        margin-left: auto;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
      
    .hamburger.active .bar:nth-child(1){
        transform: translateY(6px) rotate(45deg);
    }
      
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        position: fixed;
        left: 0;
        top: -120%;
        gap: 0;
        padding: 15px 16px 39px;
        z-index: 2;
        flex-direction: column;
        gap: 16px 0;
        background-color: var(--color-green);
        width: 100%;
        transition: top 0.3s ease;
    }

    .active:after {
        display: none;
    }

    .nav-item{
        text-align: center;
    }

    .nav-menu.active{
        top: 0;
        z-index: 9;
        color: var(--color-white);
    }

    .nav-item-mob {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0 20px;
        padding: 36px 0 16px;
        border-bottom: 1px solid var(--color-white);
    }

    .nav-item-mob .header__tel {
        padding: 0;
        border: none;
    }

    .nav-link {
        font-size: 14px;
        color: var(--color-white);
    }

    .nav-link__fill {
        color: var(--color-white);
    }

    .nav-link:hover {
        text-decoration: none;
    }

    /* Btn */

    .btns {
        gap: 0 20px;
    }

    .btn-order,
    .btn-details {
        width: 153px;
        font-size: 14px;
    }

    /* Section */

    .section__header {
        margin: 0 0 16px;
    }

    .section__title {
        font-size: 24px;
    }

    .section__text {
        font-size: 16px;
    }

    /* Schedule */

    .schedule {
        padding: 86px 0 0;
    }

    /* About */

    .about {
        padding: 86px 0;
    }

    /* Questions */

    .gallery {
        padding: 83px 0 0;
    }
    .gallery__img {
        width: 100%;
    }

    /* Swiper */

    .swiper-pagination {
        display: block;
    }

    .swiper-container-horizontal>.swiper-pagination-progressbar, .swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
        width: 100%;
        height: 7px;
        margin: 10px 0 0;
        background-color: transparent;
        border: 1px solid rgba(217, 217, 217, 1);
        position: absolute;
        top: 100%;
    }

    .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
        background-color: var(--color-green);
        width: 260px;
        height: 2px;
        margin: 2px;
    }

    /* Reviews */

    .reviews {
        padding: 81px 0 0;
    }

    /* Contact */

    .contact {
        padding: 40px 0 86px;
    }

    .contact__list {
        margin: 17px 0 0;
        gap: 16px 0;
    }

    .contact__item {
        font-size: 16px;
    }

    .contact__item span {
        font-size: 14px;
    }

    .contact__item a {
        font-size: 16px;
    }

    /* Footer */

    .footer__nav-menu {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-items {
        width: 33.3333%;
    }
}

@media (max-width: 650px) {

    /* About */

    .about__wrapper {
        flex-direction: column;
        gap: 16px 0;
    }

    .about__title {
        font-size: 20px;
    }

    .about__content {
        max-width: 100%;
    }

    /* Schedule */

    .schedule__item {
        grid-column: 12 span;
    }

    .schedule__item-big img {
        height: auto;
    }

    .schedule__wrapper {
       min-height: 170px; 
    }

    .schedule__title {
        font-size: 24px;
    }

    /* Advantages */

    .advantages__item {
        grid-column: 12 span;
        padding: 22px 31px 22px;
    }

    /* Footer */

    .footer__top {
        padding: 0 0 13px;
        flex-wrap: wrap;
    }

    .footer__nav {
        border-bottom: none;
    }

    .footer__bottom {
        padding: 16px 0 38px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px 0;
    }

    .footer__date,
    .footer__policy {
        font-size: 14px;
    }

    /* Modal */

    .modal {
        padding: 71px 17px 14px 17px;
    }

    .modal__title {
        font-size: 20px;
    }

    .modal__text {
        font-size: 14px;
        margin: 0 0 16px;
    }

    .checkbox__label-modal {
        padding-left: 27px;
        text-align: left;
        font-size: 12px;
    }

    .checkbox__label-modal a {
        font-size: 12px;
    }
}

@media (max-width: 378px) {

    /* Intro */

    .intro {
        padding: 116px 0 241px;
    }

    .intro__title {
        max-width: 284px;
        font-size: 20px;
        line-height: 1.5;
        margin: 0 0 16px;
    }

    .intro__text {
        max-width: 326px;
        font-size: 14px;
    }

    /* Btn */

    .btn-order {
        width: 100%;
    }

    .btn-details {
        display: none;
    }

    /* Reviews */

    .reviews__wrapper {
        padding: 30px 0;
    }

    .reviews__header {
        gap: 0 12px;
        margin: 0 0 10px;
    }

    .reviews__name {
        font-size: 16px;
    }

    .reviews__name span {
        font-size: 14px;
    }

    .reviews__text {
        font-size: 14px;
    }

    /* Contact */

    .contact__wrapper {
        flex-direction: column;
        gap: 16px 0;
    }

    .footer__tel {
        margin: 21px 0 0;
        padding: 0;
        border: none;
    }

    .footer__nav {
        padding: 0 0 19px;
    }

    .nav-item {
        text-align: center;
        width: 100%;
    }

    .social {
        gap: 0 9px;
    }
}