:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1f1f1b;
  --muted: #66655d;
  --line: #ddd9cf;
  --accent: #2f4a4a;
  --max-width: 1120px;
  --narrow-width: 760px;
  --shadow: 0 12px 30px rgba(20, 20, 18, 0.08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(var(--narrow-width), 100%);
}

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

.header-inner {
  position: relative;
  padding: 1rem 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text);
}

.desktop-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.9rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

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

.lang-switch {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

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

.lang-switch a.active {
  color: var(--text);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.02);
}

.menu-toggle-bar {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 999px;
  transform: translateX(-50%);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.menu-toggle-bar:nth-child(1) {
  top: 16px;
}

.menu-toggle-bar:nth-child(2) {
  top: 22px;
}

.menu-toggle-bar:nth-child(3) {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  padding: 4.75rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 40rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.section {
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.35rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: transparent;
  border: 1px solid var(--line);
  padding: 1.15rem;
}

p,
li {
  margin: 0 0 0.85rem;
}

p:last-child,
li:last-child {
  margin-bottom: 0;
}

.list {
  padding-left: 1.15rem;
  margin: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin: 0 0 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  color: var(--muted);
}

@media (max-width: 1024px) {
  .hero {
    padding: 4rem 0 2.7rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.4rem 0 2.35rem;
  }

  h1 {
    font-size: clamp(2.25rem, 8vw, 3.8rem);
    max-width: 9ch;
  }

  .lead {
    font-size: 1.04rem;
  }

  .section {
    padding: 2.7rem 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    padding: 0.85rem 0;
  }

  .desktop-nav-wrap {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand {
    font-size: 1.28rem;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: calc(100% - 0.1rem);
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu-panel {
    background: rgba(251, 250, 247, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .mobile-nav a {
    display: block;
    text-decoration: none;
    color: var(--text);
    font-size: 1rem;
    padding: 0.45rem 0;
  }

  .mobile-menu-meta {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .mobile-menu .lang-switch {
    font-size: 0.95rem;
  }

  .container {
    width: min(var(--max-width), calc(100% - 2.5rem));
  }

  p,
  li {
    font-size: 0.98rem;
  }
  
  .hero {
    padding: 2.6rem 0 1.9rem;
  }

  .eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    max-width: 7.5ch;
    line-height: 1.02;
  }

  .lead {
    font-size: 1rem;
    max-width: 100%;
  }

  .section {
    padding: 2rem 0;
  }

  h2 {
    font-size: 2rem;
  }

  .card {
    padding: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.45rem;
  }
}