/* ─── Variables ─────────────────────────────────────────────────────────── */

:root {
  --bg:      #f9f7f3;
  --text:    #2a2820;
  --muted:   #7a7670;
  --accent:  #4a6741;
  --border:  #e0dcd4;
  --max-w:   48rem;
}

/* ─── Reset & base ──────────────────────────────────────────────────────── */

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

html {
  font-size: 18px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ─── Layout ────────────────────────────────────────────────────────────── */

header,
main,
footer {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

main {
  flex: 1;
  padding-block: 3rem;
}

main > section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

/* ─── Header ────────────────────────────────────────────────────────────── */

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.site-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
  text-decoration: none;
}

.site-name:hover {
  color: var(--accent);
}

.lang-switch {
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  display: flex;
  gap: .6rem;
}

.lang-switch span {
  color: var(--muted);
}

.lang-switch a {
  color: var(--text);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--accent);
}

/* ─── Typography ────────────────────────────────────────────────────────── */

h1 {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--accent);
}

h2 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

p + p {
  margin-top: .8rem;
}

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

a:hover {
  text-decoration: none;
}

/* ─── Address ───────────────────────────────────────────────────────────── */

address {
  font-style: normal;
  margin-bottom: 1rem;
}

/* ─── Map ───────────────────────────────────────────────────────────────── */

.map-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: .5rem;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-link {
  font-size: .85rem;
  color: var(--muted);
}

.map-link:hover {
  color: var(--accent);
}

/* ─── Links list ────────────────────────────────────────────────────────── */

ul {
  list-style: none;
}

li + li {
  margin-top: 1.25rem;
}

li a {
  font-weight: 500;
  display: block;
}

.link-meta {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 30rem) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 1.35rem;
  }
}
