/* ============================================================
   АДВОКАТ В ОДЕСІ — Luxury Minimal / Dark Premium
   ============================================================ */

:root {
  --navy-900: #140407;
  --navy-800: #210710;
  --navy-700: #7A1330;
  --gold: #C1123F;
  --gold-light: #E8547A;
  --gold2: #C7A15A;
  --gold2-light: #E0C084;
  --white: #FFFFFF;
  --off-white: #F5F2EC;
  --ink: #1C1013;
  --muted: rgba(28, 16, 19, 0.72);
  --muted-light: rgba(255, 255, 255, 0.86);
  --line-dark: rgba(20, 4, 7, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow-premium: 0 24px 80px -24px rgba(20, 4, 7, 0.45);
  --shadow-gold: 0 18px 60px -18px rgba(193, 18, 63, 0.5);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'General Sans', -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--navy-900); }

/* ---------- Utilities ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.section { padding: clamp(90px, 11vw, 160px) 0; position: relative; scroll-margin-top: 90px; }
.section--dark { background: var(--navy-900); color: var(--white); }

/* premium focus + tap states */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}
@media (hover: none) { .service-card__body p, .case-card__body p { opacity: 1 !important; max-height: none !important; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--muted-light); }
.eyebrow--gold { color: var(--gold); }

.title {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--navy-900); margin-bottom: 26px;
}
.title--light { color: var(--white); }
.lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: var(--ink); margin-bottom: 18px; }
.text { color: var(--muted); font-size: 16px; max-width: 56ch; }
.text--light { color: var(--muted-light); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 60px;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head > p { max-width: 360px; color: var(--muted); font-size: 15px; padding-bottom: 8px; }
.section--dark .section-head > p { color: var(--muted-light); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
}
.glass-dark {
  background: linear-gradient(160deg, #210710, #140407);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 34px; border-radius: 100px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  overflow: hidden; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.4s, color 0.4s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn--gold { background: #0E0305; color: var(--white); box-shadow: var(--shadow-premium); border: 1px solid rgba(255, 255, 255, 0.14); }
.btn--gold:hover { background: #23090F; border-color: rgba(255, 255, 255, 0.32); box-shadow: 0 26px 70px -18px rgba(0, 0, 0, 0.65); }
.btn--dark { background: #0E0305; color: var(--white); box-shadow: var(--shadow-premium); border: 1px solid rgba(255, 255, 255, 0.14); }
.btn--dark:hover { background: #23090F; border-color: rgba(255, 255, 255, 0.32); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--white); border: 1px solid var(--line-light); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1); }
.btn--sm { padding: 13px 26px; font-size: 14px; }
.btn--lg { padding: 21px 44px; font-size: 16px; }

.btn .ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 2;
  background: rgba(255, 255, 255, 0.35); transform: scale(0);
  animation: ripple 0.7s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* periodic shine sweep (left -> right every 4s) */
.btn::after {
  content: ""; position: absolute; top: 0; left: -160%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg); pointer-events: none; z-index: 1;
  animation: btn-shine 4s ease-in-out infinite;
}
.btn--ghost::after { background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent); }
.btn span, .btn svg, .btn > * { position: relative; z-index: 2; }
@keyframes btn-shine {
  0% { left: -160%; }
  18% { left: 160%; }
  100% { left: 160%; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  transition: clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner { text-align: center; }
.loader__img { width: min(230px, 62vw); height: auto; margin: 0 auto 34px; display: block; opacity: 0; animation: loader-logo-in 0.9s var(--ease-out) 0.1s forwards; }
@keyframes loader-logo-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
.loader__logo {
  font-size: clamp(26px, 4vw, 44px); font-weight: 700; letter-spacing: 0.14em;
  color: var(--white); margin-bottom: 34px;
}
.loader__logo span { color: var(--gold); font-weight: 300; }
.loader__bar {
  width: min(320px, 60vw); height: 1px; margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.14); overflow: hidden;
}
.loader__bar span { display: block; height: 100%; width: 0%; background: var(--gold); transition: width 0.3s var(--ease-out); }
.loader__percent { font-size: 12px; letter-spacing: 0.3em; color: var(--muted-light); }

.transition {
  position: fixed; inset: 0; z-index: 999; background: var(--navy-900);
  clip-path: inset(100% 0 0 0); pointer-events: none;
  transition: clip-path 0.7s var(--ease);
}
.transition.is-active { clip-path: inset(0 0 0 0); }

/* ---------- Decor ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: 0 50%; transform: scaleX(0); z-index: 950;
}
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 5; left: 0; top: 0;
  background: radial-gradient(circle, rgba(193, 18, 63, 0.09) 0%, transparent 65%);
  transform: translate(-50%, -50%); opacity: 0;
  transition: opacity 0.6s;
  mix-blend-mode: screen;
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 960; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
body.has-cursor .cursor { opacity: 1; }
.cursor__ring {
  position: absolute; width: 38px; height: 38px; border: 1.4px solid rgba(193, 18, 63, 0.7);
  border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s, border-color 0.3s;
}
.cursor__dot {
  position: absolute; width: 5px; height: 5px; background: var(--gold); border-radius: 50%;
  transform: translate(-50%, -50%); transition: opacity 0.3s;
}
body.cursor-hover .cursor__ring { width: 62px; height: 62px; background: rgba(193, 18, 63, 0.12); border-color: var(--gold); }
body.cursor-hover .cursor__dot { opacity: 0; }
@media (pointer: fine) and (min-width: 900px) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ---------- Floating messengers ---------- */
.social-fab { position: fixed; right: 24px; bottom: 24px; z-index: 930; display: flex; flex-direction: column-reverse; align-items: center; gap: 14px; }
.social-fab__toggle {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #A20F34); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold); transition: transform 0.4s var(--ease-out);
}
.social-fab__toggle svg { width: 26px; height: 26px; position: absolute; transition: opacity 0.3s, transform 0.4s var(--ease); }
.social-fab__toggle .social-fab__x { opacity: 0; transform: rotate(-90deg); }
.social-fab.is-open .social-fab__toggle svg:first-of-type { opacity: 0; transform: rotate(90deg); }
.social-fab.is-open .social-fab__x { opacity: 1; transform: rotate(0); }
.social-fab__toggle::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--gold); animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
.social-fab__item {
  width: 50px; height: 50px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(20px) scale(0.5); pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), filter 0.3s;
}
.social-fab__item svg { width: 26px; height: 26px; }
.social-fab__item.is-tg { background: #229ED9; }
.social-fab__item.is-wa { background: #25D366; }
.social-fab__item.is-vb { background: #7360F2; }
.social-fab__item:hover { filter: brightness(1.12); transform: translateY(0) scale(1.08); }
.social-fab.is-open .social-fab__item { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.social-fab.is-open .social-fab__item:nth-of-type(2) { transition-delay: 0.06s; }
.social-fab.is-open .social-fab__item:nth-of-type(3) { transition-delay: 0.12s; }
@media (max-width: 640px) { .social-fab { right: 16px; bottom: 16px; } .social-fab__toggle { width: 52px; height: 52px; } }
.noise {
  position: fixed; inset: 0; z-index: 940; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.5s, box-shadow 0.5s, backdrop-filter 0.5s, transform 0.5s var(--ease);
  background: transparent;
}
.header.is-scrolled {
  background: rgba(20, 4, 7, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.6);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  max-width: 1440px; margin: 0 auto; padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  transition: padding 0.4s;
}
.header.is-scrolled .header__inner { padding-block: 13px; }
.header__logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.header__logo-img { height: 54px; width: auto; display: block; transition: height 0.4s var(--ease); }
.header.is-scrolled .header__logo-img { height: 46px; }
.footer__logo-img { height: 76px; width: auto; display: block; }
@media (max-width: 640px) { .header__logo-img { height: 44px; } }
.header__mark { width: 34px; height: 34px; color: var(--gold); }
.header__mark path { stroke-dasharray: 130; stroke-dashoffset: 130; animation: draw-logo 1.6s var(--ease-out) 0.4s forwards; }
@keyframes draw-logo { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .header__mark path { stroke-dashoffset: 0; animation: none; } }
html.no-js .header__mark path { stroke-dashoffset: 0; animation: none; }
.header__logo span { font-size: 16px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.1; display: flex; flex-direction: column; }
.header__logo em { font-style: normal; font-weight: 400; font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted-light); }
.header__nav { display: flex; gap: 34px; }
.header__nav a {
  position: relative; font-size: 14px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF; transition: color 0.35s; padding: 6px 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease);
}
.header__nav a:hover { color: var(--white); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.header__right { display: flex; align-items: center; gap: 22px; }
.header__phone { font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; transition: color 0.3s; }
.header__phone:hover { color: var(--gold); }
.header__right .btn { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 1.6px; background: var(--white); transition: transform 0.45s var(--ease), opacity 0.3s; }
.burger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 890; display: flex; flex-direction: column;
  justify-content: center; padding: 100px 40px 48px;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute; inset: 0; background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  clip-path: circle(0% at calc(100% - 60px) 40px); transition: clip-path 0.9s var(--ease);
}
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - 60px) 40px); }
.menu__nav { position: relative; display: flex; flex-direction: column; gap: 8px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(28px, 7vw, 44px); font-weight: 600; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.02em;
  padding: 8px 0; opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.menu__nav a span { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.menu__nav a:hover { color: var(--gold-light); }
.menu.is-open .menu__nav a { opacity: 1; transform: translateY(0); }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: 0.15s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.21s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.27s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.33s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 0.39s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: 0.45s; }
.menu__footer { position: relative; margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }
.menu__footer a { color: var(--muted-light); font-size: 15px; }
.menu__footer a:first-child { color: var(--gold); font-size: 20px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--navy-900); color: var(--white);
  text-align: center;
}
.hero__bg { position: absolute; inset: -6%; z-index: 1; will-change: transform; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-zoom 26s var(--ease) infinite alternate;
  filter: brightness(0.42) saturate(0.85);
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero__vignette {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 30%, rgba(20, 4, 7, 0.72) 100%),
    linear-gradient(180deg, rgba(20, 4, 7, 0.55) 0%, rgba(20, 4, 7, 0.15) 40%, rgba(20, 4, 7, 0.92) 100%);
}
.hero__glow {
  position: absolute; z-index: 2; border-radius: 50%; filter: blur(90px);
  pointer-events: none; will-change: transform;
}
.hero__glow--1 {
  width: 560px; height: 560px; top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(193, 18, 63, 0.2), transparent 65%);
  animation: float-slow 11s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 480px; height: 480px; bottom: -14%; left: -10%;
  background: radial-gradient(circle, rgba(122, 19, 48, 0.55), transparent 65%);
  animation: float-slow 14s ease-in-out infinite alternate-reverse;
}
@keyframes float-slow { from { transform: translate(0, 0); } to { transform: translate(-40px, 46px); } }

.hero__content { position: relative; z-index: 3; padding: 140px 24px 40px; max-width: 1000px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: #FFFFFF; margin-bottom: 30px;
}
.hero__line { width: 44px; height: 1px; background: var(--gold); display: inline-block; }
.hero__title {
  font-size: clamp(52px, 10.5vw, 148px);
  font-weight: 700; line-height: 0.98; letter-spacing: 0.015em;
  margin-bottom: 30px;
  text-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}
.hero__title .char { display: inline-block; will-change: transform, opacity, filter; }
.hero__subtitle { font-size: clamp(16px, 1.9vw, 21px); color: rgba(255, 255, 255, 0.82); font-weight: 400; margin-bottom: 44px; }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; will-change: transform; }
.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(48px, 7vh, 84px); }

.hero__stats {
  display: flex; justify-content: center; gap: clamp(28px, 5vw, 76px); flex-wrap: wrap;
  padding-top: 34px; border-top: 1px solid var(--line-light);
}
.hero__stat { text-align: center; }
.hero__stat b { display: block; font-size: clamp(34px, 4vw, 54px); font-weight: 700; color: var(--gold); letter-spacing: -0.02em; line-height: 1; }
.hero__stat b i { font-style: normal; font-size: 0.5em; font-weight: 600; vertical-align: 0.35em; margin-left: 1px; }
.hero__stat > span { display: block; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 26px; height: 44px; border: 1.4px solid rgba(255, 255, 255, 0.4); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: scroll-hint 1.8s var(--ease) infinite; }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

[data-hero-fade] { opacity: 0; transform: translateY(34px); }
.hero__subtitle .line-mask > span { transform: translateY(110%); }

/* ---------- Marquee ---------- */
.marquee-section { background: var(--navy-900); padding: 34px 0; border-block: 1px solid var(--line-light); overflow: hidden; }
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee__track {
  display: flex; align-items: center; gap: 56px; flex-shrink: 0;
  padding-right: 56px; will-change: transform;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: 15px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9); white-space: nowrap; transition: color 0.4s;
}
.marquee__track span:hover { color: var(--gold); }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 11px; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- About ---------- */
.about { background: var(--off-white); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 6vw, 100px); align-items: center; }
.about__media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-premium); }
.about__media img { width: 100%; height: 620px; object-fit: cover; object-position: center top; transform: none; }
.about__card {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  padding: 22px 26px; display: flex; gap: 20px; align-items: center;
  background: rgba(20, 4, 7, 0.65); color: var(--white);
}
.about__card b { font-size: 34px; color: var(--gold); font-weight: 700; }
.about__card p { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }
.about__title { font-size: clamp(27px, 3.7vw, 50px); }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 34px 0 38px; }
.about__facts > div { border-left: 2px solid var(--gold); padding-left: 18px; }
.about__facts b { display: block; font-size: 17px; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.about__facts span { font-size: 14px; color: var(--muted); }

/* ---------- Services ---------- */
.services { overflow: hidden; background: var(--navy-900); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.service-card {
  position: relative; padding: 40px 34px 90px; overflow: hidden;
  background: #20070E; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px; backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: transform 0.6s var(--ease-out), border-color 0.5s, background 0.5s;
  transform-style: preserve-3d; will-change: transform;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(193, 18, 63, 0.14), transparent 65%);
  pointer-events: none;
}
.service-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.6s var(--ease-out); pointer-events: none;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { border-color: rgba(193, 18, 63, 0.45); background: #2E0A16; }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 26px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(193, 18, 63, 0.16), rgba(193, 18, 63, 0.04));
  border: 1px solid rgba(193, 18, 63, 0.3); color: var(--gold);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card:hover .service-card__icon { transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 34px -10px rgba(193, 18, 63, 0.5); }
.service-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { font-size: 14.5px; color: var(--muted-light); line-height: 1.65; }
.service-card__arrow {
  position: absolute; left: 34px; bottom: 30px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: background 0.45s, border-color 0.45s, transform 0.55s var(--ease-out);
}
.service-card__arrow svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.service-card:hover .service-card__arrow { background: var(--gold); border-color: var(--gold); color: var(--navy-900); transform: translateX(6px); }
.service-card:hover .service-card__arrow svg { transform: rotate(45deg); }

/* ---------- Principles ---------- */
.principles { background: var(--white); }
.principles__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 6vw, 110px); align-items: start; }
.principles__sticky { position: sticky; top: 140px; }
.principles__list { display: flex; flex-direction: column; }
.principle {
  display: flex; gap: 30px; padding: 42px 0; border-top: 1px solid var(--line-dark);
  transition: padding-left 0.5s var(--ease-out);
}
.principle:last-child { border-bottom: 1px solid var(--line-dark); }
.principle:hover { padding-left: 14px; }
.principle > span {
  font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: 0.1em;
  padding-top: 6px; flex-shrink: 0;
}
.principle h3 { font-size: 23px; font-weight: 600; color: var(--navy-900); margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: 15px; max-width: 48ch; }

/* ---------- Why ---------- */
.why { overflow: hidden; background: var(--navy-900); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.why-card {
  padding: 36px 28px; background: #20070E; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px; backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: transform 0.6s var(--ease-out), border-color 0.5s, background 0.5s; will-change: transform;
}
.why-card:hover { border-color: rgba(193, 18, 63, 0.4); background: #2E0A16; }
.why-card__num {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold);
  margin-bottom: 44px; display: flex; align-items: center; gap: 12px;
}
.why-card__num::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.why-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--muted-light); line-height: 1.65; }

/* ---------- Stats ---------- */
.stats { background: var(--white); padding-block: clamp(70px, 8vw, 110px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat { padding: 12px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 64px; background: var(--line-dark);
}
.stat b {
  display: block; font-size: clamp(56px, 7vw, 96px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(135deg, var(--navy-900) 30%, var(--navy-700));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.stat b i {
  font-style: normal; font-size: 0.44em; font-weight: 700; vertical-align: 0.55em; margin-left: 2px;
  -webkit-text-fill-color: var(--gold);
}
.stat > span { display: block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Timeline ---------- */
.process { background: var(--off-white); overflow: hidden; }
.timeline { position: relative; max-width: 920px; margin: 0 auto; padding: 20px 0; }
.timeline__line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px;
  background: var(--line-dark); transform: translateX(-50%);
}
.timeline__line span {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}
.timeline__item { position: relative; width: 50%; padding: 26px 60px 26px 0; }
.timeline__item:nth-child(odd) { left: 50%; padding: 26px 0 26px 60px; }
.timeline__item:nth-child(even) { text-align: right; }
.timeline__item:nth-child(even) .timeline__card { margin-left: auto; }
.timeline__dot {
  position: absolute; top: 58px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--off-white); border: 2px solid var(--gold); z-index: 2;
  box-shadow: 0 0 0 6px rgba(193, 18, 63, 0.14);
}
.timeline__item:nth-child(even) .timeline__dot { right: -8px; }
.timeline__item:nth-child(odd) .timeline__dot { left: -6px; }
.timeline__card {
  display: inline-block; text-align: left; padding: 30px 32px; max-width: 380px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.timeline__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); }
.timeline__card > span { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.timeline__card h3 { font-size: 21px; font-weight: 600; margin: 10px 0 8px; color: var(--white); }
.timeline__card p { font-size: 14px; color: var(--muted-light); line-height: 1.65; }

/* ---------- Expertise ---------- */
.expertise { overflow: hidden; }
.expertise__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(48px, 6vw, 100px); align-items: center; }
.expertise__media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-premium); }
.expertise__media img { width: 100%; height: 560px; object-fit: cover; transform: scale(1.12); will-change: transform; }
.expertise__list { margin-top: 36px; display: flex; flex-direction: column; }
.expertise__list li { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line-light); }
.expertise__list b { font-size: 17px; font-weight: 600; color: var(--gold); }
.expertise__list span { font-size: 14.5px; color: var(--muted-light); }

/* ---------- Cases ---------- */
.cases { background: var(--white); }
.cases__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.case-card {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--navy-900); color: var(--white);
  box-shadow: var(--shadow-premium);
}
.case-card__img { height: 420px; overflow: hidden; }
.case-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.6) saturate(0.85);
  transition: transform 1s var(--ease-out), filter 0.8s;
  will-change: transform;
}
.case-card:hover .case-card__img img { transform: scale(1.08); filter: brightness(0.72) saturate(1); }
.case-card::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-18deg); transition: left 0.9s var(--ease); pointer-events: none; z-index: 2;
}
.case-card:hover::after { left: 130%; }
.case-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px; z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(20, 4, 7, 0.94) 55%);
}
.case-card__body span {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: #FFFFFF; margin-bottom: 12px; font-weight: 700;
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 100px;
  backdrop-filter: blur(8px); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.case-card__body h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.case-card__date { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 10px; }
.case-card__body p {
  font-size: 14.5px; color: var(--muted-light); max-width: 52ch;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s 0.1s;
}
.case-card:hover .case-card__body p { max-height: 140px; opacity: 1; }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); padding-block: 0 clamp(90px, 11vw, 160px); overflow: hidden; }
.gallery__inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1320px; margin: 0 auto; padding: 0 48px; align-items: center;
}
.gallery__item { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-premium); will-change: transform; }
.gallery__item:nth-child(2) { margin-top: 60px; }
.gallery__item img { width: 100%; height: 440px; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card__img { border-radius: 18px; overflow: hidden; margin-bottom: 20px; position: relative; }
.team-card__img img {
  width: 100%; height: 400px; object-fit: cover;
  filter: grayscale(1) brightness(0.9);
  transition: filter 0.8s var(--ease), transform 1s var(--ease-out);
  transform: scale(1.08); will-change: transform, filter;
}
.team-card:hover .team-card__img img { filter: grayscale(0) brightness(1); }
.team-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.team-card > span { font-size: 13.5px; color: var(--muted-light); }

/* ---------- Reviews slider ---------- */
.reviews { background: var(--off-white); overflow: hidden; }
.slider { overflow: hidden; cursor: grab; padding: 10px 0 20px; }
.slider.is-dragging { cursor: grabbing; }
.slider__track { display: flex; gap: 26px; width: max-content; will-change: transform; padding: 0 26px; }
.review {
  width: min(420px, 82vw); flex-shrink: 0; padding: 38px 34px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: transform 0.5s var(--ease-out), border-color 0.5s;
}
.review:hover { transform: translateY(-8px); border-color: rgba(193, 18, 63, 0.4); }
.review blockquote { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.88); }
.review figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line-light); padding-top: 20px; }
.review figcaption b { font-size: 15px; font-weight: 600; color: var(--gold); }
.review figcaption span { font-size: 13px; color: var(--muted-light); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 140px; }
.faq__head .btn { margin-top: 30px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden;
  background: var(--off-white); transition: border-color 0.4s, box-shadow 0.4s;
}
.faq-item[open] { border-color: rgba(193, 18, 63, 0.5); box-shadow: 0 18px 50px -22px rgba(20, 4, 7, 0.25); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 28px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span {
  position: relative; width: 34px; height: 34px; flex-shrink: 0;
  border: 1px solid var(--line-dark); border-radius: 50%;
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s;
}
.faq-item summary span::before, .faq-item summary span::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--navy-900);
  transform: translate(-50%, -50%); transition: background 0.3s;
}
.faq-item summary span::before { width: 12px; height: 1.5px; }
.faq-item summary span::after { width: 1.5px; height: 12px; }
.faq-item[open] summary span { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.faq-item[open] summary span::before, .faq-item[open] summary span::after { background: var(--navy-900); }
.faq-item > div { padding: 0 28px; overflow: hidden; }
.faq-item p { color: var(--muted); font-size: 15px; padding-bottom: 26px; max-width: 62ch; }

/* ---------- CTA ---------- */
.cta { background: var(--white); }
.cta__box {
  position: relative; text-align: center; padding: clamp(64px, 8vw, 110px) clamp(28px, 6vw, 90px);
  border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 90% at 50% -20%, rgba(122, 19, 48, 0.85), transparent 70%),
    linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-premium);
  color: var(--white);
}
.cta__glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 18, 63, 0.22), transparent 65%);
  filter: blur(50px); pointer-events: none;
  animation: cta-pulse 6s ease-in-out infinite alternate;
}
@keyframes cta-pulse { from { opacity: 0.7; transform: translateX(-50%) scale(1); } to { opacity: 1; transform: translateX(-50%) scale(1.15); } }
.cta__box .title { margin-inline: auto; max-width: 18ch; position: relative; }
.cta__box p { color: var(--muted-light); max-width: 48ch; margin: 0 auto 38px; position: relative; }
.cta__box .btn { position: relative; }
.cta__box .eyebrow { position: relative; }

/* ---------- Contact ---------- */
.contact { background: var(--off-white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 90px); align-items: start; }
.contact__items { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 12px 0 42px; }
.contact__item { display: flex; flex-direction: column; gap: 4px; }
.contact__item span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.contact__item a, .contact__item b { font-size: 16.5px; font-weight: 600; color: var(--navy-900); transition: color 0.3s; }
.contact__item a:hover { color: var(--navy-700); }
.contact__map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-premium); height: 100%; min-height: 560px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; filter: grayscale(0.9) contrast(1.05); transition: filter 0.6s; }
.contact__map:hover iframe { filter: grayscale(0); }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 480px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 22px 8px; font-family: inherit; font-size: 15.5px;
  border: 1px solid var(--line-dark); border-radius: 14px; background: var(--white);
  color: var(--ink); outline: none; resize: none;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.field label {
  position: absolute; left: 22px; top: 17px; font-size: 15px; color: var(--muted);
  pointer-events: none; transition: all 0.35s var(--ease-out); transform-origin: 0 0;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(193, 18, 63, 0.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(0.72); color: var(--gold); font-weight: 600; letter-spacing: 0.04em;
}
.field--light input, .field--light textarea {
  background: rgba(255, 255, 255, 0.06); border-color: var(--line-light); color: var(--white);
}
.field--light label { color: var(--muted-light); }
.form__success { display: none; color: #3FA06B; font-weight: 600; font-size: 15px; }
.form.is-sent .form__success { display: block; }

/* ---------- SEO text ---------- */
.seo { background: var(--white); }
.seo__inner .title { max-width: 20ch; }
.seo__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: 20px; }
.seo__cols p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 18px; }
.seo__cols p:last-child { margin-bottom: 0; }
.seo__cols a { color: var(--navy-700); font-weight: 600; border-bottom: 1px solid rgba(193, 18, 63, 0.5); }
.seo__cols a:hover { color: var(--gold); }
@media (max-width: 760px) { .seo__cols { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: var(--white); padding: 70px 0 36px; }
.footer__top {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding-bottom: 44px; border-bottom: 1px solid var(--line-light); margin-bottom: 30px;
}
.footer__logo { font-size: 20px; font-weight: 700; letter-spacing: 0.14em; }
.footer__logo span { color: var(--gold); font-weight: 300; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; color: var(--muted-light); transition: color 0.3s; }
.footer__nav a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.85);
}
.footer__bottom span:nth-child(2) { max-width: 460px; }
.footer__bottom a { color: var(--gold); font-weight: 600; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 980; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__overlay { position: absolute; inset: 0; background: rgba(12, 3, 6, 0.7); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.5s; }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__panel {
  position: relative; width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
  padding: 44px 40px; border-radius: 26px;
  opacity: 0; transform: translateY(40px) scale(0.96);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.modal.is-open .modal__panel { opacity: 1; transform: translateY(0) scale(1); }
.modal__panel h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 26px; letter-spacing: -0.01em; }
.modal__panel form { display: flex; flex-direction: column; gap: 16px; }
.modal__close {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line-light); color: var(--white);
  font-size: 14px; transition: background 0.35s, transform 0.45s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }
.modal__success { display: none; text-align: center; padding: 20px 0; }
.modal.is-success #modalFormWrap { display: none; }
.modal.is-success .modal__success { display: block; }
.modal__success-icon {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #A20F34); color: var(--navy-900);
  font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
}
.modal__success h3 { font-size: 24px; margin-bottom: 10px; }
.modal__success p { color: var(--muted-light); font-size: 15px; margin-bottom: 26px; }

/* ---------- Reveal (JS-driven) ---------- */
[data-reveal] { opacity: 0; transform: translateY(48px); will-change: transform, opacity; }
/* Offline / no-JS resilience: show everything, drop the loader lock */
html.no-js [data-reveal], html.no-js [data-hero-fade] { opacity: 1 !important; transform: none !important; }
html.no-js .hero__subtitle .line-mask > span { transform: none; }
html.no-js .loader, html.no-js .cursor-glow, html.no-js .progress-bar { display: none; }
html.no-js body.is-locked { overflow: auto; height: auto; }
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .word > span { display: inline-block; will-change: transform; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .wrap, .gallery__inner { padding-inline: 36px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .header__nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 900px) {
  .about__grid, .expertise__grid, .principles__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .principles__sticky, .faq__head { position: static; margin-bottom: 14px; }
  .expertise__media { order: -1; }
  .expertise__media img { height: 380px; }
  .about__media img { height: 480px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cases__grid { grid-template-columns: 1fr; }
  .case-card__img { height: 340px; }
  .case-card__body p { max-height: none; opacity: 1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
  .stat + .stat::before { display: none; }
  .gallery__inner { grid-template-columns: 1fr; }
  .gallery__item:nth-child(2) { margin-top: 0; }
  .gallery__item img { height: 320px; }
  .timeline__line { left: 10px; }
  .timeline__item, .timeline__item:nth-child(odd) { width: 100%; left: 0; padding: 18px 0 18px 46px; text-align: left; }
  .timeline__item:nth-child(even) { text-align: left; }
  .timeline__item:nth-child(even) .timeline__card { margin-left: 0; }
  .timeline__item:nth-child(odd) .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 4px; right: auto; }
  .timeline__card { max-width: 100%; }
  .contact__map { min-height: 380px; }
  .contact__map iframe { min-height: 380px; }
}

@media (max-width: 640px) {
  .wrap, .gallery__inner { padding-inline: 20px; }
  .header__inner { padding: 16px 20px; }
  .header__phone { display: none; }
  .header__right .btn { display: none; }
  .hero__content { padding-top: 120px; }
  .hero__stats { gap: 24px 34px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .services__grid, .why__grid, .team__grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 26px 84px; }
  .about__card { flex-direction: column; align-items: flex-start; gap: 8px; left: 16px; right: 16px; bottom: 16px; }
  .about__facts { grid-template-columns: 1fr; }
  .contact__items { grid-template-columns: 1fr; }
  .footer__top, .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cursor-glow { display: none; }
  .review { padding: 30px 26px; }
  .modal__panel { padding: 36px 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-hero-fade] { opacity: 1 !important; transform: none !important; }
  .hero__subtitle .line-mask > span { transform: none; }
}

/* ============================================================
   PREMIUM UPGRADES v2 — gold accent + refined blocks
   ============================================================ */

/* gold as the thin secondary accent */
.eyebrow::before { background: var(--gold2); }
.hero__line { background: var(--gold2); }
.hero__kicker { color: #FFFFFF; }
.progress-bar { background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.service-card__icon { border-color: rgba(199, 161, 90, 0.35); color: var(--gold2); background: linear-gradient(145deg, rgba(199,161,90,0.14), rgba(199,161,90,0.03)); }
.service-card:hover .service-card__icon { box-shadow: 0 14px 34px -10px rgba(199, 161, 90, 0.5); }
.service-card::after { background: linear-gradient(90deg, transparent, var(--gold2), transparent); }
.why-card__num { color: var(--gold2); }
.expertise__list b { color: var(--gold2); }
.timeline__dot { border-color: var(--gold2); box-shadow: 0 0 0 6px rgba(199,161,90,0.14); }
.timeline__line span { background: linear-gradient(180deg, var(--gold2), var(--gold2-light)); }
.timeline__card > span { color: var(--gold2); }

/* hero signature line under subtitle */
.hero__signature {
  display: inline-flex; align-items: center; gap: 12px; margin: -18px 0 34px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold2);
  opacity: 0; transform: translateY(20px);
}
.hero__signature::before { content: ""; width: 26px; height: 1px; background: var(--gold2); }

/* stats — gold underline under each number */
.stat b { position: relative; }
.stat b::after {
  content: ""; display: block; width: 46px; height: 2px; margin: 14px auto 12px;
  background: linear-gradient(90deg, var(--gold2), var(--gold2-light)); border-radius: 2px;
  transform: scaleX(0.2); opacity: 0.8; transition: transform 0.8s var(--ease-out);
}
.stat:hover b::after { transform: scaleX(1); }
.hero__stat b { position: relative; }

/* subtle gold hairline between dark sections */
.section--dark { border-top: 1px solid rgba(199, 161, 90, 0.14); }
.marquee-section { border-color: rgba(199, 161, 90, 0.14); }

/* CASES — feature grid (first card large) — DESKTOP ONLY + result badge */
@media (min-width: 901px) {
  .cases__grid { grid-template-columns: repeat(3, 1fr); }
  .case-card:first-child { grid-column: 1 / -1; }
  .case-card:first-child .case-card__img { height: 480px; }
  .case-card:first-child .case-card__body { padding: 40px; }
  .case-card:first-child .case-card__body h3 { font-size: clamp(24px, 2.6vw, 34px); }
}
.case-card__result {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold2); 
}
.case-card__result svg { width: 15px; height: 15px; }

/* REVIEWS — stars + avatar initials */
.review__stars { display: flex; gap: 4px; color: var(--gold2); font-size: 15px; letter-spacing: 2px; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--gold2);
  background: rgba(199, 161, 90, 0.08); border: 1px solid rgba(199, 161, 90, 0.45);
}
.review figcaption > div { display: flex; flex-direction: column; gap: 2px; border: 0; padding: 0; }

@media (max-width: 900px) {
  .case-card:first-child { grid-column: auto; }
  .case-card:first-child .case-card__img { height: 340px; }
}

/* FIX: cases grid must stack on mobile (override feature-grid) */
@media (max-width: 900px) {
  .cases__grid { grid-template-columns: 1fr; }
  .case-card:first-child { grid-column: auto; }
  .case-card:first-child .case-card__img,
  .case-card__img { height: 300px; }
  .case-card:first-child .case-card__body { padding: 26px; }
  .case-card:first-child .case-card__body h3 { font-size: 21px; }
}

/* ---------- CASES carousel (slides like reviews) ---------- */
.cases { background: var(--white); }
.case-slide {
  width: min(440px, 86vw); flex-shrink: 0; overflow: hidden; padding: 0;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.5s;
}
.case-slide:hover { transform: translateY(-8px); border-color: rgba(199, 161, 90, 0.4); }
.case-slide__img { height: 210px; overflow: hidden; flex-shrink: 0; }
.case-slide__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); transition: transform 0.8s var(--ease-out), filter 0.6s; }
.case-slide:hover .case-slide__img img { transform: scale(1.06); filter: brightness(0.95); }
.case-slide__body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-slide__tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold2);
  padding: 6px 14px; border: 1px solid rgba(199, 161, 90, 0.45); border-radius: 100px;
}
.case-slide__body h3 { font-size: 20px; font-weight: 600; color: var(--white); line-height: 1.25; letter-spacing: -0.01em; }
.case-slide__meta { display: flex; flex-direction: column; gap: 3px; padding: 4px 0; border-top: 1px solid var(--line-light); padding-top: 12px; }
.case-slide__meta b { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.92); line-height: 1.4; }
.case-slide__meta span { font-size: 12.5px; color: var(--gold2); letter-spacing: 0.02em; }
.case-slide__body p { font-size: 14px; color: var(--muted-light); line-height: 1.6; }
@media (max-width: 640px) { .case-slide__img { height: 180px; } .case-slide__body { padding: 22px 24px 26px; } }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang__cur {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  padding: 8px 10px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.3s, background 0.3s;
}
.lang__cur:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.06); }
.lang__cur svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.lang.is-open .lang__cur svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 168px;
  background: linear-gradient(160deg, #210710, #140407); border: 1px solid var(--line-light);
  border-radius: 14px; padding: 6px; box-shadow: var(--shadow-premium);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s var(--ease-out); z-index: 60;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu a {
  display: block; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.8); transition: background 0.25s, color 0.25s;
}
.lang__menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.lang__menu a.is-active { color: var(--gold2); background: rgba(199,161,90,0.1); font-weight: 700; }
@media (max-width: 640px) { .lang__cur { padding: 7px 9px; font-size: 13px; } .header__right { gap: 12px; } }

/* ---------- MOBILE HERO PERFORMANCE ---------- */
@media (max-width: 900px) {
  /* прибираємо постійний zoom фону — головний «тормоз» */
  .hero__bg img { animation: none !important; transform: none !important; }
  /* ховаємо важкі розмиті свічення (blur 90px анімовані) */
  .hero__glow { display: none !important; }
  /* статичний шум вимикаємо на моб. — менше перемальовувань */
  .noise { display: none; }
  /* курсор-glow і так тільки для мишки, але про всяк */
  .cursor-glow { display: none; }
}

/* ---------- Кастомний курсор вимкнено + прискорення ПК ---------- */
.cursor, .cursor-glow { display: none !important; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [data-tilt] { cursor: auto !important; }
/* Статичні свічення hero замість анімованих (менше навантаження на GPU) */
.hero__glow { animation: none !important; filter: blur(64px); }

/* Прибрати індикатор прокрутки в hero (капсула з точкою) */
.hero__scroll { display: none !important; }
