/* =========================================================
   EVENTREE — corporate site styles
   Palette: ink (deep teal-black), paper (warm ivory),
   evergreen accent, champagne highlight.
   ========================================================= */

:root {
  --ink: #0b1418;
  --ink-2: #102028;
  --ink-3: #18303a;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --text: #16232a;
  --muted: #5b6a70;
  --muted-light: #9fb0b4;
  --line: rgba(11, 20, 24, 0.12);
  --line-light: rgba(233, 238, 236, 0.16);
  --accent: #1d6b58;
  --accent-hover: #175848;
  --accent-light: #43a88d;
  --gold: #c8a96b;
  --gold-light: #d9c08f;
  --danger: #b23a32;

  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Noto Sans", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--gold-light); }

.section-title {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--ink);
  text-wrap: balance;
}
.section-title--light { color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.34); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header--over:not(.is-scrolled):not(.is-open) {
  background: transparent;
  color: var(--white);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark { width: 28px; height: 28px; color: var(--accent); }
.site-header--over:not(.is-scrolled):not(.is-open) .logo__mark { color: var(--gold-light); }
.logo__word {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__list a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 0.2s;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active { opacity: 1; }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 28px;
  border-left: 1px solid currentColor;
  border-left-color: color-mix(in srgb, currentColor 25%, transparent);
}
.lang__item {
  display: inline-block;
  padding: 6px 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s;
}
a.lang__item:hover { opacity: 1; }
.lang__item.is-current { opacity: 1; }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger__lines,
.burger__lines::before,
.burger__lines::after {
  display: block;
  width: 22px; height: 1.6px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger__lines { position: relative; }
.burger__lines::before,
.burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; }
.is-open .burger__lines { background: transparent; }
.is-open .burger__lines::before { transform: translateY(7px) rotate(45deg); }
.is-open .burger__lines::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 64px) 0 0;
  color: var(--white);
  background:
    radial-gradient(1200px 700px at 78% 40%, rgba(29, 107, 88, 0.28), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* fine grid texture */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
.hero__art-wrap {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(-180px, calc((100vw - var(--container)) / 2 - 220px));
  width: min(64vw, 900px);
  transform: translateY(-46%);
  pointer-events: none;
}
.hero__inner { position: relative; padding-bottom: 72px; }
.hero__title {
  max-width: 11.5em;
  font-size: clamp(46px, 7.6vw, 112px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero__lead {
  max-width: 36em;
  margin: 40px 0 10px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}
.hero__sub {
  max-width: 36em;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted-light);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
  position: relative;
}
.hero__foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line-light);
}
.hero__scroll { display: inline-flex; gap: 10px; text-decoration: none; transition: color 0.2s; }
.hero__scroll:hover { color: var(--white); }

/* hero artwork */
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-art__globe { fill: none; stroke: rgba(217, 192, 143, 0.2); stroke-width: 1; }
.hero-art__globe > circle { stroke: rgba(217, 192, 143, 0.38); }
.hero-art__globe { transform-origin: 400px 400px; animation: globe-drift 60s linear infinite alternate; }
.hero-art__arcs path {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 4 10;
  opacity: 0.75;
  animation: arc-flow 9s linear infinite;
  animation-delay: var(--d, 0s);
}
.hero-art__nodes circle { fill: var(--gold-light); }
.hero-art__nodes .pulse {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 4.2s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes arc-flow { to { stroke-dashoffset: -140; } }
@keyframes node-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(4.2); opacity: 0; }
}
@keyframes globe-drift {
  from { transform: rotate(-4deg); }
  to { transform: rotate(4deg); }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; position: relative; }

/* about */
.about { background: var(--paper); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about__head { position: sticky; top: calc(var(--header-h) + 40px); }
.about__body { color: var(--muted); font-size: 17.5px; }
.about__lead {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.2em;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 32px 8px 0;
}
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar__num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); }
.pillar__title {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* services */
.services { background: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 40px 80px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head__text { margin: 0; color: var(--muted); font-size: 17.5px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 34px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 0.35s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: calc(100% + 2px);
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service:hover { background: var(--paper); }
.service:hover::before { transform: scaleX(1); }
.service__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 44px;
}
.icon { width: 34px; height: 34px; color: var(--accent); }
.service__num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted-light); }
.service__title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
}
.service__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.service--cta {
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  color: var(--white);
}
.service--cta:hover { background: var(--ink-2); }
.service--cta::before { display: none; }
.service--cta__text {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}
.service--cta .btn { align-self: flex-start; }

/* international */
.intl {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.intl__art {
  position: absolute;
  z-index: -1;
  left: -340px;
  bottom: -460px;
  width: 820px;
  opacity: 0.28;
  pointer-events: none;
}
.intl__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 120px);
}
.intl__sub {
  margin: 30px 0 22px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.4;
  color: var(--gold-light);
}
.intl__text { color: rgba(255, 255, 255, 0.76); font-size: 17.5px; }
.intl__list-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}
.intl-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  transition: padding-left 0.35s var(--ease), color 0.35s;
}
.intl-list li:hover { padding-left: 8px; color: var(--gold-light); }
.intl-list__num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold); }

/* contact */
.contact { background: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.contact__intro { color: var(--muted); font-size: 17.5px; position: sticky; top: calc(var(--header-h) + 40px); }
.contact__sub {
  margin: 30px 0 22px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.4;
  color: var(--ink);
}
.contact__note {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

/* form */
.form {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(11, 20, 24, 0.25);
}
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 22px; min-width: 0; }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.field__req { color: var(--accent); }
.field__opt { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.field__input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid transparent;
  border-bottom-color: rgba(11, 20, 24, 0.24);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field__input:hover { border-bottom-color: var(--ink); }
.field__input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 0 0 3px rgba(29, 107, 88, 0.14);
}
.field__input[aria-invalid="true"] { border-color: var(--danger); background: #fdf6f5; }
.field__textarea { min-height: 140px; resize: vertical; }
.field__select { position: relative; }
.field__select::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__select select { padding-right: 44px; cursor: pointer; }
.field__error { margin: 6px 0 0; min-height: 0; font-size: 13.5px; color: var(--danger); }
.field__error:empty { display: none; }

.consents { margin: 8px 0 0; padding: 22px 0 0; border: 0; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; margin-bottom: 14px; }
.check__input {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.check__input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 1px; }
.check__label { font-size: 14px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check__label a { color: var(--accent); text-underline-offset: 2px; }
.check__label a:hover { color: var(--accent-hover); }

.form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 22px;
}
.form__required { margin: 0; font-size: 13px; color: var(--muted); }
.form__status {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.5;
}
.form__status.is-success { background: #e8f3ef; color: #134a3d; border: 1px solid #b9dccf; }
.form__status.is-error { background: #fbeceb; color: #7d2621; border: 1px solid #efc3bf; }
.form__status small { display: block; margin-top: 6px; opacity: 0.75; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 56px 0 48px;
  font-size: 14px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.logo--footer { color: var(--white); }
.logo--footer .logo__mark { color: var(--gold-light); }
.site-footer__tagline { margin: 14px 0 0; }
.site-footer__meta { text-align: right; }
.site-footer__copy { margin: 0 0 8px; }
.site-footer__links { display: flex; justify-content: flex-end; gap: 12px; margin: 0; }
.site-footer__links a { text-decoration: none; color: rgba(255, 255, 255, 0.86); transition: color 0.2s; }
.site-footer__links a:hover { color: var(--gold-light); }
.site-footer__links span { opacity: 0.35; }

/* ---------- document pages ---------- */
.doc { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(80px, 10vw, 140px); }
.doc__inner { max-width: calc(860px + var(--gutter) * 2); }
.doc__back {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}
.doc__back:hover { color: var(--accent); }
.doc__title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.doc__lead { color: var(--muted); font-size: 15px; margin-bottom: 48px; }
.doc__body { font-size: 16.5px; line-height: 1.75; color: #2a383e; }
.doc__body h2 {
  margin: 56px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.doc__body h3 { margin: 32px 0 10px; font-size: 17.5px; color: var(--ink); }
.doc__body ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.doc__body ol { margin: 0 0 1em; padding-left: 1.4em; }
.doc__body li { margin-bottom: 6px; }
.doc__body li::marker { color: var(--accent); }
.doc__body a { color: var(--accent); }
.doc__body .requisites {
  margin: 0 0 32px;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.doc__body .requisites dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 14px 32px; }
.doc__body .requisites dt { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.doc__body .requisites dd { margin: 0; color: var(--ink); }
.doc__body .doc-box {
  margin: 24px 0;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.doc--center { text-align: center; }
.doc--center .doc__inner { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.doc--center .eyebrow::before { display: none; }

/* ---------- reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art__arcs path,
  .hero-art__nodes .pulse,
  .hero-art__globe { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .nav { gap: 24px; }
  .nav__list { gap: 22px; }
  .lang { padding-left: 18px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .burger { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
    color: var(--ink);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .is-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
    letter-spacing: -0.01em;
    opacity: 1;
  }
  .nav__list a::after { display: none; }
  .lang { border: 0; padding: 28px 0 0; gap: 8px; }
  .lang__item { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
  .lang__item.is-current { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .nav__cta { margin-top: 28px; min-height: 54px; }

  .about__grid,
  .intl__grid,
  .contact__grid,
  .section-head { grid-template-columns: 1fr; }
  .about__head,
  .contact__intro { position: static; }
  .hero__art-wrap { width: 110vw; right: -42vw; opacity: 0.55; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar,
  .pillar + .pillar { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; gap: 20px; align-items: baseline; }
  .services__grid { grid-template-columns: 1fr; }
  .service { padding: 30px 24px 32px; }
  .service__top { margin-bottom: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__inner { padding-bottom: 48px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__foot span:first-child { display: none; }
  .hero__foot { justify-content: flex-end; }
  .intl-list li { grid-template-columns: 44px 1fr; }
  .site-footer__meta { text-align: left; }
  .site-footer__links { justify-content: flex-start; }
  .doc__body .requisites { padding: 24px 20px; }
  .doc__body .requisites dl { grid-template-columns: 1fr; gap: 4px; }
  .doc__body .requisites dd { margin-bottom: 12px; }
}

@media print {
  .site-header, .site-footer, .doc__back, .skip-link { display: none; }
  .doc { padding: 0; }
  body { background: #fff; }
}

.contact__intro .section-title,
.about__head .section-title { margin-bottom: 28px; }

.doc__title,
.section-title,
.hero__title { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 480px) {
  .doc__title { font-size: 30px; }
}


/* =========================================================
   Typography: Cormorant Garamond (headings) + Manrope (text)
   ========================================================= */

:root {
  --font: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
}

body { font-family: var(--font); font-size: 16.5px; }

/* Крупные заголовки — антиква */
.hero__title,
.section-title,
.doc__title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
}
.hero__title { font-size: clamp(52px, 8.4vw, 126px); line-height: 0.95; }
.section-title { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; }
.doc__title { font-size: clamp(40px, 5.6vw, 66px); }

/* Акцентные подзаголовки и цитаты */
.about__lead,
.intl__sub,
.contact__sub,
.service--cta__text {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}
.about__lead { font-size: clamp(25px, 2.4vw, 33px); line-height: 1.3; }
.intl__sub { font-size: clamp(24px, 2.1vw, 29px); line-height: 1.3; }
.service--cta__text { font-size: 29px; line-height: 1.2; }

/* Заголовки карточек и пунктов */
.service__title,
.pillar__title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}
.service__title { font-size: 25px; line-height: 1.15; }
.pillar__title { font-size: clamp(23px, 2vw, 28px); line-height: 1.2; }
.intl-list li { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.9vw, 26px); letter-spacing: 0; }
.doc__body h2 { font-family: var(--serif); font-weight: 600; font-size: 27px; letter-spacing: 0; }
.doc__body h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; }

/* Логотип с подписью BEYOND BORDERS на ширину слова EVENTREE */
.logo { gap: 13px; }
.logo__mark { width: 32px; height: 32px; }
.logo__stack { display: inline-flex; flex-direction: column; }
.logo__word { font-family: var(--font); font-weight: 600; font-size: 17px; line-height: 1; }
.logo__tag {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  margin-right: -0.3em; /* компенсирует отрицательный отступ слова */
  padding-right: 0.3em;
  font-family: var(--font);
  font-size: 7.6px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.72;
}
.logo--footer .logo__tag { opacity: 0.6; }

/* =========================================================
   Infographic 1: service ecosystem (dark band)
   ========================================================= */
.eco {
  background:
    radial-gradient(900px 600px at 72% 50%, rgba(29, 107, 88, 0.22), transparent 65%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  color: var(--white);
  overflow: hidden;
}
.eco__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.eco__text { margin: 28px 0 36px; color: rgba(255, 255, 255, 0.74); font-size: 17px; }
.eco__legend li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}
.eco__legend strong { display: block; font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.eco__legend span { color: var(--muted-light); font-size: 14px; line-height: 1.55; }
.eco__dot { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; }
.eco__dot--o { background: #43a88d; }
.eco__dot--i { background: var(--gold-light); }
.eco__dot--s { background: #e9eeec; }
.eco__chart { min-width: 0; }
.eco-svg { width: 100%; height: auto; overflow: visible; }

.eco-ring { fill: none; stroke: rgba(217, 192, 143, 0.2); stroke-width: 1; }
.eco-ring--inner {
  stroke-dasharray: 3 7;
  stroke: rgba(217, 192, 143, 0.16);
  transform-origin: 430px 320px;
  animation: eco-spin 80s linear infinite;
}
.eco-arc { fill: none; stroke-width: 3; stroke-linecap: round; stroke-opacity: 0.85; }
.eco-conn { fill: none; stroke-width: 1.4; stroke-opacity: 0.5; }
.eco-label { fill: #fff; font-family: var(--font); font-size: 20px; font-weight: 500; }
.eco-core__word { fill: #fff; font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 4px; }
.eco-core__halo {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 4.5s var(--ease) infinite;
}
.eco-node { transform-box: fill-box; transform-origin: center; }
@keyframes eco-spin { to { transform: rotate(360deg); } }

/* draw-in when visible */
.js [data-animate] .eco-arc,
.js [data-animate] .eco-conn { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-animate] .eco-arc { transition: stroke-dashoffset 1.4s var(--ease) calc(0.9s + var(--k) * 0.25s); }
.js [data-animate] .eco-conn { transition: stroke-dashoffset 1.1s var(--ease) calc(0.2s + var(--k) * 0.08s); }
.js [data-animate] .eco-node { opacity: 0; transform: scale(0.3); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(0.6s + var(--k) * 0.08s); }
.js [data-animate] .eco-label { opacity: 0; transition: opacity 0.8s var(--ease) calc(0.8s + var(--k) * 0.08s); }
.js [data-animate] .eco-core { opacity: 0; transition: opacity 0.8s var(--ease); }
.js [data-animate] .eco-pulse { opacity: 0; transition: opacity 0.6s 2s; }
.js [data-animate].is-visible .eco-arc,
.js [data-animate].is-visible .eco-conn { stroke-dashoffset: 0; }
.js [data-animate].is-visible .eco-node { opacity: 1; transform: none; }
.js [data-animate].is-visible .eco-label,
.js [data-animate].is-visible .eco-core,
.js [data-animate].is-visible .eco-pulse { opacity: 1; }

/* =========================================================
   Infographic 2: process timeline (inside Services)
   ========================================================= */
.process { margin-top: clamp(88px, 10vw, 140px); }
.process__head { margin-bottom: clamp(40px, 5vw, 64px); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; min-width: 0; }
.step__track { position: relative; height: 64px; margin-bottom: 18px; }
.step__line {
  position: absolute;
  left: 0;
  right: -28px;
  top: 44px;
  height: 2px;
  background: var(--paper-2);
  overflow: hidden;
}
.step:last-child .step__line { right: 0; }
.step__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
}
.step__node {
  position: absolute;
  left: 0;
  top: 35px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(29, 107, 88, 0.12);
}
.step__sprout { position: absolute; left: 22px; top: 4px; width: 40px; height: 40px; overflow: visible; }
.step__sprout path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.step__sprout circle { fill: var(--gold); }
.step__num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); }
.step__title {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.step__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.js [data-animate] .step__line::after { transform: scaleX(0); transition: transform 0.7s var(--ease) calc(var(--k) * 0.35s + 0.3s); }
.js [data-animate] .step__node { transform: scale(0); transition: transform 0.5s var(--ease) calc(var(--k) * 0.35s); }
.js [data-animate] .step__sprout path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.6s var(--ease) calc(var(--k) * 0.35s + 0.2s); }
.js [data-animate] .step__sprout circle { opacity: 0; transition: opacity 0.4s calc(var(--k) * 0.35s + 0.7s); }
.js [data-animate] .step__num,
.js [data-animate] .step__title,
.js [data-animate] .step__text { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--k) * 0.35s + 0.1s); }
.js [data-animate].is-visible .step__line::after { transform: none; }
.js [data-animate].is-visible .step__node { transform: none; }
.js [data-animate].is-visible .step__sprout path { stroke-dashoffset: 0; }
.js [data-animate].is-visible .step__sprout circle { opacity: 1; }
.js [data-animate].is-visible .step__num,
.js [data-animate].is-visible .step__title,
.js [data-animate].is-visible .step__text { opacity: 1; transform: none; }

@media (max-width: 1140px) {
  .process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .step:nth-child(3n) .step__line { right: 0; }
}
@media (max-width: 980px) {
  .eco__grid { grid-template-columns: 1fr; }
  .eco__chart { max-width: 720px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  /* labels are too small on phones: the legend lists all services instead */
  .eco-label { display: none; }
  .eco-svg { margin: -6% 0; }
  .process__steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 36px 52px; }
  .step__track { position: absolute; left: 0; top: 0; bottom: 0; width: 20px; height: auto; margin: 0; }
  .step__line, .step:nth-child(3n) .step__line { left: 9px; right: auto; top: 22px; bottom: -2px; width: 2px; height: auto; }
  .step:last-child .step__line { display: none; }
  .step__line::after { transform-origin: top; }
  .js [data-animate] .step__line::after { transform: scaleY(0); }
  .step__node { top: 2px; }
  .step__sprout { display: none; }
  .step__title { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-animate] * { transition: none !important; }
  .js [data-animate] .eco-arc, .js [data-animate] .eco-conn, .js [data-animate] .step__sprout path { stroke-dashoffset: 0; }
  .js [data-animate] .eco-node, .js [data-animate] .eco-label, .js [data-animate] .eco-core,
  .js [data-animate] .step__num, .js [data-animate] .step__title, .js [data-animate] .step__text,
  .js [data-animate] .step__sprout circle { opacity: 1; transform: none; }
  .js [data-animate] .step__node, .js [data-animate] .step__line::after { transform: none; }
  .eco-pulse, .eco-core__halo { display: none; }
  .eco-ring--inner { animation: none; }
}
