

/* ═══════════════════════════════════════════════
   LUMEA BODY — СПІЛЬНІ СТИЛІ
═══════════════════════════════════════════════ */

:root {
  --bg:         #0d0b09;
  --bg2:        #131009;
  --bg3:        #1a1610;
  --gold:       #c9a96e;
  --gold-light: #e2c48a;
  --gold-pale:  #f0ddb0;
  --cream:      #f5ede0;
  --cream-dim:  rgba(245,237,224,.65);
  --cream-faint:rgba(245,237,224,.55);
  --white:      #faf7f2;
  --border:     rgba(201,169,110,.18);
  --border2:    rgba(201,169,110,.08);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Jost', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Texture overlay ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}

/* ════════════════ HEADER ════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13,11,9,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  transition: background .3s;
}

.header-logo {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: .12em;
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
}
.header-logo span { color: var(--cream-dim); font-weight: 300; }

.header-nav {
  display: flex; align-items: center; gap: 36px;
}
.header-nav a {
  font-family: var(--ff-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .25s;
}
.header-nav a:hover, .header-nav a.active { color: var(--gold-light); }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }

.header-right {
  display: flex; align-items: center; gap: 20px;
}

/* Lang switcher */
.lang-switch {
  display: flex; gap: 4px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 3px;
}
.lang-switch button {
  background: none; border: none; cursor: pointer;
  font-family: var(--ff-body); font-size: 11px;
  font-weight: 600; letter-spacing: .08em;
  color: var(--cream-faint);
  padding: 4px 10px; border-radius: 16px;
  transition: all .2s;
}
.lang-switch button.active {
  background: var(--gold);
  color: var(--bg);
}

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg); font-family: var(--ff-body);
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  padding: 10px 22px; border-radius: 40px;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.header-cta:hover { opacity: .88; transform: translateY(-1px); }

/* Mobile menu */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--gold-light); transition: all .3s;
}

.mobile-menu {
  display: none; position: fixed; inset: 72px 0 0;
  background: rgba(13,11,9,.97);
  backdrop-filter: blur(20px);
  z-index: 99; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: 28px; font-weight: 400; letter-spacing: .06em;
  color: var(--cream); text-decoration: none;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-menu .lang-switch { margin-top: 16px; }

/* ════════════════ BUTTONS ════════════════ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg); font-family: var(--ff-body);
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none;
  padding: 16px 36px; border-radius: 50px;
  border: none; cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(201,169,110,.25);
}
.btn-gold:hover {
  opacity: .9; transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,169,110,.35);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold-light); font-family: var(--ff-body);
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none;
  padding: 15px 35px; border-radius: 50px;
  transition: all .25s;
}
.btn-outline:hover {
  background: rgba(201,169,110,.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* ════════════════ SECTIONS ════════════════ */
.section { position: relative; z-index: 1; }

.section-label {
  font-family: var(--ff-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400; line-height: 1.15;
  color: var(--white);
  letter-spacing: .02em;
}
.section-title em {
  font-style: italic; color: var(--gold-light);
}

.section-sub {
  font-size: 15px; color: var(--cream-dim);
  line-height: 1.75; max-width: 560px;
  margin-top: 16px;
}

/* ════════════════ CARDS ════════════════ */
.card {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 32px;
  transition: border-color .25s, transform .25s;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}

/* ════════════════ DIVIDER ════════════════ */
.divider {
  display: flex; align-items: center; gap: 16px;
  margin: 0 auto;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.divider-icon {
  color: var(--gold); font-size: 14px; letter-spacing: .2em;
}

/* ════════════════ IMAGE PLACEHOLDERS ════════════════ */
.img-placeholder {
  background: linear-gradient(135deg, var(--bg3), #1f1a12);
  border: 1px solid var(--border2);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--cream-faint);
  font-size: 13px; letter-spacing: .06em;
}
.img-placeholder svg { opacity: .3; }

/* ════════════════ FOOTER ════════════════ */
.site-footer {
  position: relative; z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 64px 32px 40px;
}

.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}

.footer-brand .logo {
  font-family: var(--ff-display);
  font-size: 24px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px; color: var(--cream-faint);
  line-height: 1.7; max-width: 240px;
}

.footer-col h3 {
  font-family: var(--ff-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px;
  color: var(--cream-faint); text-decoration: none;
  margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-social {
  display: flex; gap: 12px; margin-top: 20px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  color: var(--cream-faint); text-decoration: none;
  transition: all .2s; font-size: 16px;
}
.footer-social a:hover {
  background: rgba(201,169,110,.12);
  border-color: var(--gold);
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border2);
  font-size: 12px; color: var(--cream-faint);
}

/* ════════════════ FLOATING CTA ════════════════ */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 98;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.float-cta a {
  width: 52px; height: 52px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 22px;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.float-cta a:hover {
  background: rgba(201,169,110,.12);
  border-color: var(--gold);
  transform: scale(1.1);
}
.float-cta a.main {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none; font-size: 24px; color: var(--bg);
  box-shadow: 0 8px 28px rgba(201,169,110,.35);
}

/* ════════════════ ANIMATIONS ════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes shimmer {
  0%, 100% { opacity: .6; } 50% { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .site-header { padding: 0 20px; }
  .header-nav  { display: none; }
  .header-cta  { display: none; }
  .burger      { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .float-cta   { bottom: 16px; right: 16px; }
}

/* ── Scrolled header ── */
.site-header.scrolled {
  background: rgba(13,11,9,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

/* ── Mobile burger animation ── */
.mobile-menu.open ~ .site-header .burger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu.open ~ .site-header .burger span:nth-child(2) { opacity: 0; }
.mobile-menu.open ~ .site-header .burger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Shared page hero (про-нас, контакти etc) ── */
.page-hero {
  padding: 140px 32px 80px;
  text-align: center;
  position: relative;
}
.page-hero-inner { max-width: 700px; margin: 0 auto; }

/* ── Touch devices: remove hover-only states ── */
@media (hover: none) {
  .ba-card:hover .ba-after { clip-path: inset(0 0 0 50%); }
  .card:hover, .service-block:hover { transform: none; }
  .btn-gold:hover, .btn-outline:hover { transform: none; }
}

/* ════ RESPONSIVE shared ════ */
@media (max-width: 900px) {
  .page-hero { padding: 120px 20px 60px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 100px 16px 48px; }
  .section-label { font-size: 9px; letter-spacing: .2em; }
}
