@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Nunito:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&family=Nunito:wght@500&display=swap');

/*fonts*/
.font-nunito {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

.font-carmo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.f-size-36 {font-size: 36px;}
.f-size-32 {font-size: 32px;}
.f-size-30 {font-size: 30px;}
.f-size-20 {font-size: 20px;}
.f-size-18 {font-size: 18px;}
.f-size-16 {font-size: 16px;}


/*margins*/
.margin-top-15 {margin-top: 15px;}
.margin-top-60 {margin-top: 60px;}

/*paddings*/
.padding-top-60 {padding-top: 60px;}
.pt-60 {padding-top: 60px;}
.pl-100 {padding-left: 100px;}
.ptb-30 {padding: 30px 0;}
.padding-bottom-60 {padding-bottom: 60px;}

/*sizes*/
.height-450 {height: 450px;}
.height-250 {height: 250px;}
.width-55 {width: 55%;}
.width-50 {width: 50%;}
.width-45 {width: 45%;}
.width-35 {width: 35%;}
.width-65 {width: 65%;}


/*colors*/
.bg-white {background-color: white;}
.bg-white-1 {background-color: #E5E5E5;}
.bg-gray {background-color: #E3E3E3;}
.bg-white-gray {background-color: #FAFAFA;}
.color_black-80 {color: #515151;}


/*backgrounds*/
.about-us-image {background: url("./img/about_us.jpg");}

.cover {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/*animations*/
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.fade-in-block { animation: fadeIn 1s; }

/*gallery styles*/

.gallery-container {
    position: relative;
}

.gallery-cover {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
}

.gallery-cover-seo {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 450px;
    width: 100%;
    overflow: hidden;
    position: absolute;
}

.gallery-cover-seo img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover; /* or object-fit: contain; */
}

.gallery-slide-description-seo {
    color: white;
    text-align: left;
    padding: 90px 100px 70px 70px;
    box-sizing: border-box;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    position: absolute;
    top: 0;
}

.gallery-slide-description {
    color: white;
    text-align: left;
    padding: 90px 100px 70px 70px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-slide-description h3 {
    margin-bottom: 20px;
    text-shadow: 1px 1px gray;
}

.gallery-slide-description p {
    text-shadow: 1px 1px gray;
}

.gallery-controls {
    position: absolute;
    z-index: 99999;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    bottom: 30px;
}

.gallery-point {
    display: block;
    height: 10px;
    width: 10px;
    border: 2px solid white;
    border-radius: 50%;
    margin: 0 10px;
    opacity: 0.8;
    cursor: pointer;
}
.gallery-point.active {
    background-color: white;
}










*, html {
    margin:0;
    padding:0;
}

html

body {
    width: 1250px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: url("./img/kedr-background-light.jpg");
    background-repeat: repeat;
    background-size: 35%;
    background-color: white;
    box-shadow: 0px 0px 27px 5px rgba(34, 60, 80, 0.35);

}
body header, body main, body footer {
    background: white;

}


/*navigation, logo*/

nav {
    width: 1250px;
    box-sizing: border-box;
    padding: 30px 50px 30px 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: absolute;
    top: 0;
    z-index: 10;
}

nav.scrolled {
    position: fixed;
    background: white;
    color: #515151;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: calc(50% - 600px);
    padding-right: calc(50% - 600px);
    width: 100%;
    left: 0;
    z-index: 99999999;
    box-shadow: 0px 6px 14px 0px rgba(34, 60, 80, 0.2);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.polyanki {font-size: 30px;}
.resort {font-size: 20px;}
.logo-image {
    width: 35px;
    height: 60px;
    margin-right: 10px;
    background: url("./img/cone-white.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


.navigation {
    font-size: 18px;
    width: 850px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav_item {
    cursor: pointer;
    user-select: none;
    margin: 0 2px
}

.nav_item.active a {
    font-weight: bold;
    margin: 0 0;
}

.nav_item a {
    text-decoration: none;
    color: inherit;
}

.nav_item:hover {
    font-weight: bold;
    margin: 0 0;
}

.active_item {
    font-weight: bold;
    text-decoration: underline;
}



/*header with poster*/
.header-block {
    position: relative;
}
.header-image {
    height: 670px;
    width: 100%;
    background: url("./img/header.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}


.header-main-text {
    width: 600px;
    position: absolute;
    left: 100px;
    bottom: 100px;
}
h1 {
    color: white;

    text-align: left;
    line-height: 30px;
    display: inline-flex;
    flex-direction: column;
}
.header1 {
    font-size: 50px;
    font-weight: 700;
}

.header2 {
    padding-top: 20px;
    font-size: 20px;

}
.header-description {
    color: white;
    font-size: 20px;
}



main {
    padding-top: 80px;
    background-color: white;
}

.row {
    display: flex;
    flex-direction: row;
}
.image-block {
    height: 100%;
    box-sizing: border-box;
    position: relative;
}
.description-block {
    padding: 50px 100px;
    box-sizing: border-box;
}

.activity-image {
    overflow: hidden;
}
.activity-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.activity-image.activity-board-games img {object-position: center 16%;}
.activity-image.activity-pond-fishing img {object-position: center 68%;}
#activities { padding-bottom: 60px; }

/* Контакты */
.contacts-container {
    padding: 0 100px;
}
.contacts-intro {
    max-width: 760px;
    margin-bottom: 36px;
    background: transparent;
}
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    font-style: normal;
}
.contact-card {
    min-height: 112px;
    padding: 22px 24px;
    box-sizing: border-box;
    border: 1px solid rgba(81, 81, 81, .12);
    border-radius: 16px;
    color: #515151;
    background: rgba(255, 255, 255, .72);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
a.contact-card:hover,
a.contact-card:focus-visible {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 12px 30px rgba(55, 50, 40, .12);
}
.contact-card-primary {
    color: #fff;
    border-color: #68705a;
    background: #68705a;
}
a.contact-card-primary:hover,
a.contact-card-primary:focus-visible {
    color: #fff;
    background: #59614c;
}
.contact-icon,
.map-provider {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    color: #fff;
    background: #a84f49;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
}
.contact-card-primary .contact-icon { color: #59614c; background: #fff; }
.contact-icon-instagram { background: #9d4f79; }
.map-provider { background: #df4545; }
.map-provider-google { background: #4285f4; }
.contact-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.contact-content strong {
    font-size: 19px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.contact-label,
.contact-action {
    font-size: 14px;
    opacity: .72;
}
.contact-action { margin-top: 3px; }
.contact-location { background: rgba(250, 250, 250, .65); }













.container{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
}

.calendar {
    width: 100%;
    height: 550px;
    max-width: 800px;
    padding: 30px 20px ;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .2);
    backdrop-filter: blur(45px);
    border: 10px solid rgba(255, 255, 255, .2);
}

.calendar .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ccc;
}
.calendar .header .month {
    display: flex;
    align-items: center;
    font-size: 40px;
    font-weight: 600;
    color: #fccd6f;
}

.calendar .header .btns {
    display: flex;
    gap: 10px;
}
.calendar .header .btns .btn {
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: white;
    background-color: grey;
    font-size: 26px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar .header .btns .btn:hover {
    background-color: rgba(255, 255, 255, .2);
    transform: scale(1.1);
}
.weekdays {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.weekdays .day {
    width: calc(100% / 7 - 10px);
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #fccd6f;
    margin-top: 10px;
}
.days {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.days .day {
    width: calc(100% / 7 - 10px);
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 26px;
    font-weight: 400;
    color: var(--text-color);
    transition: all 0.3s;
}
.days .day:not(.next):not(.prev):hover {
    color: #ffffff;
    background-color:rgba(255, 255, 255, .2);
    transform: scale(1.1);
    cursor: pointer;
}
.days .day.today {
    background-color: blue;
}
.days .day.next,
.days .day.prev {
    color: #ccc;
}


/* Refined calendar (desktop and mobile) */
#prices .container { width: auto; min-height: 0; margin: 0 100px; display: block; }
#prices .calendar {
    width: 100%; max-width: none; height: auto; min-height: 500px; margin-top: 38px;
    padding: 32px; box-sizing: border-box; border: 1px solid #dedbd3; border-radius: 18px;
    background: #fff; box-shadow: 0 18px 45px rgba(55, 50, 40, .08);
}
.calendar .header .month { color: #515151; font-family: 'Cormorant Garamond', serif; }
.calendar .header .btns .btn { border: 0; background: #666b5d; min-width: 44px; }
.weekdays, .days { gap: 8px; }
.weekdays .day, .days .day { width: calc((100% - 48px) / 7); }
.days .day { height: 48px; font-size: 18px; color: #515151; }
.days .day.free { background: #f4f5f0; }
.days .day.booked { color: #95655b; background: #f4e7e3; text-decoration: line-through; }
.days .day.today { color: #fff; background: #747c62; box-shadow: inset 0 0 0 2px #fff; }
.calendar-legend { display: flex; gap: 28px; margin-top: 24px; color: #686868; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.free-dot { background: #e4e8da; }
.booked-dot { background: #e1bdb4; }
.today-dot { background: #747c62; }
.nav-toggle { display: none; }

/* Состояния дат, рассчитанные из интервалов заезда и выезда */
.days .calendar-day {
    position: relative;
    border: 0;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
}
.days .calendar-day.state-free { color: #466146; background: #dfeedd; }
/* Выезд: первая половина дня занята, вторая свободна */
.days .calendar-day.state-checkout {
    color: #5f4848;
    background: linear-gradient(135deg, var(--booking-before, #a84f49) 0 49%, #dfeedd 50% 100%);
}
/* Заезд: первая половина дня свободна, вторая занята */
.days .calendar-day.state-checkin {
    color: #5f4848;
    background: linear-gradient(135deg, #dfeedd 0 49%, var(--booking-after, #a84f49) 50% 100%);
}
/* Пересменка: выезд и следующий заезд приходятся на одну дату */
.days .calendar-day.state-turnover {
    color: #fff;
    background: linear-gradient(135deg, var(--booking-before, #a84f49) 0 46%, #dfeedd 47% 53%, var(--booking-after, #a84f49) 54% 100%);
}
.days .calendar-day.state-occupied { color: #fff; background: var(--booking-after, #a84f49); }
.days .calendar-day.today {
    color: inherit;
    box-shadow: inset 0 0 0 3px #747c62;
}
.days .calendar-day.selected {
    outline: 3px solid #515151;
    outline-offset: 2px;
    z-index: 1;
}
.free-dot { background: #dfeedd; box-shadow: inset 0 0 0 1px #c2d9bf; }
.checkout-dot { background: linear-gradient(135deg, #a84f49 0 49%, #dfeedd 50% 100%); }
.checkin-dot { background: linear-gradient(135deg, #dfeedd 0 49%, #a84f49 50% 100%); }
.turnover-dot { background: linear-gradient(135deg, #a84f49 0 46%, #dfeedd 47% 53%, #a84f49 54% 100%); }
.occupied-dot { background: #a84f49; }
.calendar-day-details {
    min-height: 26px;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 10px;
    color: #515151;
    background: #f6f4ef;
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.calendar-day-details strong { white-space: nowrap; }
.calendar.is-loading .days { opacity: .45; }

/* Цены */
#prices {
    border-top: 1px solid #dedbd3;
    border-bottom: 1px solid #e7e4dc;
}
.pricing-container {
    margin: 0 100px;
}
.pricing-intro {
    max-width: 780px;
    margin-bottom: 38px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.price-card {
    min-height: 370px;
    padding: 32px;
    box-sizing: border-box;
    border: 1px solid #dedbd3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(55, 50, 40, .08);
    display: flex;
    flex-direction: column;
}
.price-card-weekend {
    border-color: #ccd2c2;
    background: #f3f5ef;
}
.price-card-top h3 {
    margin-top: 12px;
    color: #515151;
    font-size: 30px;
    line-height: 1.08;
}
.price-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: #a84f49;
    font-size: 13px;
    font-weight: 700;
}
.price-card-weekend .price-badge { background: #68705a; }
.price-value {
    margin-top: 28px;
    display: flex;
    align-items: baseline;
    gap: 9px;
}
.price-value strong {
    color: #a84f49;
    font-size: 66px;
    line-height: .9;
}
.price-card-weekend .price-value strong { color: #68705a; }
.price-value span {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 700;
}
.price-for {
    margin-top: 8px;
    color: #757575;
    font-size: 14px;
}
.price-breakdown {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.price-breakdown span {
    min-height: 64px;
    padding: 10px 9px;
    box-sizing: border-box;
    border-radius: 10px;
    color: #656565;
    background: #f6f3ef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12px;
    line-height: 1.25;
}
.price-card-weekend .price-breakdown span { background: #e5e9df; }
.price-breakdown strong {
    color: #515151;
    font-size: 16px;
}
.price-details {
    margin-top: 28px;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    font-size: 16px;
    line-height: 1.45;
}
.price-details li {
    position: relative;
    padding-left: 22px;
}
.price-details li::before {
    content: '•';
    position: absolute;
    left: 2px;
    color: #a84f49;
    font-weight: 700;
}
.price-card-weekend .price-details li::before { color: #68705a; }
.price-included {
    margin-top: 20px;
    padding: 20px 24px;
    border-radius: 16px;
    color: #515151;
    background: #e7ebdf;
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1.5;
}
.price-included-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    color: #fff;
    background: #68705a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.pricing-contact {
    margin-top: 20px;
    padding: 28px 30px;
    border-radius: 18px;
    color: #fff;
    background: #515151;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.pricing-contact h3 {
    font-size: 28px;
    line-height: 1.1;
}
.pricing-contact p { margin-top: 6px; opacity: .82; }
.pricing-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.pricing-button {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease;
}
.pricing-button:hover,
.pricing-button:focus-visible {
    background: rgba(255,255,255,.12);
    transform: translateY(-2px);
}
.pricing-button-primary {
    color: #515151;
    border-color: #fff;
    background: #fff;
}
.pricing-button-primary:hover,
.pricing-button-primary:focus-visible { background: #f0f0ed; }
.pricing-note {
    margin-top: 18px;
    color: #747474;
    font-size: 14px;
    line-height: 1.45;
}

/* Сценарии отдыха */
.recipe-container {
    padding: 0 100px;
}
.recipe-intro {
    max-width: 820px;
    margin-bottom: 38px;
}
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.recipe-card {
    padding: 30px;
    border: 1px solid #e3e0d8;
    border-radius: 18px;
    background: #fafafa;
}
.recipe-card-accent { background: #eef1e9; }
.recipe-card-romantic { background: #f5ece9; }
.recipe-card-heading {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.recipe-number {
    min-width: 50px;
    color: #a84f49;
    font-size: 34px;
    line-height: 1;
}
.recipe-card-accent .recipe-number { color: #68705a; }
.recipe-audience {
    color: #797979;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.recipe-card h3 {
    margin-top: 5px;
    color: #515151;
    font-size: 27px;
    line-height: 1.08;
}
.recipe-card > p {
    color: #616161;
    font-size: 16px;
    line-height: 1.58;
}

@media (max-width: 767px) {
    html { scroll-behavior: smooth; overflow-x: hidden; }
    html body { width: 100%; min-width: 0; box-shadow: none; overflow-x: hidden; }
    body main { padding-top: 0; }
    main > section { scroll-margin-top: 72px; }
    nav, nav.scrolled {
        width: 100%; height: 72px; padding: 10px 20px; position: absolute;
        left: 0; color: #fff;
    }
    nav.scrolled { position: fixed; background: rgba(255,255,255,.97); color: #515151; }
    .logo { justify-content: flex-start; }
    .logo-image { width: 25px; height: 42px; margin-right: 7px; }
    nav.scrolled .logo-image { background-image: url("./img/cone-black.png"); }
    .polyanki { font-size: 21px; line-height: 20px; }
    .resort { font-size: 14px; }
    .nav-toggle {
        display: flex; width: 44px; height: 44px; padding: 10px; border: 0;
        background: transparent; color: inherit; flex-direction: column;
        justify-content: space-around; z-index: 2;
    }
    .nav-toggle span { width: 100%; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .navigation {
        position: absolute; top: 72px; left: 12px; right: 12px; width: auto;
        max-height: 0; overflow: hidden; box-sizing: border-box; padding: 0 24px;
        border-radius: 0 0 14px 14px; background: rgba(255,255,255,.98);
        color: #515151; box-shadow: 0 16px 30px rgba(0,0,0,.13);
        flex-direction: column; font-size: 15px;
        transition: max-height .3s ease, padding .3s ease;
    }
    .navigation.is-open { max-height: 420px; padding: 12px 24px 18px; }
    .nav_item { margin: 0; border-bottom: 1px solid #eceae4; }
    .nav_item:last-child { border-bottom: 0; }
    .nav_item a { display: block; padding: 13px 0; }
    .header-image {
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        position: relative;
        background-image: url("./img/header.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 62% bottom;
    }
    .header-image::after {
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.08) 45%, rgba(0,0,0,.62));
    }
    .header-main-text { left: 24px; right: 24px; bottom: 48px; width: auto; }
    h1 { line-height: 1.02; }
    .header1 { font-size: clamp(36px, 11vw, 48px); }
    .header2 { padding-top: 13px; font-size: 16px; line-height: 1.35; }
    .header-description { margin-top: 14px; font-size: 16px; line-height: 1.45; }
    .row { flex-direction: column; }
    .row.height-450, .row.height-250 { height: auto; }
    .width-35, .width-40, .width-45, .width-50, .width-55, .width-60, .width-65 { width: 100%; }
    .description-block { padding: 40px 24px; }
    .f-size-36 { font-size: 34px; line-height: 1.05; }
    .f-size-30 { font-size: 28px; line-height: 1.1; }
    .f-size-18 { font-size: 16px; line-height: 1.55; }
    .padding-top-60 { padding-top: 48px; }
    .padding-bottom-60 { padding-bottom: 48px; }
    .margin-top-60 { margin-top: 0; }
    #about_us .image-block, #deploy .image-block { height: 360px; }
    #about_us .gallery-cover-seo, #deploy .gallery-cover-seo { height: 360px; }
    .js_gallery_card {
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }
    .js_gallery_card img { -webkit-user-drag: none; }
    .gallery-slide-description-seo, .gallery-slide-description {
        height: 100%; padding: 36px 24px 62px;
        background: linear-gradient(transparent 35%, rgba(0,0,0,.72));
    }
    .gallery-controls { bottom: 22px; }
    #deploy > header { padding: 0 24px 36px; }
    #deploy article:nth-of-type(even) .description-block { order: 2; }
    #deploy article:nth-of-type(even) .image-block { order: 1; }
    #activities > h2 { padding: 48px 24px 28px; }
    #activities article { padding: 0 0 34px; }
    #activities { padding-bottom: 18px; }
    #activities .activity-image { height: 250px; }
    #activities .activity-description { padding: 28px 24px 10px; }
    .pricing-container { margin: 0; padding: 0 20px; }
    .pricing-intro { margin-bottom: 28px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
    .price-card { min-height: 0; padding: 26px 22px; border-radius: 16px; }
    .price-card-top h3 { font-size: 27px; }
    .price-value { margin-top: 24px; }
    .price-value strong { font-size: 58px; }
    .price-breakdown { grid-template-columns: 1fr; }
    .price-breakdown span {
        min-height: 0;
        padding: 10px 12px;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 5px;
    }
    .price-details { margin-top: 24px; font-size: 15px; }
    .price-included { padding: 18px; align-items: flex-start; font-size: 14px; }
    .pricing-contact { padding: 24px 20px; flex-direction: column; align-items: stretch; gap: 20px; }
    .pricing-contact h3 { font-size: 26px; }
    .pricing-actions { width: 100%; }
    .pricing-button { flex: 1; }
    .pricing-note { margin: 16px 4px 0; font-size: 13px; }
    #prices .calendar { min-height: 0; margin-top: 28px; padding: 18px 10px 20px; border-radius: 14px; }
    .calendar .header { align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 0 4px 16px; }
    .calendar .header .month { font-size: clamp(26px, 8vw, 34px); line-height: 1; }
    .calendar .header .btns { gap: 6px; }
    .calendar .header .btns .btn { width: 40px; min-width: 40px; height: 40px; font-size: 20px; }
    .weekdays, .days { gap: 4px; }
    .weekdays .day, .days .day { width: calc((100% - 24px) / 7); }
    .weekdays .day { font-size: 13px; margin-top: 4px; color: #777b6e; }
    .days .day { height: 40px; font-size: 14px; border-radius: 7px; }
    .calendar-legend { gap: 12px; justify-content: center; flex-wrap: wrap; font-size: 12px; }
    .calendar-day-details { flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.45; }
    .recipe-container { padding: 0 20px; }
    .recipe-intro { margin-bottom: 28px; }
    .recipe-grid { grid-template-columns: 1fr; gap: 12px; }
    .recipe-card { padding: 24px 20px; border-radius: 15px; }
    .recipe-card-heading { gap: 13px; margin-bottom: 16px; }
    .recipe-number { min-width: 42px; font-size: 29px; }
    .recipe-card h3 { font-size: 24px; }
    .recipe-card > p { font-size: 15px; line-height: 1.55; }
    .contacts-container { padding: 0 24px; }
    .contacts-intro { margin-bottom: 26px; }
    .contacts-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-card { min-height: 98px; padding: 18px; gap: 15px; }
    .contact-icon, .map-provider { width: 44px; height: 44px; flex-basis: 44px; font-size: 21px; }
    .contact-content strong { font-size: 17px; }
    footer .row { padding: 28px 24px; gap: 14px; }
    footer address { font-style: normal; }
}

@media (max-width: 380px) {
    .header-main-text { left: 18px; right: 18px; }
    .calendar .header { flex-direction: column; }
    .calendar .header .btns { width: 100%; }
}
