
:root {
  --navy:#0B1F3A;
  --gold:#C9A24D;
  --bg:#F7F7F4;
  --text:#1F2933;
  --muted:#667085;
  --white:#fff;
  --line:#e5e7eb;
  --soft:#eef2f7;
}

* { box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  margin:0;
  font-family:Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a { color:inherit; }

.header {
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(12px);
}

.nav {
  max-width:1180px;
  margin:0 auto;
  padding:15px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

.logo {
  color:var(--navy);
  text-decoration:none;
  font-size:20px;
  font-weight:900;
  white-space:nowrap;
}

.nav-right {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
}

.nav-links {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.nav-links a {
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  font-weight:900;
}

.nav-links a:hover { color:var(--navy); }

.profile-dropdown,
.language-dropdown {
  position:relative;
  display:inline-flex;
  align-items:center;
}

.profile-current,
.language-current {
  min-height:38px;
  border:0;
  background:transparent;
  color:var(--muted);
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  padding:0;
  user-select:none;
}

.language-current {
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--navy);
  display:inline-flex;
  align-items:center;
  gap:7px;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
}

.profile-current:hover { color:var(--navy); }

.profile-menu,
.language-menu {
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  min-width:180px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:8px;
  box-shadow:0 18px 46px rgba(15,23,42,.16);
  display:none;
  gap:4px;
  z-index:2000;
}

.profile-menu {
  left:0;
  right:auto;
  min-width:230px;
}

.language-menu {
  min-width:132px;
}

.profile-dropdown.is-open .profile-menu,
.language-dropdown.is-open .language-menu {
  display:grid;
}

.profile-menu a,
.language-menu a {
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 12px;
  border-radius:12px;
  color:var(--navy)!important;
  text-decoration:none!important;
  font-weight:900;
}

.profile-menu a:hover,
.language-menu a:hover {
  background:var(--soft);
}

.notranslate,
.language-dropdown,
.language-dropdown * {
  translate:no;
}

.language-menu strong,
.language-current strong {
  text-transform:uppercase;
  font-family:Arial,sans-serif;
  letter-spacing:.02em;
}

.flag {
  width:24px;
  height:16px;
  display:inline-block;
  border-radius:3px;
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(11,31,58,.18);
  flex:0 0 auto;
}

.flag-de { background:linear-gradient(to bottom,#000 0 33.33%,#dd0000 33.33% 66.66%,#ffce00 66.66% 100%); }

.flag-en {
  background:
    linear-gradient(to right,transparent 0 42%,#cf142b 42% 58%,transparent 58% 100%),
    linear-gradient(to bottom,transparent 0 38%,#cf142b 38% 62%,transparent 62% 100%),
    #fff;
}

.flag-ru { background:linear-gradient(to bottom,#fff 0 33.33%,#0039a6 33.33% 66.66%,#d52b1e 66.66% 100%); }
.flag-ua { background:linear-gradient(to bottom,#0057b7 0 50%,#ffd700 50% 100%); }

.site-social-icons {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  flex-wrap:wrap;
}

.social-circle {
  width:38px;
  height:38px;
  border:1.5px solid var(--navy);
  border-radius:999px;
  background:#fff;
  color:var(--navy)!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
  transition:.18s ease;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
  font-size:0!important;
}

.social-circle svg {
  width:19px;
  height:19px;
  fill:currentColor;
}

.social-circle:hover {
  transform:translateY(-2px);
  color:#fff!important;
}

.social-linkedin:hover { background:#0A66C2; border-color:#0A66C2; }
.social-facebook:hover { background:#1877F2; border-color:#1877F2; }
.social-instagram:hover { background:#E4405F; border-color:#E4405F; }
.social-youtube:hover { background:#FF0000; border-color:#FF0000; }
.social-telegram:hover { background:#229ED9; border-color:#229ED9; }
.social-whatsapp:hover { background:#25D366; border-color:#25D366; }
.social-viber:hover { background:#7360F2; border-color:#7360F2; }

.hero {
  background:linear-gradient(90deg, rgba(11,31,58,.94), rgba(11,31,58,.76), rgba(11,31,58,.32)), url('/assets/img/background/hero-bg.jpeg');
  background-size:cover;
  background-position:center;
  color:white;
  padding:95px 24px;
}

.hero-inner {
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.28fr .72fr;
  gap:44px;
  align-items:center;
}

.badge {
  color:var(--gold);
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.05em;
  font-size:13px;
  margin-bottom:12px;
}

h1 {
  font-size:clamp(42px,6vw,72px);
  line-height:1.05;
  margin:0 0 20px;
}

.subtitle {
  font-size:22px;
  max-width:780px;
  color:rgba(255,255,255,.92);
}

.actions,
.contact-links {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.btn,
.contact-links a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:13px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
}

.btn-main {
  background:var(--gold);
  color:var(--navy);
  border:1px solid var(--gold);
}

.btn-ghost {
  border:1px solid rgba(255,255,255,.42);
  color:white;
}

.profile-card {
  background:white;
  color:var(--text);
  border-radius:28px;
  padding:28px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.profile-photo,
.photo-placeholder {
  width:150px;
  height:150px;
  border-radius:999px;
  margin-bottom:20px;
}

.profile-photo {
  object-fit:cover;
  border:5px solid white;
  box-shadow:0 12px 34px rgba(0,0,0,.18);
  display:block;
}

.photo-placeholder {
  background:var(--gold);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
  font-weight:900;
}

.profile-card h2 {
  color:var(--navy);
  margin:0 0 8px;
}

.profile-card p {
  color:var(--muted);
  margin:0 0 8px;
}

.section {
  max-width:1180px;
  margin:0 auto;
  padding:76px 24px;
}

.kicker {
  color:var(--gold);
  text-transform:uppercase;
  font-weight:900;
  font-size:13px;
  letter-spacing:.05em;
}

.section h2 {
  color:var(--navy);
  font-size:clamp(30px,4vw,46px);
  margin:8px 0 18px;
}

.lead {
  max-width:900px;
  color:var(--muted);
  font-size:18px;
}

.profile-subtitle {
  color:var(--navy)!important;
  font-weight:900;
  font-size:22px;
  max-width:980px;
  margin-bottom:18px;
}

.profile-text {
  max-width:980px;
  color:var(--muted);
  font-size:18px;
  line-height:1.75;
  margin:0;
}

.notice,
.consult-note {
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  border-radius:18px;
  padding:18px 20px;
  margin-top:22px;
  font-weight:700;
}

.consult-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:32px;
}

.consult-card,
.timeline-item,
.news-card,
.review-card,
.legal-box {
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.consult-card:hover {
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(15,23,42,.10);
  border-color:rgba(201,162,77,.45);
}

.consult-card h3,
.timeline-item h3,
.news-card h3,
.review-card h3 {
  color:var(--navy);
  margin:0 0 8px;
}

.consult-card p,
.timeline-item p,
.news-card p,
.review-card p {
  color:var(--muted);
  margin:0;
}

.consult-actions {
  margin-top:26px;
}

.btn-consult-dark {
  color:var(--navy)!important;
}

.timeline {
  display:grid;
  gap:18px;
  margin-top:28px;
}

.meta,
.news-date {
  color:var(--gold);
  font-weight:900;
  display:block;
  margin-bottom:8px;
}

.cert-grid,
.news-grid,
.reviews-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:30px;
}

.cert-card {
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
}

.cert-preview {
  height:390px;
  background:#f8fafc;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}

.cert-image-preview {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
  display:block;
}

.cert-pdf-preview {
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.cert-body {
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}

.cert-open-btn {
  margin-top:auto;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  background:var(--navy);
  color:#fff!important;
  text-decoration:none!important;
  padding:13px 18px;
  border-radius:999px;
  font-weight:900;
}

.cert-open-btn:hover {
  background:var(--gold);
  color:var(--navy)!important;
}

.review-stars {
  color:var(--gold);
  font-size:20px;
  letter-spacing:2px;
  margin-bottom:12px;
}

.review-open-btn {
  margin-top:22px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border:0;
  background:var(--gold);
  color:var(--navy);
  padding:13px 18px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
}

.contact {
  background:var(--navy);
  color:white;
  border-radius:32px;
  padding:42px;
}

.contact h2 { color:white; }
.contact p { color:rgba(255,255,255,.78); }
.contact-links a { background:white; color:var(--navy); }
.contact-primary { background:var(--gold)!important; color:var(--navy)!important; }
.contact-social { margin-top:28px; }

.site-footer {
  background:#0B1F3A;
  color:white;
  margin-top:80px;
}

.site-footer-inner {
  max-width:1180px;
  margin:0 auto;
  padding:70px 24px;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:54px;
  align-items:start;
}

.footer-logo-mark {
  width:86px;
  height:86px;
  border-radius:28px;
  background:var(--gold);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:32px;
}

.footer-brand-block h3 {
  color:white;
  margin:18px 0 10px;
  font-size:24px;
}

.footer-brand-block p {
  color:rgba(255,255,255,.76);
  margin:0;
  max-width:340px;
}

.footer-copy {
  margin-top:24px;
  color:rgba(255,255,255,.62);
  font-size:14px;
}

.footer-column h4 {
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:14px;
  margin:0 0 18px;
}

.footer-column a {
  display:block;
  color:rgba(255,255,255,.86);
  text-decoration:none;
  font-weight:700;
  margin-bottom:11px;
  line-height:1.4;
}

.footer-column a:hover { color:var(--gold); }

.legal-page {
  max-width:920px;
  margin:0 auto;
  padding:70px 24px;
}

.consult-modal {
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.consult-modal.is-open { display:flex; }

.consult-modal-overlay {
  position:absolute;
  inset:0;
  background:rgba(11,31,58,.62);
  backdrop-filter:blur(7px);
}

.consult-modal-box {
  position:relative;
  z-index:2;
  width:min(560px,100%);
  max-height:calc(100vh - 48px);
  overflow-y:auto;
  background:#fff;
  border-radius:30px;
  padding:34px;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}

.consult-modal-close {
  position:absolute;
  right:18px;
  top:14px;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:var(--soft);
  color:var(--navy);
  font-size:30px;
  cursor:pointer;
}

.consult-modal-head h2 {
  color:var(--navy);
  font-size:34px;
  line-height:1.15;
  margin:0 0 10px;
}

.consult-modal-head p {
  color:var(--muted);
  margin:0 0 22px;
}

.consult-modal-form {
  display:grid;
  gap:14px;
}

.consult-modal-form label {
  display:grid;
  gap:7px;
  color:var(--navy);
  font-weight:900;
  font-size:14px;
}

.consult-modal-form input,
.consult-modal-form textarea,
.consult-modal-form select {
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 15px;
  font-size:15px;
  font-family:Arial,sans-serif;
  outline:none;
  background:#fff;
  color:var(--text);
}

.consult-modal-submit {
  border:0;
  border-radius:16px;
  background:var(--gold);
  color:var(--navy);
  padding:16px 18px;
  cursor:pointer;
  font-weight:900;
  font-size:16px;
}

.review-consent {
  display:grid!important;
  grid-template-columns:20px 1fr;
  gap:10px!important;
  align-items:start;
  color:var(--muted)!important;
  font-weight:700!important;
}

.review-consent input {
  width:18px!important;
  height:18px!important;
  margin-top:3px;
}

body.modal-open { overflow:hidden; }

@media (max-width:980px) {
  .nav {
    align-items:flex-start;
    flex-direction:column;
  }

  .nav-right,
  .nav-links,
  .site-social-icons {
    justify-content:flex-start;
  }

  .hero-inner,
  .consult-grid,
  .cert-grid,
  .news-grid,
  .reviews-grid {
    grid-template-columns:1fr;
  }

  .site-footer-inner {
    grid-template-columns:1fr 1fr;
    gap:34px;
  }

  .cert-preview {
    height:430px;
  }

  .profile-menu,
  .language-menu {
    left:0;
    right:auto;
  }
}

@media (max-width:620px) {
  .site-footer-inner {
    grid-template-columns:1fr;
    padding:54px 22px;
  }
}

@media (max-width:560px) {
  .hero {
    padding:65px 20px;
  }

  .section {
    padding:58px 20px;
  }

  .contact {
    padding:28px 20px;
  }

  .btn,
  .contact-links a {
    width:100%;
  }

  .cert-preview {
    height:360px;
  }
}

body {
  background:
    linear-gradient(rgba(247,247,244,.92), rgba(247,247,244,.94)),
    url('/assets/img/background/000-main-bg.png') center top / cover fixed no-repeat !important;
}

.section,
.header {
  background: transparent !important;
}

.consult-card,
.timeline-item,
.news-card,
.review-card,
.cert-card,
.profile-card,
.legal-box {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(8px);
}


/* === Strong visible site background === */

body {
  background:
    linear-gradient(rgba(247,247,244,.58), rgba(247,247,244,.66)),
    url('/assets/img/background/000-main-bg.png') center top / cover fixed no-repeat !important;
}

.header {
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(14px) !important;
}

.section {
  background: transparent !important;
}

.consult-card,
.timeline-item,
.news-card,
.review-card,
.cert-card,
.profile-card,
.legal-box {
  background: rgba(255,255,255,.84) !important;
  backdrop-filter: blur(7px) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
}

.contact {
  background: rgba(11,31,58,.90) !important;
  backdrop-filter: blur(8px) !important;
}

.site-footer {
  background: rgba(11,31,58,.94) !important;
  backdrop-filter: blur(8px) !important;
}

.hero {
  background:
    linear-gradient(90deg, rgba(11,31,58,.82), rgba(11,31,58,.58), rgba(11,31,58,.22)),
    url('/assets/img/background/000-main-bg.png') center center / cover no-repeat !important;
}


/* === Small cooperation icon near logo === */

.logo-cooperation-icon {
  width: 92px;
  height: 42px;
  object-fit: contain;
  margin-left: 14px;
  display: inline-block;
  vertical-align: middle;
  background: #ffffff;
  border-radius: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 620px) {
  .logo-cooperation-icon {
    width: 72px;
    height: 34px;
    margin-left: 8px;
  }
}


/* === Small cooperation icon near logo === */

.logo-cooperation-icon {
  width: 92px;
  height: 42px;
  object-fit: contain;
  margin-left: 14px;
  display: inline-block;
  vertical-align: middle;
  background: #ffffff;
  border-radius: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 620px) {
  .logo-cooperation-icon {
    width: 72px;
    height: 34px;
    margin-left: 8px;
  }
}


/* === Final small cooperation icon near logo === */

.logo-cooperation-icon {
  width: 70px !important;
  height: 34px !important;
  object-fit: contain !important;
  margin-left: 12px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-shadow: none !important;
}

.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

@media (max-width: 620px) {
  .logo-cooperation-icon {
    width: 58px !important;
    height: 28px !important;
    margin-left: 6px !important;
  }
}


/* === Inline German-Ukrainian cooperation SVG near logo === */

.logo {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.logo-cooperation-svg {
  width: 82px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 10px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}

.logo-cooperation-svg svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

@media (max-width: 620px) {
  .logo-cooperation-svg {
    width: 66px !important;
    height: 30px !important;
    margin-left: 6px !important;
  }
}


/* === Final clean cooperation badge near logo === */

.logo {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.logo-cooperation-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 102px !important;
  height: 34px !important;
  margin-left: 12px !important;
  padding: 5px 8px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11,31,58,.12) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px rgba(15,23,42,.08) !important;
  flex: 0 0 auto !important;
}

.handshake-mini {
  width: 36px !important;
  height: 24px !important;
  display: block !important;
  flex: 0 0 auto !important;
}

.mini-flag {
  width: 20px !important;
  height: 14px !important;
  display: inline-block !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  box-shadow: 0 0 0 1px rgba(11,31,58,.14) !important;
  flex: 0 0 auto !important;
}

.flag-germany-mini {
  background: linear-gradient(to bottom, #000 0 33.33%, #DD0000 33.33% 66.66%, #FFCE00 66.66% 100%) !important;
}

.flag-ukraine-mini {
  background: linear-gradient(to bottom, #0057B7 0 50%, #FFD700 50% 100%) !important;
}

@media (max-width: 620px) {
  .logo-cooperation-badge {
    width: 84px !important;
    height: 30px !important;
    margin-left: 7px !important;
    padding: 4px 6px !important;
  }

  .handshake-mini {
    width: 30px !important;
    height: 20px !important;
  }

  .mini-flag {
    width: 16px !important;
    height: 11px !important;
  }
}


/* === Final clean cooperation badge near logo === */

.logo {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.logo-cooperation-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 102px !important;
  height: 34px !important;
  margin-left: 12px !important;
  padding: 5px 8px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11,31,58,.12) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px rgba(15,23,42,.08) !important;
  flex: 0 0 auto !important;
}

.handshake-mini {
  width: 36px !important;
  height: 24px !important;
  display: block !important;
  flex: 0 0 auto !important;
}

.mini-flag {
  width: 20px !important;
  height: 14px !important;
  display: inline-block !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  box-shadow: 0 0 0 1px rgba(11,31,58,.14) !important;
  flex: 0 0 auto !important;
}

.flag-germany-mini {
  background: linear-gradient(to bottom, #000 0 33.33%, #DD0000 33.33% 66.66%, #FFCE00 66.66% 100%) !important;
}

.flag-ukraine-mini {
  background: linear-gradient(to bottom, #0057B7 0 50%, #FFD700 50% 100%) !important;
}

@media (max-width: 620px) {
  .logo-cooperation-badge {
    width: 84px !important;
    height: 30px !important;
    margin-left: 7px !important;
    padding: 4px 6px !important;
  }

  .handshake-mini {
    width: 30px !important;
    height: 20px !important;
  }

  .mini-flag {
    width: 16px !important;
    height: 11px !important;
  }
}


/* === Remove cooperation icon completely === */

.logo-cooperation-badge,
.logo-cooperation-svg,
.logo-cooperation-icon,
.header-cooperation-photo,
.header-collab-card {
  display: none !important;
}

.logo {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}


/* === Force remove all cooperation logo leftovers === */

.logo-cooperation-badge,
.logo-cooperation-svg,
.logo-cooperation-icon,
.header-cooperation-photo,
.header-collab-card,
.handshake-mini,
.mini-flag,
.flag-germany-mini,
.flag-ukraine-mini {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.logo {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

