:root {
  --bg-main: #050607;
  --bg-elevated: #101213;
  --accent: #b8863b;      /* бронза */
  --accent-soft: #8b6a32;
  --text-main: #f2f2f2;
  --text-muted: #b0b0b0;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.6);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #181818 0, #050607 45%, #020203 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 7, 0.96) 0%,
    rgba(5, 6, 7, 0.88) 60%,
    transparent 100%
  );
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-block {
  display: flex;
  flex-direction: column;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  font-size: 0.98rem;
}

.logo-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  margin-top: 4px;
}

.top-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: var(--accent-soft);
  background: radial-gradient(circle at top, rgba(184, 134, 59, 0.18), transparent 60%);
}

.nav-link--active {
  color: var(--text-main);
  border-color: var(--accent);
  background: radial-gradient(circle at top, rgba(184, 134, 59, 0.32), rgba(5, 6, 7, 0.96));
}

/* MAIN LAYOUT */

.site-main {
  padding: 24px 16px 40px;
}

.page-container {
  max-width: 1120px;
  margin: 0 auto;
}

.page {
  background: radial-gradient(circle at top left, rgba(184, 134, 59, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(139, 106, 50, 0.22), rgba(5, 6, 7, 1));
  border-radius: var(--radius-lg);
  padding: 24px 20px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184, 134, 59, 0.18);
}

/* HEADINGS & TEXT */

.page-header h1 {
  font-size: 1.8rem;
  margin: 0 0 10px;
}

.page-lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.page-section {
  margin-top: 24px;
}

.page-section h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li {
  margin-bottom: 6px;
}

/* CTA */

.page-section--cta {
  border-radius: var(--radius-md);
  border: 1px solid rgba(184, 134, 59, 0.6);
  padding: 18px 16px;
  margin-top: 28px;
  background: radial-gradient(circle at top, rgba(184, 134, 59, 0.32), transparent 70%);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b8863b, #8b6a32);
  color: #050607;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  margin-top: 8px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  filter: brightness(1.05);
}

/* FORM */

.order-form {
  margin-top: 8px;
}

.form-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-form input,
.order-form textarea {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 6, 7, 0.9);
  padding: 8px 10px;
  color: var(--text-main);
  font-size: 0.9rem;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(184, 134, 59, 0.3);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* GALLERY */

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

.gallery-item {
  background: rgba(5, 6, 7, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(184, 134, 59, 0.2);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.gallery-image-wrapper {
  position: relative;
  padding-top: 75%; /* 4:3 */
  overflow: hidden;
}

.gallery-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  padding: 10px 12px 12px;
}

.gallery-title {
  font-size: 1rem;
  margin: 0 0 4px;
}

.gallery-description {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* LINKS LIST */

.links-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.links-list li {
  margin-bottom: 6px;
}

.links-list a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.links-list a:hover {
  border-color: var(--accent);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 12px 16px 20px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-banner {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(184, 134, 59, 0.4);
  background: radial-gradient(circle at left, rgba(184, 134, 59, 0.32), transparent 70%);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .top-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-link {
    white-space: nowrap;
  }

  .site-main {
    padding: 16px 10px 28px;
  }

  .page {
    padding: 18px 14px 22px;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
