:root {
    --bg: #f7f3eb;
    --surface: #ffffff;
    --surface-soft: #f4ede2;
    --text: #1f2430;
    --muted: #6b7280;
    --accent: #b66a2d;
    --accent-dark: #8d4f1f;
    --line: #e4d8c8;
    --hero-overlay: rgba(15, 23, 42, 0.45);
    --shadow: 0 20px 45px rgba(31, 36, 48, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(182, 106, 45, 0.16), transparent 32%),
        linear-gradient(180deg, #f8f5ef 0%, #f5efe4 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(247, 243, 235, 0.88);
    border-bottom: 1px solid rgba(228, 216, 200, 0.7);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #d79a59 100%);
    box-shadow: var(--shadow);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.8rem;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: auto;
}

.site-nav a {
    padding: 10px 0;
    font-weight: 600;
    color: var(--muted);
    position: relative;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--text);
}

.site-nav a.active::after,
.site-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-switcher a {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid transparent;
}

.lang-switcher a.active {
    color: #fff;
    background: var(--accent);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

.hero {
    position: relative;
    padding: 32px 0 42px;
}

.hero-slider {
    display: grid;
    gap: 18px;
}

.hero-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 540px;
    box-shadow: var(--shadow);
    background: #111;
}

.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--hero-overlay) 0%, rgba(182, 106, 45, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 72px;
    max-width: 760px;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 18px 0 16px;
}

.hero p,
.page-hero p {
    max-width: 620px;
    line-height: 1.75;
    font-size: 1.05rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn,
button.btn,
input.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: 0.2s ease;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.btn-outline {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.section {
    padding: 78px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.7;
}

.split-panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
}

.split-panel.reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.panel-card,
.card,
.contact-card,
.admin-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(228, 216, 200, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel-card {
    overflow: hidden;
}

.panel-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.panel-copy {
    padding: 36px;
}

.panel-copy h3 {
    margin: 0 0 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
}

.panel-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-line;
}

.grid {
    display: grid;
    gap: 22px;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    overflow: hidden;
}

.card-media {
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-media img {
    transform: scale(1.04);
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    font-family: 'Outfit', sans-serif;
}

.card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.card-meta {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-footer {
    padding: 0 24px 24px;
}

.page-hero {
    padding: 44px 0 30px;
}

.page-hero-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    min-height: 360px;
    background: #111;
    box-shadow: var(--shadow);
}

.page-hero-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.62) 0%, rgba(182, 106, 45, 0.46) 100%);
}

.page-hero-copy {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 60px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.86);
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
}

.filter-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.richtext {
    line-height: 1.85;
    color: var(--text);
    white-space: pre-line;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
}

.contact-card {
    padding: 28px;
}

.contact-card h3 {
    margin: 0 0 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-list strong {
    display: block;
    margin-bottom: 4px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    min-height: 52px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.contact-form textarea,
.admin-form textarea {
    min-height: 160px;
    resize: vertical;
}

.map-frame {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 22px;
}

.site-footer {
    margin-top: 80px;
    background: #1c1a17;
    color: rgba(255, 255, 255, 0.84);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-grid h3,
.footer-grid h4 {
    font-family: 'Outfit', sans-serif;
    margin: 0 0 14px;
    color: #fff;
}

.footer-grid p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

.alert {
    padding: 14px 18px;
    border-radius: 18px;
    margin-bottom: 18px;
    font-weight: 600;
}

.alert-success {
    background: #dff7ea;
    color: #12633c;
}

.alert-error {
    background: #fde7e7;
    color: #9f2d2d;
}

.empty-state {
    padding: 28px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 980px) {
    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        padding: 18px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .lang-switcher {
        display: none;
    }

    .hero-content,
    .page-hero-copy {
        padding: 36px;
    }

    .split-panel,
    .contact-layout,
    .footer-grid,
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-card {
        min-height: 460px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.4rem;
    }

    .section {
        padding: 56px 0;
    }

    .panel-copy,
    .card-body,
    .contact-card {
        padding: 22px;
    }
}
