:root {
    --bg: #f7f2e8;
    --paper: #fffaf0;
    --text: #282016;
    --muted: #6c5f4e;
    --line: #e4d8c5;
    --accent: #6c4a21;
    --accent-dark: #3c2814;
    --green: #36543a;
    --shadow: 0 20px 50px rgba(36, 25, 10, .12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

a { color: var(--accent-dark); }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 242, 232, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .02em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 14px;
}

.lang-nav {
    display: flex;
    gap: 6px;
    background: #efe3cf;
    padding: 5px;
    border-radius: 999px;
}

.lang-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

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

.hero, .home-hero {
    padding: clamp(36px, 8vw, 92px) 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

h1, h2 {
    line-height: 1.12;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(36px, 6vw, 72px);
    letter-spacing: -.045em;
}

h2 { font-size: 24px; }

.lead {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: clamp(18px, 2.4vw, 24px);
    max-width: 760px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.button.secondary {
    background: transparent;
    color: var(--accent-dark);
    border: 1px solid var(--accent-dark);
}

.visit-counter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: #efe3cf;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.visit-counter span {
    color: var(--accent-dark);
    font-size: 18px;
}

.hero-image, .hero-placeholder {
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #d8c4a2, #6d7a4e);
}

.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.hero-image.image-missing {
    display: none;
}

.hero-placeholder {
    display: grid;
    place-items: center;
}

.hero-placeholder span {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background: rgba(255, 255, 255, .82);
    font-size: 44px;
    font-weight: 900;
}

.content-section {
    padding: 0 0 clamp(42px, 7vw, 84px);
}

.content-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: clamp(22px, 4vw, 52px);
    box-shadow: 0 12px 30px rgba(36, 25, 10, .08);
}

.rich-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
}

.rich-text p:first-child { margin-top: 0; }
.rich-text p:last-child { margin-bottom: 0; }

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

.point-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}

.point-card p { color: var(--muted); }
.point-card a { font-weight: 800; }

.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image, .hero-placeholder, .hero-image img { min-height: 260px; }
    .grid-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 22px, 1120px); }
    .header-inner { min-height: 64px; }
    .brand-mark { width: 36px; height: 36px; }
    .hero { padding-top: 28px; }
    h1 { font-size: 34px; }
    .lead { font-size: 17px; }
    .button { width: 100%; }
    .content-card { border-radius: 20px; padding: 20px; }
    .rich-text { font-size: 16px; }
}
