/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #2f3a32;
    --map-bg: #b5b999;
    --text-color: #000000;
    --text-light: #666666;
    --bg-color: #ffffff;
    --light-bg: #f5f5f5;
    --border-color: #e1e8ed;
    --placeholder-bg: #d9d9d9;
}

html, body, * {
    user-select: none;
    -webkit-user-drag: none;
}

body {
    font-family: 'Cygre', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 40px 0 0 0;
    background: transparent;
    z-index: 1000;
}

.header .container {
    padding: 0 120px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 100%;
}

/* Изначально лого белый на тёмном hero */
.logo a {
    font-family: 'Podarok', 'Cygre', serif;
    font-size: 42px;
    font-weight: 400;
    color: white;
    text-decoration: none;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

/* Изначально (на hero): лого белый, меню зелёный */
.nav a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    padding: 0 30px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--primary-dark);
    opacity: 0.8;
}

/* Контакты внутри бургера:
   по умолчанию скрыто (десктоп), на мобилке включается в @media ниже */
.nav-mobile-contacts {
    display: none;
}

.mobile-menu-toggle {
    color: white;
}

/* На светлом фоне: зелёный текст */
.header-on-white .logo a {
    color: var(--primary-dark);
}

.header-on-white .nav a {
    color: var(--primary-dark);
}

.header-on-white .mobile-menu-toggle {
    color: var(--primary-dark);
}

.nav {
    display: flex;
    gap: 0;
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 34px;
    padding: 0 20px;
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-contacts {
    background: var(--primary-dark);
    color: white;
    padding: 0 50px;
    height: 70px;
    border-radius: 44px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-contacts:hover {
    background: #1e2520;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

/* Hero секция */
.hero-section {
    position: relative;
    width: 100%;
    height: 1000px;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2f3a32 0%, #4a5a4f 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0px;
    width: 100%;
    box-sizing: border-box;
}

.hero-content .container {
    width: 100%;
    padding: 0 120px;
}

.hero-content-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    transform: translateY(20px);
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-end;
    margin-bottom: -33px;
}

.hero-logo {
    max-width: 659px;
    height: auto;
    display: block;
    margin-top: 0px;
}

.calendar-hero .hero-logo,
.catalog-hero .hero-logo {
    max-width: 1318px;
}

.catalog-hero .hero-logo {
    transform: translateY(-20px);
}

.calendar-hero .hero-logo {
    transform: translateY(-5px);
}

.services-hero .hero-logo {
    transform: translateY(-17px);
}

.hero-button-wrapper {
    align-self: flex-end;
    margin-bottom: 0;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 3px solid white;
    border-radius: 40px;
    padding: 8px 12px 8px 40px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 32px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-hero-icon {
    width: 90px;
    height: 56px;
    background: white;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Секции */
section {
    padding: 80px 0;
}

.section-title-left {
    font-family: 'Cygre', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: var(--text-color);
    margin-bottom: 10px;
    margin-top: -20px;
}

/* О нас */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 0 0 565px;
    padding-top: 0;
    margin-top: 0;
}

.about-text-content p {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-text-content p strong {
    font-weight: 500;
}

.about-text-content ul {
    margin: 0 0 20px 0;
    padding-left: 28px; /* чтобы пункты были правее основного текста */
}

.about-text-content li {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 8px;
}

.about-image {
    flex: 1;
    position: relative;
    height: 640px;
    border-radius: 40px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--placeholder-bg);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Галерея */
.gallery-section {
    padding: 60px 0 60px 0;
    /* Было слишком тёмно — делаем светлее */
    background: #EFEFEF;
}

.gallery-section .section-title-left {
    margin-top: -35px;
}

.gallery-grid {
    --col-gap: 19px;
    --row-height: 250px;
    --period-x: calc((100% - 2 * var(--col-gap)) / 3 + var(--col-gap));
    --period-y: calc(var(--row-height) + var(--col-gap));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--col-gap);
    background-image:
        linear-gradient(to right, transparent calc(100% - var(--col-gap)), transparent calc(100% - var(--col-gap) + 8.5px), #DDD calc(100% - var(--col-gap) + 8.5px), #DDD calc(100% - var(--col-gap) + 10.5px), transparent calc(100% - var(--col-gap) + 10.5px)),
        linear-gradient(to bottom, transparent calc(100% - var(--col-gap)), transparent calc(100% - var(--col-gap) + 8.5px), #DDD calc(100% - var(--col-gap) + 8.5px), #DDD calc(100% - var(--col-gap) + 10.5px), transparent calc(100% - var(--col-gap) + 10.5px));
    background-size: var(--period-x) 100%, 100% var(--period-y);
    background-position: 0 0, 0 0;
    background-repeat: repeat-x, repeat-y;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--placeholder-bg);
    box-sizing: border-box;
}

.gallery-item:first-child {
    border-radius: 40px 0 0 0;
}

.gallery-item:nth-child(3) {
    border-radius: 0 40px 0 0;
}

.gallery-item:nth-child(10) {
    border-radius: 0 0 0 40px;
}

.gallery-item:last-child {
    border-radius: 0 0 40px 0;
}

/* Страница галереи: все карточки с закруглением, без серых линий */
.gallery-page-grid {
    background-image: none;
}

.gallery-page-grid .gallery-item {
    border-radius: 24px;
}

.gallery-page-grid .gallery-item:first-child,
.gallery-page-grid .gallery-item:nth-child(3),
.gallery-page-grid .gallery-item:nth-child(10),
.gallery-page-grid .gallery-item:last-child {
    border-radius: 24px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.js-home-gallery-thumb,
.gallery-item.js-gallery-page-thumb {
    cursor: pointer;
}

/* Лайтбокс галереи на главной */
.no-scroll {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.gallery-lightbox.open {
    display: block;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

.gallery-lightbox-dialog {
    position: absolute;
    inset: 24px;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    pointer-events: none;
}

.gallery-lightbox-dialog > * {
    pointer-events: auto;
}

.gallery-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
}

.gallery-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.04);
}

.gallery-lightbox-meta {
    margin-top: 14px;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-family: 'Cygre', sans-serif;
    font-size: 14px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: 26px;
    line-height: 44px;
    cursor: pointer;
    z-index: 2;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: 34px;
    cursor: pointer;
    z-index: 2;
}

.gallery-lightbox-nav.prev { left: 12px; }
.gallery-lightbox-nav.next { right: 12px; }

@media (max-width: 768px) {
    .gallery-lightbox-dialog { inset: 16px; }
    .gallery-lightbox-nav { width: 48px; height: 48px; border-radius: 16px; font-size: 30px; }
    .gallery-lightbox-close { width: 40px; height: 40px; border-radius: 14px; font-size: 24px; line-height: 40px; }
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--placeholder-bg);
}

/* Карта */
.map-section {
    padding: 100px 0 100px 0;
}

.contacts-section + .map-section.map-section--contacts,
.map-section.map-section--contacts {
    padding-top: 0;
    margin-top: -55px;
}

.map-container {
    display: flex;
    gap: 24px;
    background: #ffffff;
    border-radius: 40px;
    padding: 28px;
    min-height: 520px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid #DDD;
}

.map-wrapper {
    flex: 1;
    max-width: 65%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 464px;
}

.map-embed {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 464px;
}

.map-info {
    flex: 0 0 calc(35% - 24px);
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 8px 0;
}

.map-info-item h3 {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #2F3A32;
    margin-bottom: 8px;
}

.map-info-item p {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #2F3A32;
    line-height: 1.5;
}

.map-address {
    line-height: 1.6;
}

.map-link {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #2F3A32;
    text-decoration: underline;
    margin-top: auto;
}

.map-link:hover {
    opacity: 0.85;
}

/* Отзывы */
.reviews-section {
    padding: 20px 0 100px 0;
}

.reviews-slider-wrapper {
    position: relative;
}

.reviews-slider {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.reviews-gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.reviews-slider-wrapper:hover.reviews-has-scroll:not(.reviews-at-end) .reviews-gradient-overlay:not(.reviews-gradient-overlay-left) {
    opacity: 1;
}

.reviews-slider-wrapper:hover.reviews-has-scroll:not(.reviews-at-start) .reviews-gradient-overlay-left {
    opacity: 1;
}

.reviews-gradient-overlay-left {
    left: 0;
    right: auto;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
}

.reviews-arrow-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.reviews-arrow-btn-left {
    left: 20px;
    right: auto;
}

.reviews-slider-wrapper:hover .reviews-arrow-btn {
    opacity: 1;
    pointer-events: auto;
}

.reviews-arrow-btn:hover {
    background: #1e2520;
    transform: translateY(-50%) scale(1.1);
}

.reviews-arrow-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.review-card {
    flex: 0 0 387px;
    min-height: 225px;
    scroll-snap-align: start;
}

.review-content {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 40px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    border: 2px solid #DDD;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-name {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #2F3A32;
}

.review-date {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #888888;
    margin-top: -2px;
}

.review-rating {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #2F3A32;
}

.review-star {
    color: #FFD700;
}

.review-text {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #2F3A32;
    line-height: 1.6;
    margin: 0;
    /* по умолчанию показываем кратко (раскрывается кнопкой) */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.review-card.is-expanded .review-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-toggle {
    align-self: flex-start;
    margin-top: -6px;
    padding: 0;
    border: none;
    background: transparent;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-dark);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.95;
}

.review-toggle:hover {
    opacity: 0.75;
}

.review-arrow {
    font-size: 48px;
    margin-top: 20px;
}

/* Подвал */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 40px 0 0;
    min-height: 279px;
    position: relative;
}

.footer .container {
    position: relative;
}

.footer-logo {
    font-family: 'Podarok', 'Cygre', serif;
    font-size: 48px;
    font-weight: 400;
    color: white;
    margin-bottom: 40px;
}

.footer-content {
    display: grid;
    /* Адресу нужно больше места, чтобы оставаться в 2 строки */
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-email {
    font-family: 'Cygre Book', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
    text-decoration: underline;
    margin-bottom: 6px;
    display: inline-block;
}

.footer-email:hover {
    opacity: 0.8;
}

.footer-company {
    font-family: 'Cygre Book', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
    margin-bottom: 6px;
}

.footer-phone {
    font-family: 'Cygre Book', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
    margin-bottom: 6px;
    display: inline-block;
    text-decoration: none;
}

/* В каждой колонке футтера убираем отступ у последней строки */
.footer-section > :last-child {
    margin-bottom: 0;
}

.footer-phone:hover {
    opacity: 0.8;
}

.footer-address {
    font-family: 'Cygre Book', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-address-line {
    font-family: 'Cygre Book', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
    line-height: 1.5;
    /* Межстрочный отступ как у email/телефонов */
    margin-bottom: 6px;
    /* На ПК хотим ровно 2 строки (как в разметке), без переносов внутри строки */
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.footer-credit-bar {
    margin-top: 40px;
    width: 100%;
    background: #242D26;
    padding: 20px 0;
}

.footer-credit-bar .container {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-credit-text {
    font-family: 'Cygre Book', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
}

.footer-credit-link {
    color: white;
    text-decoration: underline;
}

.footer-credit-link:hover {
    opacity: 0.9;
}

/* Страница новостей */
.promos-page {
    padding: 100px 0;
}

.promos-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.promo-item {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 20px;
}

.promo-image {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    flex: 1;
}

.promo-content h2 {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.promo-text {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.promo-date {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text-light);
}

.empty-state {
    text-align: center;
    padding: 100px 0;
    color: var(--text-light);
    font-size: 24px;
}

/* ===== Страница 404 ===== */
.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--primary-dark) !important;
}

.page-404 .main {
    flex: 1;
    display: flex;
    background: var(--primary-dark) !important;
}

.page-404 section {
    padding: 0;
    flex: 1;
    display: flex;
}

.error-404 {
    flex: 1;
    display: flex;
}

.error-404-hero {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 120px;
    background: var(--primary-dark);
}

.error-404-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 24px 0;
}

.error-404-code {
    display: block;
    font-family: 'Cygre', sans-serif;
    font-weight: 800;
    font-size: 160px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: -20px;
}

.error-404-title {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: white;
    margin: 0 0 16px;
}

.error-404-text {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-dark);
    background: white;
    border-radius: 44px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-404-btn:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* ===== Страница услуг ===== */
.services-section {
    background: white;
    padding: 80px 0 100px;
}

.services-intro {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.services-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.services-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--placeholder-bg);
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.services-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.services-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--placeholder-bg);
    pointer-events: none;
}

.services-card-body {
    padding: 18px 24px 22px;
}

.services-card-title {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-color);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.services-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.services-card-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--text-light);
}

.services-card-duration svg {
    flex-shrink: 0;
}

.services-card-price {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-color);
}

.services-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-light);
    font-family: 'Cygre', sans-serif;
    font-size: 20px;
}

/* ===== Страница контактов ===== */
.contacts-section {
    background: white;
    padding: 80px 0 100px;
}

.contacts-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
}

.contacts-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contacts-card--form {
    border: 2px solid #EAE4E6;
    border-radius: 40px;
    padding: 27px 25px 10px;
    box-shadow: none;
    overflow: visible;
}

.contacts-card--form .booking-widget-title {
    margin-bottom: 30px;
    letter-spacing: normal;
}

.contacts-card--form .contacts-form {
    display: flex;
    flex-direction: column;
    flex: none;
    margin-top: 0;
    justify-content: flex-start;
    min-height: 0;
}

.contacts-card--form .booking-input-wrap {
    max-width: none;
    width: 100%;
}

.contacts-card--form .btn-booking-submit {
    margin-bottom: 0;
}

.contacts-card--info {
    border: 2px solid #EAE4E6;
    border-radius: 40px;
    padding: 27px 25px 27px;
    box-shadow: none;
}

.contacts-card--info .contacts-card-title {
    text-align: center;
    margin-bottom: 30px;
}


.booking-textarea-wrap {
    height: auto;
    min-height: 120px;
    flex-shrink: 0;
}

.booking-textarea-wrap textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    font-family: 'Cygre', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    border: 2px solid #EAE4E6;
    border-radius: 7px;
    background: #F4F4F4;
    box-sizing: border-box;
    resize: none;
    overflow: hidden;
    display: block;
    transition: none;
}

.booking-textarea-wrap textarea::placeholder {
    color: #696969;
}

.booking-textarea-wrap textarea:focus {
    outline: none;
    border-color: #EAE4E6;
}

.contacts-card-title {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-color);
    margin: 0 0 28px 0;
}

.contacts-form input,
.contacts-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Cygre', sans-serif;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f0f0f0;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.contacts-form input::placeholder,
.contacts-form textarea::placeholder {
    color: var(--text-light);
}

.contacts-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.contacts-btn {
    width: 100%;
    padding: 18px;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: white;
    background: var(--primary-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.contacts-btn:hover {
    background: #1e2520;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Cygre', sans-serif;
    font-size: 18px;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contacts-item:hover {
    opacity: 0.8;
}

.contacts-icon {
    flex-shrink: 0;
    color: var(--primary-dark);
}

.contacts-icon-email,
.contacts-icon-telegram {
    color: #2a7ade;
}

.contacts-item--phones {
    cursor: default;
}

.contacts-item--phones:hover {
    opacity: 1;
}

.contacts-phone-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contacts-phone-link:hover {
    opacity: 0.7;
}

/* ===== Страница каталога коттеджей ===== */
.catalog-hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    z-index: 1;
}

.catalog-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.catalog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.catalog-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}


.catalog-section {
    background: var(--light-bg);
    padding: 80px 0 100px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.catalog-card {
    display: block;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.catalog-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.catalog-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--placeholder-bg);
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.catalog-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.catalog-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--placeholder-bg);
}

.catalog-card-body {
    padding: 18px 24px 22px;
}

.catalog-card-name {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-color);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.catalog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.catalog-card-capacity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--text-light);
}

.catalog-card-icon {
    flex-shrink: 0;
    color: var(--text-light);
}

.catalog-card-price {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-color);
}

.catalog-empty {
    text-align: center;
    padding: 100px 0;
    color: var(--text-light);
    font-family: 'Cygre', sans-serif;
    font-size: 24px;
}

/* ===== Страница коттеджа (детальная) ===== */
body.body-house-detail .main {
    /* Hero должен начинаться от самого верха (фото не опускаем) */
    padding-top: 0;
}

/* Hero */
.house-hero {
    position: relative;
    width: 100%;
    /* Чтобы контент hero не "выпирал" вверх (и не залезал на шапку) */
    min-height: 760px;
    height: auto;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    background: var(--primary-dark);
}

.house-hero-bg {
    position: absolute;
    inset: 0;
}

.house-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.05);
}

.house-hero-fallback {
    width: 100%;
    height: 100%;
    background: radial-gradient(1200px 700px at 50% 20%, rgba(181, 185, 153, 0.35) 0%, rgba(47, 58, 50, 1) 60%);
}

.house-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 20% 10%, rgba(0,0,0,0.25), transparent 60%),
        linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.75) 100%);
}

.house-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    /* Резерв под фиксированную шапку, чтобы контент внутри hero не попадал под неё */
    padding-top: 150px;
    padding-bottom: 40px;
}

.house-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-family: 'Cygre', sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
}

.house-breadcrumbs a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.house-breadcrumbs a:hover {
    border-bottom-color: rgba(255,255,255,0.55);
}

.house-breadcrumbs .sep {
    opacity: 0.8;
}

.house-breadcrumbs .current {
    opacity: 0.9;
}

.house-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: end;
}

.house-title {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.08;
    color: white;
    margin: 0 0 14px;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.house-subtitle {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,0.9);
    margin: 0 0 22px;
    max-width: 720px;
}

.house-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.house-fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(6px);
    min-width: 160px;
}

.house-fact .label {
    font-family: 'Cygre', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.house-fact .value {
    font-family: 'Cygre', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.house-cta-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 24px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 34px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
}

.house-cta-title {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 6px;
}

.house-cta-price {
    font-family: 'Cygre', sans-serif;
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 14px;
}

.house-cta-btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 16px 18px;
    border-radius: 26px;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    background: #2F3A32;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.house-cta-btn:hover {
    background: #2F3A32;
    transform: translateY(-1px);
}

.house-cta-note {
    margin-top: 10px;
    font-family: 'Cygre', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(0,0,0,0.55);
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--placeholder-bg);
    overflow: hidden;
}

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

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 12px;
    padding: 16px;
}

.gallery-thumbs .thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.85;
}

.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active {
    border-color: var(--primary-dark);
    opacity: 1;
}

.house-detail {
    background: var(--light-bg);
    padding: 64px 0 110px;
}

.house-detail-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

.house-main-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Универсальная карточка */
.house-card {
    background: white;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.house-card-head {
    padding: 22px 26px 18px;
    border-bottom: 2px solid var(--light-bg);
}

.house-card-head h2 {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--text-color);
    margin: 0;
}

.house-card-body {
    padding: 22px 26px 26px;
}

.house-text {
    font-family: 'Cygre', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-color);
    margin: 0;
}

.house-muted {
    font-family: 'Cygre', sans-serif;
    color: var(--text-light);
    margin: 0;
}

/* Галерея внутри карточки */
.house-gallery-card .house-card-head {
    border-bottom: none;
    padding-bottom: 12px;
}

.house-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--placeholder-bg);
    overflow: hidden;
    border-top: 1px solid var(--light-bg);
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.house-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

.house-gallery-strip-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 8px 20px;
}

.house-gallery-strip {
    flex: 1;
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
    /* фиксируем высоту, чтобы блок не раздувался от количества фото */
    height: 100px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Чтобы высота блока не "прыгала" при появлении скроллбара */
    scrollbar-width: none;
    padding: 8px 0;
}

.house-gallery-strip::-webkit-scrollbar {
    display: none;
    height: 0;
}

.house-gallery-strip::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

.house-gallery-strip::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.house-gallery-item {
    flex: 0 0 110px;
    width: 110px;
    aspect-ratio: 4/3;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--placeholder-bg);
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.house-gallery-item.active {
    border-color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.house-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.house-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.house-gallery-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: white;
    color: var(--text-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.house-gallery-nav:hover {
    background: var(--light-bg);
    border-color: var(--primary-dark);
}

.house-gallery-nav:disabled,
.house-gallery-nav[style*="pointer-events: none"] {
    cursor: default;
}

/* Удобства — списком с «галочкой» */
.amenities-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.amenity-item {
    position: relative;
    padding-left: 26px;
    font-family: 'Cygre', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
}

.amenity-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #B5B999;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.05);
}

.house-floor-plan {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    background: var(--placeholder-bg);
}

.house-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.house-booking-card,
.house-availability-card {
    background: white;
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
}

.house-booking-card h3,
.house-availability-card h3 {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--text-color);
    margin: 0 0 20px;
}

.house-price-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.house-price-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-bg);
}

.house-price-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.house-price-line span {
    font-family: 'Cygre', sans-serif;
    font-size: 14px;
    color: var(--text-light);
}

.house-price-line strong {
    font-family: 'Cygre', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.house-booking-card .btn-block {
    display: block;
    text-align: center;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding: 0 24px;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 20px;
    border-radius: 26px;
    text-decoration: none;
    color: white;
    background: #2F3A32;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.house-booking-card .btn-block:hover {
    background: #2F3A32;
    transform: translateY(-1px);
}

.house-availability-card .amenities-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
    .house-hero-grid {
        grid-template-columns: 1fr;
    }
    .house-detail-content {
        grid-template-columns: 1fr;
    }
    .house-sidebar {
        position: static;
    }
    .house-hero {
        min-height: 720px;
        height: auto;
    }

    .house-hero-content { padding-top: 120px; }

    .house-title {
        font-size: 40px;
    }

    .house-cta-card {
        border-radius: 20px;
        padding: 16px 16px 14px;
    }
}

@media (max-width: 768px) {
    .house-hero {
        min-height: 680px;
        height: auto;
        border-radius: 0 0 24px 24px;
    }
    .house-hero-content {
        padding-bottom: 36px;
    }
    .house-title {
        font-size: 34px;
    }
    .house-subtitle {
        font-size: 16px;
    }
    .gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .house-card-head,
    .house-card-body {
        padding-left: 18px;
        padding-right: 18px;
    }
    .house-gallery-item {
        flex: 0 0 80px;
        width: 80px;
    }
    .house-gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .house-hero-content { padding-top: 98px; }

    .house-hero {
        min-height: 680px;
        height: auto;
    }

    .house-hero-content { padding-bottom: 22px; }

    .house-title {
        font-size: 30px;
    }

    .house-fact {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .house-fact .value {
        font-size: 16px;
    }

    .house-cta-card {
        border-radius: 18px;
        padding: 14px 14px 12px;
    }

    .house-cta-btn {
        padding: 14px 16px;
        border-radius: 18px;
        font-size: 18px;
    }

    /* Ещё компактнее блоки на телефоне, чтобы всё помещалось */
    .house-detail-content {
        gap: 16px;
    }

    .house-main-info {
        gap: 14px;
    }

    .house-gallery-strip-wrapper {
        padding: 12px 6px 14px;
        gap: 8px;
    }

    .house-gallery-strip {
        gap: 10px;
        height: 84px;
    }

    .house-gallery-item {
        flex: 0 0 72px;
        width: 72px;
        border-radius: 10px;
    }

    .house-gallery-nav {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 18px;
    }

    .house-booking-card,
    .house-availability-card {
        padding: 16px 14px;
    }

    .amenity-item {
        font-size: 14px;
        padding-left: 22px;
    }

    .amenity-item::before {
        top: 5px;
        width: 12px;
        height: 12px;
        border-radius: 4px;
    }

    /* ===== Домик: максимально компактная мобильная версия (как на календаре) ===== */
    .house-title { font-size: 28px; }
    .house-subtitle { font-size: 15px; margin-bottom: 14px; }
    .house-facts { gap: 8px; }
    .house-fact { padding: 8px 10px; }
    .house-fact .label { font-size: 12px; }
    .house-fact .value { font-size: 15px; }

    .house-cta-title,
    .house-cta-price { font-size: 14px; }
    .house-cta-note { font-size: 11px; }

    .house-card { border-radius: 16px; }
    .house-card-head { padding: 14px 14px 10px; }
    .house-card-body { padding: 14px; }
    .house-card-head h2 { font-size: 16px; }
    .house-text { font-size: 15px; line-height: 1.6; }

    /* Галерея домика: без горизонтального скролла (всё помещается) */
    .house-gallery-strip-wrapper {
        display: block;
        padding: 12px 12px 14px;
    }

    .house-gallery-nav {
        display: none;
    }

    .house-gallery-strip {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        height: auto;
        overflow: visible;
        padding: 0;
    }

    .house-gallery-item {
        flex: initial;
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }

    .house-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ===== Страница календаря бронирования ===== */
.calendar-section {
    background: white;
    padding: 80px 0 100px;
}

.calendar-section-intro {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 24px;
}

.calendar-house-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.calendar-house-tab {
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 14px 28px;
    border: none;
    border-radius: 9999px;
    background: var(--light-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-house-tab:hover {
    background: #e8e8e8;
}

.calendar-house-tab.active {
    background: var(--primary-dark);
    color: white;
}

.calendar-content {
    display: grid;
    grid-template-columns: 688px 484px;
    gap: 28px;
    align-items: stretch;
}

/* Календарь — по макету Figma (node 20:235) */
.calendar-widget {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 24px 34px 28px;
    border: 2px solid #EAE4E6;
    box-shadow: none;
    max-width: 688px;
    width: 688px;
    height: auto;
    min-height: 600px;
    box-sizing: border-box;
    overflow: hidden;
    line-height: normal;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.calendar-nav-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: background 0.2s;
}

.calendar-nav-btn:hover {
    background: transparent;
}

.calendar-month {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-color);
    letter-spacing: 0.96px;
    margin: 0;
    line-height: normal;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 80px);
    gap: 10px;
    margin-bottom: 19px;
    text-align: center;
}

.calendar-weekdays span {
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--text-color);
    letter-spacing: 0.96px;
    line-height: normal;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 80px);
    gap: 10px;
    margin-bottom: 29px;
    position: relative;
}

.calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 24px;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    letter-spacing: 0.96px;
    color: #696969;
    cursor: default;
    transition: all 0.2s;
    user-select: none;
    line-height: normal;
    position: relative;
    z-index: 1;
}

.calendar-range-bar {
    position: absolute;
    background: #3F4322;
    border-radius: 8px;
    z-index: 0;
    pointer-events: none;
}

.calendar-day.other-month {
    color: #696969;
    font-weight: 400;
    cursor: default;
}

.calendar-day.booked {
    background: transparent;
    color: #696969;
    cursor: default;
}

.calendar-day.available-weekday {
    background: #B5B999;
    color: #fff;
    cursor: pointer;
}

.calendar-day.available-weekday:hover {
    background: #B5B999;
}

.calendar-day.available-weekend {
    background: #6E7256;
    color: #fff;
    cursor: pointer;
}

.calendar-day.available-weekend:hover {
    background: #6E7256;
}

.calendar-day.selected {
    box-shadow: 0 0 0 2px #3F4322;
}

.calendar-day.selected.available-weekday {
    background: #B5B999;
    color: #fff;
}

.calendar-day.selected.available-weekend {
    background: #6E7256;
    color: #fff;
}

.calendar-day.in-range {
    background: transparent;
    color: #fff;
}

.calendar-day.in-range.available-weekday {
    background: #3F4322;
    color: #fff;
}

.calendar-day.in-range.available-weekend {
    background: #3F4322;
    color: #fff;
}

.calendar-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 2px solid #EAE4E6;
}

.calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--text-color);
    line-height: normal;
}

.calendar-legend-item .calendar-legend-label {
    flex: 1;
}

.calendar-legend-item .calendar-legend-price {
    font-weight: 400;
    color: var(--text-color);
}

.calendar-legend-box {
    width: 27px;
    height: 27px;
    border-radius: 3px;
    flex-shrink: 0;
}

.calendar-legend-box.weekday {
    background: #B5B999;
}

.calendar-legend-box.weekend {
    background: #6E7255;
}

/* Блок бронирования */
.booking-widget {
    width: 484px;
    height: 100%;
    min-height: 600px;
    background: #FFFFFF;
    border: 2px solid #EAE4E6;
    border-radius: 40px;
    padding: 27px 25px 10px;
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    line-height: normal;
}

.booking-widget-title {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-color);
    letter-spacing: 0.96px;
    text-align: center;
    margin: 0 0 30px 0;
}

.booking-date-range {
    width: 100%;
    max-width: 434px;
    height: 48px;
    background: #F4F4F4;
    border: 2px solid #EAE4E6;
    border-radius: 7px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.booking-date-start,
.booking-date-end {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #000;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.booking-date-start { justify-self: start; }
.booking-date-end { justify-self: end; }

.booking-date-dash {
    justify-self: center;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #000;
    line-height: 1;
    white-space: nowrap;
    padding: 0 12px;
}

.booking-date-range.is-tight .booking-date-start,
.booking-date-range.is-tight .booking-date-end {
    font-size: 18px;
}

.booking-date-range.is-tight .booking-date-dash {
    font-size: 18px;
}

.booking-date-range.is-single {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
}

.booking-date-range.is-single .booking-date-dash,
.booking-date-range.is-single .booking-date-end {
    display: none;
}

.booking-date-range.is-single .booking-date-start {
    justify-self: center;
    text-align: center;
}

.booking-separator {
    height: 0;
    border-top: 2px solid #EAE4E6;
    margin: 27px -25px 27px;
}

.booking-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
}

.booking-info-row:last-of-type {
    margin-bottom: 0;
}

.booking-info-label {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #696969;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.booking-info-line {
    height: 0;
    border-top: 2px solid #EAE4E6;
    flex: 1 1 auto;
    min-width: 12px;
}

.booking-info-value {
    font-family: 'Cygre', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    white-space: nowrap;
    flex: 0 0 auto;
}

.booking-form {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
}

.booking-input-wrap {
    position: relative;
    width: 100%;
    max-width: 434px;
    height: 48px;
    margin: 0 auto 9px;
}

.booking-input-wrap.booking-textarea-wrap {
    height: auto;
}

.booking-input-wrap:last-of-type {
    margin-bottom: 12px; /* как в Figma перед кнопкой */
}

.booking-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #000;
    pointer-events: none;
}

.booking-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 56px;
    font-family: 'Cygre', sans-serif;
    font-size: 20px;
    border: 2px solid #EAE4E6;
    border-radius: 7px;
    background: #F4F4F4;
    box-sizing: border-box;
}

.booking-input-wrap input::placeholder {
    color: #696969;
}

.booking-input-wrap input:focus {
    outline: none;
    border-color: #EAE4E6;
}

.btn-booking-submit {
    /* шире: почти на весь блок бронирования (чуть меньше, чем сам виджет) */
    width: calc(100% + 30px);
    max-width: none;
    height: 60px;
    margin: 14px -15px 0;
    display: block;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: white;
    background: #2F3A32;
    border: none;
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-booking-submit:hover {
    background: #2F3A32;
}

.calendar-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-light);
    font-family: 'Cygre', sans-serif;
    font-size: 20px;
}

/* Адаптивность */
@media (max-width: 1440px) {
    .container {
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 120px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 80px;
        margin-left: 40px;
    }
    
    .hero-subtitle {
        margin-left: 40px;
    }
    
    .hero-button-wrapper {
        right: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        flex: 1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-container {
        flex-direction: column;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-content {
        grid-template-columns: 1fr;
    }
    
    .contacts-cards {
        grid-template-columns: 1fr;
    }
    
    .booking-widget {
        position: static;
        width: 100%;
        max-width: 484px;
        height: auto;
        margin: 0 auto;
    }

    .booking-date-range,
    .booking-input-wrap {
        width: 100%;
    }

    .booking-date-range {
        padding: 0 24px;
    }

    .booking-separator {
        margin-left: -25px;
        margin-right: -25px;
    }

    .btn-booking-submit {
        width: calc(100% + 30px);
        margin: 24px -15px 0;
    }
}

/* Защита от переполнения между 1025–1200px (фикс-ширины 688+484+28=1200) */
@media (max-width: 1240px) {
    .calendar-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

/* ПК/планшет: при сжатии окна включаем "мобильную" шапку (бургер + off-canvas) */
@media (max-width: 1024px) {
    html, body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 20px;
    }

    .header {
        padding: 14px 0 0 0;
        z-index: 1400;
    }

    /* перебиваем более специфичный padding 120px */
    .header .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .hero-content .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .header-actions {
        display: none;
    }

    .nav {
        display: flex;
        flex-direction: column;
        gap: 14px;
        position: fixed;
        inset: 0;
        height: 100vh;
        height: 100dvh;
        width: 100vw;
        max-width: 100vw;
        padding: 90px max(18px, env(safe-area-inset-right)) 18px max(18px, env(safe-area-inset-left));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-radius: 0;
        box-shadow: -16px 0 40px rgba(0,0,0,0.18);
        transform: translate3d(100%, 0, 0);
        transition: none;
        z-index: 1300;
        align-items: stretch;
        box-sizing: border-box;
        will-change: transform;
        pointer-events: none;
        overflow-y: auto;
    }

    /* Анимацию включаем только после первого кадра (JS добавляет класс) */
    html.nav-anim .nav {
        transition: transform 0.25s ease;
    }

    .nav.is-open {
        transform: translate3d(0, 0, 0) !important;
        pointer-events: auto;
    }

    html.nav-open .nav {
        transform: translate3d(0, 0, 0) !important;
        pointer-events: auto;
    }

    .nav a {
        color: var(--primary-dark);
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 14px;
        background: rgba(47, 58, 50, 0.06);
        white-space: normal;
    }

    .nav a:hover {
        opacity: 1;
        background: rgba(47, 58, 50, 0.10);
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: white;
        padding: 0;
        line-height: 1;
        font-size: 24px;
        position: relative;
        z-index: 1401;
    }

    /* Затемнение под меню */
    .mobile-nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1200;
    }

    html.nav-open .mobile-nav-backdrop {
        display: block;
    }

    html.nav-open,
    html.nav-open body {
        overflow: hidden;
    }

    html.nav-open .header .logo a {
        color: var(--primary-dark);
    }

    html.nav-open .header .mobile-menu-toggle {
        color: var(--primary-dark);
    }

    /* Подвал: адаптация при сжатии окна на ПК/планшетах */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-logo {
        font-size: 36px;
        margin-bottom: 22px;
    }

    .footer-email,
    .footer-company,
    .footer-phone,
    .footer-address,
    .footer-address-line,
    .footer-credit-text {
        font-size: 18px;
        line-height: 1.5;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* На узких экранах разрешаем переносы внутри строки адреса */
    .footer-address-line {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    /* Никогда не скроллим страницу по горизонтали на телефонах */
    html, body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 20px;
    }

    /* Шапка на телефонах: только лого + бургер */
    .header {
        padding: 14px 0 0 0;
        z-index: 1400;
    }

    /* ВАЖНО: более специфичное правило .header .container (120px) перебиваем на мобилке */
    .header .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    /* Аналогично для контента hero (там тоже задано padding: 0 120px) */
    .hero-content .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .header-actions {
        display: none;
    }
    
    .nav {
        display: flex;
        flex-direction: column;
        gap: 14px;
        position: fixed;
        /* fixed panel: всегда в пределах экрана (никаких "уехало вправо") */
        inset: 0;
        height: 100vh;
        height: 100dvh;
        width: 100vw;
        max-width: 100vw;
        padding: 90px max(18px, env(safe-area-inset-right)) 18px max(18px, env(safe-area-inset-left));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-radius: 0;
        box-shadow: -16px 0 40px rgba(0,0,0,0.18);
        transform: translate3d(100%, 0, 0);
        transition: none;
        z-index: 1300;
        align-items: stretch;
        box-sizing: border-box;
        will-change: transform;
        pointer-events: none;
        overflow-y: auto;
    }

    /* Анимацию включаем только после первого кадра (JS добавляет класс) */
    html.nav-anim .nav {
        transition: transform 0.25s ease;
    }

    .nav.is-open {
        transform: translate3d(0, 0, 0) !important;
        pointer-events: auto;
    }

    /* На всякий случай: JS всегда ставит html.nav-open */
    html.nav-open .nav {
        transform: translate3d(0, 0, 0) !important;
        pointer-events: auto;
    }

    .nav a {
        color: var(--primary-dark);
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 14px;
        background: rgba(47, 58, 50, 0.06);
        white-space: normal;
    }

    .nav a:hover {
        opacity: 1;
        background: rgba(47, 58, 50, 0.10);
    }

    .nav-mobile-contacts {
        display: block;
        text-align: left;
        background: var(--primary-dark);
        color: white;
        font-weight: 700;
        margin-top: 6px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: white;
        padding: 0;
        line-height: 1;
        font-size: 24px;
        position: relative;
        z-index: 1401;
    }

    /* Затемнение под мобильное меню */
    .mobile-nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1200;
    }

    html.nav-open .mobile-nav-backdrop {
        display: block;
    }

    html.nav-open,
    html.nav-open body {
        overflow: hidden;
    }

    /* Когда открыто мобильное меню: лого и крестик/бургер — зелёные */
    html.nav-open .header .logo a {
        color: var(--primary-dark);
    }

    html.nav-open .header .mobile-menu-toggle {
        color: var(--primary-dark);
    }

    /* ===== Календарь (страница /booking): на телефонах всё должно помещаться ===== */
    .calendar-content {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: stretch;
    }

    .calendar-widget {
        width: 100%;
        max-width: none;
        min-height: 0;
        padding: 18px 16px 18px;
        border-radius: 24px;
    }

    .calendar-nav {
        margin-bottom: 18px;
    }

    .calendar-month {
        font-size: 20px;
        letter-spacing: 0.4px;
    }

    /* Убираем фиксированные 80px колонки, чтобы не было переполнения */
    .calendar-weekdays,
    .calendar-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 6px;
    }

    .calendar-weekdays span {
        font-size: 12px;
        letter-spacing: 0.2px;
    }

    .calendar-day {
        width: 100%;
        height: 42px;
        font-size: 14px;
        letter-spacing: 0.2px;
    }

    .calendar-legend {
        gap: 8px;
        padding-top: 16px;
        margin-top: 16px;
    }

    .calendar-legend-item {
        font-size: 14px;
    }

    .calendar-legend-box {
        width: 18px;
        height: 18px;
    }

    /* Виджет "Выберите даты" */
    .booking-widget {
        position: static;
        top: auto;
        width: 100%;
        max-width: none;
        min-height: 0;
        height: auto;
        padding: 18px 16px 16px;
        border-radius: 24px;
    }

    .booking-widget-title {
        font-size: 20px;
        letter-spacing: 0.2px;
        margin-bottom: 16px;
    }

    .booking-date-range {
        max-width: none;
        padding-left: 14px;
        padding-right: 14px;
    }

    .booking-date-start,
    .booking-date-end,
    .booking-date-dash {
        font-size: 16px;
    }

    .booking-info-row {
        gap: 10px;
        margin-bottom: 14px;
        flex-wrap: wrap; /* чтобы длинные подписи не ломали строку */
    }

    .booking-info-label {
        font-size: 16px;
        white-space: normal;
    }

    .booking-info-value {
        font-size: 16px;
    }

    /* ===== Страница коттеджа: делаем карточки компактнее на телефонах ===== */
    .house-detail {
        padding: 36px 0 70px;
    }

    .house-card {
        border-radius: 18px;
    }

    .house-card-head {
        padding: 16px 16px 12px;
    }

    .house-card-body {
        padding: 16px 16px 18px;
    }

    .house-card-head h2 {
        font-size: 18px;
    }

    .house-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .house-booking-card,
    .house-availability-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .house-booking-card h3,
    .house-availability-card h3 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .house-price-line span {
        font-size: 13px;
    }

    .house-price-line strong {
        font-size: 16px;
    }

    .house-booking-card .btn-block {
        height: 52px;
        line-height: 52px;
        font-size: 18px;
        border-radius: 18px;
    }

    .house-fact {
        min-width: 0;
        flex: 1 1 0;
    }

    /* Отзывы на телефонах: без горизонтального свайпа */
    .reviews-track {
        flex-direction: column;
        overflow-x: hidden;
        scroll-snap-type: none;
        gap: 16px;
        padding-bottom: 0;
    }

    .review-card {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
    }

    .reviews-arrow-btn,
    .reviews-gradient-overlay,
    .reviews-gradient-overlay-left {
        display: none !important;
    }
    
    .hero-title {
        font-size: 60px;
        margin-left: 20px;
    }

    /* Главная: hero-фото на телефонах ниже (не гигантское) */
    .home-page .hero-section {
        height: 420px;
    }

    /* Главная: на телефонах убираем кнопку "Выбрать коттедж" */
    .home-page .hero-button-wrapper {
        display: none !important;
    }

    /* Hero-лого: делаем меньше на телефонах на всех страницах */
    .hero-logo {
        max-width: min(78vw, 320px) !important;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-left: 20px;
    }
    
    .hero-button-wrapper {
        right: 20px;
        bottom: 40px;
    }
    
    .btn-hero {
        font-size: 20px;
        padding: 15px 25px;
    }
    
    .section-title-left {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Главная: убираем "сетку" (фоновые линии) между фото на телефоне */
    .gallery-grid {
        background-image: none !important;
        background-size: auto !important;
        background-position: 0 0 !important;
        background-repeat: no-repeat !important;
    }

    /* Главная: галерея без закруглений на телефоне */
    .gallery-section .gallery-item,
    .gallery-section .gallery-item:first-child,
    .gallery-section .gallery-item:nth-child(3),
    .gallery-section .gallery-item:nth-child(10),
    .gallery-section .gallery-item:last-child {
        border-radius: 0 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer {
        padding-top: 28px;
    }

    .footer-logo {
        font-size: 34px;
        margin-bottom: 18px;
    }

    .footer-credit-bar {
        margin-top: 24px;
    }
    
    .promo-item {
        flex-direction: column;
    }
    
    .promo-image {
        flex: 1;
        width: 100%;
    }
    
    .catalog-hero {
        height: 400px;
    }
    
    .catalog-section {
        padding: 40px 0 60px;
    }
    
    .catalog-card-name {
        font-size: 22px;
    }
    
    .catalog-card-body {
        padding: 20px;
    }
    
    .error-404-code {
        font-size: 100px;
    }
    
    .error-404-title {
        font-size: 28px;
    }
    
    .error-404-text {
        font-size: 16px;
    }
    
    .calendar-section {
        padding: 40px 0 60px;
    }
    
    .calendar-house-tabs {
        flex-direction: column;
    }
    
    .calendar-house-tab {
        width: 100%;
    }
    
    .calendar-widget {
        padding: 24px;
    }
    
    .calendar-day {
        font-size: 14px;
    }
    
    .services-section {
        padding: 40px 0 60px;
    }
    
    
    .services-card-title {
        font-size: 22px;
    }
    
    .contacts-cards {
        grid-template-columns: 1fr;
    }
    
    .contacts-section {
        padding: 40px 0 60px;
    }
    
    .contacts-card {
        padding: 24px;
    }
    
    .contacts-card--form {
        padding: 27px 25px 10px;
    }
    
    .contacts-card--info {
        padding: 27px 25px;
    }

    /* Контакты: телефоны на мобилке — компактнее, без переноса внутри номера */
    .contacts-phones {
        font-size: 16px;
        line-height: 1.4;
    }

    .contacts-phone-link {
        font-size: 16px;
        white-space: nowrap;
    }

    /* Карта на мобилке: на всю ширину, блоки друг под другом */
    .map-container {
        flex-direction: column;
        padding: 18px;
        border-radius: 28px;
        min-height: 0;
    }

    .map-wrapper {
        max-width: 100%;
        width: 100%;
        min-height: 320px;
    }

    .map-embed {
        min-height: 320px;
    }

    .map-info {
        flex: none;
        width: 100%;
        padding: 0;
        gap: 16px;
    }
}
