/* ============================================================
   ФАБРИКА КОВАНЫХ ИЗДЕЛИЙ — Premium Design System
   Color Palette: Black (#0A0A0A) + Gold (#F5A623 → #FFD700)
   Typography: Playfair Display + Inter (Google Fonts)
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --color-bg-primary: #0A0A0A;
  --color-bg-secondary: #111111;
  --color-bg-tertiary: #1A1A1A;
  --color-bg-card: #141414;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-gold: rgba(245, 166, 35, 0.3);

  --color-gold-primary: #F5A623;
  --color-gold-light: #FFD700;
  --color-gold-dark: #C8860A;
  --color-gold-glow: rgba(245, 166, 35, 0.25);

  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B0B0B0;
  --color-text-muted: #666666;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #F5A623 0%, #FFD700 50%, #F5A623 100%);
  --gradient-gold-text: linear-gradient(135deg, #F5A623, #FFD700, #FFC857);
  --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 50%, #0A0A0A 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Sizing */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 30px rgba(245, 166, 35, 0.15);
  --shadow-gold-lg: 0 8px 50px rgba(245, 166, 35, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-gold-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

input, textarea {
  font-family: var(--font-body);
  outline: none;
}

::selection {
  background: var(--color-gold-primary);
  color: var(--color-bg-primary);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--dark {
  background-color: var(--color-bg-secondary);
}

/* Gold gradient text */
.text-gold {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Decorative gold line */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: var(--space-lg) 0;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* Section heading */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.section-heading p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER — Glassmorphism Navigation
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
  display: flex;
  align-items: center;
}

.header--transparent {
  background: transparent;
}

.header--scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: 1001;
}

.header__logo-icon {
  height: 42px;
  width: auto;
  max-width: 150px;
  flex-shrink: 0;
  object-fit: contain;
  background-color: #0A0A0A; /* Чёрный фон для золотого логотипа */
  padding: 4px;
  border-radius: 8px;
  filter: drop-shadow(0 2px 10px rgba(245, 166, 35, 0.2));
  transition: transform var(--transition-spring), filter var(--transition-base);
}

.header__logo:hover .header__logo-icon {
  transform: scale(1.1) rotate(-3deg);
  filter: drop-shadow(0 4px 16px rgba(245, 166, 35, 0.5));
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.header__logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header__nav a {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--color-text-primary);
  background: var(--color-surface-hover);
}

.header__nav a.active {
  color: var(--color-gold-primary);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 1px;
  transition: width var(--transition-base), left var(--transition-base);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 50%;
  left: 25%;
}

/* Phone link in nav */
.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg) !important;
  background: var(--gradient-gold) !important;
  color: var(--color-bg-primary) !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  margin-left: var(--space-sm);
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-spring), box-shadow var(--transition-base) !important;
}

.header__phone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg) !important;
  background: var(--gradient-gold) !important;
}

.header__phone::after {
  display: none !important;
}

.header__phone svg {
  width: 16px;
  height: 16px;
  fill: var(--color-bg-primary);
}

/* Burger Menu Button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.burger__line {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.burger__line:nth-child(1) { margin-bottom: 6px; }
.burger__line:nth-child(3) { margin-top: 6px; }

.burger.active .burger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: var(--space-sm) var(--space-xl);
  transition: color var(--transition-fast), transform var(--transition-fast);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-gold-primary);
}

/* Stagger mobile nav links */
.mobile-nav.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.08s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.11s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.14s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.17s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.20s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.23s; }
.mobile-nav.open a:nth-child(8) { transition-delay: 0.26s; }

.mobile-nav__phone {
  margin-top: var(--space-xl);
  font-family: var(--font-body) !important;
  font-size: 1.2rem !important;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated gradient orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--color-gold-primary);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--color-gold-dark);
  bottom: -10%;
  left: -5%;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--color-gold-light);
  top: 40%;
  left: 50%;
  opacity: 0.08;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.02); }
}

/* Particle canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
  animation: fadeInDown 1s ease 0.2s both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 1s ease 0.6s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform var(--transition-spring), box-shadow var(--transition-base), background var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-gold);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
  color: var(--color-bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  border-color: var(--color-gold-primary);
  background: rgba(245, 166, 35, 0.08);
  color: var(--color-gold-primary);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Hero contact info strip */
.hero__contacts {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 1s ease 1s both;
}

.hero__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hero__contact-item:hover {
  color: var(--color-gold-primary);
}

.hero__contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold-primary);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUpScroll 1s ease 1.2s both;
}

@keyframes fadeInUpScroll {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-gold-primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Keyframe animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ABOUT / FEATURES SECTION
   ============================================================ */
.about {
  position: relative;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.about__text p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.about__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about__stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* Feature Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-2xl);
  transition: transform var(--transition-spring), border-color var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.1);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-lg);
  transition: background var(--transition-base), transform var(--transition-spring);
}

.feature-card:hover .feature-card__icon {
  background: rgba(245, 166, 35, 0.18);
  transform: scale(1.08);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-gold-primary);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   GALLERY / PORTFOLIO
   ============================================================ */
.gallery {
  background: var(--color-bg-primary);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery__item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-tertiary);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item-overlay svg {
  width: 24px;
  height: 24px;
  fill: var(--color-gold-primary);
}

/* Load more button */
.gallery__more {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform var(--transition-slow);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-spring);
}

.lightbox__close:hover {
  background: rgba(245, 166, 35, 0.2);
  transform: rotate(90deg);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-primary);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-spring);
}

.lightbox__nav:hover {
  background: rgba(245, 166, 35, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-primary);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  background: var(--color-bg-secondary);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-bg-tertiary);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-2xl);
}

.video-wrapper:last-child {
  margin-bottom: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-description {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================================
   PAGE HERO (Subpages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: var(--color-bg-primary);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.page-hero__breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
  color: var(--color-gold-primary);
}

.page-hero__breadcrumb svg {
  width: 14px;
  height: 14px;
  fill: var(--color-text-muted);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.page-hero__desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   CONTENT PAGE (text content sections)
   ============================================================ */
.content-section {
  background: var(--color-bg-primary);
}

.content-section__body {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.content-section__body p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.content-section__body p strong {
  color: var(--color-gold-primary);
  font-weight: 600;
}

/* Feature list within content */
.content-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.content-feature {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: border-color var(--transition-base), transform var(--transition-spring);
}

.content-feature:hover {
  border-color: var(--color-border-gold);
  transform: translateY(-4px);
}

.content-feature__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.1);
  border-radius: var(--border-radius-sm);
}

.content-feature__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-gold-primary);
}

.content-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.content-feature p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* ============================================================
   FEEDBACK / CONTACT SECTION
   ============================================================ */
.feedback {
  position: relative;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.feedback::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.feedback__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.feedback__info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.feedback__info p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.feedback__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.feedback__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.feedback__contact-item:hover {
  color: var(--color-gold-primary);
}

.feedback__contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.1);
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-base), transform var(--transition-spring);
}

.feedback__contact-item:hover .feedback__contact-icon {
  background: rgba(245, 166, 35, 0.18);
  transform: scale(1.06);
}

.feedback__contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-gold-primary);
}

.feedback__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.feedback__social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-spring);
}

.feedback__social a:hover {
  border-color: var(--color-gold-primary);
  background: rgba(245, 166, 35, 0.1);
  transform: translateY(-3px);
}

.feedback__social svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-secondary);
  transition: fill var(--transition-fast);
}

.feedback__social a:hover svg {
  fill: var(--color-gold-primary);
}

/* Contact Form */
.feedback__form {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  backdrop-filter: blur(10px);
}

.feedback__form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold-primary);
  background: rgba(245, 166, 35, 0.04);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-submit {
  margin-top: var(--space-xl);
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.05rem;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 64px;
  height: 64px;
  fill: var(--color-gold-primary);
  margin-bottom: var(--space-lg);
}

.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--color-text-secondary);
}

/* ============================================================
   MAP
   ============================================================ */
.map-section {
  width: 100%;
  height: 450px;
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.8) contrast(1.1) brightness(0.6);
  transition: filter var(--transition-base);
}

.map-section:hover iframe {
  filter: grayscale(0.3) contrast(1) brightness(0.8);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.footer__brand p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-top: var(--space-md);
  line-height: 1.7;
  max-width: 300px;
}

.footer__column h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.footer__column a {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer__column a:hover {
  color: var(--color-gold-primary);
  padding-left: var(--space-sm);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer__bottom a {
  color: var(--color-text-muted);
}

.footer__bottom a:hover {
  color: var(--color-gold-primary);
}

/* ============================================================
   CTA BANNER (between sections)
   ============================================================ */
.cta-banner {
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--color-bg-primary);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: var(--gradient-card);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-gold);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .hero__contacts {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: 120px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__contacts {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .about__stats {
    justify-content: center;
  }

  .gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-sm);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .map-section {
    height: 300px;
  }

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

  .content-features {
    grid-template-columns: 1fr;
  }

  .video-wrapper {
    border-radius: var(--border-radius-md);
  }

  .cta-banner__inner {
    padding: var(--space-xl);
    margin: 0 var(--space-md);
  }

  .feedback__form {
    padding: var(--space-xl);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about__stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

  .header__logo-text {
    font-size: 1rem;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .header, .hero__bg, .mobile-nav, .lightbox, .burger {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 1rem 0;
  }
}
