:root {
  --bg: #0c1214;
  --bg-2: #141c1f;
  --panel: #1a2428;
  --ink: #f4efe8;
  --muted: #b8aea2;
  --gold: #d4b072;
  --gold-2: #f0d9a4;
  --line: rgba(212, 176, 114, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #243238 0%, var(--bg) 55%);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(12, 18, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-2);
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a140c;
}

.btn-gold:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--gold-2);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 20, 0.15) 0%, rgba(12, 18, 20, 0.82) 78%),
    linear-gradient(90deg, rgba(12, 18, 20, 0.55), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
}

.kicker {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 12ch;
}

.lead {
  max-width: 42ch;
  color: #efe7db;
  font-size: 1.12rem;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card-mark {
  display: grid;
  place-items: center;
  height: 220px;
  background:
    radial-gradient(circle at 50% 40%, rgba(212, 176, 114, 0.28), transparent 55%),
    linear-gradient(180deg, #243238, #12191c);
  color: var(--gold-2);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card {
  background: linear-gradient(180deg, #1d282c, #151d20);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.prices {
  background: var(--bg-2);
}

.price-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.price-card,
.note-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px;
}

.price-card {
  background:
    linear-gradient(160deg, rgba(212, 176, 114, 0.14), transparent 42%),
    #1b2528;
}

.price {
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 8px 0 6px;
  color: var(--gold-2);
}

.price small {
  font-size: 0.42em;
  color: var(--muted);
}

.note-card {
  background: #11181b;
  color: var(--muted);
}

.note-card strong {
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.gallery-grid a:nth-child(3),
.gallery-grid a:nth-child(8) {
  grid-row: span 2;
}

.gallery-grid a:nth-child(3) img,
.gallery-grid a:nth-child(8) img {
  height: 100%;
  min-height: 370px;
}

.contacts {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #151d20;
}

.contact-box a {
  color: var(--gold-2);
  font-size: 1.35rem;
}

.legal-card {
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #151d20;
}

.legal-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin: 0 0 18px;
}

.legal-card dt {
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.legal-card dd {
  margin: 0;
}

.legal-card a {
  color: var(--gold-2);
}

.legal-note {
  margin: 0;
  color: var(--muted);
  max-width: 78ch;
}

.age-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal-card .age-mark {
  margin: 0 0 18px;
}

.howto {
  padding-top: 0;
}

.howto-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 80;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 92vw;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .cards,
  .price-grid,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid a:nth-child(3),
  .gallery-grid a:nth-child(8) {
    grid-row: auto;
  }

  .gallery-grid a:nth-child(3) img,
  .gallery-grid a:nth-child(8) img {
    min-height: 0;
    height: 180px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: #151c1f;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .cards,
  .price-grid,
  .contact-grid,
  .gallery-grid,
  .legal-card dl {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
