:root {
  --bg: #08111f;
  --panel: rgba(9, 19, 32, 0.82);
  --line: rgba(212, 175, 55, 0.22);
  --text: #f6f1e8;
  --muted: #b9c3d1;
  --gold-soft: #f0d982;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 28%),
    linear-gradient(180deg, #08111f 0%, #0c1828 55%, #09111d 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  padding: 28px 20px 64px;
}

.page-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 90%);
  pointer-events: none;
}

.topbar,
.gallery-page {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.topbar {
  margin-bottom: 24px;
}

.top-banner {
  width: 100%;
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(240, 217, 130, 0.16);
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-soft);
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.gallery-header {
  margin-bottom: 24px;
}

.gallery-eyebrow {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.gallery-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
}

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

.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gallery-empty {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 34px;
  padding-top: 12px;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.45), rgba(255, 255, 255, 0.12), rgba(212, 175, 55, 0.45));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding-top: 22px;
}

.footer-col-main {
  display: grid;
  gap: 6px;
  max-width: 860px;
}

.footer-col-right {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-address,
.footer-phone {
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.55;
  text-decoration: none;
  margin: 0;
}

.footer-phone {
  color: var(--muted);
}

.social-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(240, 217, 130, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  border-color: rgba(240, 217, 130, 0.48);
  background: rgba(240, 217, 130, 0.12);
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.social-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-tooltip {
  position: relative;
}

.social-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(8, 17, 31, 0.96);
  border: 1px solid rgba(240, 217, 130, 0.22);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  transition: opacity 0.14s ease, transform 0.14s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.social-tooltip:hover::after,
.social-tooltip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col-right {
    justify-content: flex-start;
  }
}
