:root {
  --green: #061f25;
  --green-2: #0b3138;
  --green-3: #123e3c;
  --gold: #b9822d;
  --gold-2: #ddb76a;
  --gold-3: #76531e;
  --white: #ffffff;
  --paper: #fbfaf6;
  --paper-2: #f4efe3;
  --ink: #0b1714;
  --muted: #66726d;
  --line: rgba(201, 154, 66, 0.28);
  --shadow: 0 26px 70px rgba(6, 45, 38, 0.16);

  /* Межстрочные интервалы (line-height) — единая настройка для всего сайта */
  --lh-display: 1.04;  /* крупные заголовки h1/h2 */
  --lh-heading: 1.22;   /* подзаголовки h3 и мелкие заголовки */
  --lh-body: 1.6;     /* основной текст параграфов */
  --lh-relaxed: 1.72;   /* длинные текстовые блоки */
  --lh-tight: 1.3;     /* компактные подписи, мелкий текст */
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0d343a;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* overflow-x: clip надежнее предотвращает горизонтальный скролл
   и не ломает sticky-шапку. hidden остается запасным вариантом выше. */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #0d343a;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: var(--lh-body);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  line-height: var(--lh-body);
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
}

.site-header,
.footer {
  min-width: 0;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

iframe,
video,
svg {
  max-width: 100%;
}

/* Не дает элементам сетки растягивать страницу за пределы экрана */
.cards > *,
.why-list > *,
.trust-logo-grid > *,
.achievement-grid > *,
.team-grid > *,
.feature-list > *,
.footer-main > *,
.footer-contact-grid > *,
.eg-about-overview-grid > *,
.eg-about-values-grid > *,
.about-vz-layout > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(6, 31, 37, 0.94);
  border-bottom: 1px solid rgba(240, 209, 134, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 340px;
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 32px);
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: rgba(221, 183, 106, 0.1);
  border-color: rgba(221, 183, 106, 0.34);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.nav-toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  top: 0;
}

.nav-toggle span::before {
  transform: translate(-50%, -7px);
}

.nav-toggle span::after {
  transform: translate(-50%, 7px);
}

.site-header.nav-open .nav-toggle span {
  background: transparent;
}

.site-header.nav-open .nav-toggle span::before {
  transform: translate(-50%, 0) rotate(45deg);
}

.site-header.nav-open .nav-toggle span::after {
  transform: translate(-50%, 0) rotate(-45deg);
}

.language-switcher {
  position: relative;
  display: grid;
  place-items: center;
}

.language-switcher button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.language-switcher button span {
  font-size: 0;
}

.language-switcher button::before {
  content: none;
}

.language-switcher svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switcher:hover button,
.language-switcher:focus-within button {
  transform: translateY(-2px);
  color: var(--gold-2);
  background: rgba(221, 183, 106, 0.1);
  border-color: rgba(221, 183, 106, 0.34);
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 122px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(6, 31, 37, 0.1);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-menu a {
  padding: 8px 10px;
  color: var(--green);
  border-radius: 7px;
  font-weight: 700;
}

.language-menu a.active {
  color: #f04438;
}

.language-menu a:hover {
  background: rgba(6, 31, 37, 0.06);
}

.header-button,
.button,
.section-head a,
.contact-links a,
.contact-form button {
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: rgba(221, 183, 106, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 900;
}

.header-button:hover,
.button:hover,
.section-head a:hover,
.contact-links a:hover,
.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-popover {
  position: absolute;
  z-index: 120;
  width: 292px;
  padding: 14px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #08252b;
  border: 1px solid rgba(221, 183, 106, 0.22);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-popover.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.contact-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 32px;
  width: 14px;
  height: 14px;
  background: #08252b;
  border-left: 1px solid rgba(221, 183, 106, 0.22);
  border-top: 1px solid rgba(221, 183, 106, 0.22);
  transform: rotate(45deg);
}

.contact-popover > strong {
  display: block;
  margin: 4px 6px 12px;
  color: var(--gold-2);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-popover a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.contact-popover a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.contact-popover a > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold-2);
  background: rgba(221, 183, 106, 0.12);
  border: 1px solid rgba(221, 183, 106, 0.16);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
}

.contact-popover div {
  display: grid;
  gap: 3px;
  color: var(--white);
  font-weight: 900;
}

.contact-popover small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
}

.vz-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.86fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 5vw, 74px) clamp(18px, 5vw, 72px);
  overflow-x: clip;
  overflow-y: visible;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6, 31, 37, 0.98) 0%, rgba(6, 31, 37, 0.9) 50%, rgba(6, 31, 37, 0.64) 100%),
    url("assets/columns-hero.png") center / cover no-repeat;
}

.vz-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  z-index: 0;
  height: 250px;
  background: linear-gradient(
    180deg,
    rgba(251, 250, 246, 0) 0%,
    rgba(251, 250, 246, 0.025) 32%,
    rgba(251, 250, 246, 0.09) 50%,
    rgba(251, 250, 246, 0.24) 68%,
    rgba(251, 250, 246, 0.52) 84%,
    rgba(251, 250, 246, 0.82) 95%,
    var(--paper) 100%
  );
  pointer-events: none;
}

.home-page main {
  overflow: hidden;
  background: var(--paper);
}

.home-page main > section {
  isolation: isolate;
}

.home-page .services-preview {
  margin-top: -1px;
  background:
    linear-gradient(rgba(6, 31, 37, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 31, 37, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(221, 183, 106, 0.14), transparent 28%),
    var(--paper);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.home-page main > section:not(.vz-hero):not(.cta-section) {
  box-shadow: none;
}

.home-page .vz-hero::after {
  display: none;
}

.section-fog-divider {
  position: relative;
  z-index: 8;
  width: 100%;
  height: 150px;
  margin: -75px 0;
  pointer-events: none;
  background: url("assets/section-fog-transition.png") center / 100% 100% no-repeat;
}

.vz-hero-copy,
.vz-hero-visual {
  position: relative;
  z-index: 1;
}

.vz-hero-copy {
  max-width: 760px;
  overflow: visible;
}

.vz-hero h1 {
  line-height: 1.08;
  padding-block: 0.04em 0.06em;
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: wrap;
}

.vz-hero-visual {
  min-height: 500px;
}

.hero-building {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(221, 183, 106, 0.28);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  opacity: 0.72;
}

.hero-logo-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: min(66%, 320px);
  aspect-ratio: 1;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 183, 106, 0.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.hero-logo-card img {
  width: 100%;
  object-fit: contain;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-card strong {
  color: var(--green);
  font-size: 24px;
}

.floating-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.card-top {
  top: 42px;
  right: -10px;
}

.card-bottom {
  left: -8px;
  bottom: 52px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 610px;
  margin-top: 30px;
  padding: 16px 0;
  background: rgba(6, 31, 37, 0.18);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 0 28px;
}

.hero-metrics div + div {
  border-left: 1px solid rgba(221, 183, 106, 0.36);
}

.hero-metrics strong {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(52px, 7vw, 94px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 31, 37, 0.96) 0%, rgba(6, 31, 37, 0.82) 48%, rgba(255, 255, 255, 0.2) 100%),
    var(--green);
}

.hero-image {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.75) sepia(0.12) contrast(1.08);
}

.hero-copy,
.hero-emblem {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 820px;
}

.hero-emblem {
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(36vw, 430px);
  min-width: 290px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(221, 183, 106, 0.16) 62%, rgba(6, 31, 37, 0.04) 70%);
  border: 1px solid rgba(240, 209, 134, 0.22);
  border-radius: 50%;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.hero-emblem img {
  width: 94%;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.34));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: var(--lh-display);
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.6vw, 74px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: var(--lh-heading);
}

.lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: var(--lh-relaxed);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #9a6c25, var(--gold));
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold);
}

.stats-band div {
  min-height: 126px;
  padding: 24px clamp(18px, 3vw, 40px);
  color: var(--green);
  background: var(--white);
}

.stats-band strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.dark-section,
.contact-page,
.page-hero {
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}

.section {
  position: relative;
  padding-top: clamp(58px, 8vw, 106px);
  padding-bottom: clamp(58px, 8vw, 106px);
}

:where(.section, .why-section, .trust-section, .testimonials, .achievement-section, .faq-section, .cta-section, .dark-section, .contact-page, .eg-about-overview, .eg-about-values, .eg-about-history, .footer) {
  position: relative;
}

:where(.section, .why-section, .trust-section, .testimonials, .achievement-section, .faq-section, .cta-section, .dark-section, .contact-page, .eg-about-overview, .eg-about-values, .eg-about-history, .footer)::before,
:where(.section, .why-section, .trust-section, .testimonials, .achievement-section, .faq-section, .cta-section, .dark-section, .contact-page, .eg-about-overview, .eg-about-values, .eg-about-history, .footer)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  pointer-events: none;
  z-index: 2;
}

:where(.section, .why-section, .testimonials, .faq-section, .eg-about-overview, .eg-about-history)::before {
  top: 0;
  background: linear-gradient(180deg, rgba(6, 31, 37, 0.075), transparent);
}

:where(.section, .why-section, .testimonials, .faq-section, .eg-about-overview, .eg-about-history)::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(6, 31, 37, 0.065), transparent);
}

:where(.trust-section, .achievement-section, .dark-section, .contact-page, .eg-about-values, .cta-section, .footer)::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent);
}

:where(.trust-section, .achievement-section, .dark-section, .contact-page, .eg-about-values, .cta-section, .footer)::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.055), transparent);
}

:where(.section, .why-section, .trust-section, .testimonials, .achievement-section, .faq-section, .cta-section, .dark-section, .contact-page, .eg-about-overview, .eg-about-values, .eg-about-history, .footer) > * {
  position: relative;
  z-index: 3;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  background: var(--paper);
}

.split .section-kicker,
.services-preview .section-kicker,
.values .section-kicker,
.team-teaser .section-kicker {
  color: var(--gold-3);
}

.rich-text {
  color: #31433d;
  font-size: 18px;
}

.rich-text p:last-child,
.service-card p,
.feature-list span,
.person-card p,
.case-card p,
.value-card span {
  margin-bottom: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 34px;
}

.section-head.centered {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-head.centered p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head a {
  align-self: center;
  padding: 12px 18px;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
}

.services-preview,
.values {
  background: var(--white);
}

.services-preview {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(6, 31, 37, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 31, 37, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(221, 183, 106, 0.14), transparent 28%),
    var(--white);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.services-preview::before,
.services-preview::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.services-preview::before {
  right: -150px;
  top: 34px;
  width: 240px;
  height: 240px;
  background: rgba(6, 31, 37, 0.045);
}

.services-preview::after {
  left: -150px;
  bottom: 18px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(221, 183, 106, 0.18);
}

.services-preview > * {
  position: relative;
  z-index: 3;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), #f8f3e8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(6, 45, 38, 0.06);
  animation: serviceRise 0.7s ease both;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.service-card:nth-child(2) {
  animation-delay: 0.12s;
}

.service-card:nth-child(3) {
  animation-delay: 0.24s;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(221, 183, 106, 0.58);
  box-shadow: 0 24px 58px rgba(6, 31, 37, 0.14);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(6, 31, 37, 0.72), rgba(221, 183, 106, 0.8));
  transform: scaleX(0.72);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(201, 154, 66, 0.32);
  border-radius: 50%;
}

.service-card.accent {
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--green-2));
  border-color: rgba(240, 209, 134, 0.36);
}

.service-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--green);
  background: rgba(6, 31, 37, 0.08);
  border: 1px solid rgba(6, 31, 37, 0.12);
  border-radius: 8px;
  animation: iconFloat 3.6s ease-in-out infinite;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-card.accent .service-icon {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.service-card:hover .service-icon {
  color: var(--white);
  background: var(--green);
  transform: translateY(-6px) rotate(4deg);
}

.service-card.accent:hover .service-icon {
  color: var(--green);
  background: var(--gold-2);
}

.service-card span {
  display: inline-flex;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  padding: 10px 12px;
  background: rgba(221, 183, 106, 0.12);
  border-radius: 8px;
}

.service-card.accent span,
.service-card.accent p {
  color: var(--gold-2);
}

.service-card p {
  color: var(--muted);
}

@keyframes serviceRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal:nth-child(2),
.achievement-grid .reveal:nth-child(2),
.team-preview-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.service-card.reveal:nth-child(3),
.achievement-grid .reveal:nth-child(3),
.team-preview-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.achievement-grid .reveal:nth-child(4),
.team-preview-grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.service-card.accent li {
  color: rgba(255, 255, 255, 0.82);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.button.outline {
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
}

.service-catalog {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(6, 31, 37, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbfa, #f3f7f6);
  background-size: 28px 28px, auto;
}

.service-catalog-grid {
  max-width: 1180px;
  margin: 46px auto 0;
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(6, 31, 37, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(6, 31, 37, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.catalog-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(221, 183, 106, 0.22);
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.catalog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(221, 183, 106, 0.42);
  box-shadow: 0 28px 66px rgba(6, 31, 37, 0.13);
}

.catalog-card:hover::after {
  transform: scale(1.12);
  opacity: 0.8;
}

.catalog-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 28px;
  color: var(--green-2);
  background: rgba(6, 31, 37, 0.08);
  border-radius: 8px;
  font-size: 30px;
  font-weight: 900;
}

.catalog-card:nth-child(2) .catalog-icon,
.catalog-card:nth-child(5) .catalog-icon {
  color: var(--gold-3);
  background: rgba(221, 183, 106, 0.16);
}

.catalog-card h3 {
  margin-bottom: 14px;
  color: var(--ink);
}

.catalog-card p {
  color: var(--muted);
}

.catalog-card a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--gold-3);
  font-weight: 900;
}

.catalog-card a span {
  transition: transform 0.2s ease;
}

.catalog-card a:hover span {
  transform: translateX(4px);
}

.cases-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(6, 31, 37, 0.045) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 88%, rgba(201, 154, 66, 0.08) 0 160px, transparent 161px),
    linear-gradient(rgba(6, 31, 37, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 31, 37, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 42px auto 0;
}

.case-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(201, 154, 66, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(6, 31, 37, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.case-card::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(201, 154, 66, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 154, 66, 0.42);
  box-shadow: 0 28px 70px rgba(6, 31, 37, 0.13);
}

.case-card span {
  width: max-content;
  padding: 7px 10px;
  color: var(--gold-3);
  background: rgba(221, 183, 106, 0.14);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
}

.case-card p {
  color: #5f6c68;
  line-height: 1.65;
}

.case-card strong {
  color: var(--green);
}

.why-section {
  display: block;
  padding: clamp(58px, 8vw, 106px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle, rgba(6, 31, 37, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbfa, #f1f5f4);
  background-size: 28px 28px, auto;
}

.why-copy {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.why-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.why-list article {
  position: relative;
  min-height: 220px;
  padding: 38px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(6, 31, 37, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  background: linear-gradient(180deg, rgba(221, 183, 106, 0.9), rgba(6, 31, 37, 0.22));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(221, 183, 106, 0.42);
  box-shadow: 0 26px 64px rgba(6, 31, 37, 0.12);
}

.why-list article:hover::before {
  opacity: 1;
}

.why-list span {
  position: absolute;
  right: 30px;
  top: 28px;
  color: rgba(221, 183, 106, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
}

.why-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: var(--green-2);
  background: rgba(6, 31, 37, 0.08);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
}

.why-list article:nth-child(2) .why-icon {
  background: rgba(18, 80, 92, 0.1);
}

.why-list article:nth-child(3) .why-icon {
  background: rgba(221, 183, 106, 0.14);
}

.why-list article:nth-child(4) .why-icon {
  background: rgba(19, 109, 85, 0.1);
}

.why-list h3 {
  position: relative;
  margin-bottom: 8px;
  padding-right: 80px;
}

.why-list p {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
}

.trust-section,
.achievement-section,
.faq-section {
  padding: clamp(58px, 8vw, 106px) clamp(18px, 5vw, 72px);
}

.trust-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(221, 183, 106, 0.08), transparent 30%),
    #071b22;
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.trust-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.06));
  pointer-events: none;
}

.trust-section > * {
  position: relative;
  z-index: 1;
}

.trust-section .section-head h2,
.trust-section .section-head p {
  color: var(--white);
}

.trust-section .section-head h2 span {
  color: var(--gold-2);
}

.trust-section .section-head.centered p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.trust-orbit {
  display: grid;
  gap: 0;
  justify-items: center;
  max-width: 1260px;
  margin: 36px auto 0;
}

.trust-grid-layout {
  grid-template-columns: 1fr;
}

.trust-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1160px;
}

.trust-logo-grid a,
.trust-column a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px 16px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 183, 106, 0.1);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.trust-logo-grid a:hover,
.trust-column a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(221, 183, 106, 0.42);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}

.trust-logo-grid a:focus,
.trust-logo-grid a:focus-visible,
.trust-column a:focus,
.trust-column a:focus-visible {
  outline: 0;
  border-color: rgba(221, 183, 106, 0.46);
}

.client-logo-card {
  font-size: 13px;
  letter-spacing: 0;
}

.client-logo-card img {
  display: block;
  width: 170px;
  max-width: 88%;
  height: 38px;
  margin: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.client-logo-card.yandex img,
.client-logo-card.tbank img,
.client-logo-card.sber img {
  transform: translateX(14px);
}

.client-logo-card.pyaterochka img,
.client-logo-card.megafon img,
.client-logo-card.mts img,
.client-logo-card.vtb img {
  transform: translateX(10px);
}

.client-logo-card.lukoil img,
.client-logo-card.rosneft img,
.client-logo-card.rostelecom img {
  transform: translateX(5px);
}

.client-logo-card.bybit img,
.client-logo-card.gazprom img,
.client-logo-card.rzd img,
.client-logo-card.magnit img,
.client-logo-card.ozon img,
.client-logo-card.wildberries img,
.client-logo-card.avito img {
  transform: translateX(0);
}


.trust-center {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 190px);
  aspect-ratio: 1;
  justify-self: center;
  background: transparent;
  border-radius: 50%;
  box-shadow: none;
}

.trust-center::before,
.trust-center::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(221, 183, 106, 0.2);
  border-radius: 50%;
}

.trust-center::after {
  inset: -24px;
  border-color: rgba(255, 255, 255, 0.07);
}

.trust-center img {
  position: relative;
  z-index: 1;
  width: 92%;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.3));
}

.testimonials {
  background:
    radial-gradient(circle, rgba(6, 31, 37, 0.08) 1px, transparent 1px),
    #f7faf9;
  background-size: 28px 28px;
}

.testimonials .section-head h2 span {
  color: var(--green-2);
}

.testimonial-slider {
  max-width: 780px;
  margin: 46px auto 0;
}

.testimonial-track {
  position: relative;
  height: 370px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(28px, 4vw, 42px);
  background: var(--white);
  border: 1px solid rgba(6, 31, 37, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(6, 31, 37, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateX(34px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.testimonial-slider.is-prev .testimonial-slide {
  transform: translateX(-34px) scale(0.98);
}

.testimonial-slider.is-prev .testimonial-slide.active,
.testimonial-slider.is-next .testimonial-slide.active {
  transform: translateX(0) scale(1);
}

.testimonial-slide::after {
  content: "“";
  position: absolute;
  right: 38px;
  top: 8px;
  color: rgba(6, 31, 37, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 120px;
  line-height: 1;
}

.testimonial-slide p {
  position: relative;
  z-index: 1;
  max-width: 610px;
  min-height: 170px;
  margin-bottom: 0;
  color: #33423e;
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  line-height: 1.65;
}

.testimonial-author {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 62px;
  margin-top: 24px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--green-2);
  border-radius: 50%;
  font-weight: 900;
}

.testimonial-author strong,
.testimonial-author small {
  display: block;
}

.testimonial-author strong {
  color: var(--ink);
  font-size: 18px;
}

.testimonial-author small {
  color: var(--muted);
}

.stars {
  color: #d99024;
  letter-spacing: 2px;
  white-space: nowrap;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(6, 31, 37, 0.14);
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.testimonial-controls span {
  width: 12px;
  height: 12px;
  background: rgba(6, 31, 37, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.testimonial-controls span.active {
  width: 30px;
  background: var(--green-2);
}

@keyframes testimonialIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.achievement-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 31, 37, 0.96), rgba(11, 49, 56, 0.92)),
    url("assets/egida-logo-main-transparent.png") right -80px center / 430px no-repeat;
}

.achievement-section .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  background: transparent;
  border: 0;
}

.achievement-grid div {
  min-height: 150px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, transform 0.25s ease;
}

.achievement-grid div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.achievement-grid div:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.achievement-grid strong {
  display: block;
  color: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.achievement-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.team-carousel {
  position: relative;
}

.team-preview-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 10px;
  scrollbar-width: none;
}

.team-preview-grid::-webkit-scrollbar {
  display: none;
}

.team-preview-grid article {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 280px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(6, 31, 37, 0.09);
  transition: transform 0.36s ease, box-shadow 0.36s ease, border-color 0.36s ease;
}

.team-preview-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 31, 37, 0.04));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s ease;
}

.team-preview-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(221, 183, 106, 0.42);
  box-shadow: 0 24px 60px rgba(6, 31, 37, 0.14);
}

.team-preview-grid article:hover::after {
  opacity: 0;
}

.team-preview-grid img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
  object-position: center bottom;
  background: #ffffff;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.team-preview-grid article:hover img {
  transform: scale(1.035);
  filter: none;
}

.team-preview-grid h3,
.team-preview-grid p {
  padding-inline: 20px;
  transition: transform 0.36s ease, color 0.36s ease;
}

.team-preview-grid h3 {
  margin: 20px 0 4px;
  color: var(--green);
}

.team-preview-grid p {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 700;
}

.team-preview-grid article:hover h3,
.team-preview-grid article:hover p {
  transform: translateY(-2px);
}

.team-preview-grid article:hover h3 {
  color: var(--green-2);
}

.team-carousel-arrow {
  position: absolute;
  top: 42%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(221, 183, 106, 0.5);
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(6, 31, 37, 0.16);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.team-carousel-arrow:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--green);
}

.team-carousel-arrow.prev {
  left: -23px;
}

.team-carousel-arrow.next {
  right: -23px;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.cta-section {
  position: relative;
  display: block;
  overflow: hidden;
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 72px);
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 78% 70%, rgba(221, 183, 106, 0.18), transparent 24%),
    linear-gradient(135deg, #09262d 0%, #123f43 48%, #0b3037 100%);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06), transparent 34%);
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  max-width: 860px;
  margin: 0 auto 22px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 850;
  line-height: var(--lh-display);
}

.cta-section h2 span {
  color: var(--gold-2);
}

.cta-section p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.cta-section .button {
  min-width: 214px;
}

.cta-section .button.primary {
  color: var(--green);
  background: var(--white);
}

.cta-section .button.primary span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.cta-section .button.primary:hover span {
  transform: translateX(4px);
}

.cta-section .button.ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.phone-button::before {
  content: "☎";
  margin-right: 10px;
  font-weight: 400;
}

.dark-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(30px, 6vw, 86px);
  padding-top: clamp(58px, 8vw, 106px);
  padding-bottom: clamp(58px, 8vw, 106px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 31, 37, 0.96), rgba(11, 49, 56, 0.92)),
    url("assets/egida-logo-main-transparent.png") left -90px center / 420px no-repeat;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-list div,
.value-card {
  padding: 25px;
  border-radius: 8px;
}

.feature-list div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(240, 209, 134, 0.2);
}

.feature-list strong,
.value-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.feature-list span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.team-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-strip img,
.person-card img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.04);
}

.team-strip img {
  height: clamp(220px, 32vw, 420px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(54px, 7vw, 92px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(6, 31, 37, 0.94), rgba(255, 255, 255, 0.18)),
    url("assets/columns-hero.png") center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(70px, 9vw, 150px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 246, 239, 0), #f8f6ef 86%);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  line-height: 1.04;
  text-wrap: wrap;
}

.page-hero .lead {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
}

.about-page-hero {
  min-height: 460px;
  display: grid;
  align-content: center;
}

.about-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(190, 129, 39, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfaf6, #f3f0e8);
}

.about-profile-copy h2 {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--green);
  font-size: clamp(42px, 4.7vw, 66px);
  line-height: 1.04;
}

.about-profile-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.about-profile-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.92)),
    url("assets/columns-hero.png") center / cover no-repeat;
  border: 1px solid rgba(190, 129, 39, 0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(6, 31, 37, 0.12);
}

.about-profile-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 37, 0.1), transparent 28%, transparent 72%, rgba(6, 31, 37, 0.1)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.2) 38%, transparent 66%);
  pointer-events: none;
}

.about-profile-visual img {
  position: relative;
  z-index: 1;
  width: min(48vw, 330px);
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(190, 129, 39, 0.24);
  border-radius: 50%;
  filter: drop-shadow(0 24px 40px rgba(6, 31, 37, 0.22));
}

.about-profile-card {
  position: absolute;
  z-index: 2;
  max-width: 240px;
  padding: 18px 22px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(190, 129, 39, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(6, 31, 37, 0.12);
}

.about-profile-card.top {
  top: 42px;
  right: 38px;
}

.about-profile-card.bottom {
  left: 38px;
  bottom: 42px;
}

.about-profile-card strong {
  display: block;
  color: var(--gold-3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.about-profile-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--gold);
}

.value-card {
  min-height: 210px;
  background: var(--white);
}

.value-card strong {
  color: var(--green);
}

.value-card span {
  display: block;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1220px;
  margin: 0 auto 28px;
}

.team-filter button {
  min-height: 40px;
  padding: 0 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 31, 37, 0.28);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.team-filter button:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 31, 37, 0.48);
}

.team-filter button.active {
  color: var(--white);
  background: #1c1c1c;
  border-color: #1c1c1c;
}

.person-card {
  --team-photo-height: 360px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6, 45, 38, 0.1);
}

.person-card img {
  display: block;
  width: 100%;
  height: var(--team-photo-height);
  object-fit: contain;
  object-position: center bottom;
  background: #ffffff;
  filter: none;
}

.person-card div {
  position: relative;
  z-index: 2;
  padding: 22px;
  border-top: 4px solid var(--gold);
  background: #ffffff;
}

.person-card h3 {
  margin-bottom: 6px;
  color: var(--green);
}

.person-card p {
  color: var(--muted);
  font-weight: 700;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 470px);
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
  min-height: calc(100vh - 74px);
  padding-top: clamp(58px, 8vw, 106px);
  padding-bottom: clamp(58px, 8vw, 106px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 31, 37, 0.94), rgba(6, 31, 37, 0.66)),
    url("assets/columns-hero.png") center / cover no-repeat;
}

.contact-copy .lead {
  color: rgba(255, 255, 255, 0.8);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, #9a6c25, var(--gold));
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
}

.contact-links a:nth-child(even) {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(240, 209, 134, 0.42);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.person-card.is-hidden {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(6, 45, 38, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(201, 154, 66, 0.36);
  border-color: var(--gold);
}

.contact-form button {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #9a6c25, var(--gold));
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.contact-form small {
  color: var(--muted);
}

.contact-form .form-status:empty {
  display: none;
}

.contact-form .form-status[data-kind="ok"] {
  color: #1f9d57;
  font-weight: 700;
}

.contact-form .form-status[data-kind="error"] {
  color: #d23b3b;
  font-weight: 700;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0), rgba(251, 250, 246, 0.92) 92%),
    linear-gradient(135deg, #f8f6ef, #ffffff);
  border-top: 1px solid rgba(201, 154, 66, 0.18);
  overflow: hidden;
}

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(34px, 5vw, 64px) clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 26px 0 70px rgba(6, 31, 37, 0.1);
  z-index: 2;
}

.location-card .section-kicker {
  margin: 0;
  color: var(--gold-3);
}

.location-card h2 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.05;
}

.location-card p {
  margin: 0;
  color: #43534f;
  font-size: 17px;
  line-height: 1.65;
}

.location-time {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 4px;
}

.location-time .footer-icon {
  color: var(--gold);
  background: rgba(221, 183, 106, 0.12);
}

.location-time small {
  display: block;
  color: var(--gold-3);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.location-time strong {
  display: block;
  margin-top: 3px;
  color: var(--green);
}

.location-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  background: var(--gold);
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease;
}

.location-route:hover {
  transform: translateY(-2px);
  background: var(--gold-3);
}

.location-map {
  position: relative;
  min-height: 430px;
  background: #e8eee9;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(0.86) contrast(1.02);
}

.footer {
  display: block;
  flex-shrink: 0;
  padding: clamp(46px, 5vw, 68px) clamp(18px, 5vw, 72px) 18px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #061f25, #0d343a);
  background-size: 64px 64px, 64px 64px, auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(34px, 8vw, 120px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: 180px;
}

.footer-brand img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.footer-brand strong {
  width: 100%;
  margin: 0;
  text-align: center;
  line-height: 1;
}

.footer strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  text-transform: uppercase;
}

.footer span {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
  display: none;
}

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

.footer-contacts .section-kicker {
  margin: 0 0 14px;
  color: var(--gold-2);
}

.footer-contacts {
  width: 100%;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(106px, 1fr);
  gap: 14px;
}

.footer-contact-grid a,
.footer-contact-grid div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 106px;
  height: 100%;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.footer-icon {
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(221, 183, 106, 0.78);
  background: rgba(221, 183, 106, 0.08);
  border-radius: 8px;
  font-size: 16px;
  line-height: 1;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.footer-contact-grid small {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  line-height: 1;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-contact-grid strong {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  overflow-wrap: anywhere;
  line-height: 1.45;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.footer-contact-grid > a:first-child strong,
.footer-contact-grid > div:last-child strong {
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer > div:not(.footer-main):first-child {
  display: grid;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto 18px;
}

.footer > div:not(.footer-main):first-child strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.footer > div:not(.footer-main):first-child span {
  color: rgba(255, 255, 255, 0.7);
}

.footer > a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 12px 0 max(calc((100% - 1180px) / 2), 0px);
  color: var(--white);
  white-space: nowrap;
}

.footer > a[href^="mailto:"] + .social-icon {
  vertical-align: middle;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.policy-content p {
  color: var(--muted);
  font-size: 18px;
}

.about-vz {
  position: relative;
  overflow: hidden;
  padding-top: clamp(70px, 7vw, 104px);
  padding-bottom: clamp(70px, 7vw, 104px);
  background:
    radial-gradient(circle, rgba(6, 31, 37, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.18)),
    #f4efe6;
  background-size: 28px 28px, auto, auto;
}

.about-vz::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 72px);
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: url("assets/egida-logo-main-transparent.png") center / contain no-repeat;
  opacity: 0.025;
  pointer-events: none;
}

.about-vz-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(44px, 6vw, 82px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.about-vz-copy h2 {
  max-width: 540px;
  margin-bottom: 24px;
  color: var(--green);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1;
}

.about-vz-copy p {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.about-vz-details {
  max-width: 570px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(190, 129, 39, 0.28);
}

.about-vz-details p {
  margin-bottom: 16px;
  font-size: 16px;
}

.about-vz-details ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-vz-details li {
  position: relative;
  padding-left: 22px;
  color: var(--green-2);
  font-weight: 700;
  line-height: 1.55;
}

.about-vz-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.about-vz-list {
  display: grid;
  gap: 14px;
}

.about-vz-list article {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 124px;
  padding: 26px 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 31, 37, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(6, 31, 37, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-vz-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, rgba(190, 129, 39, 0.92), rgba(190, 129, 39, 0.24));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.about-vz-list article:hover {
  transform: translateX(5px);
  border-color: rgba(190, 129, 39, 0.34);
  box-shadow: 0 24px 52px rgba(6, 31, 37, 0.1);
}

.about-vz-list article:hover::before {
  opacity: 1;
}

.about-vz-list span {
  color: var(--gold-3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.about-vz-list h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 22px;
}

.about-vz-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-values {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 31, 37, 0.96), rgba(12, 54, 59, 0.94)),
    radial-gradient(circle at 76% 18%, rgba(221, 183, 106, 0.12), transparent 30%);
}

.about-values::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  background: url("assets/egida-logo-main-transparent.png") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.about-values .section-head {
  position: relative;
  z-index: 1;
}

.about-values .section-head h2 {
  color: var(--white);
}

.about-values .section-head p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.about-values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 48px auto 0;
}

.about-values-grid article {
  position: relative;
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-values-grid article::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(221, 183, 106, 0.18);
  border-radius: 50%;
}

.about-values-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(221, 183, 106, 0.36);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.14);
}

.about-values-grid span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  color: var(--gold-2);
  background: rgba(221, 183, 106, 0.12);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
}

.about-values-grid h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.about-values-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.about-history {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  background:
    radial-gradient(circle, rgba(6, 31, 37, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6, #f3eee3);
  background-size: 28px 28px, auto;
}

.about-history-copy {
  position: sticky;
  top: 110px;
}

.about-history-copy h2 {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--green);
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 1.05;
}

.about-history-copy p:not(.section-kicker) {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(180deg, rgba(190, 129, 39, 0.1), rgba(190, 129, 39, 0.5), rgba(190, 129, 39, 0.1));
}

.about-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 6px;
  align-items: start;
  min-height: 124px;
  padding: 28px 34px 28px 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(6, 31, 37, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(6, 31, 37, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-timeline article:hover {
  transform: translateX(5px);
  box-shadow: 0 24px 56px rgba(6, 31, 37, 0.1);
}

.about-timeline span {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green);
  background: var(--white);
  border: 1px solid rgba(190, 129, 39, 0.34);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.about-timeline h3 {
  grid-column: 2;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 24px;
}

.about-timeline p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.6;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: #229ed9;
  border-radius: 50%;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover {
  color: var(--white);
  background: #168ac0;
}

.chat-widget {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  pointer-events: none;
}

.chat-panel {
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 100%, rgba(49, 74, 126, 0.42), transparent 42%),
    linear-gradient(145deg, #211241, #130b24 72%);
  box-shadow: 0 24px 70px rgba(6, 13, 20, 0.34);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.chat-widget.open .chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-head {
  display: grid;
  grid-template-columns: 46px 1fr 38px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  color: var(--white);
  background: linear-gradient(135deg, #3d1f6d, #4b2378);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.chat-head img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: #f8f6ef;
}

.chat-head strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 900;
}

.chat-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #52e576;
  font-size: 12px;
  font-weight: 800;
}

.chat-head i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35d85c;
  box-shadow: 0 0 0 4px rgba(53, 216, 92, 0.16);
}

.chat-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.chat-body {
  min-height: 240px;
  padding: 26px 18px;
}

.chat-body p {
  width: max-content;
  max-width: 86%;
  margin: 0 auto;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 10px;
  padding: 14px 18px 16px;
  background: rgba(10, 5, 22, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-form input {
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font: inherit;
}

.chat-form input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.chat-form input:focus {
  outline: 2px solid rgba(221, 183, 106, 0.24);
  border-color: rgba(221, 183, 106, 0.5);
}

.chat-form button,
.chat-toggle {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, #8e4df4, #6e32d9);
  box-shadow: 0 14px 34px rgba(95, 55, 192, 0.3);
  cursor: pointer;
}

.chat-form button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.chat-form svg,
.chat-toggle svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.chat-toggle {
  grid-auto-flow: column;
  gap: 10px;
  min-width: 128px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  pointer-events: auto;
}

.chat-widget.open .chat-toggle span {
  font-size: 0;
}

.chat-widget.open .chat-toggle span::after {
  content: "Закрыть";
  font-size: 14px;
}

.chat-widget.open .chat-toggle svg {
  display: none;
}

.chat-widget.open .chat-toggle::before {
  content: "×";
  font-size: 24px;
  line-height: 1;
}

.floating-telegram {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: calc(clamp(16px, 2vw, 28px) + 64px);
  z-index: 90;
  display: inline-grid;
  grid-auto-flow: column;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, #2aa8e8, #168ac0);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(24, 145, 205, 0.28);
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.floating-telegram svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.floating-telegram:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(24, 145, 205, 0.36);
}

.chat-widget.open + .floating-telegram {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.eg-about-page {
  background: #f8fbfa;
}

.eg-about-container {
  width: min(100% - 36px, 1220px);
  margin: 0 auto;
}

.eg-about-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(221, 183, 106, 0.14), transparent 24%),
    radial-gradient(circle at 22% 72%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #061f25 0%, #0a2c33 58%, #173f3c 100%);
}

.eg-about-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: clamp(90px, 10vw, 170px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 251, 250, 0), #f8fbfa 88%);
}

.eg-about-hero .eg-about-container {
  position: relative;
  z-index: 3;
}

.eg-about-hero-bg,
.eg-about-values-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.eg-about-grid,
.eg-about-values-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.eg-about-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 37, 0.4), rgba(6, 31, 37, 0.12)),
    url("assets/columns-hero.png") right bottom / min(62vw, 980px) auto no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 42%, #000 74%, transparent 100%);
}

.eg-about-hero-bg::after {
  content: "";
  position: absolute;
  right: clamp(38px, 9vw, 170px);
  top: 54px;
  width: clamp(130px, 18vw, 250px);
  aspect-ratio: 1;
  background: url("assets/egida-logo-main-transparent.png") center / contain no-repeat;
  opacity: 0.11;
  filter: drop-shadow(0 22px 55px rgba(0, 0, 0, 0.3));
}

.eg-about-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.34;
}

.eg-about-orb.one {
  width: 280px;
  height: 280px;
  left: 8%;
  top: 18%;
  background: rgba(221, 183, 106, 0.45);
}

.eg-about-orb.two {
  width: 340px;
  height: 340px;
  right: 10%;
  top: 10%;
  background: rgba(18, 98, 88, 0.65);
}

.eg-about-orb.three {
  width: 220px;
  height: 220px;
  right: 22%;
  bottom: -70px;
  background: rgba(255, 255, 255, 0.18);
}

.eg-about-breadcrumbs {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 800;
}

.eg-about-breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.eg-about-breadcrumbs strong {
  color: var(--gold-2);
}

.eg-about-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.eg-about-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.55;
}

.eg-about-page .eg-about-hero {
  min-height: 460px;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px) clamp(54px, 7vw, 92px);
  background:
    linear-gradient(100deg, rgba(6, 31, 37, 0.94), rgba(255, 255, 255, 0.18)),
    url("assets/columns-hero.png") center / cover no-repeat;
}

.eg-about-page .eg-about-hero-bg,
.eg-about-page .eg-about-breadcrumbs {
  display: none;
}

.eg-about-page .eg-about-hero::after {
  height: clamp(70px, 9vw, 150px);
  background: linear-gradient(180deg, rgba(248, 246, 239, 0), #f8f6ef 86%);
}

.eg-about-page .eg-about-hero .eg-about-container {
  width: auto;
  max-width: none;
  margin: 0;
}

.eg-about-page .eg-about-hero h1 {
  max-width: 980px;
  margin-bottom: 14px;
}

.eg-about-overview {
  padding: clamp(78px, 9vw, 126px) 0;
  background: #f8fbfa;
}

.eg-about-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.eg-about-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 22px;
  padding: 9px 18px;
  color: var(--gold-2);
  background: rgba(185, 130, 45, 0.12);
  border: 1px solid rgba(221, 183, 106, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eg-about-overview h2,
.eg-about-section-head h2 {
  margin-bottom: 18px;
  color: var(--green);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
}

.eg-about-overview h2 span,
.eg-about-section-head h2 span {
  color: var(--gold);
}

.eg-about-overview p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.eg-about-overview-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eee9df;
  border: 1px solid rgba(185, 130, 45, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(6, 31, 37, 0.14);
}

.eg-about-overview-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(6, 31, 37, 0.13)),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.5), transparent 42%);
  pointer-events: none;
}

.eg-about-columns {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  filter: saturate(0.72) contrast(1.04);
}

.eg-about-logo {
  position: relative;
  z-index: 1;
  width: min(61%, 315px);
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 20px 28px rgba(6, 31, 37, 0.28));
}

.eg-about-years {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: auto;
  min-width: 176px;
  padding: 15px 20px;
  color: var(--white);
  text-align: center;
  background: rgba(6, 31, 37, 0.92);
  border: 1px solid rgba(221, 183, 106, 0.42);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(6, 31, 37, 0.24);
}

.eg-about-years strong {
  display: block;
  color: var(--gold-2);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.eg-about-years span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.eg-about-values {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 7vw, 98px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 8%, rgba(221, 183, 106, 0.13), transparent 26%),
    radial-gradient(circle at 8% 86%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #061f25 0%, #0f3839 52%, #08252b 100%);
}

.eg-about-section-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.eg-about-values .eg-about-section-head h2,
.eg-about-history .eg-about-section-head h2 {
  color: var(--white);
}

.eg-about-section-head p {
  margin: 0 auto;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 700;
}

.eg-about-mission {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 22px;
  padding: 28px 34px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(8, 38, 43, 0.54);
  border: 1px solid rgba(221, 183, 106, 0.22);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.eg-about-mission-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  color: var(--gold-2);
  background: rgba(221, 183, 106, 0.14);
  border: 1px solid rgba(221, 183, 106, 0.2);
  border-radius: 16px;
  font-size: 18px;
}

.eg-about-mission h3 {
  grid-column: 2;
  color: var(--white);
  margin: 0 0 8px;
  font-size: 26px;
}

.eg-about-mission p {
  grid-column: 2;
  margin: 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

.eg-about-values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.eg-about-values-grid article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 24px 24px 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(8, 35, 40, 0.68);
  border: 1px solid rgba(221, 183, 106, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.eg-about-values-grid article::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  background:
    center / 26px 26px no-repeat,
    linear-gradient(135deg, rgba(221, 183, 106, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(221, 183, 106, 0.2);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.eg-about-values-grid article:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23e6c073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3v18M6 7h12M8 7l-4 7h8L8 7Zm8 0-4 7h8l-4-7Z'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(221, 183, 106, 0.18), rgba(255, 255, 255, 0.08));
}

.eg-about-values-grid article:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23e6c073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 7h16M4 12h16M4 17h10M18 17l2 2 3-4'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(221, 183, 106, 0.18), rgba(255, 255, 255, 0.08));
}

.eg-about-values-grid article:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23e6c073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 19 19 5M9 5h10v10M5 9h5M5 14h8'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(221, 183, 106, 0.18), rgba(255, 255, 255, 0.08));
}

.eg-about-values-grid article:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23e6c073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M16 11a4 4 0 1 0-8 0 4 4 0 0 0 8 0ZM4 21a8 8 0 0 1 16 0M18 5l2 2 3-4'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(221, 183, 106, 0.18), rgba(255, 255, 255, 0.08));
}

.eg-about-values-grid article:nth-child(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23e6c073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 10V8a5 5 0 0 1 10 0v2M6 10h12v10H6V10Zm6 4v3'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(221, 183, 106, 0.18), rgba(255, 255, 255, 0.08));
}

.eg-about-values-grid article:nth-child(6)::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23e6c073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m4 14 4 4L20 6M4 6h8M4 10h5'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(221, 183, 106, 0.18), rgba(255, 255, 255, 0.08));
}

.eg-about-values-grid article::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(221, 183, 106, 0.2);
  border-radius: 50%;
  opacity: 0.65;
}

.eg-about-values-grid article:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 35, 40, 0.78);
  border-color: rgba(221, 183, 106, 0.34);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.2);
}

.eg-about-values-grid article:hover::before {
  transform: translateY(-2px);
  border-color: rgba(221, 183, 106, 0.42);
}

.eg-about-values-grid span {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  position: absolute;
  top: 22px;
  right: 24px;
  margin-bottom: 0;
  color: rgba(241, 197, 111, 0.42);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.eg-about-values-grid h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 19px;
}

.eg-about-values-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.6;
}

.eg-about-history {
  padding: clamp(82px, 10vw, 132px) 0;
  background:
    radial-gradient(circle, rgba(6, 31, 37, 0.055) 1px, transparent 1px),
    #f8fbfa;
  background-size: 30px 30px;
}

.eg-about-history .eg-about-section-head h2 {
  color: var(--green);
}

.eg-about-history .eg-about-section-head p {
  color: var(--muted);
}

.eg-about-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.eg-about-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(185, 130, 45, 0.45), transparent);
  transform: translateX(-50%);
}

.eg-about-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 34px;
}

.eg-about-timeline article:nth-child(even) > div:last-child {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.eg-about-timeline article:nth-child(even) time {
  grid-column: 2;
}

.eg-about-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  z-index: 2;
  width: 14px;
  height: 14px;
  background: var(--gold-2);
  border: 4px solid #f8fbfa;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px rgba(185, 130, 45, 0.14);
}

.eg-about-timeline time {
  grid-column: 2;
  justify-self: center;
  min-width: 92px;
  padding: 0 14px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  background: #f8fbfa;
  border-radius: 999px;
}

.eg-about-timeline article > div:last-child {
  grid-column: 3;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(6, 31, 37, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(6, 31, 37, 0.08);
}

.eg-about-timeline h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
}

.eg-about-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .brand {
    margin-right: auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    order: 3;
  }

  .header-button {
    order: 1;
  }

  .language-switcher {
    order: 2;
  }

  .nav {
    order: 4;
    flex-basis: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(240, 209, 134, 0.18);
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px 6px;
    font-size: 16px;
    border-radius: 8px;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(221, 183, 106, 0.12);
  }

  .hero-home,
  .vz-hero,
  .split,
  .dark-section,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .vz-hero-visual {
    min-height: 480px;
  }

  .hero-building {
    height: 460px;
  }

  .hero-emblem {
    width: min(62vw, 420px);
    justify-self: start;
  }

  .cards.three,
  .cases-grid,
  .team-grid,
  .values,
  .achievement-grid,
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-preview-grid article {
    flex-basis: calc((100% - 18px) / 2);
  }

  .team-carousel-arrow.prev {
    left: -10px;
  }

  .team-carousel-arrow.next {
    right: -10px;
  }

  .feature-list,
  .team-strip,
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .trust-orbit {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .trust-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }

  .trust-center {
    order: -1;
  }

  .footer-main,
  .footer-contact-grid,
  .location-section {
    grid-template-columns: 1fr;
  }

  .location-card {
    box-shadow: none;
  }

  .location-map,
  .location-map iframe {
    min-height: 340px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .about-vz-layout {
    grid-template-columns: 1fr;
  }

  .about-profile,
  .about-history {
    grid-template-columns: 1fr;
  }

  .eg-about-overview-grid {
    grid-template-columns: 1fr;
  }

  .eg-about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-history-copy {
    position: static;
  }

  .about-vz-copy h2,
  .about-vz-copy p {
    max-width: 860px;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    max-width: 230px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 11px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .nav {
    gap: 2px;
  }

  h1 {
    font-size: clamp(26px, 8vw, 42px);
  }

  h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .hero-home {
    padding-top: 44px;
  }

  .vz-hero {
    padding-top: 44px;
  }

  .vz-hero-visual {
    min-height: 410px;
  }

  .hero-building {
    height: 380px;
  }

  .hero-logo-card {
    width: min(78%, 280px);
    padding: 14px;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    margin-top: 12px;
  }

  .hero-emblem {
    min-width: 240px;
  }

  .section-head,
  .cards.three,
  .feature-list,
  .cases-grid,
  .team-strip,
  .stats-band,
  .hero-metrics,
  .achievement-grid,
  .team-grid,
  .values,
  .footer {
    grid-template-columns: 1fr;
  }

  .team-preview-grid article {
    flex-basis: min(86vw, 360px);
  }

  .team-carousel-arrow {
    top: 38%;
    width: 42px;
    height: 42px;
  }

  .hero-metrics {
    padding: 0;
  }

  .hero-metrics div {
    padding: 16px 18px;
  }

  .hero-metrics div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .about-profile-visual {
    min-height: 430px;
  }

  .trust-logo-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .trust-logo-grid a {
    min-height: 62px;
  }

  .eg-about-hero {
    min-height: 340px;
  }

  .eg-about-overview-visual {
    min-height: 420px;
  }

  .eg-about-values-grid {
    grid-template-columns: 1fr;
  }

  .eg-about-mission {
    grid-template-columns: 1fr;
  }

  .eg-about-mission-icon,
  .eg-about-mission h3,
  .eg-about-mission p {
    grid-column: 1;
  }

  .eg-about-mission-icon {
    grid-row: auto;
  }

  .eg-about-timeline-line,
  .eg-about-dot {
    display: none;
  }

  .eg-about-timeline article,
  .eg-about-timeline article:nth-child(even) > div:last-child {
    display: block;
    margin-bottom: 18px;
    text-align: left;
  }

  .eg-about-timeline time {
    display: inline-block;
    margin-bottom: 10px;
  }

  .about-profile-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin-top: 12px;
  }

  .about-profile-card.top,
  .about-profile-card.bottom {
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-vz-list article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .about-timeline article {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .about-timeline::before {
    display: none;
  }

  .why-list span {
    font-size: 48px;
    right: 22px;
  }

  .team-preview-grid img {
    height: 420px;
  }

  .testimonial-track,
  .testimonial-slide {
    height: 500px;
  }

  .testimonial-slide p {
    min-height: 260px;
  }

  .achievement-grid div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section-head a {
    justify-self: start;
  }

  .person-card img {
    height: var(--team-photo-height);
  }

  .footer {
    align-items: start;
  }

  .footer-bottom nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom nav span {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    gap: 8px;
    padding: 10px 14px;
  }

  .brand {
    max-width: calc(100% - 110px);
  }

  .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-button {
    display: none;
  }

  .hero-actions,
  .cta-actions,
  .contact-links {
    width: 100%;
  }

  .hero-actions .button,
  .cta-actions .button,
  .contact-links a {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .cta-section .button {
    min-width: 0;
  }

  .contact-links a {
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .testimonial-track,
  .testimonial-slide {
    height: auto;
  }

  .testimonial-track {
    min-height: 540px;
  }

  .testimonial-slide {
    position: relative;
    min-height: 100%;
  }

  .testimonial-slide:not(.active) {
    display: none;
  }

  .testimonial-slide p {
    min-height: 0;
  }

  .footer-contact-grid strong {
    font-size: 14px;
  }

  .footer > a[href^="mailto:"] {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .eg-about-timeline article > div:last-child {
    padding: 22px;
  }

  .location-card,
  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: clamp(24px, 7.5vw, 33px);
  }

  h2 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .vz-hero h1,
  .page-hero h1,
  .eg-about-hero h1 {
    font-size: clamp(24px, 7.5vw, 32px);
  }

  .section,
  .why-section,
  .trust-section,
  .achievement-section,
  .faq-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 18px;
  }

  .service-card,
  .catalog-card,
  .why-list article,
  .about-values-grid article,
  .eg-about-values-grid article {
    padding: 22px;
  }

  .floating-card strong {
    font-size: 20px;
  }

  .hero-metrics strong {
    font-size: 30px;
  }

  .testimonial-controls {
    flex-wrap: wrap;
  }
}

body,
button,
input,
textarea,
select,
h1,
h2,
h3,
.brand strong,
.footer-brand strong,
.section-head h2,
.trust-section .section-head h2,
.testimonials .section-head h2,
.page-hero h1,
.location-card h2,
.eg-about-hero h1,
.eg-about-overview h2,
.eg-about-section-head h2,
.eg-about-history time {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

h1,
h2,
.section-head h2,
.page-hero h1,
.eg-about-hero h1,
.eg-about-overview h2,
.eg-about-section-head h2 {
  font-weight: 850;
  line-height: var(--lh-display);
}

h2 span,
.section-head h2 span,
.trust-section .section-head h2 span,
.testimonials .section-head h2 span,
.cta-section h2 span,
.eg-about-overview h2 span,
.eg-about-section-head h2 span {
  display: inline;
  margin-left: 0;
}

h2 span::before,
.section-head h2 span::before,
.trust-section .section-head h2 span::before,
.testimonials .section-head h2 span::before,
.cta-section h2 span::before,
.eg-about-overview h2 span::before,
.eg-about-section-head h2 span::before {
  content: " ";
}

h2 span::after,
.section-head h2 span::after,
.trust-section .section-head h2 span::after,
.testimonials .section-head h2 span::after,
.cta-section h2 span::after,
.eg-about-overview h2 span::after,
.eg-about-section-head h2 span::after {
  content: " ";
}

.eyebrow,
.section-kicker,
.eg-about-badge {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

.team-preview-grid img,
.person-card img {
  object-fit: cover !important;
  object-position: center top !important;
  background: #ffffff;
}

.services-preview .section-head h2,
.service-catalog .section-head h2 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.04;
  text-wrap: wrap;
}

.service-catalog .section-head .section-kicker {
  margin-bottom: 14px;
}

.service-catalog .section-head h2 {
  margin-bottom: 18px;
  line-height: 1.04;
}

.services-preview .section-head p:not(.section-kicker),
.service-catalog .section-head p:not(.section-kicker) {
  max-width: 760px;
  margin-inline: auto;
}

.service-catalog .section-head p:not(.section-kicker) {
  line-height: 1.65;
}

.trust-section .section-head h2 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1;
}

.trust-section .section-head p:not(.section-kicker) {
  max-width: 760px;
  margin-inline: auto;
}

.team-teaser .section-head h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1;
}

.team-teaser .section-head p:not(.section-kicker) {
  max-width: 760px;
  margin-inline: auto;
}

.faq-section .section-head h2,
.testimonials .section-head h2,
.achievement-section .section-head h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1;
}

.faq-section .section-head p:not(.section-kicker),
.testimonials .section-head p:not(.section-kicker),
.achievement-section .section-head p:not(.section-kicker) {
  max-width: 760px;
  margin-inline: auto;
}

/* =========================================================
   Живой чат (идентичен vizavi-consalting)
   ========================================================= */
.live-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.chat-toggle-button {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4), 0 0 40px rgba(168, 85, 247, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  overflow: hidden;
}

.chat-button-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: buttonGlowPulse 2s ease-in-out infinite;
}

@keyframes buttonGlowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.chat-toggle-button:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5), 0 0 60px rgba(168, 85, 247, 0.3);
}

.chat-toggle-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 15px rgba(124, 58, 237, 0.4);
}

.chat-button-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.chat-icon-message,
.chat-icon-close {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.chat-icon-message {
  position: relative;
  top: 2px;
  margin-right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'%3E%3C/path%3E%3C/svg%3E");
}

.chat-icon-close {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.chat-toggle-button .chat-open {
  display: none;
}

.chat-window-active .chat-toggle-button .chat-closed {
  display: none;
}

.chat-window-active .chat-toggle-button .chat-open {
  display: flex;
  align-items: center;
}

.chat-window {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 480px;
  background: linear-gradient(180deg, #0f0a1f 0%, #1a1035 50%, #251845 100%);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(124, 58, 237, 0.15);
  margin-bottom: 15px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: absolute;
  bottom: 70px;
  right: 0;
  visibility: hidden;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.chat-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.chat-glow-1 {
  width: 200px;
  height: 200px;
  background: rgba(124, 58, 237, 0.3);
  top: -50px;
  right: -50px;
}

.chat-glow-2 {
  width: 150px;
  height: 150px;
  background: rgba(6, 182, 212, 0.2);
  bottom: 50px;
  left: -30px;
}

.chat-window-active .chat-window {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.chat-header {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(168, 85, 247, 0.2) 100%);
  backdrop-filter: blur(10px);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  position: relative;
  z-index: 1;
}

.chat-header-consultant {
  display: flex;
  align-items: center;
}

.chat-consultant-avatar {
  position: relative;
  margin-right: 12px;
}

.chat-consultant-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.chat-status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  border: 2px solid #0f0a1f;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.chat-consultant-info h3 {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.chat-status-text {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
}

.chat-close-button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.chat-close-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.05);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.5);
}

.live-chat-widget .message {
  padding: 12px 16px;
  border-radius: 16px;
  max-width: 85%;
  word-break: break-word;
  position: relative;
  animation: messageIn 0.3s ease;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.visitor-message {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(168, 85, 247, 0.3) 100%);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.manager-message {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

/* Сообщения с аватаркой и именем (как в админке) */
.message-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 90%;
}

.message-row.visitor {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-row.manager {
  align-self: flex-start;
}

.message-ava {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.message-ava.visitor {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.message-ava.manager {
  background: #fff;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.message-ava svg {
  width: 17px;
  height: 17px;
}

.message-ava img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.message-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.message-name {
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 600;
}

.message-row.visitor .message-name {
  text-align: right;
}

.live-chat-widget .message {
  max-width: 100%;
  align-self: stretch;
}

.message-content {
  margin-bottom: 4px;
  line-height: 1.5;
  font-size: 14px;
}

.message-time {
  font-size: 10px;
  opacity: 0.6;
  text-align: right;
}

.message-highlight {
  animation: messageHighlight 0.3s ease;
}

@keyframes messageHighlight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.system-message {
  align-self: center;
  text-align: center;
  margin: 8px 0;
  width: auto;
}

.system-message-content {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.chat-loader-spinner {
  display: flex;
  gap: 6px;
}

.chat-loader-bounce1,
.chat-loader-bounce2,
.chat-loader-bounce3 {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 50%;
  animation: loaderBounce 1.4s ease-in-out infinite both;
}

.chat-loader-bounce1 { animation-delay: -0.32s; }
.chat-loader-bounce2 { animation-delay: -0.16s; }

@keyframes loaderBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-loader-text {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.chat-footer {
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  padding: 16px 20px;
  background: rgba(15, 10, 31, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.chat-footer form {
  display: flex;
  gap: 12px;
}

.chat-footer input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 25px;
  outline: none;
  transition: all 0.3s ease;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.chat-footer input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-footer input:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15), 0 0 20px rgba(168, 85, 247, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.chat-footer button {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.chat-footer button:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.chat-footer button:active {
  transform: scale(0.95);
}

.chat-footer button svg {
  width: 18px;
  height: 18px;
}

/* Форма-знакомство в начале диалога */
.chat-intro {
  align-self: stretch;
  padding: 4px 2px;
}

.chat-intro-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.chat-intro-sub {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.45;
}

.chat-intro-form {
  display: grid;
  gap: 10px;
}

.chat-intro-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.chat-intro-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-intro-form input:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.chat-intro-err {
  min-height: 16px;
  color: #ff9a9a;
  font-size: 12px;
}

.chat-intro-form button {
  margin-top: 2px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.chat-intro-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.chat-intro-form button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

@media (max-width: 480px) {
  .live-chat-widget {
    bottom: 15px;
    right: 15px;
  }

  .chat-window {
    width: calc(100vw - 30px);
    height: 70vh;
    right: 0;
    bottom: 70px;
    border-radius: 16px;
  }

  .chat-toggle-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .chat-header {
    padding: 14px 16px;
  }

  .chat-consultant-photo {
    width: 38px;
    height: 38px;
  }

  .chat-messages {
    padding: 16px;
  }

  .chat-footer {
    padding: 12px 16px;
  }

  .chat-footer input {
    padding: 10px 14px;
  }

  .chat-footer button {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

/* Hero h1: Inter 850, перенос только между словами */
.home-page .vz-hero h1 {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
  letter-spacing: 0;
  padding-block: 0.04em 0.06em;
  overflow: visible;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none;
  text-wrap: wrap;
}

/* Все заголовки: плотный межстрочный интервал (перебивает var(--lh-display)) */
:is(
  h1,
  h2,
  .section-head h2,
  .page-hero h1,
  .cta-section h2,
  .trust-section .section-head h2,
  .testimonials .section-head h2,
  .achievement-section .section-head h2,
  .team-teaser .section-head h2,
  .faq-section .section-head h2,
  .services-preview .section-head h2,
  .service-catalog .section-head h2,
  .eg-about-hero h1,
  .eg-about-overview h2,
  .eg-about-section-head h2,
  .location-card h2,
  .about-values .section-head h2
) {
  line-height: 1.04 !important;
}

/* Hero на главной — чуть больше, чтобы кириллица не обрезалась */
.home-page .vz-hero h1 {
  line-height: 1.08 !important;
}

/* ==========================================================================
   ОНЛАЙН-ЧАТ ЭГИДА (LIVE CHAT WIDGET) — Фирменный стиль
   ========================================================================== */
.live-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  pointer-events: auto;
}

/* Кнопка открытия/закрытия чата */
.chat-toggle-button {
  background: linear-gradient(135deg, #0b3138 0%, #061f25 100%);
  color: #ffffff;
  border: 1.5px solid rgba(221, 183, 106, 0.5);
  border-radius: 50px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(6, 31, 37, 0.5), 0 0 25px rgba(185, 130, 45, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  overflow: visible;
  letter-spacing: 0.02em;
}

.chat-toggle-button:hover {
  border-color: #ddb76a;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(6, 31, 37, 0.65), 0 0 35px rgba(221, 183, 106, 0.4);
}

.chat-toggle-button:active {
  transform: translateY(0);
}

.chat-button-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.chat-closed {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
}

.chat-closed-text {
  font-size: 14px;
  font-weight: 600;
  color: #fbfaf6;
}

.chat-closed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: chatDotPulse 2s infinite;
}

@keyframes chatDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.chat-open {
  display: none;
  align-items: center;
  gap: 8px;
  color: #ddb76a;
}

.chat-window-active .chat-toggle-button .chat-closed {
  display: none;
}

.chat-window-active .chat-toggle-button .chat-open {
  display: flex;
}

/* Бейдж непрочитанных сообщений на кнопке */
.chat-toggle-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #061f25;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  animation: badgeBounce 0.3s ease;
  z-index: 1005;
}

@keyframes badgeBounce {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Окно чата */
.chat-window {
  display: flex;
  flex-direction: column;
  width: 380px;
  height: 530px;
  max-height: calc(100vh - 120px);
  background: linear-gradient(180deg, #061f25 0%, #0b3138 50%, #071e23 100%);
  border: 1.5px solid rgba(221, 183, 106, 0.35);
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 45px rgba(185, 130, 45, 0.15);
  position: absolute;
  bottom: 68px;
  right: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.chat-window-active .chat-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Шапка окна чата */
.chat-header {
  background: linear-gradient(135deg, rgba(11, 49, 56, 0.98), rgba(6, 31, 37, 0.98));
  border-bottom: 1px solid rgba(221, 183, 106, 0.25);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.chat-header-consultant {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-consultant-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.chat-consultant-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ddb76a;
  background: #061f25;
  box-shadow: 0 0 12px rgba(221, 183, 106, 0.3);
}

.chat-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #061f25;
  box-shadow: 0 0 6px #10b981;
}

.chat-consultant-info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.chat-status-text {
  margin: 2px 0 0;
  font-size: 11px;
  color: #34d399;
  font-weight: 500;
}

.chat-close-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-close-button:hover {
  background: rgba(221, 183, 106, 0.2);
  color: #ddb76a;
  border-color: #ddb76a;
}

/* Область сообщений */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at 50% 30%, rgba(18, 62, 60, 0.25) 0%, transparent 80%);
}

.chat-messages::-webkit-scrollbar {
  width: 5px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(221, 183, 106, 0.25);
  border-radius: 3px;
}

/* Сообщения */
.message-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 86%;
  animation: chatMsgIn 0.25s ease;
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.message-row.visitor {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-row.manager {
  align-self: flex-start;
}

.message-ava {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.message-ava.visitor {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}
.message-ava.visitor svg {
  width: 16px;
  height: 16px;
}

.message-ava.manager {
  background: #061f25;
  border: 1px solid #ddb76a;
  padding: 3px;
}
.message-ava.manager img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.message-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.message-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 4px;
}
.message-row.visitor .message-name {
  text-align: right;
  color: #ddb76a;
}

.message {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  word-break: break-word;
}

.visitor-message {
  background: linear-gradient(135deg, #103c39 0%, #0b3138 100%);
  border: 1px solid rgba(221, 183, 106, 0.35);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.manager-message {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fbfaf6;
  border-bottom-left-radius: 4px;
  backdrop-filter: blur(8px);
}

.message-content {
  margin-bottom: 2px;
}

.message-time {
  font-size: 10px;
  opacity: 0.6;
  text-align: right;
}

.system-message {
  align-self: center;
  text-align: center;
  margin: 4px 0;
}

.system-message-content {
  background: rgba(221, 183, 106, 0.1);
  color: #ddb76a;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  border: 1px solid rgba(221, 183, 106, 0.25);
  line-height: 1.4;
}

/* Форма знакомства */
.chat-intro {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(221, 183, 106, 0.3);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-intro-title {
  font-size: 14px;
  font-weight: 700;
  color: #ddb76a;
}
.chat-intro-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
  margin: 0;
}
.chat-intro-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.chat-intro-form input {
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.chat-intro-form input:focus {
  border-color: #ddb76a;
}
.chat-intro-form button {
  padding: 10px;
  background: linear-gradient(135deg, #ddb76a, #b9822d);
  border: none;
  border-radius: 8px;
  color: #061f25;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.chat-intro-err {
  color: #ef4444;
  font-size: 11px;
  min-height: 14px;
}

/* Лоадер */
.chat-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.chat-loader-spinner {
  display: flex;
  gap: 6px;
}
.chat-loader-bounce1, .chat-loader-bounce2, .chat-loader-bounce3 {
  width: 8px;
  height: 8px;
  background: #ddb76a;
  border-radius: 50%;
  animation: loaderBounce 1.4s ease-in-out infinite both;
}
.chat-loader-bounce1 { animation-delay: -0.32s; }
.chat-loader-bounce2 { animation-delay: -0.16s; }
@keyframes loaderBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
.chat-loader-text {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

/* Футер окна чата */
.chat-footer {
  border-top: 1px solid rgba(221, 183, 106, 0.2);
  padding: 12px 14px;
  background: rgba(6, 31, 37, 0.95);
  backdrop-filter: blur(10px);
}

.chat-footer form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-footer input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid rgba(221, 183, 106, 0.3);
  border-radius: 25px;
  outline: none;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: all 0.2s ease;
}

.chat-footer input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-footer input:focus {
  border-color: #ddb76a;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 2px rgba(221, 183, 106, 0.2);
}

.chat-footer button {
  background: linear-gradient(135deg, #ddb76a 0%, #b9822d 100%);
  color: #061f25;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(185, 130, 45, 0.35);
}

.chat-footer button:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(221, 183, 106, 0.5);
}

.chat-footer button:active {
  transform: scale(0.95);
}

.chat-footer button svg {
  width: 18px;
  height: 18px;
  stroke: #061f25;
}

/* Мобильная адаптация виджета */
@media (max-width: 480px) {
  .live-chat-widget {
    bottom: 16px;
    right: 16px;
  }
  .chat-toggle-button {
    padding: 11px 18px;
    font-size: 13px;
  }
  .chat-window {
    width: calc(100vw - 32px);
    height: 72vh;
    bottom: 64px;
    right: 0;
    border-radius: 18px;
  }
}

