:root {
    --bg: #f5f3ef;
    --surface: #fdfbf7;
    --text: #6c665d;
    --text-heading: #585248;
    --text-muted: #928b82;
    --text-faint: #aaa39a;
    --border: #e8e4dd;
    --accent: #348f85;
    --accent-hover: #2a756d;
    --accent-soft: rgba(52, 143, 133, 0.11);
    --hero-veil: linear-gradient(
        105deg,
        rgba(255, 252, 247, 0.94) 0%,
        rgba(255, 252, 247, 0.78) 38%,
        rgba(255, 252, 247, 0.35) 62%,
        rgba(243, 241, 236, 0.2) 100%
    );
    --radius: 12px;
    --shadow: 0 2px 10px rgba(88, 82, 72, 0.05);
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: "Georgia", "Times New Roman", serif;
    --max: 1120px;
    --header-h: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "kern" 1, "liga" 1;
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 8px 16px;
    background: var(--surface);
    color: var(--text);
    z-index: 10000;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 252, 247, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 225, 218, 0.85);
}

.site-header__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header--lk-minimal .site-header__inner {
    justify-content: flex-start;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
}

.logo {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text-heading);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.nav__links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.nav__links a:hover {
    color: var(--text-heading);
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 1px 2px rgba(47, 125, 116, 0.2);
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
}

.btn--ghost {
    background: rgba(255, 252, 247, 0.85);
    color: var(--text-heading);
    border: 1.5px solid rgba(232, 228, 221, 0.95);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
    text-decoration: none;
    background: var(--surface);
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-muted);
    position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav__toggle span::before {
    top: -6px;
}

.nav__toggle span::after {
    top: 6px;
}

.hero--slider {
    padding: 0;
    margin: 0;
    max-width: none;
}

.hero-slider {
    position: relative;
    min-height: min(78vh, 720px);
    overflow: hidden;
    overflow-x: clip;
    background: #dde8e4;
}

.hero-slider:focus {
    outline: none;
}

.hero-slider:focus-visible {
    box-shadow: inset 0 0 0 3px var(--accent);
}

@media (max-width: 900px) {
    .hero-slider {
        min-height: min(88vh, 640px);
    }
}

.hero-slider__slides {
    position: absolute;
    inset: 0;
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero-slider__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.14);
    will-change: transform;
}

.hero-slider__slide.is-active img {
    animation: heroKbDriftA 14s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.hero-slider__slide.is-active.hero-slider__slide--kb-alt img {
    animation-name: heroKbDriftB;
}

@keyframes heroKbDriftA {
    0% {
        transform: scale(1.14) translate3d(2.5%, 0, 0);
    }
    100% {
        transform: scale(1.05) translate3d(-2.5%, 1.5%, 0);
    }
}

@keyframes heroKbDriftB {
    0% {
        transform: scale(1.12) translate3d(-2%, 1%, 0);
    }
    100% {
        transform: scale(1.06) translate3d(2%, -2%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider__slide {
        transition: opacity 0.35s ease;
    }

    .hero-slider__slide img {
        transform: none;
        will-change: auto;
        animation: none !important;
    }

    .hero-slider__slide.is-active img {
        transform: none;
    }
}

.hero-slider__veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--hero-veil);
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero-slider__veil {
        background: linear-gradient(
            180deg,
            rgba(255, 252, 247, 0.92) 0%,
            rgba(255, 252, 247, 0.55) 45%,
            rgba(243, 241, 236, 0.25) 100%
        );
    }
}

.hero__inner {
    position: relative;
    z-index: 3;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(100px, 14vh, 140px) 24px clamp(48px, 10vh, 88px);
    min-height: inherit;
    display: flex;
    align-items: flex-end;
}

.hero-slider .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(252px, 300px);
    gap: clamp(20px, 3.5vw, 36px);
    align-items: end;
    padding-bottom: clamp(200px, 36vh, 320px);
}

.hero__copy {
    max-width: 34rem;
    min-width: 0;
}

.hero-spotlight {
    min-width: 0;
    pointer-events: none;
}

.hero-spotlight__inner {
    pointer-events: auto;
    background: rgba(253, 251, 247, 0.94);
    border: 1px solid rgba(232, 228, 221, 0.95);
    border-radius: calc(var(--radius) + 4px);
    box-shadow:
        0 14px 36px rgba(88, 82, 72, 0.1),
        0 2px 10px rgba(88, 82, 72, 0.05);
    padding: 16px 18px 14px;
    backdrop-filter: blur(10px);
}

.hero-spotlight__head {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(232, 228, 221, 0.85);
}

.hero-spotlight__eyebrow {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin: 0 0 2px;
    line-height: 1.25;
}

.hero-spotlight__sub {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.hero-spotlight__date {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.hero-spotlight__head-switch {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 2.65rem;
    align-items: start;
}

.hero-spotlight__eyebrow--switch {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    transform: translateY(-7px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero-spotlight__eyebrow--switch.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-spotlight__panels {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 172px;
    align-items: start;
}

.hero-spotlight__panel {
    grid-area: 1 / 1;
    align-self: start;
    width: 100%;
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition: opacity 0.55s cubic-bezier(0.33, 0, 0.2, 1), transform 0.55s cubic-bezier(0.33, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.hero-spotlight__panel.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 1;
}

.hero-spotlight-sectors {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 10px 8px 14px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    min-height: 156px;
    box-sizing: border-box;
}

.hero-spotlight-sectors:hover {
    background: rgba(52, 143, 133, 0.08);
    border-color: rgba(52, 143, 133, 0.2);
    box-shadow: 0 4px 18px rgba(52, 143, 133, 0.07);
    text-decoration: none;
}

.hero-spotlight-sectors:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hero-spotlight-sectors__num {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 9vw, 3.45rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--accent);
    transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.hero-spotlight__panel.is-active .hero-spotlight-sectors__num {
    transform: scale(1);
}

.hero-spotlight__panel:not(.is-active) .hero-spotlight-sectors__num {
    transform: scale(0.92);
}

.hero-spotlight-sectors__word {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-top: 8px;
}

.hero-spotlight-sectors__hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.4;
    max-width: 15rem;
}

.hero-spotlight-sectors__cta {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-hover);
    margin-top: 14px;
}

.hero-spotlight__inline-sectors {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(232, 228, 221, 0.75);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.hero-spotlight__inline-sectors-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.hero-spotlight__inline-sectors-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.hero-spotlight__inline-sectors-link strong {
    font-weight: 700;
}

.hero-spotlight--reduced [data-spotlight-panel="sectors"],
.hero-spotlight--reduced [data-spotlight-eyebrow-sectors] {
    display: none !important;
}

.hero-spotlight--reduced .hero-spotlight__eyebrow--switch[data-spotlight-eyebrow-houses] {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

.hero-spotlight--reduced .hero-spotlight__panels {
    min-height: 0;
}

.hero-spotlight--reduced .hero-spotlight__panel[data-spotlight-panel="houses"] {
    opacity: 1 !important;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-spotlight__eyebrow--switch,
    .hero-spotlight__panel,
    .hero-spotlight-sectors__num {
        transition: none !important;
    }

    .hero-spotlight__panel:not(.is-active) .hero-spotlight-sectors__num {
        transform: none;
    }
}

.hero-spotlight__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-spotlight__skeleton {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 76px;
}

.hero-spotlight__skeleton-pic {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: linear-gradient(110deg, var(--border) 0%, #f0ece5 45%, var(--border) 90%);
    background-size: 200% 100%;
    animation: heroSpotShimmer 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-spotlight__skeleton-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.hero-spotlight__skeleton-lines span {
    display: block;
    height: 10px;
    border-radius: 4px;
    background: var(--border);
    animation: heroSpotShimmer 1.2s ease-in-out infinite;
}

.hero-spotlight__skeleton-lines span:first-child {
    width: 72%;
}

.hero-spotlight__skeleton-lines span:last-child {
    width: 48%;
}

@keyframes heroSpotShimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-spotlight__skeleton-pic,
    .hero-spotlight__skeleton-lines span {
        animation: none;
    }
}

.hero-spotlight-card {
    display: flex;
    gap: 12px;
    align-items: stretch;
    padding: 10px;
    margin: 0 -10px;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.hero-spotlight-card:hover {
    background: rgba(52, 143, 133, 0.07);
    border-color: rgba(52, 143, 133, 0.2);
    box-shadow: 0 2px 12px rgba(52, 143, 133, 0.08);
    text-decoration: none;
}

.hero-spotlight-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hero-spotlight-card__media {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--border);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.hero-spotlight-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-spotlight-card__media--empty {
    background: linear-gradient(145deg, #c5d9d3 0%, #e5e2da 100%);
}

.hero-spotlight-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 2px 0;
}

.hero-spotlight-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.25;
}

.hero-spotlight-card__water {
    font-size: 0.8125rem;
    color: var(--accent);
    font-weight: 500;
}

.hero-spotlight-card__meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.hero-spotlight-card__cta {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-hover);
    margin-top: 4px;
}

.hero-spotlight__empty {
    margin: 0;
    padding: 8px 2px 4px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.hero-spotlight__all {
    display: block;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(232, 228, 221, 0.85);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.hero-spotlight__all:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

@media (max-width: 960px) {
    .hero-slider .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero-spotlight {
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .hero-spotlight {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .site-header__inner {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .hero-slider {
        min-height: 0;
    }

    .hero-slider .hero__inner {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-top: clamp(64px, 10dvh, 92px);
        padding-bottom: clamp(300px, 48dvh, 420px);
        gap: clamp(16px, 4vw, 24px);
    }

    .hero__title {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }

    .hero__lead {
        max-width: none;
        margin-bottom: 22px;
        font-size: 0.98rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-spotlight__inner {
        padding: 14px 14px 12px;
    }

    .hero-spotlight-card {
        margin: 0;
        padding: 10px 8px;
        gap: 10px;
    }

    .hero-spotlight-card__media {
        width: 68px;
        height: 68px;
    }

    .booking-widget-outer {
        bottom: max(48px, calc(44px + env(safe-area-inset-bottom)));
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .booking-widget__inner {
        padding: 14px;
        gap: 12px;
    }

    .booking-widget__seg span {
        padding: 10px 12px;
        font-size: 0.8125rem;
    }

    .hero-slider__controls {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .section {
        padding: 52px max(16px, env(safe-area-inset-right)) 52px max(16px, env(safe-area-inset-left));
    }

    .section__head {
        margin-bottom: 28px;
    }

    .card__body {
        padding: 16px 16px 18px;
    }

    .site-footer {
        padding: 32px max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    }
}

@media (max-width: 480px) {
    .hero-slider .hero__inner {
        padding-bottom: clamp(320px, 52dvh, 440px);
    }

    .booking-widget__label {
        font-size: 0.65rem;
    }
}

.hero__eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin: 0 0 14px;
    font-weight: 500;
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: var(--text-heading);
}

.hero__lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 40ch;
    margin: 0 0 28px;
    font-weight: 400;
    line-height: 1.68;
    letter-spacing: 0.008em;
}

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

.hero-slider__controls {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
}

.hero-slider__dots {
    pointer-events: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.hero-slider__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(108, 102, 93, 0.22);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__dot:hover,
.hero-slider__dot:focus-visible {
    background: rgba(52, 143, 133, 0.38);
    outline: none;
}

.hero-slider__dot.is-active {
    background: var(--accent);
    transform: scale(1.15);
}

@media (max-width: 600px) {
    .hero-slider__controls {
        padding-bottom: 16px;
    }
}

.booking-widget-outer {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: clamp(100px, 14vh, 148px);
    padding: 0 20px;
    margin: 0;
    pointer-events: none;
}

.booking-widget__container {
    max-width: var(--max);
    margin: 0 auto;
    pointer-events: auto;
}

.booking-widget {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: 0 12px 40px rgba(88, 82, 72, 0.12), 0 2px 8px rgba(88, 82, 72, 0.06);
}

.booking-widget__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 18px;
    padding: 18px 20px 20px;
}

.booking-widget__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.booking-widget__field--grow {
    flex: 1 1 200px;
}

.booking-widget__label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
}

.booking-widget__control {
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-heading);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    min-height: 44px;
    min-width: 0;
    width: 100%;
}

.booking-widget__control:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: rgba(52, 143, 133, 0.45);
}

select.booking-widget__control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23928b82' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.booking-widget__segment {
    display: flex;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg);
    min-height: 44px;
}

.booking-widget__seg {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: background 0.15s ease, color 0.15s ease;
}

.booking-widget__seg input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.booking-widget__seg span {
    padding: 10px 16px;
    width: 100%;
    text-align: center;
}

.booking-widget__seg.is-selected {
    background: rgba(52, 143, 133, 0.12);
    color: var(--accent-hover);
}

.booking-widget__seg.is-selected span {
    font-weight: 600;
}

.booking-widget__seg:hover {
    background: rgba(255, 252, 247, 0.9);
}

.booking-widget__action {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 720px) {
    .booking-widget__field:first-child {
        flex: 0 0 180px;
    }

    .booking-widget__field:nth-child(3) {
        flex: 0 0 168px;
    }

    .booking-widget__action {
        width: auto;
        margin-left: auto;
    }
}

.booking-widget__submit {
    width: 100%;
    min-height: 44px;
    padding-left: 22px;
    padding-right: 22px;
    white-space: nowrap;
}

@media (min-width: 720px) {
    .booking-widget__submit {
        width: auto;
    }
}

@media (max-width: 719px) {
    .booking-widget-outer {
        bottom: clamp(88px, 20vw, 128px);
        padding: 0 16px;
    }

    .booking-widget__inner {
        padding: 16px;
    }
}

.section {
    padding: 72px 24px;
}

.section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__inner {
    max-width: var(--max);
    margin: 0 auto;
}

.section__head {
    margin-bottom: 40px;
    max-width: 640px;
}

.section__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    margin: 0 0 10px;
    font-weight: 500;
}

.section__title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.018em;
    margin: 0 0 12px;
    color: var(--text-heading);
    line-height: 1.22;
}

.section__intro {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0.012em;
}

.section--territory {
    background: var(--bg);
}

.section__head--territory {
    max-width: min(40rem, 100%);
    margin-bottom: clamp(32px, 4vw, 44px);
}

.section__head--territory .section__title {
    margin-bottom: clamp(14px, 2vw, 20px);
}

.territory-lead {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.territory-lead__text {
    margin: 0 0 0.85em;
    font-size: 1.05rem;
    line-height: 1.72;
    letter-spacing: 0.006em;
    color: var(--text);
    max-width: 48ch;
}

.territory-lead__aside {
    margin: 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid var(--border);
    font-size: 0.94rem;
    line-height: 1.62;
    color: var(--text-muted);
    max-width: 46ch;
}

.about__route {
    margin: 1.25rem 0 0;
    max-width: 42rem;
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.contacts__note {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--text-muted);
    align-self: center;
    max-width: 26rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.cards--territory {
    gap: clamp(18px, 2.2vw, 22px);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
    border-color: #d6d3d1;
}

.card__img {
    aspect-ratio: 16 / 10;
    background: var(--border);
    overflow: hidden;
}

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

.card__body {
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__title {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

.card__text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
    line-height: 1.62;
    letter-spacing: 0.01em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 700px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
}

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

.faq {
    max-width: 720px;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__question {
    width: 100%;
    text-align: left;
    padding: 18px 0;
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq__question::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--text-muted);
    border-bottom: 1.5px solid var(--text-muted);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq__item.is-open .faq__question::after {
    transform: rotate(-135deg);
}

.faq__answer {
    display: none;
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq__item.is-open .faq__answer {
    display: block;
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 700px) {
    .contacts {
        grid-template-columns: 1fr;
    }
}

.contacts__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contacts__list li {
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contacts__list strong {
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.booking-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.booking-panel__head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #f8f5f0 0%, var(--surface) 100%);
}

.booking-panel__head h2 {
    font-family: var(--serif);
    font-size: 1.25rem;
    margin: 0 0 6px;
    font-weight: 500;
    color: var(--text-heading);
}

.booking-panel__head p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-panel__links {
    line-height: 1.55;
}

.booking-panel__fallback-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.booking-cta {
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    text-align: center;
    box-shadow: var(--shadow);
}

.booking-cta__note {
    margin: 16px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.booking-panel__frame-wrap {
    position: relative;
    min-height: 640px;
    background: var(--bg);
}

.booking-panel__frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.booking-panel__fallback {
    display: none;
    padding: 32px 24px;
    text-align: center;
}

.booking-panel.is-iframe-blocked .booking-panel__frame-wrap iframe {
    display: none;
}

.booking-panel.is-iframe-blocked .booking-panel__fallback {
    display: block;
}

.site-footer {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.site-footer__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-faint);
    line-height: 1.55;
    letter-spacing: 0.02em;
}

.site-footer__inner > span:first-of-type {
    color: var(--text-muted);
    font-weight: 500;
}

.site-footer a {
    color: var(--text-muted);
}

.site-footer__credit {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer__credit p {
    margin: 0;
}

.site-footer__visitors {
    margin: 0 auto 14px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.site-footer__visitors-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.65);
    color: var(--text-muted);
}

.site-footer__visitors-label {
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.site-footer__visitors-value {
    font-size: 0.92rem;
    color: var(--text-heading);
    font-variant-numeric: tabular-nums;
}

.site-footer__dev {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.site-footer__copy {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-faint);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .site-footer__visitors {
        display: flex;
        margin-bottom: 12px;
    }
}

.note-stream {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 0;
    margin: clamp(1.5rem, 3vw, 2rem) 0 0;
    max-width: 40rem;
    border: none;
    background: transparent;
}

@media (max-width: 768px) {
    .nav__toggle {
        display: inline-flex;
    }

    .nav__links {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        padding: 12px max(24px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-right));
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 32px rgba(88, 82, 72, 0.12);
        gap: 0;
        z-index: 200;
        max-height: min(72dvh, calc(100dvh - var(--header-h) - 8px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__links li {
        border-bottom: 1px solid var(--border);
    }

    .nav__links li:last-child {
        border-bottom: none;
    }

    .nav__links a {
        display: block;
        padding: 14px 0;
    }

    .nav .btn--primary {
        display: none;
    }
}

/* —— Cookie-уведомление (layout-scripts.php): поверх шапки и нижней панели ЛК —— */
.cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 240;
    display: flex;
    justify-content: center;
    padding: 12px max(16px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.cookie-notice.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cookie-notice__box {
    width: min(560px, 100%);
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: var(--radius, 12px);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md, 0 4px 14px rgba(88, 82, 72, 0.12));
}

.cookie-notice__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text);
}

.cookie-notice__text strong {
    color: var(--text-heading);
    font-weight: 600;
}

.cookie-notice__link {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice__link:hover {
    text-decoration: underline;
}

.cookie-notice__actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-notice__btn {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 18px;
    border-radius: var(--radius, 12px);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 1px 2px rgba(47, 125, 116, 0.2);
    transition: background 0.2s ease, transform 0.12s ease;
}

.cookie-notice__btn:hover {
    background: var(--accent-hover);
    color: #fff;
}

.cookie-notice__btn:active {
    transform: scale(0.98);
}

.cookie-notice__btn:focus-visible {
    outline: 3px solid rgba(52, 143, 133, 0.45);
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .lk-page-site .cookie-notice.is-open {
        bottom: var(--lk-tabbar-h, 0px);
        padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
    }
}
