/* Events page — matched to the events design. Header and footer follow the homepage. */

.events {
  --ev-gold: #C6A035;
  --ev-gold-text: #C9972A;
  --ev-ink: #16181d;
  background: #ffffff;
  color: var(--ev-ink);
}

.events .site-header {
  background: #ffffff;
  border-bottom: 1px solid #eceff3;
  box-shadow: none;
}

.events .site-header.scrolled { box-shadow: none; }

.events .header-inner { height: 92px; }

.events .brand-logo {
  height: 76px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.events .brand-logo-drawer { height: 58px; max-width: 180px; }

.events .brand-logo-footer {
  height: 108px;
  max-width: 220px;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
}

.events .nav-desktop { gap: 1.65rem; }

.events .nav-link,
.events .login-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #2a3038;
}

.events .nav-link:hover,
.events .login-link:hover,
.events .nav-link.active { color: #2a3038; }

.events .nav-link.active { color: #C6A035; }

.events .header-demo {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: none;
}

.events .btn-primary {
  background: #C6A035;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 600;
}

.events .btn-primary:hover,
.events .btn-primary:active,
.events .btn:hover,
.events .btn:hover svg,
.events .ev-btn:hover,
.events .footer-links a:hover,
.events .footer-legal-links a:hover,
.events .footer-social a:hover,
.events .newsletter-submit:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.events .btn-primary:hover,
.events .btn-primary:active {
  background: #C6A035;
  color: #ffffff;
}

.events .site-footer {
  background: #0d0f14;
  padding-top: 3.25rem;
  border-top: none;
}

.events .footer-brand { gap: 0.9rem; }
.events .footer-top { gap: 2rem; padding-bottom: 2.5rem; }
.events .footer-links a { color: #a3a8b0; }
.events .footer-links a:hover,
.events .footer-legal-links a:hover { color: #a3a8b0; }
.events .footer-bottom { color: #8b919a; }

.ev-gold { color: var(--ev-gold-text); }

.ev-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ev-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.ev-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--ev-gold);
}

.ev-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #C6A035;
  color: #ffffff;
  border: 1.5px solid #C6A035;
  border-radius: 8px;
  padding: 0.82rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
}

.ev-btn:hover { background: #C6A035; color: #ffffff; }

.ev-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.ev-btn-ghost:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Hero */
.ev-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #0b0d12;
  overflow: hidden;
}

.ev-hero-bg,
.ev-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-hero-bg { object-position: 72% center; }

.ev-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0.12) 68%);
}

.ev-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 4.5rem 0;
}

.ev-hero h1,
.ev-reach h2,
.ev-types h2,
.ev-journey h2,
.ev-cta h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.ev-hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.ev-hero h1 span,
.ev-reach h2 span,
.ev-types h2 span,
.ev-cta h2 span { display: block; }

.ev-hero p,
.ev-hero .ev-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 0 0.45rem;
}

.ev-tagline {
  font-weight: 700;
  margin-bottom: 1.5rem !important;
}

.ev-hero-actions,
.ev-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Reach */
.ev-reach {
  position: relative;
  padding: 4.75rem 0 4.25rem;
  background:
    radial-gradient(ellipse at 82% 42%, rgba(232, 196, 110, 0.38), transparent 46%),
    #ffffff;
  overflow: hidden;
}

.ev-reach-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.ev-reach h2,
.ev-types h2,
.ev-journey h2 {
  color: var(--ev-ink);
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.ev-reach p,
.ev-types > .container > p,
.ev-cta p {
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 1.75rem;
}

.ev-steps {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ev-step {
  width: 92px;
  text-align: center;
  position: relative;
}

.ev-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  right: -10px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #d4b15a;
  border-right: 1.5px solid #d4b15a;
  transform: rotate(45deg);
}

.ev-step-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  border: 1.5px solid #d4b15a;
  color: #C6A035;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.ev-step span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2a3038;
}

.ev-devices {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-laptop {
  width: min(100%, 460px);
  background: #1c1e24;
  border-radius: 14px 14px 8px 8px;
  padding: 12px 12px 0;
  box-shadow: 0 24px 50px rgba(40, 28, 8, 0.18);
}

.ev-laptop-screen {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}

.ev-laptop-screen img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.ev-screen-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #C6A035;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
}

.ev-laptop-base {
  height: 14px;
  margin: 8px -6px 0;
  background: linear-gradient(#d7dbe2, #b7bdc8);
  border-radius: 0 0 10px 10px;
}

.ev-phone {
  position: absolute;
  right: 4%;
  bottom: 18px;
  width: 118px;
  background: #111318;
  border-radius: 18px;
  padding: 8px;
  border: 3px solid #2a2e36;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.ev-phone img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 10px;
  display: block;
}

/* Event types */
.ev-types {
  padding: 1rem 0 4.5rem;
  background: #ffffff;
}

.ev-types-head { max-width: 640px; margin-bottom: 2rem; }

.ev-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.ev-type-card { text-align: center; }

.ev-type-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 210px;
  background: #111;
}

.ev-type-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ev-type-card:nth-child(1) img { object-position: 62% 78%; }
.ev-type-card:nth-child(2) img { object-position: 96% 68%; }
.ev-type-card:nth-child(3) img { object-position: 72% 45%; }
.ev-type-card:nth-child(4) img { object-position: 68% 42%; }

.ev-type-badge {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #C6A035;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.ev-type-card h3 {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  font-weight: 700;
}

/* Journey */
.ev-journey {
  position: relative;
  padding: 4.25rem 0 4.5rem;
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 70%);
  overflow: hidden;
  text-align: center;
}

.ev-journey-king {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(46%, 560px);
  object-fit: cover;
  object-position: right center;
  opacity: 0.42;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 28%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28%);
}

.ev-journey .container { position: relative; z-index: 1; }

.ev-journey .ev-kicker { justify-content: center; }

.ev-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 2rem 0 1.75rem;
  flex-wrap: wrap;
}

.ev-flow-item {
  width: 110px;
  text-align: center;
  position: relative;
}

.ev-flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -8px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #d4b15a;
  border-right: 1.5px solid #d4b15a;
  transform: rotate(45deg);
}

.ev-flow-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  border: 1.5px solid #d4b15a;
  color: #C6A035;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-flow-item span {
  font-size: 0.92rem;
  font-weight: 600;
}

.ev-banner {
  display: inline-block;
  background: #C6A035;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Closing */
.ev-cta {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #07080b;
}

.ev-cta-bg { object-position: 68% center; }

.ev-cta-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.4) 42%, rgba(0, 0, 0, 0.12) 70%);
}

.ev-cta-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4rem 0;
}

.ev-cta h2 {
  color: #ffffff;
  font-size: clamp(2.1rem, 3vw, 2.85rem);
}

.ev-cta h2 span:last-child { white-space: nowrap; }

.ev-cta p { color: rgba(255, 255, 255, 0.86); }

@media (max-width: 1080px) {
  .events .brand-logo { height: 62px; max-width: 150px; }

  .ev-reach-grid,
  .ev-type-grid { grid-template-columns: 1fr 1fr; }

  .ev-devices { min-height: 300px; }
  .ev-type-card { margin-bottom: 0.5rem; }
}

@media (max-width: 768px) {
  .events .header-demo { display: none; }

  .ev-hero { min-height: 540px; }
  .ev-hero h1,
  .ev-cta h2 span:last-child { white-space: normal; }
  .ev-hero h1 { font-size: 2.2rem; }
  .ev-hero-shade,
  .ev-cta-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.4));
  }

  .ev-reach-grid,
  .ev-type-grid { grid-template-columns: 1fr; }

  .ev-laptop { width: 100%; }
  .ev-phone { width: 96px; }
  .ev-phone img { height: 150px; }
  .ev-laptop-screen img { height: 180px; }

  .ev-journey-king { opacity: 0.2; width: 70%; }
}
