

.es-wrap * { box-sizing: border-box; margin: 0; padding: 0; }

.es-wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  background: #0a0f14;
}

.es-wrap::after {
  content: '';
  position: absolute; inset: 0; z-index: 10;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.es-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.es-overlay-dark {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(8, 14, 20, 0.72);
}

.es-overlay-gradient {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(8,14,20,0.85) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(8,14,20,0.5) 0%, transparent 30%);
}

.es-overlay-glow {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 70% 55% at 50% 48%, rgba(27,139,134,0.13) 0%, transparent 70%);
}

.es-overlay-lines {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(rgba(60,200,190,0.035) 1px, transparent 1px);
  background-size: 100% 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.es-content {
  position: relative; z-index: 5;
  text-align: center;
  padding: 0 24px;
  max-width: 960px;
  width: 100%;
}

.es-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
  animation: esFadeUp 0.8s ease 0.2s forwards;
}

.es-eyebrow-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, #3CC8BE);
}
.es-eyebrow-line.right {
  background: linear-gradient(90deg, #3CC8BE, transparent);
}

.es-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #3CC8BE;
}

.es-main-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: esFadeUp 0.8s ease 0.45s forwards;
}

.es-headline {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -3px;
  color: #fff;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(28px);
  animation: esFadeUp 0.9s ease 0.6s forwards;
}

.es-headline-accent {
  display: block;
  background: linear-gradient(135deg, #fff 0%, #3CC8BE 55%, #1B8B86 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-headline-plain { display: block; }

.es-venue {
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: esFadeUp 0.8s ease 0.85s forwards;
}

.es-divider {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, #1B8B86, #3CC8BE);
  margin: 0 auto 48px;
  border-radius: 2px;
  opacity: 0;
  animation: esFadeIn 0.8s ease 1.05s forwards;
}

.es-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(18px);
  animation: esFadeUp 0.8s ease 1.2s forwards;
}

.es-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  color: #fff;
}

.es-chip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3CC8BE;
  margin-bottom: 2px;
}

.es-chip-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.es-sep {
  width: 1px; height: 44px;
  background: rgba(60,200,190,0.18);
  flex-shrink: 0;
}

.es-cta {
  opacity: 0;
  transform: translateY(16px);
  animation: esFadeUp 0.8s ease 1.45s forwards;
}

.es-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #1B8B86, #25A89F);
  box-shadow: 0 0 0 1px rgba(60,200,190,0.2), 0 8px 32px rgba(27,139,134,0.35);
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.es-btn:hover {
  box-shadow: 0 0 0 1px rgba(60,200,190,0.4), 0 12px 48px rgba(27,139,134,0.55);
  transform: translateY(-2px);
}

.es-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

.es-logo {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,0.45);
  opacity: 0;
  animation: esFadeIn 1s ease 1.8s forwards;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.es-logo:hover { color: rgba(255,255,255,0.8); }

.es-logo span {
  background: linear-gradient(135deg, #3CC8BE, #1B8B86);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-corner {
  position: absolute !important;
  width: 36px; height: 36px;
  z-index: 10000;
  opacity: 0;
  animation: esFadeIn 0.6s ease 1.6s forwards;
}
.es-corner::before, .es-corner::after {
  content: '';
  position: absolute;
  background: #3CC8BE;
  opacity: 0.5;
}
.es-corner.tl { top: 24px; left: 24px; }
.es-corner.tr { top: 24px; right: 24px; }
.es-corner.bl { bottom: 24px; left: 24px; }
.es-corner.br { bottom: 24px; right: 24px; }
.es-corner.tl::before { top:0; left:0; width:2px; height:100%; }
.es-corner.tl::after  { top:0; left:0; width:100%; height:2px; }
.es-corner.tr::before { top:0; right:0; width:2px; height:100%; }
.es-corner.tr::after  { top:0; right:0; width:100%; height:2px; }
.es-corner.bl::before { bottom:0; left:0; width:2px; height:100%; }
.es-corner.bl::after  { bottom:0; left:0; width:100%; height:2px; }
.es-corner.br::before { bottom:0; right:0; width:2px; height:100%; }
.es-corner.br::after  { bottom:0; right:0; width:100%; height:2px; }

@keyframes esFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes esFadeIn {
  to { opacity: 1; }
}

@media (max-width: 700px) {
  .es-headline { letter-spacing: -1.5px; }

  .es-venue { letter-spacing: 4px; }

  /* Eyebrow — убираем линии, сжимаем spacing чтобы не переносилось */
  .es-eyebrow { gap: 6px; margin-bottom: 20px; }
  .es-eyebrow-line { width: 20px; }
  .es-eyebrow-text { font-size: 9px; letter-spacing: 2px; white-space: nowrap; }

  /* Инфо-блок — вертикально */
  .es-info-row { flex-direction: column; gap: 0; }
  .es-sep { width: 44px; height: 1px; }
  .es-chip { padding: 10px 20px; }

  /* Кнопка — не растягивать на всю ширину */
  .es-btn {
    padding: 16px 32px;
    font-size: 13px;
    width: auto;
    max-width: 90vw;
  }

  /* Углы — отступ с учётом возможного WP admin-bar (46px) */
  .es-corner { width: 24px; height: 24px; }
  .es-corner.tl, .es-corner.tr { top: 56px; }
  .es-corner.bl, .es-corner.br { bottom: 16px; }
  .es-corner.tl, .es-corner.bl { left: 16px; }
  .es-corner.tr, .es-corner.br { right: 16px; }
}
