﻿:root {
    --color-background: #fbfaf6;
    --color-surface: #ffffff;
    --color-surface-soft: #f3f1e8;
    --color-primary: #52663c;
    --color-primary-dark: #2f4827;
    --color-primary-light: #dfe4d2;
    --color-text: #252a24;
    --color-muted: #62685f;
    --color-border: #e4e0d5;
    --shadow-soft: 0 14px 40px rgba(41, 52, 35, 0.08);
    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 24px;
    --container-width: 1380px;
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        color: var(--color-primary);
    }

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container-width));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 10px 16px;
    border-radius: var(--radius-small);
    background: var(--color-primary-dark);
    color: #ffffff;
}

    .skip-link:focus {
        transform: translateY(0);
    }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    background: rgba(251, 250, 246, 0.96);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    color: var(--color-primary-dark);
}

    .brand:hover {
        color: var(--color-primary-dark);
    }

.brand-mark {
    width: 66px;
}

    .brand-mark svg {
        fill: none;
        stroke: var(--color-primary);
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
    }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .brand-text strong {
        font-family: var(--font-heading);
        font-size: clamp(1.7rem, 2vw, 2.35rem);
        font-weight: 500;
    }

    .brand-text small {
        margin-top: 10px;
        letter-spacing: 0.24em;
        font-size: 0.7rem;
    }

.main-navigation {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 34px);
}

    .main-navigation > a:not(.button) {
        position: relative;
        padding: 12px 0;
        font-size: 0.96rem;
        font-weight: 500;
        white-space: nowrap;
    }

        .main-navigation > a:not(.button)::after {
            position: absolute;
            right: 0;
            bottom: 6px;
            left: 0;
            height: 2px;
            transform: scaleX(0);
            background: var(--color-primary);
            content: "";
            transition: transform 180ms ease;
        }

        .main-navigation > a:not(.button):hover::after,
        .main-navigation > a:not(.button):focus-visible::after {
            transform: scaleX(1);
        }

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

    .button:hover {
        transform: translateY(-1px);
    }

.button-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(82, 102, 60, 0.18);
}

    .button-primary:hover,
    .button-primary:focus-visible {
        background: var(--color-primary-dark);
        color: #ffffff;
    }

.desktop-booking {
    flex: 0 0 auto;
}

.navigation-booking {
    display: none;
}

.navigation-toggle,
.navigation-button {
    display: none;
}

.site-main {
    min-height: 60vh;
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--color-surface-soft);
}

.section-title {
    margin: 0 0 18px;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
}

.section-intro {
    max-width: 760px;
    margin: 0;
    color: var(--color-muted);
    font-size: 1.08rem;
}

.card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.footer-highlights {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(90deg, #f0f2e7, #faf8f1);
}

.footer-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.footer-highlight {
    display: flex;
    min-height: 150px;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
}

    .footer-highlight + .footer-highlight {
        border-left: 1px solid var(--color-border);
    }

.footer-icon {
    display: grid;
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(82, 102, 60, 0.1);
    color: var(--color-primary-dark);
}

    .footer-icon svg {
        width: 34px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.7;
    }

.footer-highlight h2,
.footer-main h2 {
    margin: 0 0 5px;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-highlight p {
    margin: 0;
    color: var(--color-muted);
}

.footer-main {
    padding: 64px 0;
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
    gap: 70px;
}

.footer-main h2 {
    color: #ffffff;
}

.footer-main p {
    max-width: 540px;
    margin: 0;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-links li + li {
        margin-top: 8px;
    }

.footer-main a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #24381f;
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom-inner {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1180px) {
    .header-inner {
        min-height: 84px;
    }

    .desktop-booking {
        display: none;
    }

    .navigation-button {
        display: flex;
        width: 48px;
        height: 48px;
        margin-left: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-small);
        background: var(--color-surface);
        cursor: pointer;
    }

        .navigation-button span:not(.sr-only) {
            width: 23px;
            height: 2px;
            background: var(--color-primary-dark);
            transition: transform 180ms ease, opacity 180ms ease;
        }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        padding: 20px;
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        background: var(--color-background);
        box-shadow: var(--shadow-soft);
    }

        .main-navigation > a:not(.button) {
            padding: 13px 8px;
            border-bottom: 1px solid var(--color-border);
        }

            .main-navigation > a:not(.button)::after {
                display: none;
            }

    .navigation-booking {
        display: inline-flex;
        margin-top: 14px;
    }

    .navigation-toggle:checked ~ .main-navigation {
        display: flex;
        flex-direction: column;
    }

    .navigation-toggle:checked + .navigation-button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navigation-toggle:checked + .navigation-button span:nth-child(2) {
        opacity: 0;
    }

    .navigation-toggle:checked + .navigation-button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .footer-highlight-grid {
        grid-template-columns: 1fr;
    }

    .footer-highlight + .footer-highlight {
        border-top: 1px solid var(--color-border);
        border-left: 0;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 28px), var(--container-width));
    }

    .brand-mark {
        width: 52px;
    }

    .brand-text strong {
        font-size: 1.55rem;
    }

    .brand-text small {
        font-size: 0.58rem;
    }

    .section {
        padding: 64px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom-inner {
        min-height: 84px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .header-inner {
        gap: 12px;
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 43px;
    }

    .brand-text strong {
        font-size: 1.28rem;
    }

    .brand-text small {
        margin-top: 7px;
        letter-spacing: 0.16em;
        font-size: 0.5rem;
    }

    .navigation-button {
        width: 44px;
        height: 44px;
    }

    .footer-highlight {
        align-items: flex-start;
        padding: 26px 10px;
    }

    .footer-icon {
        width: 54px;
        height: 54px;
    }
}
