/* ══════════════════════════════════════
   VADIS LAW GROUP — Shared Styles
   Palette D: Black + Gold
══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@200;300;400;500;600&display=swap');

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

:root {
  --black:  #111111;
  --black2: #1a1a1a;
  --black3: #222222;
  --black4: #2a2a2a;
  --gold:   #C9A96E;
  --gold-lt:#E2C99A;
  --cream:  #F0E8D8;
  --warm:   #8C7B5E;
  --line:   rgba(201,169,110,0.18);
  --line2:  rgba(201,169,110,0.08);
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* LANG */
[data-lang="uk"] .en { display: none; }
[data-lang="en"] .uk { display: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; letter-spacing: 0.22em;
  color: var(--cream); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: rgba(240,232,216,0.5);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.2s; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-btn {
  background: none; border: 1px solid var(--line);
  color: rgba(240,232,216,0.45); font-family: 'Jost', sans-serif;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.32rem 0.7rem; cursor: pointer; border-radius: 2px;
  transition: all 0.2s;
}
.lang-btn:hover, .lang-btn.active { border-color: var(--gold); color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--black);
  text-decoration: none; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.52rem 1.3rem; border-radius: 2px;
  transition: background 0.2s; font-weight: 400;
}
.nav-cta:hover { background: var(--gold-lt); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--cream); display: block; transition: all 0.3s; }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: var(--black); flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--cream); text-decoration: none;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-close { position: absolute; top: 1.5rem; right: 5vw; background: none; border: none; color: var(--cream); font-size: 1.8rem; cursor: pointer; }
.mobile-lang { display: flex; gap: 1rem; margin-top: 0.5rem; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 5vw 5rem;
  background: var(--black);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line2);
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(201,169,110,0.03));
  pointer-events: none;
}
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.page-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.01em;
  color: #fff;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  margin-top: 1.2rem; font-size: 1rem; line-height: 1.85;
  color: rgba(240,232,216,0.6); max-width: 520px;
}
.page-hero-bg {
  position: absolute; right: 5vw; bottom: -2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 10vw, 12rem); font-weight: 600;
  color: rgba(201,169,110,0.04); line-height: 1;
  pointer-events: none; user-select: none; z-index: 0;
}

/* ── SECTIONS ── */
section { padding: 5.5rem 5vw; }
.section-eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block; padding: 0.85rem 2rem;
  background: var(--gold); color: var(--black);
  text-decoration: none; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 2px; font-weight: 400;
  transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block; padding: 0.85rem 2rem;
  border: 1px solid var(--line); color: rgba(240,232,216,0.6);
  text-decoration: none; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── FADE UP ── */
.fu { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fu.vis { opacity: 1; transform: translateY(0); }
.fu.d1 { transition-delay: 0.1s; }
.fu.d2 { transition-delay: 0.2s; }
.fu.d3 { transition-delay: 0.3s; }
.fu.d4 { transition-delay: 0.4s; }

/* ── FOOTER ── */
footer {
  background: #0a0a0a; padding: 3rem 5vw;
  border-top: 1px solid var(--line2);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; letter-spacing: 0.22em;
  color: var(--cream); text-decoration: none; display: block;
}
.footer-logo span { color: var(--gold); }
.footer-tagline {
  font-size: 0.7rem; letter-spacing: 0.14em;
  color: rgba(240,232,216,0.28); margin-top: 0.5rem;
  font-style: italic; font-family: 'Cormorant Garamond', serif;
}
.footer-col h5 {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(240,232,216,0.28); margin-bottom: 1.1rem; font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a {
  font-size: 0.8rem; color: rgba(240,232,216,0.42); text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--line2);
}
.footer-copy { font-size: 0.72rem; color: rgba(240,232,216,0.2); }
.footer-links-sm { display: flex; gap: 1.8rem; }
.footer-links-sm a { font-size: 0.72rem; color: rgba(240,232,216,0.25); text-decoration: none; transition: color 0.2s; }
.footer-links-sm a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 580px) {
  section { padding: 4rem 5vw; }
  .page-hero { padding: 8rem 5vw 4rem; }
}
