@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Unbounded:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

:root {
  --dark: #262533;
  --dark-2: #1e1c2a;
  --dark-3: #2f2d3e;
  --dark-4: #36344a;
  --gold: #f9cc41;
  --gold-dark: #d4a800;
  --gold-light: #fde080;
  --text: #ffffff;
  --text-muted: #b0aec8;
  --border: rgba(249,204,65,0.15);
  --border-soft: rgba(255,255,255,0.07);
  --card-bg: rgba(255,255,255,0.035);
  --radius: 6px;
  --radius-lg: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 16px 40px rgba(249,204,65,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--dark); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ───────── SCROLL REVEAL ───────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].in { transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }
[data-delay="7"] { transition-delay: 0.56s; }
[data-delay="8"] { transition-delay: 0.64s; }

/* Hero entrance animations */
.hero-line-left {
  display: inline-block;
  opacity: 0;
  transform: translateX(-70px);
  animation: heroSlideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards !important;
}

.hero-line-right {
  display: inline-block;
  opacity: 0;
  transform: translateX(70px);
  animation: heroSlideRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards !important;
}

.hero-desc {
  opacity: 0;
  transform: translateY(32px);
  animation: heroTextFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards !important;
}

.hero-actions {
  opacity: 0;
  transform: translateY(32px);
  animation: heroTextFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards !important;
}

@keyframes heroSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-70px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideRight {
  0% {
    opacity: 0;
    transform: translateX(70px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroTextFade {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ───────── NAVBAR ───────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 8px 0;
}

.navbar.scrolled {
  background: rgba(30, 28, 42, 0.97);
  box-shadow: 0 8px 34px rgba(0,0,0,0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-icon { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; transition: transform var(--transition); }
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text span:first-child { font-size: 16px; font-weight: 800; color: var(--gold); letter-spacing: 0.03em; font-family: var(--font-display); }
.logo-text span:last-child { font-size: 10px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }

.nav-links > li > a {
  position: relative;
  display: flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--transition);
  text-transform: uppercase; cursor: pointer; white-space: nowrap;
}

/* underline animation */
.nav-links > li > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links > li > a:not(.nav-cta):hover::after,
.nav-links > li > a.active:not(.nav-cta)::after { transform: scaleX(1); }

.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }

.nav-links > li > a svg { width: 12px; height: 12px; transition: transform var(--transition); flex-shrink: 0; }
.nav-links > li:hover > a svg { transform: rotate(180deg); }

/* Dropdown + hover bridge fix */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 18px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}

.nav-links > li:hover .dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
  letter-spacing: 0.03em;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--gold); background: rgba(249,204,65,0.06); padding-left: 26px; }
.dropdown a svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px !important;
  background: var(--gold) !important;
  color: var(--dark) !important;
  border-radius: var(--radius);
  font-weight: 700 !important; font-size: 12.5px !important;
  transition: all var(--transition) !important;
  letter-spacing: 0.08em !important; text-transform: uppercase;
  box-shadow: none;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--dark) !important; transform: translateY(-2px); box-shadow: none !important; }
.nav-cta svg { width: 13px; height: 13px; }

/* Кабінет — контурна кнопка поруч із золотою */
.nav-login {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px !important;
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 700 !important; font-size: 12.5px !important;
  letter-spacing: 0.08em !important; text-transform: uppercase;
  transition: all var(--transition) !important;
}
.nav-login:hover { background: rgba(249,204,65,0.12) !important; color: var(--gold) !important; transform: translateY(-2px); }
.nav-login svg { width: 14px; height: 14px; }
.nav-links > li > a.nav-login::after { display: none; }

/* ───────── PAGE HERO ───────── */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../img/hero-main.jpg');
  background-size: cover; background-position: center 55%;
  filter: brightness(0.45) saturate(1.05);
  transform: scale(1.08);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark) 2%, rgba(38,37,51,0.4) 50%, rgba(38,37,51,0.6) 100%);
}

.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 130px 40px 56px;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 800; line-height: 1.12; color: var(--text);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.page-hero-content .gold-line { display: block; width: 64px; height: 3px; background: var(--gold); margin-top: 18px; border-radius: 2px; }

/* ───────── CONTAINER & SECTION ───────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
section { padding: 70px 0; }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700; line-height: 1.18; color: var(--text); margin-bottom: 16px;
}
.section-subtitle { font-size: 15px; color: var(--text-muted); max-width: 560px; line-height: 1.75; }
.gold-divider { width: 54px; height: 3px; background: var(--gold); margin: 20px 0 38px; border-radius: 2px; }

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; border-radius: var(--radius);
  cursor: pointer; border: none; font-family: var(--font-body);
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: none; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); box-shadow: none; }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* ───────── CARDS ───────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(249,204,65,0.35); transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ───────── STATS ───────── */
.stats-bar {
  background: linear-gradient(180deg, var(--dark-3), var(--dark-2));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 50px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { padding: 0 36px; border-right: 1px solid var(--border-soft); text-align: center; }
.stat-item:last-child { border-right: none; }
.stat-icon { width: 36px; height: 36px; color: var(--gold); margin: 0 auto 16px; opacity: 0.85; }
.stat-number { font-family: var(--font-display); font-size: clamp(34px, 4vw, 50px); font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }

/* ───────── ALERT ───────── */
.alert-block {
  background: linear-gradient(135deg, rgba(249,204,65,0.08), rgba(249,204,65,0.02));
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex; gap: 22px; align-items: flex-start;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1), box-shadow 0.9s ease;
}
.alert-block[data-reveal] {
  opacity: 0;
  transform: translateY(44px) scale(0.94);
}
.alert-block[data-reveal].in {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.alert-block[data-reveal] .alert-icon {
  transform: scale(0.6) rotate(-15deg);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
.alert-block[data-reveal].in .alert-icon {
  transform: scale(1) rotate(0deg);
}

.alert-icon { width: 48px; height: 48px; flex-shrink: 0; background: rgba(249,204,65,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.alert-icon svg { width: 24px; height: 24px; color: var(--gold); }
.alert-block .alert-title { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.alert-block .alert-text { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ───────── ABOUT FEATURE CARDS ENTRANCE ───────── */
.about-feature[data-reveal] {
  opacity: 0;
  transform: translateX(-40px) scale(0.95);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.about-feature[data-reveal].in {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.about-feature[data-reveal] .about-feature-icon {
  transform: scale(0.65) rotate(-12deg);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}
.about-feature[data-reveal].in .about-feature-icon {
  transform: scale(1) rotate(0deg);
}

/* ───────── ORIGINAL 3D ABOUT VISUAL REVEAL ───────── */
.about-visual {
  perspective: 1200px;
}

.about-visual[data-reveal] .about-img-main {
  opacity: 0;
  transform: perspective(1200px) rotateY(16deg) rotateX(-6deg) scale(0.9);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.about-visual[data-reveal].in .about-img-main {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1);
}

.about-visual[data-reveal] .about-img-sub {
  opacity: 0;
  transform: translate(-45px, 40px) rotate(-10deg) scale(0.88);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  will-change: opacity, transform;
}
.about-visual[data-reveal].in .about-img-sub {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
}

.about-visual[data-reveal] .about-img-badge {
  opacity: 0;
  transform: scale(0.2) rotate(-25deg);
  transition: opacity 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s, transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
  will-change: opacity, transform;
}
.about-visual[data-reveal].in .about-img-badge {
  opacity: 1;
  transform: scale(1) rotate(-4deg);
}

/* ───────── ABOUT PAGE INTRO IMG 3D REVEAL ───────── */
.about-intro-img {
  perspective: 1200px;
}
.about-intro-img[data-reveal] img {
  opacity: 0;
  transform: perspective(1200px) rotateY(-16deg) rotateX(6deg) scale(0.9);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.about-intro-img[data-reveal].in img {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1);
}
.about-intro-img[data-reveal] .badge {
  opacity: 0;
  transform: scale(0.3) rotate(-12deg);
  transition: opacity 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s, transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
  will-change: opacity, transform;
}
.about-intro-img[data-reveal].in .badge {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ───────── PRINCIPLE CARDS ENTRANCE ───────── */
.principle[data-reveal] {
  opacity: 0;
  transform: translateY(32px) scale(0.95);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.principle[data-reveal].in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.principle[data-reveal] .p-icon {
  transform: scale(0.6) rotate(-10deg);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}
.principle[data-reveal].in .p-icon {
  transform: scale(1) rotate(0deg);
}

/* ───────── SERVICE MEDIA 3D REVEAL ───────── */
.service-media {
  perspective: 1200px;
}
.service-media[data-reveal] .service-img {
  opacity: 0;
  transform: perspective(1200px) rotateY(14deg) scale(0.92);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.service-media[data-reveal].in .service-img {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) scale(1);
}
.service-media[data-reveal] .service-float {
  opacity: 0;
  transform: scale(0.4) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s;
  will-change: opacity, transform;
}
.service-media[data-reveal].in .service-float {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ───────── FOOTER ───────── */
footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--border-soft); margin-bottom: 26px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: 18px; max-width: 300px; }
.footer-grid .footer-col { padding-top: 24px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; margin-top: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color var(--transition), padding-left var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 15px; }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(176,174,200,0.5); }

/* ───────── TABLE ───────── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border-soft); transition: background var(--transition); }
.info-table tr:hover { background: rgba(249,204,65,0.03); }
.info-table td { padding: 17px 0; font-size: 14px; vertical-align: top; }
.info-table td:first-child { color: var(--text-muted); font-weight: 500; width: 42%; padding-right: 24px; padding-left: 12px; }
.info-table td:last-child { color: var(--text); }

/* ───────── ACCORDION ───────── */
.accordion-item { border: 1px solid var(--border-soft); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; transition: border-color var(--transition); }
.accordion-item:hover { border-color: var(--border); }
.accordion-item.open { border-color: var(--border); }
.accordion-header { padding: 20px 24px; cursor: pointer; display: flex; align-items: flex-start; gap: 16px; transition: background var(--transition); user-select: none; }
.accordion-header:hover { background: rgba(249,204,65,0.03); }
.accordion-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--gold); flex-shrink: 0; line-height: 1.4; min-width: 24px; }
.accordion-header .acc-plus { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; margin-left: auto; transition: transform var(--transition); }
.accordion-item.open .accordion-header .acc-plus { transform: rotate(135deg); }
.accordion-header p { font-size: 14px; color: var(--text); line-height: 1.6; font-weight: 500; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-body-inner { padding: 0 24px 22px 64px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ───────── AGENCY CARDS ───────── */
.agency-card { background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; transition: all var(--transition); }
.agency-card:hover { border-color: var(--border); transform: translateX(4px); }
.agency-card .agency-name { background: var(--gold); color: var(--dark); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius); display: inline-block; margin-bottom: 14px; }
.agency-card .agency-detail { display: flex; gap: 8px; margin-bottom: 8px; font-size: 13px; color: var(--text-muted); }
.agency-card .agency-detail strong { color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.agency-card a { color: var(--gold); transition: opacity var(--transition); }
.agency-card a:hover { opacity: 0.75; }

/* ───────── REPORTS TIMELINE ───────── */
.report-timeline { position: relative; padding-left: 0; }
.report-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition);
}
.report-row:hover { background: rgba(249,204,65,0.02); }
.report-year-big {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  line-height: 1; transition: all var(--transition);
  white-space: nowrap;
}
.report-row:hover .report-year-big { color: var(--gold); -webkit-text-stroke: 0; }
.report-files { display: flex; gap: 12px; flex-wrap: wrap; }
.report-file {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  background: var(--card-bg); border: 1px solid var(--border-soft);
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition);
  color: var(--text); font-size: 13px; font-weight: 500;
}
.report-file:hover { border-color: rgba(249,204,65,0.4); color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.report-file .file-icon { width: 38px; height: 38px; border-radius: var(--radius); background: rgba(249,204,65,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.report-file .file-icon svg { width: 18px; height: 18px; color: var(--gold); }
.report-file .dl-icon { width: 16px; height: 16px; color: var(--gold); margin-left: 4px; }

/* ───────── NBU NOTICE ───────── */
.nbu-notice {
  background: linear-gradient(135deg, rgba(249,204,65,0.06), transparent);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 36px; margin-top: 48px;
  display: flex; gap: 22px; align-items: flex-start;
}
.nbu-notice .nbu-icon { width: 48px; height: 48px; flex-shrink: 0; background: rgba(249,204,65,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.nbu-notice .nbu-icon svg { width: 24px; height: 24px; color: var(--gold); }
.nbu-notice p { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.nbu-notice a { color: var(--gold); font-weight: 500; transition: opacity var(--transition); word-break: break-all; }
.nbu-notice a:hover { opacity: 0.75; }

/* ───────── CONTACT ───────── */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.contact-info-item { display: flex; gap: 20px; padding: 26px; background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); margin-bottom: 16px; transition: all var(--transition); }
.contact-info-item:hover { border-color: rgba(249,204,65,0.35); transform: translateX(4px); }
.contact-info-icon { width: 48px; height: 48px; background: rgba(249,204,65,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); }
.contact-info-item:hover .contact-info-icon { background: var(--gold); }
.contact-info-icon svg { width: 22px; height: 22px; color: var(--gold); transition: color var(--transition); }
.contact-info-item:hover .contact-info-icon svg { color: var(--dark); }
.contact-info-item h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--text); line-height: 1.5; }
.contact-info-item a:hover { color: var(--gold); }
.contact-map { background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: none; filter: grayscale(70%) invert(90%) hue-rotate(180deg) contrast(0.9); }

/* ───────── MOBILE TOGGLE ───────── */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); transition: all var(--transition); border-radius: 2px; }

/* ───────── BREADCRUMB ───────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 18px; letter-spacing: 0.04em; }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(176,174,200,0.4); }
.breadcrumb .current { color: var(--gold); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-soft); padding: 24px 0; }
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .logo-text span:last-child { display: none; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: fixed; top: 84px; left: 0; right: 0; background: var(--dark-2); padding: 20px; border-bottom: 1px solid var(--border); max-height: calc(100vh - 84px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px 16px; font-size: 14px; }
  .has-dropdown::after { display: none; }
  .dropdown { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; background: transparent; display: none; min-width: 0; }
  .nav-links > li.open-mobile .dropdown { display: block; padding-left: 16px; }
  .mobile-toggle { display: flex; }
  .container { padding: 0 20px; }
  section { padding: 50px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col { padding-top: 0; }
  .page-hero-content { padding: 110px 20px 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .report-row { grid-template-columns: 1fr; gap: 14px; }
  .report-year-big { font-size: 40px; color: var(--gold); -webkit-text-stroke: 0; }
  .alert-block, .nbu-notice { flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ───────── UNBOUNDED HEADING TUNING + UPPERCASE ───────── */
.section-title {
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.22;
}
.page-hero-content h1 {
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 44px);
}
.panel-title { letter-spacing: 0.005em; font-weight: 600; }
.section-label { font-weight: 600; }
.btn { font-weight: 600; }
/* keep numerals tighter & not uppercased */
.stat-number, .kved-card .kved-code, .service-float .fnum, .about-img-badge .num,
.hero-mini-stat .num, .mini-stat .num { letter-spacing: -0.01em; }

/* ───────── LEGAL DOCUMENT PAGES (cookie / privacy) ───────── */
.legal-doc { max-width: 880px; }
.legal-intro { font-size: 15px; line-height: 1.85; color: var(--text-muted); margin-bottom: 14px; }
.legal-intro:last-of-type { margin-bottom: 0; }

.legal-sec { display: flex; gap: 22px; padding: 30px 0; border-top: 1px solid var(--border-soft); }
.legal-sec:last-of-type { border-bottom: 1px solid var(--border-soft); }
.legal-sec__n {
  flex: none; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--gold); background: rgba(249,204,65,0.1);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.legal-sec__body { flex: 1; min-width: 0; }
.legal-sec__body h2 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  color: var(--text); margin-bottom: 14px; line-height: 1.35; text-transform: none;
}
.legal-sec__body p { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-bottom: 11px; }
.legal-sec__body p:last-child { margin-bottom: 0; }
.legal-sec__body b.cl { color: var(--gold); font-weight: 700; margin-right: 5px; }
.legal-sec__body a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; transition: opacity var(--transition); }
.legal-sec__body a:hover { opacity: 0.75; }

.legal-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 10px 0 12px; }
.legal-list li { display: flex; gap: 12px; font-size: 14px; line-height: 1.65; color: var(--text-muted); }
.legal-list li::before {
  content: ''; flex: none; width: 7px; height: 7px; margin-top: 8px;
  background: var(--gold); border-radius: 2px; transform: rotate(45deg); opacity: 0.75;
}
.legal-list b { color: var(--text); font-weight: 600; }

.legal-note {
  margin-top: 38px; display: flex; gap: 18px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(249,204,65,0.07), rgba(249,204,65,0.02));
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg); padding: 22px 26px;
}
.legal-note svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 2px; }
.legal-note p { font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }
.legal-note a { color: var(--gold); }

/* cookie table */
.ck-table { width: 100%; border-collapse: collapse; margin: 14px 0 4px; }
.ck-table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); padding: 0 16px 10px 0;
  border-bottom: 1px solid var(--border);
}
.ck-table td { font-size: 13px; color: var(--text-muted); line-height: 1.6; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.ck-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.ck-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .ck-table, .ck-table tbody, .ck-table tr, .ck-table td { display: block; width: 100%; }
  .ck-table thead { display: none; }
  .ck-table tr { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
  .ck-table td { border: none; padding: 2px 0; }
  .ck-table td:first-child { color: var(--gold); margin-bottom: 4px; }
}

@media (max-width: 640px) {
  .legal-sec { gap: 14px; padding: 24px 0; }
  .legal-sec__n { width: 32px; height: 32px; font-size: 13px; }
  .legal-note { flex-direction: column; gap: 12px; padding: 18px 20px; }
}

/* ───────── FORM CONSENT CHECKBOX ───────── */
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; cursor: pointer; }
.form-consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-consent .cbox {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border: 1px solid rgba(249,204,65,0.4); border-radius: 4px;
  background: var(--dark-2); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.form-consent .cbox svg { width: 13px; height: 13px; color: var(--dark); opacity: 0; transform: scale(0.6); transition: all var(--transition); }
.form-consent input:checked + .cbox { background: var(--gold); border-color: var(--gold); }
.form-consent input:checked + .cbox svg { opacity: 1; transform: scale(1); }
.form-consent input:focus-visible + .cbox { box-shadow: 0 0 0 3px rgba(249,204,65,0.25); }
.form-consent:hover .cbox { border-color: var(--gold); }
.form-consent .ctext { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.form-consent .ctext a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.form-consent .ctext a:hover { opacity: 0.75; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:hover { transform: none; box-shadow: none; background: var(--gold); }

/* ───────── FOOTER LEGAL LINKS ───────── */
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: rgba(176,174,200,0.75); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }
@media (max-width: 768px) { .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* ───────── COOKIE BANNER ───────── */
.ck-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  transform: translateY(130%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.ck-banner.ck-show { transform: translateY(0); }
.ck-inner {
  max-width: 1180px; margin: 0 16px 16px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
@media (min-width: 1212px) { .ck-inner { margin-left: auto; margin-right: auto; } }
.ck-ic {
  flex: none; width: 46px; height: 46px; border-radius: var(--radius);
  background: rgba(249,204,65,0.1); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.ck-ic svg { width: 24px; height: 24px; }
.ck-txt { flex: 1; min-width: 240px; font-size: 13.5px; line-height: 1.65; color: var(--text-muted); }
.ck-txt strong { display: block; color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.ck-txt a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.ck-txt a:hover { opacity: 0.8; }
.ck-btns { display: flex; gap: 10px; flex: none; }
.ck-btn {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.ck-accept { background: var(--gold); color: var(--dark); }
.ck-accept:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); }
.ck-decline { background: transparent; color: var(--text-muted); border-color: var(--border-soft); }
.ck-decline:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 700px) {
  .ck-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 20px; }
  .ck-ic { display: none; }
  .ck-btns { width: 100%; }
  .ck-btn { flex: 1; padding: 13px 12px; }
}
