:root {
  --navy:       #0a0e1a;
  --navy-mid:   #0f1628;
  --navy-light: #1a2340;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale:  #f5e6b8;
  --white:      #f8f5ee;
  --muted:      #9a9080;
  --border:     rgba(201,168,76,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(to bottom, rgba(10,14,26,0.97) 60%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  transition: padding .3s;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  letter-spacing: .28em;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.nav-logo img {
  height: 62px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .3s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .8rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: .25rem .4rem;
}
.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: .22rem .45rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--muted);
  font-family: 'Cinzel', serif;
  font-size: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .55;
  transition: all .25s;
}
.lang-btn .lang-flag { font-size: 1rem; line-height: 1; }
.lang-btn.active {
  opacity: 1;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}
.lang-btn:hover { opacity: .85; }
.lang-divider {
  width: 1px; height: 16px;
  background: var(--border);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.burger-btn span {
  display: block;
  width: 22px; height: 1px;
  background: var(--gold);
  transition: all .3s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  z-index: 899;
  background: rgba(10,14,26,0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .3s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 30%, rgba(26,35,64,0.9) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, #0d1530 50%, var(--navy-mid) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; right: 15%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: .15;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 25%; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: .08;
}

.hero-photo-wrap {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 360px;
  height: 90vh;
  overflow: hidden;
}
.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(10%) brightness(.9) contrast(1.05);
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 30%),
              linear-gradient(to top, var(--navy) 0%, transparent 20%);
  z-index: 1;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  top: 5%; left: -12px;
  right: -12px; bottom: 5%;
  border: 1px solid var(--gold);
  opacity: .25;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 620px;
  padding: 0 3rem;
  margin-left: 5%;
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.8rem;
  color: var(--white);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: .85rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 3rem;
}
.btn-primary {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all .3s;
  position: relative;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all .3s;
  margin-left: 1rem;
}
.btn-secondary:hover { background: rgba(201,168,76,.1); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stats > div { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem;
}

@keyframes statPop {
  0%   { transform: scale(1.18); color: var(--gold-light); }
  100% { transform: scale(1);    color: var(--gold); }
}
.stat-num.popping { animation: statPop .12s ease; }

.scroll-hint {
  position: absolute;
  bottom: 1.7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .58rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(1); }
  50%      { opacity: 1;  transform: scaleY(1.2); }
}

/* ── SECTION COMMONS ── */
section { padding: 7rem 3rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  letter-spacing: .35em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* ── ABOUT ── */
#about {
  background: var(--navy-mid);
  position: relative;
}
#about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .3;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-light);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .1em;
  overflow: hidden;
}
.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 1px solid var(--gold);
  opacity: .2;
  pointer-events: none;
}
.about-body p {
  font-size: .9rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.about-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--gold-light);
  margin-top: 2rem;
}

/* ── SERVICES ── */
#services { background: var(--navy); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}
.service-card {
  background: var(--navy);
  padding: 3rem 2rem;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .4s;
}
.service-card:hover { background: var(--navy-light); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Cinzel', serif;
  font-size: .6rem;
  letter-spacing: .25em;
  color: var(--gold);
  opacity: .5;
  margin-bottom: 1.5rem;
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: .8rem;
  color: var(--white);
}
.service-desc {
  font-size: .78rem;
  line-height: 1.8;
  color: var(--muted);
}
.service-price {
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gold);
}

/* ── PORTFOLIO ── */
#portfolio { background: var(--navy-mid); }

.portfolio-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Cinzel', serif;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  cursor: pointer;
  transition: all .3s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── GALERIE PORTFOLIO ── */
.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  opacity: 1;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 2px;
  background: var(--navy-light);
  transition: border-color .3s, transform .3s;
}
.gallery-thumb:hover {
  border-color: rgba(201,168,76,0.55);
  transform: translateY(-3px);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.gallery-thumb:hover img {
  transform: scale(1.07);
}
.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,.75) 0%, transparent 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s;
  color: var(--gold-light);
}
.gallery-thumb:hover .gallery-thumb-overlay {
  opacity: 1;
}

/* ── CONTACT ── */
#contact { background: var(--navy-mid); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.contact-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(197,160,80,0.15), rgba(197,160,80,0.05)) !important;
  border: 1px solid rgba(197,160,80,0.4) !important;
  color: #c5a050;
  box-shadow: 0 0 12px rgba(197,160,80,0.1) !important;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: .75rem !important;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}
.contact-detail-value {
  font-size: .88rem;
  color: var(--white);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: .3em;
  color: var(--gold);
}
.footer-copy {
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.footer-links a:hover { color: var(--gold); }

/* ── ORNAMENTAL DIVIDER ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
  opacity: .25;
}
.ornament::after { background: linear-gradient(to left, transparent, var(--gold)); }
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: .5;
}

/* ── LIGHTBOX ── */
#lightbox { display: none; }
#lightbox.open { display: flex !important; }
#lb-media img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 4px; }
#lb-media video { max-width: 100%; max-height: 78vh; border-radius: 4px; }
.lb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(197,160,80,.3); border: 1px solid rgba(197,160,80,.5); cursor: pointer; transition: background .2s; }
.lb-dot.active { background: #c5a050; }
#lb-prev:hover, #lb-next:hover { background: rgba(197,160,80,.15) !important; border-color: #c5a050 !important; }

/* ── LANG ── */
[data-lang="en"] { display: none; }
[data-lang="ru"] { display: inline; }
body.lang-en [data-lang="en"] { display: inline; }
body.lang-en [data-lang="ru"] { display: none; }
body.lang-ru [data-lang="ru"] { display: inline; }
body.lang-ru [data-lang="en"] { display: none; }

p[data-lang], div[data-lang], span[data-lang] { display: block; }
body.lang-en p[data-lang="ru"],
body.lang-en div[data-lang="ru"],
body.lang-en span[data-lang="ru"] { display: none; }
body.lang-en p[data-lang="en"],
body.lang-en div[data-lang="en"],
body.lang-en span[data-lang="en"] { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    grid-template-columns: 1fr auto auto;
    padding: 1rem 1.5rem;
  }
  .nav-links { display: none; }
  .burger-btn { display: flex; }
  section { padding: 5rem 1.5rem; }
  .about-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .hero-photo-wrap { width: 200px; opacity: .4; }
  .hero-content { margin-left: 0; }
@media (max-width: 768px) {
  .scroll-hint { display: none; }
}
}
