:root {
  /* Brand palette: 100E1B (darkest) -> 15253E -> 14497D -> 3171BB -> 7BB1DF (lightest) */
  --bg: #f4f7fb;
  --bg-elev: #ffffff;
  --text: #100e1b;
  --text-muted: #15253e;
  --primary: #14497d;
  --primary-hover: #3171bb;
  --accent: lch(47.04% 45.14 276.56);
  --accent-hover: #14497d;
  --cta: #7bb1df;
  --cta-hover: #94c0e5;
  --border: rgba(16, 14, 27, 0.12);
  --radius: 8px;
  --max-width: 1100px;
  --header-h: 60px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }

h1, h2 {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  height: 100%;
  width: auto;
  display: block;
}

.header-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.header-fb:hover { background: rgba(0, 0, 0, 0.05); color: var(--primary-hover); }
.header-fb:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.lang-switcher { display: flex; gap: 0.25rem; }
.lang-switcher button {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: inherit;
}
.lang-switcher button:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.lang-switcher button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100vw;
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
  min-height: 420px;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  color: #fff;
  background: transparent;
}
.hero h1 {
  font-size: clamp(1.75rem, 4.5vw + 0.5rem, 3.5rem);
  margin: 0 0 0.5rem;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero p {
  font-size: clamp(0.95rem, 1.5vw + 0.4rem, 1.3rem);
  margin: 0 0 1.25rem;
  max-width: 42ch;
  opacity: 0.97;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.hero-cta .btn {
  width: 220px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.35) 100%);
  border: 1.5px  solid rgba(255, 255, 255, 0.7);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-cta .btn:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.50) 100%);
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.1s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.btn-primary { background: var(--cta); color: var(--text); }
.btn-primary:hover { background: var(--cta-hover); color: var(--text); }

.btn-secondary {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-secondary:hover { background: #fff; color: var(--text); }

/* ---------- Sections ---------- */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
section h2 {
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.25rem);
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--primary);
}
section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

/* ---------- About ---------- */
.about {
  padding-bottom: 1.5rem;
}

.about p {
  font-size: 1.1rem;
  max-width: 65ch;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Gallery ---------- */
.gallery .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
@media (min-width: 640px) {
  .gallery .grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ---------- Hours ---------- */
.hours table {
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 1.05rem;
  min-width: min(420px, 100%);
}
.hours th, .hours td {
  padding: 0.65rem 1.25rem;
  text-align: left;
}
.hours th {
  font-weight: 600;
  color: var(--text-muted);
}
.hours td {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.hours tr + tr { border-top: 1px solid var(--border); }

/* ---------- Find ---------- */
.find .address {
  text-align: center;
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}
.find .map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  background: #e8e8e8;
}
.find .map iframe { display: block; }
.find .map-link {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 1rem;
}

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
}
.contact-list li { margin: 0.7rem 0; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  font-family: inherit;
}
.lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- A11y / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

@media (max-width: 380px) {
  .lang-switcher button { padding: 0.4rem 0.45rem; font-size: 0.78rem; }
  .hero-cta { gap: 0.5rem; }
  .btn { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
}
