:root {
  color-scheme: dark;
  --black: #050403;
  --black-soft: #0b0907;
  --gold: #d9aa52;
  --gold-light: #f1d27f;
  --gold-deep: #8a642f;
  --milk: #fff8e8;
  --muted: #bda982;
  --line: rgba(217, 170, 82, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 12%, rgba(241, 210, 127, 0.14), transparent 24rem),
    radial-gradient(circle at 86% 6%, rgba(176, 119, 42, 0.12), transparent 23rem),
    radial-gradient(ellipse at 50% 42%, rgba(217, 170, 82, 0.08), transparent 38rem),
    radial-gradient(circle at 78% 78%, rgba(138, 100, 47, 0.09), transparent 28rem),
    linear-gradient(180deg, #080705 0%, var(--black) 46%, #020202 100%);
  color: var(--milk);
  font-family: Cormorant, Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top, transparent 0 28%, rgba(0, 0, 0, 0.48) 72%),
    linear-gradient(115deg, transparent 0 20%, rgba(241, 210, 127, 0.035) 45%, transparent 70%),
    linear-gradient(90deg, rgba(217, 170, 82, 0.025), transparent 18%, transparent 82%, rgba(217, 170, 82, 0.02));
}

a {
  color: inherit;
}

main {
  position: relative;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(34px, 7vw, 84px) 24px 52px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(74vw, 560px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.55));
}

.lead {
  width: min(840px, 100%);
  margin: clamp(22px, 4vw, 38px) auto 0;
  color: rgba(255, 248, 232, 0.9);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(18px, 3vw, 38px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(22px, 5vw, 64px) 0 clamp(58px, 8vw, 96px);
}

.visit-card,
.hours-card,
.links-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(217, 170, 82, 0.14);
}

.visit-card,
.hours-card {
  padding: clamp(22px, 4vw, 38px) 0;
}

.section-label {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

h2,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--milk);
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  font-weight: 600;
  line-height: 0.98;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-light);
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after,
.social-link::after {
  content: "";
  width: 42px;
  height: 1px;
  margin-left: 16px;
  background: currentColor;
  opacity: 0;
  transition:
    margin-left 180ms ease,
    width 180ms ease,
    opacity 180ms ease;
}

.social-link::after {
  width: 0;
  margin-left: 0;
}

.social-link::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: currentColor;
  opacity: 0;
  transition:
    width 180ms ease,
    margin-right 180ms ease,
    opacity 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 64px;
  opacity: 1;
}

.social-link:hover::after,
.social-link:focus-visible::after {
  width: 42px;
  margin-left: 16px;
  opacity: 0.68;
}

.social-link:hover::before,
.social-link:focus-visible::before {
  width: 42px;
  margin-right: 16px;
  opacity: 0.68;
}

.text-link:focus-visible,
.social-link:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: 6px;
}

.schedule {
  display: grid;
  gap: 0;
  margin: 0;
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(217, 170, 82, 0.14);
}

.schedule-row:first-child {
  padding-top: 0;
}

.schedule-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.schedule-row.is-today dt::after {
  content: "сегодня";
  display: inline-block;
  margin-left: 12px;
  color: var(--gold-light);
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.schedule-row dt,
.schedule-row dd {
  margin: 0;
}

.schedule-row dt {
  color: rgba(255, 248, 232, 0.78);
  font-size: clamp(1.12rem, 1.9vw, 1.45rem);
}

.schedule-row dd {
  color: var(--gold-light);
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  font-weight: 700;
  white-space: nowrap;
}

.links-section {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto clamp(62px, 8vw, 108px);
  padding: clamp(28px, 5vw, 48px) 0;
  text-align: center;
}

.links-section h2 {
  margin-bottom: clamp(22px, 4vw, 36px);
}

.social-list {
  display: grid;
  gap: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-bottom: 1px solid rgba(217, 170, 82, 0.14);
  color: rgba(255, 248, 232, 0.86);
  text-decoration: none;
  transition:
    color 180ms ease,
    letter-spacing 180ms ease;
}

.social-link:last-child {
  border-bottom: 0;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.social-link span {
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 700;
  text-transform: uppercase;
}

.social-link sup {
  position: relative;
  top: -0.34em;
  margin-left: 0.08em;
  color: currentColor;
  font-size: 0.38em;
  line-height: 0;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 28px 24px 34px;
  border-top: 1px solid rgba(217, 170, 82, 0.14);
  background: #020202;
  color: rgba(255, 248, 232, 0.68);
  font-size: 1rem;
  text-align: center;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: rgba(255, 248, 232, 0.82);
  font-weight: 600;
}

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

.site-footer a {
  color: var(--gold-light);
  text-underline-offset: 5px;
}

.meta-note {
  width: min(760px, 100%);
  margin: 8px auto 0;
  color: rgba(189, 169, 130, 0.5);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  body {
    font-size: 18px;
  }

  .hero {
    justify-content: start;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-logo {
    width: min(88vw, 430px);
  }

  .lead {
    margin-top: 18px;
    font-size: clamp(1.36rem, 6vw, 1.74rem);
  }

  .visit-section {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(100% - 36px, 620px);
    padding-top: 20px;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 13px 0;
  }

  .schedule-row.is-today dt::after {
    display: block;
    margin: 2px 0 0;
  }

  .links-section {
    width: min(100% - 36px, 620px);
  }

  .social-link {
    min-height: 64px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .lead {
    font-size: 1.28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
