:root {
  --bg: #070706;
  --bg-alt: #111110;
  --panel: rgba(255,255,255,0.035);
  --panel-border: rgba(212,175,55,0.18);
  --ink: #f6f2e9;
  --muted: #a89f8d;
  --gold-deep: #8a6d1f;
  --gold: #d4af37;
  --gold-light: #f3dd9c;
  --wine: #5c1a26;
  --grad: linear-gradient(120deg, var(--gold-deep), var(--gold) 50%, var(--gold-light));
  --grad-diag: linear-gradient(135deg, #1a1508, var(--bg) 60%);
  --radius: 18px;
  --maxw: 1180px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin: 0 0 14px; font-weight: 700; }
p { line-height: 1.75; color: var(--muted); margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
@media (hover: none) { body { cursor: auto; } .cursor-dot, .cursor-ring { display: none; } }

/* ── custom cursor ────────────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(212,175,55,0.55);
  transition: width .25s, height .25s, border-color .25s, background .25s;
}
.cursor-ring.hovering { width: 56px; height: 56px; background: rgba(212,175,55,0.1); border-color: var(--gold); }

/* ── background fx ───────────────────────────────────────────── */
.bg-fx { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.16; animation: drift 24s ease-in-out infinite; }
.blob-1 { width: 480px; height: 480px; background: var(--gold); top: -140px; left: -100px; }
.blob-2 { width: 520px; height: 520px; background: var(--wine); top: 35%; right: -200px; animation-delay: -8s; }
.blob-3 { width: 420px; height: 420px; background: var(--gold-deep); bottom: -160px; left: 25%; animation-delay: -16s; }
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.12); }
}
.grain {
  position: absolute; inset: -10%; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gold-lines { position: absolute; inset: 0; }
.gold-lines span {
  position: absolute; height: 1px; width: 140%; left: -20%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
  animation: slide 14s linear infinite;
}
.gold-lines span:nth-child(1) { top: 18%; animation-duration: 16s; }
.gold-lines span:nth-child(2) { top: 52%; animation-duration: 22s; animation-delay: -6s; }
.gold-lines span:nth-child(3) { top: 78%; animation-duration: 19s; animation-delay: -3s; }
@keyframes slide { from { transform: translateX(-10%); } to { transform: translateX(10%); } }

/* ── nav ──────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7,7,6,0.6);
  border-bottom: 1px solid rgba(212,175,55,0.14);
  transition: background .3s ease;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; font-family: var(--serif); }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; flex: none; object-fit: cover; }
.brand-text em { font-style: normal; color: var(--muted); font-weight: 400; font-size: .8em; font-family: var(--sans); display: block; margin-top: -2px; letter-spacing: .5px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--muted); transition: color .2s; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--gold); transition: width .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.btn-nav { flex: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }

/* ── buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap; font-family: var(--sans);
}
.btn-primary { background: var(--grad); color: #1a1408; box-shadow: 0 8px 26px -8px rgba(212,175,55,0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(212,175,55,0.7); }
.btn-ghost { background: transparent; color: var(--gold-light); border: 1px solid rgba(212,175,55,0.4); }
.btn-ghost:hover { background: rgba(212,175,55,0.08); transform: translateY(-2px); border-color: var(--gold); }
.btn-lg { padding: 17px 36px; font-size: 15px; }

/* ── layout helpers ───────────────────────────────────────────── */
main, .footer { position: relative; z-index: 1; }
section { padding: 100px 24px; scroll-margin-top: 76px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 14px; font-family: var(--sans);
}
.tag::before { content: "— "; color: var(--gold); }
.tag.center { display: block; text-align: center; }
h2.center, p.center { text-align: center; }
.grad-text { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.link-arrow { color: var(--gold-light); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 4px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--gold-light); }

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

.split-word { display: inline-block; overflow: hidden; vertical-align: top; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.split-word.in > span { transform: translateY(0); }

/* ── marquee ──────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid rgba(212,175,55,0.18); border-bottom: 1px solid rgba(212,175,55,0.18);
  overflow: hidden; padding: 18px 0; background: rgba(212,175,55,0.03); position: relative; z-index: 1;
}
.marquee-track {
  display: flex; gap: 28px; white-space: nowrap; width: max-content;
  animation: marquee 32s linear infinite; font-family: var(--serif); font-size: 20px; color: var(--gold-light); letter-spacing: .5px;
}
.marquee-track .dot { color: var(--gold); font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  min-height: 92vh; max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 40px; flex-wrap: wrap;
}
.hero-inner { max-width: 620px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--gold); margin-bottom: 18px; font-family: var(--sans); }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; }
.hero-sub { font-size: 17px; max-width: 520px; font-family: var(--sans); }
.hero-cta { display: flex; gap: 14px; margin: 26px 0 44px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; font-family: var(--sans); }
.stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; }
.stat-num, .stat-plus { font-size: 28px; font-weight: 800; color: var(--gold-light); font-family: var(--serif); }
.stat-label { width: 100%; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }

.hero-orb { position: relative; width: 420px; height: 420px; flex: none; display: flex; align-items: center; justify-content: center; }
.globe-glow {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(243,221,156,0.5), rgba(212,175,55,0.18) 45%, transparent 70%);
  filter: blur(18px); animation: glowpulse 5s ease-in-out infinite;
}
@keyframes glowpulse { 0%,100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.globe-canvas { position: relative; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.globe-canvas:active { cursor: grabbing; }
.globe-tip {
  position: absolute; pointer-events: none; opacity: 0; transform: translate(-50%, -130%);
  background: rgba(7,7,6,0.92); border: 1px solid rgba(212,175,55,0.4); color: var(--gold-light);
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  transition: opacity .15s; z-index: 5; letter-spacing: .3px;
}
.globe-tip.show { opacity: 1; }
.globe-hint {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; opacity: 0.7;
}

.scroll-cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(212,175,55,0.4); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
  background: var(--gold); border-radius: 50%; animation: scrolldown 1.6s ease-in-out infinite;
}
@keyframes scrolldown { 0% { top: 6px; opacity: 1;} 80% { top: 26px; opacity: 0;} 100% { opacity: 0; } }

/* ── split section (philosophy / why ukr) ────────────────────── */
.split-section { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; z-index: 1; }
.split-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 38px; backdrop-filter: blur(8px);
  transition: border-color .3s, transform .3s;
}
.split-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-4px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.2); color: var(--muted); font-family: var(--sans);
}

/* ── about ────────────────────────────────────────────────────── */
.about { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about h2 { font-size: 36px; }
.about-illustration { width: 100%; height: auto; }
.counter-card {
  margin-top: 60px; text-align: center; padding: 44px; border-radius: var(--radius);
  background: var(--grad); color: #1a1408;
}
.counter-num { font-size: 46px; font-weight: 800; font-family: var(--serif); }
.counter-card span:nth-child(2) { font-size: 46px; font-weight: 800; font-family: var(--serif); }
.counter-label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; opacity: .85; font-family: var(--sans); }

/* ── industries ───────────────────────────────────────────────── */
.industries { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.industries h2 { font-size: 36px; margin-bottom: 44px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1000px; }
.tilt-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 30px 26px; transition: border-color .3s, background .3s;
  transform-style: preserve-3d; will-change: transform;
}
.tilt-card:hover { border-color: rgba(212,175,55,0.55); background: rgba(212,175,55,0.045); }
.tilt-icon { font-size: 32px; margin-bottom: 14px; }
.tilt-card h3 { font-size: 19px; }
.tilt-card p { font-size: 14px; font-family: var(--sans); }

/* ── renovation ───────────────────────────────────────────────── */
.renovation { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.renovation-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.renovation h2 { font-size: 34px; }
.check-list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 14px; font-family: var(--sans); }
.check-list li { padding-left: 30px; position: relative; color: var(--ink); font-size: 15px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad); color: #1a1408; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.renovation-illustration { width: 100%; height: auto; }

/* ── banner ───────────────────────────────────────────────────── */
.banner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.banner-inner {
  background: var(--grad); border-radius: 28px; padding: 68px 40px; text-align: center; color: #1a1408;
}
.banner-inner h2 { font-size: 34px; color: #1a1408; }
.banner-inner p { color: rgba(26,20,8,0.75); max-width: 640px; margin: 0 auto 28px; font-family: var(--sans); }
.banner-inner .btn-primary { background: #1a1408; color: var(--gold-light); }
.banner-inner .btn-ghost { border-color: rgba(26,20,8,0.4); color: #1a1408; }

/* ── services ─────────────────────────────────────────────────── */
.services { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.services h2 { font-size: 36px; margin-bottom: 44px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1000px; }
.service-col {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 34px; transition: border-color .3s;
  transform-style: preserve-3d; will-change: transform;
}
.service-col.featured { background: var(--grad); border-color: transparent; color: #1a1408; }
.service-col.featured p, .service-col.featured li, .service-col.featured h3 { color: #1a1408; }
.service-col:hover { border-color: rgba(212,175,55,0.5); }
.service-icon { font-size: 30px; margin-bottom: 12px; }
.service-col li { padding: 7px 0; border-top: 1px solid rgba(212,175,55,0.15); font-size: 14px; color: var(--muted); font-family: var(--sans); }
.service-col li:first-of-type { border-top: none; }
.service-col.featured li { border-top-color: rgba(26,20,8,0.2); }

/* ── journey ──────────────────────────────────────────────────── */
.journey { max-width: var(--maxw); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.journey h2 { font-size: 38px; }
.journey p { max-width: 560px; margin: 0 auto 30px; font-family: var(--sans); }

/* ── teasers ──────────────────────────────────────────────────── */
.teasers { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 1; }
.teaser-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 34px; transition: transform .3s, border-color .3s;
}
.teaser-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.4); }
.teaser-card p { font-family: var(--sans); }

/* ── contact ──────────────────────────────────────────────────── */
.contact { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.contact h2 { font-size: 32px; }
.contact-line { color: var(--ink); font-size: 15px; font-family: var(--sans); }
.contact-line a { color: var(--gold-light); }
.social-row { display: flex; gap: 16px; margin-top: 18px; font-family: var(--sans); }
.social-row a {
  font-size: 13px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(212,175,55,0.25);
  color: var(--muted); transition: all .2s;
}
.social-row a:hover { color: var(--gold-light); border-color: var(--gold); }

.contact-form {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 16px; font-family: var(--sans);
}
.contact-form label { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 14px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.2); background: rgba(255,255,255,0.02); color: var(--ink); outline: none;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form button { align-self: flex-start; }
.form-note { font-size: 13px; color: var(--gold-light); min-height: 18px; }

/* ── footer ───────────────────────────────────────────────────── */
.footer { border-top: 1px solid rgba(212,175,55,0.15); padding: 40px 24px 0; position: relative; z-index: 1; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between; padding-bottom: 30px;
}
.footer-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); flex-wrap: wrap; font-family: var(--sans); }
.footer-links a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 18px; font-size: 13px; color: var(--muted); font-family: var(--sans); }
.footer-bottom {
  border-top: 1px solid rgba(212,175,55,0.1); text-align: center; font-size: 12px; color: var(--muted);
  padding: 18px 24px; max-width: var(--maxw); margin: 0 auto; font-family: var(--sans);
}

/* ── responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .split-section, .about-grid, .renovation-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .teasers { grid-template-columns: 1fr; }
  .about-visual, .renovation-visual { order: -1; max-width: 280px; margin: 0 auto; }
  .hero { justify-content: center; text-align: center; }
  .hero-inner { max-width: 100%; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-orb { display: none; }
}
.mobile-menu { display: none; }
@media (max-width: 720px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--bg); flex-direction: column; align-items: center;
    justify-content: center; gap: 28px; font-size: 18px; font-family: var(--serif);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-weight: 600; color: var(--muted); transition: color .2s; }
  .mobile-menu a:hover { color: var(--gold-light); }
  .mobile-menu-close {
    position: absolute; top: 22px; right: 24px; background: none; border: none;
    color: var(--gold); font-size: 22px; cursor: pointer; padding: 6px;
  }
  .card-grid { grid-template-columns: 1fr; }
  section { padding: 70px 20px; }
}
