:root {
  --ink: #2f2f2f;
  --muted: #9a9a9a;
  --line: #e4e4e4;
  --text: #555;
  --bg: #ffffff;
}

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

html { scroll-behavior: smooth; }

html { background: #ffffff; }

body {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding: 40px 24px;
}

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

/* ---------- Outer frame ---------- */
.frame {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 70px 60px 90px;
}

.inner {
  max-width: 920px;
  margin: 0 auto;
}

/* ---------- Language switch ---------- */
.lang-switch {
  position: absolute;
  top: 28px;
  right: 32px;
  display: flex;
  gap: 4px;
  font-family: "Jost", "Century Gothic", sans-serif;
}
.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.lang-switch .sep { color: var(--line); padding: 4px 0; font-size: 0.7rem; }

/* ---------- Title ---------- */
.brand {
  display: block;
  text-align: center;
  font-family: "Jost", "Century Gothic", "Futura", sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 56px;
}

/* ---------- Location row ---------- */
.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.meta a {
  font-family: "Jost", "Century Gothic", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.meta a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Nav on divider ---------- */
.nav-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 70px;
}
.nav-bar::before,
.nav-bar::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Body content ---------- */
.content {
  max-width: 620px;
  margin: 0 auto;
}
.content p {
  margin-bottom: 24px;
  color: var(--text);
}
.content p:last-child { margin-bottom: 0; }

/* ---------- Bottom rule ---------- */
.foot-rule {
  max-width: 920px;
  margin: 80px auto 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* ---------- Footer legal line ---------- */
.legal {
  max-width: 920px;
  margin: 22px auto 0;
  text-align: center;
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.map {
  border: 1px solid var(--line);
  margin-top: 28px;
  height: 280px;
  width: 100%;
  background: #f7f7f5;
  z-index: 0;
}
.leaflet-container { font-family: "Jost", sans-serif; background: #f7f7f5; }
.leaflet-control-zoom a {
  border-radius: 0 !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.7) !important;
}
.sbre-pin {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sbre-pin .pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b08d57;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}
.sbre-pin .pin-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.5);
}
.contact-info {
  line-height: 2;
}
.contact-info .label {
  display: block;
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.contact-info .label:first-child { margin-top: 0; }
.contact-info a:hover { color: var(--ink); }

form { width: 100%; }
form .row { margin-bottom: 20px; display: flex; flex-direction: column; }
form label {
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
form input, form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
form input:focus, form textarea:focus { outline: none; border-color: var(--ink); }
form textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  font-family: "Jost", "Century Gothic", sans-serif;
  padding: 12px 38px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s;
}
.btn-submit:hover { background: var(--ink); color: #fff; }
.form-note { margin-top: 16px; font-size: 0.95rem; color: #2a7; display: none; }
.form-error { margin-top: 16px; font-size: 0.95rem; color: #c0392b; display: none; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.btn-submit:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body { padding: 16px 10px; }
  .frame { padding: 44px 24px 56px; }
  .meta { flex-direction: column; gap: 10px; letter-spacing: 0.2em; }
}
