@import url(typography.css);

:root {
    --black: rgba(27, 31, 43, 1);
    --white: rgba(255, 255, 255, 1);

    --beige100: rgba(249, 247, 244, 1);
    --beige200: rgba(244, 240, 233, 1);

    --gray100: rgba(241, 243, 242, 1);
    --gray200: rgba(217, 223, 219, 1);
    --gray300: rgba(166, 166, 166, 1);

    --green100: rgba(224, 240, 229, 1);
    --green200: rgba(98, 127, 126, 1);
    --green300: rgba(59, 126, 123, 1);
    --green400: rgba(40, 101, 98, 1);

    --orange100: rgba(248, 230, 190, 1);
    --orange200: rgba(239, 165, 1, 1);
    --feedback-slide-fraction: 0.7;
}

* {
    border: 0;
    margin: 0;
    padding: 0;
}

*::after,
*::before,
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body.is-loading {
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(248, 230, 190, 0.55), transparent 60%),
        radial-gradient(900px 500px at 85% 80%, rgba(224, 240, 229, 0.6), transparent 65%),
        linear-gradient(135deg, #fff9f2 0%, #f4f0e9 40%, #eaf3ef 100%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader__panel {
    display: grid;
    gap: 16px;
    justify-items: center;
    padding: 28px 36px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 50px rgba(27, 31, 43, 0.12);
    backdrop-filter: blur(6px);
}

.preloader__logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background:
        conic-gradient(from 90deg, rgba(239, 165, 1, 0.9), rgba(59, 126, 123, 0.9), rgba(239, 165, 1, 0.9));
    mask: radial-gradient(circle at 50% 50%, transparent 58%, #000 60%);
    animation: preloader-spin 1.2s linear infinite;
}

.preloader__title {
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1b1f2b;
}

.preloader__dots {
    display: flex;
    gap: 8px;
}

.preloader__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b7e7b;
    animation: preloader-bounce 1s ease-in-out infinite;
}

.preloader__dots span:nth-child(2) {
    animation-delay: 0.15s;
    background: #efa501;
}

.preloader__dots span:nth-child(3) {
    animation-delay: 0.3s;
    background: #627f7e;
}

body.is-loaded .preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloader-bounce {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--white);
    background-color: var(--beige100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    cursor: default;
}

.stub-page {
    color: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige100);
}

.stub {
    align-items: center;
    text-align: center;
    padding: 48px 20px;
}

.stub__logo {
    width: 220px;
    height: auto;
    margin-bottom: 24px;
}

.stub__title {
    font-size: 48px;
    margin-bottom: 12px;
    color: var(--black);
}

.stub__subtitle {
    font-size: 18px;
    color: var(--gray300);
}

main {
    display: flex;
    flex-direction: column;
    gap: 135px;
}


/* GENERAL */

.subtitle {
    color: var(--gray300);
    text-align: center;
    margin-bottom: 100px;
    max-width: 400px;
    place-self: center;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
}


/* HEADER */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    max-height: 88px;
    padding: 28.88px 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.header__logo {
    width: 170px;
    height: 99px;
}

.header a {
    color: var(--white);
}

.header__container {
    max-width: 1168px;
    max-height: 30.24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav-list {
    display: flex;
    gap: 50px;
}

.header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 50;
}

.header__burger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .header__burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .header__burger span:nth-child(2) {
    opacity: 0;
}

body.nav-open .header__burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 40;
}

body.nav-open .header__overlay {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

.header--sticky {
    position: fixed;
    background: rgba(27, 31, 43, 0.45);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* WELCOME */

.welcome {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.welcome__slider {
    width: 100%;
    height: 100%;
    position: relative;
    background: #1b1f2b;
}

.welcome__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.welcome__nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    background: transparent;
    z-index: 20;
    cursor: pointer;
    border: none;
}

.welcome__nav--prev {
    left: 0;
}

.welcome__nav--next {
    right: 0;
}

.welcome__nav--prev::after,
.welcome__nav--next::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.welcome__nav--prev::after {
    left: 0;
}

.welcome__nav--next::after {
    right: 0;
}


.welcome__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.2s ease-in-out, transform 2.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    will-change: opacity, transform;
    overflow: hidden;
}

.welcome__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(27, 31, 43, 0.6), rgba(27, 31, 43, 0.6));
    z-index: 1;
}

.welcome__slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.welcome__container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome__title {
    max-width: 795px;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome__subtitle {
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

/* Адаптивность текста */
@media (max-width: 1024px) {
    .welcome__title {
        font-size: 56px;
    }

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

@media (max-width: 768px) {
    .welcome__title {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .welcome__subtitle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .welcome__title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .welcome__subtitle {
        font-size: 16px;
    }
}

.welcome__dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.welcome__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.welcome__dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.welcome__dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность слогана */
@media (max-width: 1024px) {
    .slogan__title {
        font-size: 36px;
    }

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

@media (max-width: 768px) {
    .slogan {
        padding: 15px;
    }

    .slogan__title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .slogan__subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .slogan {
        padding: 10px;
        max-width: 95%;
    }

    .slogan__title {
        font-size: 22px;
    }

    .slogan__subtitle {
        font-size: 14px;
    }
}


/* Адаптивность для слайдера */
@media (max-width: 1024px) {
    .welcome__title {
        font-size: 56px;
    }

    .welcome .subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .welcome__title {
        font-size: 42px;
    }

    .welcome .subtitle {
        font-size: 16px;
    }

    .welcome__dots {
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .welcome__title {
        font-size: 36px;
    }

    .welcome .subtitle {
        font-size: 14px;
    }

    .welcome__dot {
        width: 10px;
        height: 10px;
    }

}


/* CARDS */


.cards__container {
    text-align: center;
    display: flex;
    flex-direction: column;
    max-width: none;
}

.cards h2 {
    margin-bottom: 35px;
}

.card h3 {
    font-size: 28px;
}

.cards__nav {
    margin-bottom: 106px;
}


.cards__nav-link {
    color: var(--black);
}


.cards__nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 10px;
}

.cards__nav-link:focus {
    color: var(--orange200);
    text-decoration: underline;
    text-underline-offset: 10px;
}

.cards__nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card__title {
    max-width: 245px;
    text-transform: uppercase;
}

.card__price {
    margin-top: 16px;
    margin-bottom: 277px;
}

.card__button {
    position: absolute;
    left: 50px;
    bottom: 50px;
    color: var(--white);
}

.card__button::after {
    content: "";
    position: absolute;
    background-image: url(/img/arrow\ bt.svg);
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);


    bottom: 1px;
    left: 135px;
    width: 24px;
    height: 26px;

}

.card:hover .card__button::after {
    left: 155px;
    bottom: 8px;
}



.card:hover {
    cursor: pointer;
    .card__ellipse {
        /* transform: scale(1); */
    }
}

.card__ellipse {
    position: absolute;
    width: 620px;
    height: 620px;
    background: blueviolet;
    border-radius: 50%;
    top: calc(50% - 310px);
    left: calc(50% - 310px);
    transform: scale(0);
    transition: all 0.6s ease;

}

.card:hover .card__button {
    padding: 7px 59px 7px 20px;
    background-color: var(--green400);
    border-radius: 50px;
    left: 30px;
    bottom: 43px;
}

.card:hover .card__button:active {
    background-color: var(--orange200);
}


.card {
    display: block;
    color: inherit;
    border-radius: 50px;
    padding: 50px;
    text-align: start;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card:nth-child(1)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/1.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;
    z-index: -5;
}

.card:nth-child(1):hover::before {
    transform: scale(1.2);
}

.card:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/2.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(2):hover::before {
    transform: scale(1.2);
}

.card:nth-child(3)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/3.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(3):hover::before {
    transform: scale(1.2);
}

.card:nth-child(4)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/4.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(4):hover::before {
    transform: scale(1.2);
}

.card:nth-child(5)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/5.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(5):hover::before {
    transform: scale(1.2);
}

.card:nth-child(6)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/6.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(6):hover:before {
    transform: scale(1.2);
}

.card:nth-child(7)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/7.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(7):hover:before {
    transform: scale(1.2);
}

.card:nth-child(8)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/8.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(8):hover:before {
    transform: scale(1.2);
}

.card:nth-child(9)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/9.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(9):hover:before {
    transform: scale(1.2);
}

.card:nth-child(10)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/10.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(10):hover:before {
    transform: scale(1.2);
}

.card:nth-child(11)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/11.jpg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(11):hover:before {
    transform: scale(1.2);
}

.card:nth-child(12)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/12.jpeg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(12):hover:before {
    transform: scale(1.2);
}

.card:nth-child(13)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/13.jpg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(13):hover:before {
    transform: scale(1.2);
}

.card:nth-child(14)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/14.jpg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(14):hover:before {
    transform: scale(1.2);
}

.card:nth-child(15)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/15.jpg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(15):hover:before {
    transform: scale(1.2);
}

.card:nth-child(16)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.5) 100%), url(/img/cards/16.jpg);

    background-size: cover;
    transition: transform 0.3s ease;

    z-index: -5;
}

.card:nth-child(16):hover:before {
    transform: scale(1.2);
}


.card__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, 370px);
    grid-template-rows: repeat(4, 531px);
    margin: 0 auto;
}


/* FORM */

.form__title {
    margin-bottom: 30px;
}

.form-wrapper {
    background-color: var(--white);
    display: grid;
    grid-template-columns: repeat(2, 500px);
    grid-template-rows: repeat(3, 104px) 188px;
    column-gap: 30px;
    row-gap: 33px;
    padding: 70px;
    border-radius: 50px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 500px;
    max-height: 104px;
}

input::placeholder {
    color: var(--gray300);
    font-family: "Roboto", sans-serif;
}

input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
    padding: 20px;
    background-color: var(--beige100);
    border-radius: 10px;

    border: 1px solid var(--beige200);
}

input:not([type="radio"]):not([type="checkbox"]):hover,
select:hover,
textarea:hover {
    background-color: var(--beige200);
    cursor: pointer;
}

input:not([type="radio"]):not([type="checkbox"]):focus,
select:focus,
textarea:focus {
    border: 1px solid var(--gray300);
    outline: none;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--beige100) inset;
}

label {
    color: var(--black);
}


select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url(/img/ic-dropdown.svg);
    background-repeat: no-repeat;
    background-position: right 19px top 21px;
    background-size: 26px;
}

select:invalid {
    color: var(--gray300);
}

select:valid {
    color: var(--black);
}

.form__field--full {
    grid-column: 1 / -1;
    max-width: 1030px;
    max-height: 188px;
}

textarea {
    height: 100%;
    resize: none;
}

/* Radio group */

.form__field legend {
    color: var(--black);
    margin-bottom: 7px;
}

.radio-options {
    display: flex;
    gap: 31px;
    align-items: center;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.radio-option input[type="radio"] {
    appearance: none;
    margin: 0;
    width: 26px;
    height: 26px;
    border: 3px solid var(--black);
    border-radius: 50%;
    position: relative;
}

.radio-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--black);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

input[type="radio"]:focus {
    outline: none;
}


/* Checkbox */

.license:hover {
    text-decoration: underline;
}

.license:active {
    color: var(--green400);
}

.checkbox {
    display: inline-flex;
    align-items: center;
}

input[type="checkbox"] {
    height: 26px;
    width: 26px;
    margin-right: 19px;


    appearance: none;
    border: 3px solid var(--black);
    border-radius: 2px;
}


input[type="checkbox"]:checked {
    background-image: url('/img/checkbox.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 10px;
}

input[type="checkbox"]:focus {
    outline: none;
}

.form__buttons {
    width: 500px;
    display: flex;
    gap: 30px;
}

.form__button {
    border-radius: 10px;
    max-width: 235px;
    max-height: 58px;
}

.button--find {
    font-family: "Roboto", sans-serif;
    background-color: var(--green400);
    color: var(--white);
    padding: 15px 70.5px;
}

.button--find:hover {
    background-color: var(--green300);
}

.button--find:active {
    background-color: var(--green200);
}


.button--reset {
    font-family: "Roboto", sans-serif;
    background-color: var(--green100);
    color: var(--green400);
    padding: 15px 72.5px;
}

.button--reset:hover {
    background-color: var(--gray100);
}

.button--reset:active {
    background-color: var(--gray200);
}


/* FEEDBACK */

.feedback__title {
    max-width: 529px;
    place-self: center;
}

.feedback__subtitle {
    margin-bottom: 100px;
}

.feedback-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.feedback__block {
    display: flex;
    flex-direction: column;
    max-width: 570px;
    height: 820px;
    padding: 38px 40px 40px 40px;
    background-color: var(--beige200);
    border-radius: 50px;
    color: var(--black);
    gap: 16px;
}

.feedback__block .p-big {
    color: var(--black);
}

.feedback__image {
    width: 100%;
    height: 300px;
    object-fit: fill;
    border-radius: 24px;
}

.feedback__headline {
    font-size: 22px;
    line-height: 1.3;
    color: var(--black);
}

.feedback__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

.feedback__list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-carousel {
    position: relative;
    overflow: hidden;
    /* 3D staging area for the carousel */
    perspective: 1200px;
}

.feedback-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s ease;
    padding: 0 calc((1 - var(--feedback-slide-fraction)) * 50%);
    /* Keep child slides in 3D space */
    transform-style: preserve-3d;
}

.feedback-slide {
    flex: 0 0 calc(var(--feedback-slide-fraction) * 100%);
    padding: 0 1px;
    opacity: 0.5;
    transform: scale(0.9);
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 0;
    /* Prevent flipped faces and allow depth transforms */
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: center;
    will-change: transform;
    cursor: pointer;
}

.feedback-slide.is-prev,
.feedback-slide.is-next {
    opacity: 0.7;
    z-index: 1;
    /* Side cards are slightly rotated away from the viewer */
    transform: scale(0.9) rotateY(-28deg) translateZ(-80px) translateX(8px);
    pointer-events: auto;
}

.feedback-slide.is-next {
    transform: scale(0.9) rotateY(28deg) translateZ(-80px) translateX(-8px);
}

.feedback-slide.is-active {
    opacity: 1;
    /* Active card pops out but shouldn't block clicks on side cards */
    transform: scale(1) translateZ(40px);
    z-index: 2;
    pointer-events: auto;
}

.feedback-carousel .feedback__block {
    max-width: 100%;
    min-height: 420px;
}

.feedback-controls {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.feedback-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--beige200);
    color: var(--black);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.feedback-button:hover {
    background-color: var(--gray100);
    transform: translateY(-2px);
}

.feedback-button:active {
    background-color: var(--gray200);
    transform: translateY(0);
}

.feedback-dots {
    display: flex;
    gap: 12px;
}

.feedback-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray200);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.feedback-dot.active {
    background-color: var(--green300);
    transform: scale(1.4);
}




.feedback__block:nth-child(1) .comment__author-name {
    margin-top: 266px;
    margin-bottom: 8px;
}

.feedback__block:nth-child(2) .comment__author-name {
    margin-top: 70px;
    margin-bottom: 8px;
}

.feedback__block:nth-child(1) {
    position: relative;
}

.feedback__block:nth-child(2) {
    position: relative;
}

.feedback__block:nth-child(1) .comment__author-name::after {
    content: '';
    position: absolute;
    border-radius: 100%;
    width: 75px;
    height: 75px;
    background-image: url(/img/review_photo-1.jpg);
    background-position: center;
    background-size: cover;
    overflow: hidden;

    bottom: 40px;
    right: 40px;
}

.feedback__block:nth-child(2) .comment__author-name::after {
    content: '';
    position: absolute;
    border-radius: 100%;
    width: 75px;
    height: 75px;
    background-image: url(/img/review_photo-2.jpg);
    background-position: center;
    background-size: contain;
    overflow: hidden;

    bottom: 40px;
    right: 40px;
}

.feedback-carousel .feedback__block .comment__author-name {
    margin-top: 32px;
    margin-bottom: 8px;
}

.feedback-carousel .feedback__block .comment__author-name::after {
    content: none;
}


/* TRAVEL PHOTO */


.travel-photo__container {
    max-width: 1860px;
}

.travel-photo__subtitle {
    margin-bottom: 99px;
}

.travel-photo__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.travel-photo__wrapper img {
    border-radius: 50px;
    height: 301px;
}


.travel-photo__wrapper .photo1 {
    width: 444px;
}

.travel-photo__wrapper .photo2,
.travel-photo__wrapper .photo3 {
    width: 441.5px;
}

.travel-photo__wrapper .photo4 {
    width: 443px;
}

.travel-photo__wrapper .photo5 {
    width: 349.16px;
}

.photo5, .photo6, .photo7 {
    object-fit: cover;
}

.travel-photo__wrapper .photo6,
.travel-photo__wrapper .photo7,
.travel-photo__wrapper .photo8,
.travel-photo__wrapper .photo9 {
    width: 347.32px;
}

.travel-photo__wrapper .photo10,
.travel-photo__wrapper .photo11,
.travel-photo__wrapper .photo12,
.travel-photo__wrapper .photo13 {
    width: 442.5px;
}


/* STORIES */

.story-card .subtitle {
    margin-bottom: 101px;
}


.story-card {
    border-radius: 50px;
    padding: 60px;
    max-height: 567px;
}

.story-cards .story-card:nth-child(1) {
    position: relative;
    margin-bottom: 50px;
    overflow: hidden;
}

.story-cards .story-card:nth-child(1)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%), url(/img/story_photo-1.jpg);
    background-size: cover;
    background-position: center;

    transition: transform 0.3s ease;
    z-index: -5;
}

.story-cards .story-card:nth-child(2) {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.story-cards .story-card:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%), url(/img/story_photo-2.jpg);
    background-size: cover;
    background-position: center;

    transition: transform 0.3s ease;
    z-index: -5;
}

.story-cards .story-card:nth-child(3) {
    position: relative;
    overflow: hidden;
}

.story-cards .story-card:nth-child(3)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%), url(/img/story_photo-3.jpg);
    background-size: cover;
    background-position: center;

    transition: transform 0.3s ease;
    z-index: -5;
}

.story-card__name {
    margin-bottom: 37px;
}

.story-card__description {
    max-width: 554px;
}

.story-cards .story-card:nth-child(2) .story-card__description,
.story-cards .story-card:nth-child(3) .story-card__description {
    margin-bottom: 315px;
}


.story-card__advantages {
    list-style-type: none;
    margin-bottom: 203px;
    margin-top: 26px;
    padding-left: 30px;
}

.story-card__advantages li {
    position: relative;
}

.story-card__advantages li::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--white);

    top: 11px;
    left: -18px;
}


.story-card .card__button {
    bottom: 60px;
    left: 60px;
}

.story-card:hover .card__button::after {
    left: 155px;
    bottom: 8px;
}

.story-card:hover {
    cursor: pointer;
}

.story-card:hover .card__button {
    padding: 7px 59px 7px 20px;
    background-color: var(--green400);
    border-radius: 50px;
    left: 40px;
    bottom: 53px;
}

.story-card:hover .card__button:active {
    background-color: var(--orange200);
}

.story-card__links {
    display: flex;
    gap: 35px;
    position: absolute;
    bottom: 60px;
    right: 61px;
}

.story-card__links a {
    color: var(--white);
}

.story-card__links a:hover {
    text-decoration: underline;
}

.story-card__links a:active {
    color: var(--orange200);
}


/* GO-TRAVEL */

.go-travel {
    margin-bottom: 135px;
}

.go-travel__container {
    align-items: center;
    display: flex;
    gap: 30px;
    color: black;
    justify-content: center;
}

.go-travel__wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 371px;
    max-height: 162px;
    text-align: start;
}

.go-travel__image {
    max-width: 370px;
    max-height: 370px;
    border-radius: 50px;
}

.go-travel__description {
    color: var(--gray300);
}

.go-travel__mail {
    color: var(--black);
}

.go-travel__mail:hover {
    text-decoration: underline;
}

.go-travel__mail:active {
    color: var(--green400);
}


/* FOOTER */

.footer {
    color: var(--black);
    background-color: var(--beige200);
    padding: 20px 0;
}

.footer__title {
    color: var(--gray300);
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-height: 200px;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer__contact {
    color: var(--black);
}

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

.footer__socials {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.footer__logo {
    object-fit: contain;
}

.footer__logo--social {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.footer__logos a:nth-child(1) img{
    width: 140px;
    height: 80px; 
}
.footer__logos a:nth-child(2) img{
    width: 80px;
    height: 80px; 
}


/* MEDIA */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 24px;
    }

    .header__container {
        max-width: 1200px;
        padding: 0 24px;
    }

    .cards {
        height: auto;
    }

    .card__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(360px, auto);
    }

    .feedback__block {
        height: auto;
    }

    .feedback__image {
        height: 260px;
    }
}

@media (max-width: 1024px) {

    body {
        overflow-x: hidden;
    }

    .background-wrapper {
        background-size: auto;
        background-repeat: no-repeat;
        max-height: 831px;

    }

    h2:nth-child(1), h2:nth-child(2) {
        transform: translateY(2px);
    }

    .container {
        max-width: 918px;
        padding: 0 20px;
    }

    .header__container {
        max-width: 910px;
        padding: 0 20px;
    }

    .header__nav-list {
        gap: 30px;
    }

    .welcome .subtitle {
        max-width: 409px;
    }

    .cards {
        height: auto;
    }

    .card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(320px, auto);
        gap: 18px;
    }

    .card:nth-child(1)::before,
    .card:nth-child(2)::before,
    .card:nth-child(3)::before,
    .card:nth-child(4)::before,
    .card:nth-child(5)::before,
    .card:nth-child(6)::before {
        background-repeat: no-repeat;
        background-position: center;
        /* background-size: 100%; */
    }

    .card:nth-child(2)::before {
        background-size: cover;
        background-position: center bottom;
    }


    .card__title {
        max-width: 500px;
    }

    .form-wrapper {
        padding: 60px;
        grid-template-columns: repeat(2, 389px);
        column-gap: 20px;
    }

    input[type="checkbox"] {
        margin-right: 11px;
    }

    .feedback__block {
        max-width: 100%;
        height: auto;
    }

    .feedback__block:nth-child(1) .comment__author-name {
        margin-top: 378px;
    }

    .travel-photo__container {
        max-width: 984px;
    }

    .travel-photo__wrapper {
        gap: 30px 20px;
        max-width: 1024px;
    }

    .travel-photo__wrapper .photo1,
    .travel-photo__wrapper .photo3,
    .travel-photo__wrapper .photo4,
    .travel-photo__wrapper .photo10,
    .travel-photo__wrapper .photo11,
    .travel-photo__wrapper .photo12 {
        width: 314.67px;
    }


    .travel-photo__wrapper .photo5,
    .travel-photo__wrapper .photo6,
    .travel-photo__wrapper .photo9,
    .travel-photo__wrapper .photo8 {
        width: 231px;

    }


    .travel-photo__wrapper .photo2,
    .travel-photo__wrapper .photo7,
    .travel-photo__wrapper .photo13 {
        display: none;
    }

    .travel-photo__wrapper .photo1 {
        order: 1;
    }

    .travel-photo__wrapper .photo2 {
        order: 2;
    }

    .travel-photo__wrapper .photo3 {
        order: 3;
    }

    .travel-photo__wrapper .photo4 {
        order: 4;
    }

    .travel-photo__wrapper .photo5 {
        order: 6;
    }

    .travel-photo__wrapper .photo6 {
        order: 5;
    }

    .travel-photo__wrapper .photo7 {
        order: 7;
    }

    .travel-photo__wrapper .photo8 {
        order: 9;
    }

    .travel-photo__wrapper .photo9 {
        order: 8;
    }

    .travel-photo__wrapper .photo10 {
        order: 10;
    }

    .travel-photo__wrapper .photo11 {
        order: 11;
    }

    .travel-photo__wrapper .photo12 {
        order: 12;
    }

    .travel-photo__wrapper .photo13 {
        order: 13;
    }

    .footer__container {
        gap: 325px;
    }

    .feedback-wrapper {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    :root {
        --feedback-slide-fraction: 0.92;
    }

    .container {
        max-width: 100%;
        padding: 0 16px;
    }

    .header {
        padding: 20px 0;
    }

    .header__container {
        max-width: 100%;
        padding: 0 16px;
        gap: 16px;
    }

    .header__logo {
        width: 130px;
        height: 68px;
    }

    .header__burger {
        display: inline-flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 82vw);
        padding: 96px 20px 24px;
        background: rgba(27, 31, 43, 0.96);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 45;
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.25);
    }

    body.nav-open .header__nav {
        transform: translateX(0);
    }

    .header__nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header__nav-link {
        font-size: 18px;
    }

    .welcome__nav {
        width: 22%;
    }

    .welcome__dots {
        bottom: 24px;
    }

    .cards__nav-list {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(300px, auto);
        gap: 16px;
    }

    .card {
        border-radius: 28px;
        padding: 32px;
    }

    .card__title {
        font-size: 22px;
        max-width: none;
    }

    .card__button {
        left: 28px;
        bottom: 28px;
    }

    .card__price {
        margin-bottom: 180px;
    }

    .feedback__block {
        padding: 28px;
        border-radius: 28px;
    }

    .feedback__image {
        height: 220px;
    }

    .feedback-controls {
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer__container {
        gap: 24px;
    }

    .footer__logos {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer__logo {
        width: 160px;
        height: 110px;
    }

    .stub {
        padding: 40px 16px;
    }

    .stub__title {
        font-size: 38px;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 20px;
        padding: 32px;
    }

    .form__field,
    .form__field--full {
        max-width: none;
        max-height: none;
    }

    .form__buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .form__button {
        max-width: none;
        width: 100%;
    }

    .button--find,
    .button--reset {
        padding: 14px 16px;
    }

    .radio-options {
        flex-wrap: wrap;
        gap: 16px;
    }

    .feedback__content {
        max-height: 320px;
    }

    .feedback-slide.is-prev,
    .feedback-slide.is-next {
        transform: scale(0.92) rotateY(-18deg) translateZ(-40px) translateX(4px);
    }

    .feedback-slide.is-next {
        transform: scale(0.92) rotateY(18deg) translateZ(-40px) translateX(-4px);
    }

    .travel-photo__wrapper {
        gap: 16px;
    }

    .travel-photo__wrapper img {
        height: 220px;
        object-fit: cover;
    }

    .travel-photo__wrapper .photo1,
    .travel-photo__wrapper .photo2,
    .travel-photo__wrapper .photo3,
    .travel-photo__wrapper .photo4,
    .travel-photo__wrapper .photo5,
    .travel-photo__wrapper .photo6,
    .travel-photo__wrapper .photo7,
    .travel-photo__wrapper .photo8,
    .travel-photo__wrapper .photo9,
    .travel-photo__wrapper .photo10,
    .travel-photo__wrapper .photo11,
    .travel-photo__wrapper .photo12,
    .travel-photo__wrapper .photo13 {
        width: calc(50% - 8px);
    }

    .story-card {
        padding: 36px;
        max-height: none;
    }

    .story-card__description,
    .story-cards .story-card:nth-child(2) .story-card__description,
    .story-cards .story-card:nth-child(3) .story-card__description {
        margin-bottom: 140px;
    }

    .story-card__advantages {
        margin-bottom: 120px;
    }

    .story-card__links {
        position: static;
        margin-top: 24px;
        gap: 20px;
    }

    .go-travel__container {
        flex-direction: column;
        text-align: center;
    }

    .go-travel__wrapper {
        max-width: none;
        max-height: none;
        text-align: center;
    }

    .go-travel__image {
        max-width: 100%;
        max-height: none;
    }
}

@media (max-width: 480px) {
    :root {
        --feedback-slide-fraction: 1;
    }

    .cards__nav-list {
        flex-wrap: wrap;
        column-gap: 10.5px;
        row-gap: 10px;
        max-width: 257px;
        margin: 0 auto;
    }

    .cards__nav-link {
        font-size: 16px;
        font-weight: 700;
        line-height: 142%;
    }

    .background-wrapper {
        background-size: auto;
        background-repeat: no-repeat;
        max-height: 488px;

    }

    main {
        gap: 75px;
    }

    .header {
        padding: 18px 0;
    }


    .header__logo {
        width: 110px;
        height: 58px;
    }

    .header__phone {
        font-size: 16px;
        max-width: 124px;
    }

    .header__container {
        max-width: 100%;
    }

    .header__nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
    }

    .welcome__container {
        gap: 40px;
    }

    .welcome__title, .cards__title {
        font-size: 34px;
        font-weight: 700;
        line-height: 112%;
        letter-spacing: .02em;
    }

    .card {
        border-radius: 20px;
        padding: 24px;
    }


    .card__title {
        font-size: 23px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: .04em;
    }

    .card__price {
        font-size: 16px;
        font-weight: 400;
        line-height: 142%;
        letter-spacing: -.01em;
        margin-top: 13px;
        margin-bottom: 140px;

    }

    .cards__nav {
        margin-bottom: 50px;
    }

    .card__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(280px, auto);
        margin: 0 auto;
    }

    .cards h2 {
        margin-bottom: 31.5px;
    }

    .card__button {
        font-size: 16px;
        line-height: 142%;
        font-weight: 700;
        left: 22px;
        bottom: 22px;
    }

    .card__button::after {
        bottom: -1.5px;
        left: 95px;
    }

    .cards__nav-link:hover {
        text-underline-offset: 4.5px;
    }

    .cards__nav-link.active {
        text-underline-offset: 4.5px;
    }


    .welcome .subtitle {
        max-width: 310px;
        font-size: 16px;
    }

    .welcome__button {
        font-size: 16px;
        letter-spacing: -0.01em;
    }

    .cards {
        height: auto;
    }

    .form__title {
        font-size: 34px;
        font-weight: 700;
        line-height: 112%;
        letter-spacing: .02em;
        margin-bottom: 20px;
    }

    .form__subtitle {
        margin-bottom: 40px;
        font-size: 16px;
        font-weight: 400;
        line-height: 142%;
        max-width: 316px;
    }

    .form-wrapper {
        padding: 20px;
    }

    .feedback__block {
        padding: 22px;
        border-radius: 22px;
    }

    .feedback__headline {
        font-size: 18px;
    }

    .feedback__image {
        height: 200px;
    }

    .footer__logo {
        width: 130px;
        height: 90px;
    }

    .preloader__panel {
        padding: 22px 24px;
    }

    .preloader__title {
        font-size: 14px;
        text-align: center;
    }

    .stub__logo {
        width: 180px;
    }

    .stub__title {
        font-size: 32px;
    }

    .stub__subtitle {
        font-size: 16px;
    }

    .form__buttons {
        gap: 10px;
    }

    .feedback__content {
        max-height: 260px;
    }

    .feedback-carousel {
        perspective: none;
    }

    .feedback-slide {
        transform: scale(0.98);
    }

    .feedback-slide.is-prev,
    .feedback-slide.is-next {
        transform: scale(0.96);
    }

    .feedback-slide.is-active {
        transform: scale(1);
    }

    .travel-photo__wrapper {
        gap: 12px;
    }

    .travel-photo__wrapper img {
        width: 100%;
        height: 200px;
    }

    .travel-photo__wrapper .photo1,
    .travel-photo__wrapper .photo2,
    .travel-photo__wrapper .photo3,
    .travel-photo__wrapper .photo4,
    .travel-photo__wrapper .photo5,
    .travel-photo__wrapper .photo6,
    .travel-photo__wrapper .photo7,
    .travel-photo__wrapper .photo8,
    .travel-photo__wrapper .photo9,
    .travel-photo__wrapper .photo10,
    .travel-photo__wrapper .photo11,
    .travel-photo__wrapper .photo12,
    .travel-photo__wrapper .photo13 {
        width: 100%;
    }

    .story-card {
        padding: 28px;
    }

    .story-card__description,
    .story-cards .story-card:nth-child(2) .story-card__description,
    .story-cards .story-card:nth-child(3) .story-card__description {
        margin-bottom: 100px;
    }

    .story-card__advantages {
        margin-bottom: 90px;
    }

    .go-travel {
        margin-bottom: 90px;
    }

}
