:root {
  --bg: #f3f0eb;
  --panel: #f7f4f1;
  --ink: #1f1f1f;
  --muted: #5c5c5c;
  --line: rgba(26, 26, 26, 0.12);
  --shadow: rgba(0, 0, 0, 0.08);
  --accent: #191919;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 240, 235, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  letter-spacing: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a,
.lang-btn,
.category-card {
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a {
  font-size: 0.75rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.15rem;
}

.lang-btn.is-active {
  background: var(--ink);
  color: #fff;
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 4rem 0 2rem;
}

.hero-copy {
  max-width: 760px;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { font-weight: 300; letter-spacing: -0.04em; }

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.96;
}

.lead {
  margin-top: 1.5rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
}

.section {
  padding: 2rem 0 4rem;
}

.section-head {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.category-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
  color: var(--ink);
  border-radius: 1.2rem;
  padding: 1.2rem 1rem;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(25, 25, 25, 0.35);
}

.category-card.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.category-card small {
  letter-spacing: 0.18rem;
  font-size: 0.68rem;
  opacity: 0.8;
}

.category-name {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.gallery {
  column-count: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  background: var(--panel);
  box-shadow: 0 8px 24px var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1.01);
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  width: min(90vw, 980px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.04);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  appearance: none;
  border: 0;
  background: rgba(255,255,255,0.15);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.empty-state {
  padding: 2rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  color: var(--muted);
  background: rgba(255,255,255,0.15);
}

.contact {
  display: grid;
  gap: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact a {
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.12);
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 980px) {
  .gallery { column-count: 2; }
}

@media (max-width: 640px) {
  .topbar-inner { padding: 0.9rem 1rem; }
  .nav-wrap { gap: 0.75rem; }
  .nav { gap: 0.75rem 1rem; }
  .category-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 1; }
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.5rem;
  }
  main { padding-left: 1rem; padding-right: 1rem; }
}
