:root {
    --primary: #1C3029;
    --primary-hover: #284438;
    --primary-soft: #E3EAE6;
    --ochre: #B8894A;
    --ink: #0F1A16;
    --text: #3F4743;
    --muted: #7A817D;
    --linen: #F4F0E8;
    --surface: #F5F5F3;
    --line: #E6E6E2;
    --field: #DCD9D2;
    --white: #FFFFFF;
    --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.25; }
address { font-style: normal; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1248px) { .container { padding: 0; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn {
    display: inline-block; padding: 14px 26px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; transition: background .2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-light { background: var(--white); color: var(--primary); padding: 16px 28px; font-size: 15px; }
.btn-light:hover { background: var(--linen); }

.icon {
    display: grid; place-items: center; flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft);
}
.icon svg { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 44px; height: 44px; margin-bottom: 8px; }
.icon-lg svg { width: 22px; height: 22px; }

/* Header */
.header-inner { display: flex; align-items: center; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--primary); flex-shrink: 0; }
.brand-mark { width: 56px; height: 30px; fill: currentColor; }
.brand-text { display: flex; flex-direction: column; gap: 4px; font-size: 19px; font-weight: 700; letter-spacing: .22em; line-height: 20px; }
.brand-text small { font-size: 8px; font-weight: 500; letter-spacing: .5em; line-height: 10px; }
.brand-light { color: var(--white); }


.nav { background: var(--linen); }
.nav-inner { display: flex; gap: 36px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.nav-inner a { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-inner a.active { font-weight: 600; }
.nav-inner a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero {
    position: relative; display: flex; align-items: center; min-height: 480px;
    background: #0F1A16 url('img/hero.jpg') center / cover;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 80%);
}
.hero-content { position: relative; }
.hero h1 { max-width: 560px; color: var(--white); font-size: 44px; line-height: 52px; letter-spacing: -.01em; }
.hero p { max-width: 560px; margin: 20px 0 28px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 28px; }

/* Intro */
.intro { padding-top: 72px; padding-bottom: 48px; }
.intro-text { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.intro-text h2 { font-size: 30px; line-height: 36px; }
.intro-text p { margin: 16px 0 24px; line-height: 27px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { font-size: 17px; }
.card p { font-size: 15px; line-height: 24px; }

/* Sections */
.section { padding-block: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: 22px; }
.section-head a { font-size: 14px; font-weight: 600; color: var(--primary); }
.section-head a:hover { text-decoration: underline; }

.categories { display: grid; grid-template-columns: repeat(6, 170px); justify-content: space-between; row-gap: 36px; }
.category { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 170px; font-size: 15px; font-weight: 600; color: var(--ink); }
.category img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; transition: transform .25s; }
.category:hover img { transform: scale(1.04); }

.split { display: grid; grid-template-columns: 600px 1fr; gap: 64px; align-items: center; }
.split > img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.split h2 { font-size: 26px; line-height: 32px; }
.lead { margin: 16px 0 28px; line-height: 27px; }
.points { display: grid; gap: 18px; }
.points li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 22px; }
.points strong { display: block; font-size: 15px; color: var(--ink); line-height: 18px; margin-bottom: 2px; }

.visit { display: flex; min-height: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.visit-info { display: flex; flex-direction: column; gap: 20px; width: 440px; flex-shrink: 0; padding: 36px 40px; font-size: 15px; line-height: 24px; }
.visit-info h2 { font-size: 20px; }
.visit-info strong { display: block; font-size: 13px; color: var(--ink); }
.visit-links { display: flex; flex-direction: column; gap: 4px; }
.visit-links a { font-weight: 600; color: var(--primary); }
.visit-links a:hover { text-decoration: underline; }
.map { position: relative; flex: 1; min-height: 340px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.directions {
    position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; background: var(--white);
    border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.25); font-size: 13px; font-weight: 600; color: var(--primary);
}

/* About */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 64px; padding-top: 32px; border-top: 1px solid var(--line); margin-bottom: 40px; }
.about h2 { font-size: 26px; line-height: 32px; }
.about-text { display: grid; gap: 16px; line-height: 27px; }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-media { padding-top: 0; overflow: hidden; }
.card-media > img { width: calc(100% + 64px); max-width: none; margin: 0 -32px 20px; aspect-ratio: 3 / 2; object-fit: cover; }
.card-media .icon-lg { margin-top: -42px; position: relative; border: 3px solid var(--surface); box-sizing: content-box; }
.values { display: grid; gap: 10px; font-size: 15px; line-height: 23px; }
.values strong { color: var(--ink); }

/* Footer */
.footer { margin-top: 40px; background: var(--primary); color: rgba(255,255,255,.75); font-size: 14px; }
.footer-top { display: flex; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.footer-about { width: 340px; flex-shrink: 0; }
.footer-about p { margin-top: 16px; line-height: 22px; }
.footer h3 { font-size: 13px; color: var(--white); }
.footer-col { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.footer-col a:hover { color: var(--white); }
.newsletter { display: flex; flex-direction: column; gap: 12px; width: 300px; flex-shrink: 0; }
.newsletter input { font: inherit; height: 44px; padding: 0 14px; border: 0; border-radius: 4px; color: var(--ink); }
.newsletter button { font: inherit; font-weight: 600; padding: 12px; border: 0; border-radius: 4px; background: var(--ochre); color: var(--white); cursor: pointer; }
.newsletter button:hover { filter: brightness(1.08); }
.footer-bottom { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.6); }

.newsletter-note { font-size: 12px; line-height: 18px; color: rgba(255,255,255,.65); }
.newsletter-note a, .footer-bottom a { text-decoration: underline; }
.newsletter-note a:hover, .footer-bottom a:hover { color: var(--white); }

/* Legal page */
.legal { max-width: 800px; padding-top: 56px; padding-bottom: 72px; line-height: 27px; }
.legal h1 { font-size: 32px; line-height: 40px; }
.legal-date { margin: 8px 0 32px; font-size: 14px; color: var(--muted); }
.legal h2 { font-size: 20px; margin: 40px 0 12px; scroll-margin-top: 24px; }
.legal h3 { font-size: 16px; margin: 20px 0 8px; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal-toc { margin: 32px 0; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-toc ol { padding-left: 20px; display: grid; gap: 4px; }

:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .category img { transition: none; }
}

/* Responsive */
@media (max-width: 1100px) {
    .categories { grid-template-columns: repeat(4, 170px); justify-content: space-around; }
    .split { grid-template-columns: 1fr 1fr; gap: 40px; }
    .about { grid-template-columns: 1fr; gap: 16px; }
    .mvv { grid-template-columns: 1fr 1fr; }
    .footer-top { flex-wrap: wrap; }
    .footer-about, .newsletter { width: 100%; }
}
@media (max-width: 760px) {
    .header-inner { padding-block: 16px; }
    .nav-inner { gap: 24px; }
    .hero { min-height: 420px; }
    .hero::before { background: rgba(0,0,0,.62); }
    .hero h1 { font-size: 32px; line-height: 40px; }
    .intro { padding-top: 48px; }
    .intro-text h2 { font-size: 24px; line-height: 30px; }
    .benefits, .split, .about, .mvv { grid-template-columns: 1fr; }
    .about { gap: 16px; }
    .split > img { height: 260px; }
    .categories { grid-template-columns: repeat(3, 1fr); column-gap: 16px; row-gap: 24px; }
    .category { width: 100%; }
    .category img { width: 100%; height: auto; aspect-ratio: 1; }
    .visit { flex-direction: column; }
    .visit-info { width: 100%; padding: 28px 24px; }
    .map { min-height: 300px; }
    .footer-top { flex-direction: column; gap: 32px; }
}
