.v2-body {
    background-color: var(--page-bg, #f3f8f4);
    background-image: var(--page-gradient);
    background-attachment: fixed;
}

.v2-hero {
    position: relative;
    height: min(52vh, 420px);
    min-height: 280px;
    overflow: hidden;
    color: #fff;
}

.v2-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.v2-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 22, 12, 0.15) 0%, rgba(12, 22, 12, 0.55) 100%),
        linear-gradient(90deg, rgba(20, 40, 18, 0.45), transparent 55%);
}

.v2-hero-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 24px 36px;
    max-width: 1100px;
    margin: 0 auto;
}

.v2-kicker {
    margin: 0 0 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.78);
}

.v2-hero-copy h1 {
    margin: 0;
    font-family: 'Cormorant-Garamound', Georgia, serif;
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    font-weight: 500;
    line-height: 0.95;
    color: #fff;
}

.v2-hero-sub {
    margin: 12px 0 0;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
}

.v2-main {
    padding: 36px 16px 120px;
}

.v2-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.v2-block {
    margin-bottom: 22px;
}

.v2-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.v2-block-head h2,
.v2-panel h2 {
    margin: 0;
    font-family: 'Cormorant-Garamound', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 500;
    color: #2d5a27;
}

.v2-more {
    color: #2d5a27;
    font-size: 0.88rem;
    white-space: nowrap;
}

.v2-houses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.v2-house {
    position: relative;
    height: 168px;
    border: 0;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 10px 24px rgba(20, 35, 18, 0.12);
}

.v2-house img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.v2-house::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 55%);
}

.v2-house:hover img {
    transform: scale(1.06);
}

.v2-house.is-active {
    box-shadow: 0 0 0 3px #2d5a27, 0 12px 28px rgba(20, 35, 18, 0.18);
}

.v2-house-info {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    color: #fff;
}

.v2-house-info strong {
    display: block;
    font-size: 1.05rem;
}

.v2-house-info small {
    opacity: 0.86;
    font-size: 0.78rem;
}

.v2-panel {
    background: #f7f4ef;
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: 22px;
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: 0 16px 40px rgba(20, 35, 18, 0.06);
}

.v2-form-lead {
    margin: 6px 0 18px;
    color: #5a6658;
}

.v2-panel-top {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: end;
    margin-bottom: 8px;
}

.v2-panel-top .v2-field {
    min-width: 180px;
    margin-bottom: 0;
}

.v2-field {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.84rem;
    color: #334033;
}

.v2-field input,
.v2-field select,
.v2-field textarea {
    width: 100%;
    border: 1px solid #d3cbbf;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.v2-field input:focus,
.v2-field select:focus,
.v2-field textarea:focus {
    outline: 2px solid rgba(45, 90, 39, 0.28);
    border-color: #2d5a27;
}

.v2-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.v2-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #d3cbbf;
    border-radius: 999px;
    font-size: 0.88rem;
    color: #2d5a27;
    cursor: pointer;
}

.v2-toggle.is-disabled {
    background: #e6e4e0;
    border-color: #d0cdc7;
    color: #8b877f;
    cursor: not-allowed;
}

.v2-toggle.is-disabled input {
    cursor: not-allowed;
    accent-color: #b4b0a8;
}

.v2-day.is-busy,
.v2-day:disabled {
    cursor: not-allowed;
}

.v2-day.is-beyond {
    opacity: 0.4;
    cursor: pointer;
}

.v2-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.88rem;
    margin: 8px 0 16px;
}

.v2-check a { color: #2d5a27; }

.v2-dates {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1.3fr;
    gap: 12px;
    align-items: center;
    margin: 16px 0 20px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 16px;
}

.v2-date-field {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.v2-date-field,
.v2-date-field input {
    cursor: text;
}

.v2-date-field input[type="text"] {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Cormorant-Garamound', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e3d1a;
    padding: 0;
    min-height: 1.5em;
    caret-color: #1e3d1a;
}

.v2-date-field input[type="text"]::placeholder {
    color: #b3b6ae;
    font-weight: 500;
}

.v2-date-field input[type="text"]:focus {
    outline: none;
    box-shadow: 0 1px 0 #2d5a27;
}

.v2-dates-arrow {
    color: #2d5a27;
    font-size: 1.2rem;
    padding-top: 12px;
}

.v2-dates-sum strong {
    color: #2d5a27;
}

.v2-cal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.v2-cal-nav strong {
    min-width: 240px;
    text-align: center;
    font-family: 'Cormorant-Garamound', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: #243024;
}

.v2-cal-nav button {
    width: 40px;
    height: 40px;
    border: 1px solid #d3cbbf;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: #2d5a27;
}

.v2-cal-nav button:hover {
    background: #2d5a27;
    color: #fff;
    border-color: #2d5a27;
}

.v2-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    justify-content: center;
    margin: 0 0 14px;
    font-size: 0.8rem;
    color: #5a6658;
}

.v2-legend .leg {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 5px;
    vertical-align: -1px;
}

.leg.free { background: #eef5ec; border: 1px solid #cfe0ca; }
.leg.chosen { background: #2d5a27; }
.leg.busy { background: #ddd8d0; }

.v2-cal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.v2-month h3 {
    display: none;
}

.v2-week,
.v2-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.v2-week span {
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a9386;
    padding-bottom: 4px;
}

.v2-day {
    min-height: 46px;
    border: none;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    padding: 8px 0;
    color: #1d261b;
    font-size: 0.92rem;
}

.v2-day:hover:not(:disabled) {
    background: #e7efe6;
}

.v2-day.is-empty {
    background: transparent;
    cursor: default;
}

.v2-day.is-busy,
.v2-day:disabled {
    background: transparent;
    color: #c4bfb6;
    cursor: not-allowed;
    text-decoration: line-through;
}

.v2-day.is-in-range {
    background: #dce8d8;
    border-radius: 0;
}

.v2-day.is-start,
.v2-day.is-end {
    background: #2d5a27;
    color: #fff;
}

.v2-day.is-start { border-radius: 10px 0 0 10px; }
.v2-day.is-end { border-radius: 0 10px 10px 0; }
.v2-day.is-start.is-end { border-radius: 10px; }

.v2-hint {
    margin: 14px 0 0;
    font-size: 0.82rem;
    color: #7a8576;
    text-align: center;
}

.v2-submit {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #2d5a27;
    color: #fff;
    font-weight: 700;
    padding: 16px;
    cursor: pointer;
    font-size: 1rem;
}

.v2-submit:hover {
    background: #1e3d1a;
}

.v2-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.v2-status {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.v2-status.is-error { color: #8a1f1f; }
.v2-status.is-ok { color: #1e5a27; }

.v2-badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e7efe6;
    color: #2d5a27;
    font-size: 0.82rem;
    font-weight: 700;
}

.v2-card {
    background: #f7f4ef;
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: 22px;
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: 0 16px 40px rgba(20, 35, 18, 0.06);
}

.v2-card h2 {
    margin: 0 0 16px;
    font-family: 'Cormorant-Garamound', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2d5a27;
}

.v2-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.v2-shell > h1 {
    margin: 0 0 8px;
    color: #2d5a27;
    font-family: 'Cormorant-Garamound', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 500;
}

body.has-v2-sticky .v2-main {
    padding-bottom: 160px;
}

.v2-sticky {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 12px 12px 20px;
    background: rgba(25, 42, 22, 0.94);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(20, 35, 18, 0.28);
}

.v2-sticky.is-on,
.v2-sticky:not([hidden]) {
    display: flex;
}

.v2-sticky[hidden] {
    display: none !important;
}

.v2-sticky-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.v2-sticky-text span {
    font-size: 0.78rem;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-sticky-btn {
    flex-shrink: 0;
    background: #fff;
    color: #2d5a27;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
}

@media (max-width: 860px) {
    .v2-houses {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-cal,
    .v2-form-grid,
    .v2-dates {
        grid-template-columns: 1fr;
    }
    .v2-dates-arrow {
        display: none;
    }
    .v2-cal-nav strong {
        min-width: 0;
        font-size: 1.15rem;
    }
}

@media (max-width: 560px) {
    .v2-houses {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        gap: 10px;
    }
    .v2-house {
        flex: 0 0 72%;
        scroll-snap-align: start;
        height: 150px;
    }
    .v2-panel {
        padding: 18px 16px;
        border-radius: 18px;
    }
    .v2-sticky {
        left: 10px;
        right: 10px;
        border-radius: 18px;
        flex-wrap: wrap;
    }
}
