/* ========== CSS Variables ========== */
:root {
    --bg-color: #f6f6f4;
    --text-color: #2e2e2e;
    --accent-color: #5b523e;
    --accent-light: #926946;
    --dark-color: #050504;
    --white: #ffffff;
    --gray: #e5e5e5;
    --overlay: rgba(0, 0, 0, 0.5);
    --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --past-bg: #e0e0e0;
    --past-text: #999;
    --booked-bg: #4CAF50;
    --our-bg: #ff4136;
    --mandatory-bg: #2E7D32;
    --holiday-bg: #fff0f0;
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-color);
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.logo img {
    height: 40px;
    width: auto;
}

/* Burger menu */
.burger-menu {
    width: 30px;
    height: 30px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    transition: 0.3s;
}

.burger-menu span:first-child { top: 6px; }
.burger-menu span:nth-child(2) { top: 14px; }
.burger-menu span:last-child { bottom: 6px; }

.burger-menu.active span:first-child {
    transform: rotate(45deg);
    top: 14px;
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:last-child {
    transform: rotate(-45deg);
    bottom: 14px;
}

/* Side menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -33%;
    width: 33%;
    height: 100vh;
    background: var(--white);
    z-index: 200;
    padding: 2rem;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.side-menu.open { right: 0; }

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray);
}

.side-menu-title {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.side-menu-nav { flex: 1; }

.menu-items {
    list-style: none;
}

.menu-items li {
    margin-bottom: 1rem;
}

.menu-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
}

.menu-link:hover {
    color: var(--accent-light);
}

.side-menu-footer {
    border-top: 1px solid var(--gray);
    padding-top: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    text-decoration: none;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.menu-phone a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-content {
    margin-top: var(--header-height);
}

/* ========== Global Section Styles ========== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

/* ========== Buttons ========== */
.btn, .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn {
    background: var(--accent-color);
    color: var(--white);
}

.btn:hover {
    background: var(--accent-light);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-outline:disabled,
.btn-outline.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-large {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-align: center;
    display: block;
}

.btn-small {
    padding: 6px 15px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    width: fit-content;
    margin: 0 auto;
}

.btn-small:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* ========== Hero Section with Video ========== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    background: #2e2e2e;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-price {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: bold;
}

/* ========== About Section ========== */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-video-col {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-text-col {
    padding: 20px;
}

.about-title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-guests {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    border-top: 1px solid var(--gray);
    padding-top: 20px;
}

/* ========== Calendar Shared Styles ========== */
.calendar-section,
.availability-calendar {
    background: var(--white);
}

.calendar-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.month {
    flex: 1;
    min-width: 300px;
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.month h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.month table {
    width: 100%;
    border-collapse: collapse;
}

.month th,
.month td {
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--gray);
}

.month th {
    background: var(--accent-color);
    color: var(--white);
    font-weight: normal;
}

.month td {
    background: var(--white);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#currentMonthRange {
    font-weight: 500;
    color: var(--accent-color);
}

.calendar-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* ========== Calendar Date States ========== */
.month td.past {
    background: var(--past-bg) !important;
    color: var(--past-text) !important;
    opacity: 0.6;
    pointer-events: none;
}

.month td.booked-full {
    background: var(--booked-bg) !important;
    color: white !important;
    pointer-events: none;
}

.month td.booked-start {
    background: linear-gradient(90deg, transparent 50%, var(--booked-bg) 50%) !important;
}

.month td.booked-end {
    background: linear-gradient(90deg, var(--booked-bg) 50%, transparent 50%) !important;
}

.month td.check-in {
    background: linear-gradient(90deg, transparent 50%, var(--our-bg) 50%) !important;
}

.month td.check-out {
    background: linear-gradient(90deg, var(--our-bg) 50%, transparent 50%) !important;
}

.month td.selected-range {
    background: var(--our-bg) !important;
    color: white !important;
}

.month td.our-check-in-on-end {
    background: linear-gradient(90deg, var(--booked-bg) 50%, var(--our-bg) 50%) !important;
    color: white !important;
}

.month td.our-check-out-on-start {
    background: linear-gradient(90deg, var(--our-bg) 50%, var(--booked-bg) 50%) !important;
    color: white !important;
}

.month td:not(.past):not([class*="booked"]):not([class*="check"]):not([class*="selected"]):not([class*="our"]) {
    cursor: pointer;
}

.month td:not(.past):not([class*="booked"]):not([class*="check"]):not([class*="selected"]):not([class*="our"]):hover {
    background: #f0f0f0;
}

/* ========== Saturday & Holiday Highlights ========== */
.month td[data-day="6"],
.month td.holiday {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: -1px;
    position: relative;
    z-index: 1;
}

.month td[data-day="6"]:not(.past):not([class*="booked"]):not([class*="check"]):not([class*="selected"]):not([class*="our"]),
.month td.holiday:not(.past):not([class*="booked"]):not([class*="check"]):not([class*="selected"]):not([class*="our"]) {
    background: var(--holiday-bg) !important;
}

/* ========== Booking Rules & Consent ========== */
.booking-rules {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 15px;
    margin: 30px 0;
}

.booking-rules h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rules-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.rules-scroll p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rules-scroll::-webkit-scrollbar {
    width: 6px;
}

.rules-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.rules-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: 3px;
}

.consent-block {
    margin: 30px 0 20px;
    padding: 15px 0;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
    background: rgba(245,245,245,0.3);
}

.consent-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px;
}

.consent-checkbox input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.consent-checkbox label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1.4;
}

/* ========== Quick Booking Form ========== */
.quick-booking {
    margin-top: 40px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-booking h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.booking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.booking-form .form-row {
    flex: 1 1 200px;
}

.booking-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.booking-form input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
}

.booking-form .btn {
    padding: 10px 30px;
}

/* ========== Full Booking Form ========== */
.booking-form-full {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.booking-form-full h3 {
    color: var(--accent-color);
    margin: 20px 0 10px;
    font-size: 1.3rem;
}

.services label {
    display: block;
    margin-bottom: 8px;
}

.services input {
    margin-right: 8px;
}

select, textarea, .personal-info input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.personal-info input {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ========== Price Estimate ========== */
.price-estimate {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.price-estimate h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

#priceDisplay .total-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-align: right;
    padding: 10px;
    background: white;
    border-radius: 4px;
}

/* ========== Room Description ========== */
.room-description {
    margin: 40px 0;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.room-description h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* ========== Additional Services Day Selector ========== */
.service-days-selector {
    margin: 10px 0;
}

.days-count-select {
    width: 100%;
    max-width: 200px;
    padding: 8px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    margin-left: 10px;
}

.day-selector-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.day-selector-item {
    flex: 1 1 calc(14.28% - 10px);
    min-width: 80px;
    padding: 10px;
    background: white;
    border: 2px solid var(--gray);
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    user-select: none;
}

.day-selector-item.selected {
    background: var(--booked-bg) !important;
    color: white !important;
    border-color: #2E7D32 !important;
}

.day-selector-item.saturday-mandatory,
.day-selector-item.holiday-mandatory,
.day-selector-item.couple-mandatory {
    background: var(--mandatory-bg) !important;
    color: white !important;
    opacity: 0.9;
    cursor: not-allowed;
    border: 2px solid #1B5E20 !important;
}

.day-selector-item.saturday-mandatory:hover,
.day-selector-item.holiday-mandatory:hover,
.day-selector-item.couple-mandatory:hover {
    background: var(--mandatory-bg) !important;
    transform: none;
}

.day-selector-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.day-selector-item:not(.selected):not(.disabled):hover {
    background: #e0e0e0;
    border-color: var(--accent-light);
}

/* ========== Contacts & Map ========== */
.contacts-section .map-container {
    margin-top: 2rem;
}

.contacts-section .map-container iframe {
    width: 100% !important;
    border: 0;
}

.map-placeholder {
    margin-top: 2rem;
    padding: 2rem;
    background: #f0f0f0;
    text-align: center;
    border-radius: 8px;
    color: #666;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 2rem 0;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent-light);
}

/* ========== Notifications ========== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 20px;
    border-radius: 4px;
    z-index: 1000;
    max-width: 350px;
    animation: slideIn 0.3s ease;
}

.notification.success {
    border-left-color: #4caf50;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========== Messenger Selection ========== */
.messenger-section {
    margin: 30px 0 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.messenger-section h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.messenger-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.messenger-option {
    flex: 0 1 auto;
    min-width: 200px;
}

.messenger-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s;
    user-select: none;
}

.messenger-label:hover {
    background: #e9ecef;
}

.messenger-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.messenger-label.disabled:hover {
    background: transparent;
}

.messenger-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.messenger-checkbox:disabled {
    cursor: not-allowed;
}

.messenger-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.messenger-input-container {
    margin-top: 10px;
    margin-left: 42px;
}

.messenger-input {
    width: 100%;
    min-width: 280px;
    max-width: 350px;
    padding: 10px 14px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.messenger-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(91,82,62,0.1);
}

.messenger-input.error {
    border-color: #ff6b6b;
    background: #fff0f0;
}

.messenger-input.error:focus {
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

.messenger-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff0f0;
    border-radius: 4px;
    border-left: 3px solid #ff6b6b;
}

/* ========== Booking Summary Popup ========== */
.booking-summary-popup {
    position: absolute;
    width: 250px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    border: 1px solid var(--accent-light);
    display: none;
    pointer-events: auto;
}

.popup-content {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-dates {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-color);
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--gray);
}

.popup-dates span { font-weight: 600; }

.popup-price {
    font-size: 1.1rem;
    text-align: center;
}

.popup-price span {
    font-weight: 600;
    color: var(--accent-color);
}

#popupTotalPrice { font-size: 1.3rem; }

/* ========== Contract Gallery (PDF) ========== */
.contract-gallery {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--accent-light);
}

.contract-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-light) var(--gray);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--gray);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: 3px;
}

.pdf-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100px;
    height: 140px;
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 10px 5px 5px;
}

.pdf-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.pdf-icon {
    width: 50px;
    height: 60px;
    margin: 0 auto 8px;
    display: block;
}

.pdf-label {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
    width: 100%;
    line-height: 1.3;
    word-break: break-word;
    padding: 0 2px;
}

/* ========== PDF Viewer ========== */
.pdf-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.pdf-viewer-content {
    width: 90%;
    height: 90%;
}

.pdf-viewer-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

.pdf-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}

.pdf-viewer-close:hover {
    color: var(--accent-light);
}

.pdf-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10001;
    border-radius: 4px;
    transition: background 0.2s;
}

.pdf-viewer-nav:hover {
    background: rgba(255,255,255,0.4);
}

.pdf-viewer-prev { left: 20px; }
.pdf-viewer-next { right: 20px; }

/* ========== Utility Classes ========== */
#addBath:disabled + label {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========== House Section (объединённая) ========== */
.house-section {
    background: var(--bg-color);
}

.house-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.house-video-col {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.house-video-col .video-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.house-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.house-text-col {
    padding: 20px;
}

.house-title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.house-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    padding: 8px;
}

.feature-icon .icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* ========== Bath & Kupel Section ========== */
.bath-kupel-section {
    background: var(--bg-color);
}

.bath-kupel-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.bath-video-col,
.kupel-video-col {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.bath-video,
.kupel-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.bath-kupel-text-col {
    padding: 20px;
    text-align: center;
}

.bath-kupel-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    text-align: left;
}

/* ========== Phone Widget ========== */
.phone-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 150px;
    height: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: #000;
}

.phone-widget__inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.phone-widget__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

.phone-widget__close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.phone-widget:hover {
    transform: scale(1.1);
}

.phone-widget:hover .phone-widget__close {
    display: flex;
}

.phone-widget.hidden {
    display: none;
}

/* ========== Media Queries (сгруппированы) ========== */
@media (max-width: 992px) {
    .bath-kupel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bath-video-col,
    .kupel-video-col {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .side-menu {
        width: 100%;
        right: -100%;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-title {
        font-size: 1.5rem;
    }
    .about-description {
        font-size: 1rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .section {
        padding: 40px 0;
    }
    .month {
        min-width: 100%;
    }
    .calendar-header {
        flex-direction: column;
        gap: 10px;
    }
    .form-actions {
        flex-direction: column;
    }
    .day-selector-item {
        flex: 1 1 calc(33.33% - 10px);
    }
    .messenger-options {
        flex-direction: column;
        gap: 20px;
    }
    .messenger-option {
        width: 100%;
    }
    .messenger-input {
        min-width: 100%;
        max-width: 100%;
    }
    .pdf-thumb {
        width: 80px;
        height: 120px;
    }
    .pdf-icon {
        width: 40px;
        height: 50px;
        margin-bottom: 6px;
    }
    .pdf-label {
        font-size: 0.75rem;
    }
    .pdf-viewer-nav {
        font-size: 24px;
        padding: 10px 8px;
    }
    .pdf-viewer-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
    .house-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .house-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .feature-item {
        gap: 10px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    .phone-widget {
        width: 100px;
        left: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .consent-checkbox {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .day-selector-item {
        flex: 1 1 calc(50% - 10px);
    }
}