/* ============================================================
   Linkera Events — Global Stylesheet
   Brand: deep navy ink + amber accent, professional B2B events
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink-900: #0b1f33;
  --ink-800: #102a45;
  --ink-700: #16395c;
  --ink-600: #1e4a75;
  --navy:    #0b1f33;
  --navy-2:  #102a45;

  --amber-500: #2ec4b6;
  --amber-400: #3dd9c9;
  --amber-600: #1fa89b;

  --paper:     #f7f6f2;
  --white:     #ffffff;
  --slate-100: #eef1f4;
  --slate-200: #dde3ea;
  --slate-300: #b9c4d0;
  --slate-500: #6b7a8d;
  --slate-700: #3c4c5f;
  --slate-900: #1c2a3a;

  --shadow-sm: 0 2px 8px rgba(11,31,51,0.08);
  --shadow-md: 0 8px 28px rgba(11,31,51,0.12);
  --shadow-lg: 0 18px 50px rgba(11,31,51,0.18);
  --radius:    14px;
  --radius-lg: 22px;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: 24px;
  --header-h: 78px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--amber-500);
}
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 14px 0 16px; }
.section-head p { color: var(--slate-500); font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: 1.15rem; color: var(--slate-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 0; cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--amber-500); color: var(--ink-900); }
.btn--primary:hover { background: var(--amber-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); }
.btn--outline:hover { border-color: var(--amber-400); color: var(--amber-400); }
.btn--dark { background: var(--ink-900); color: var(--white); }
.btn--dark:hover { background: var(--ink-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand-tagline { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(11,31,51,0.55); font-weight: 500; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-weight: 600; font-size: 0.96rem; color: var(--slate-700);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--amber-500); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink-900); }
.nav-cta { margin-left: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; margin-left: 12px; flex: 0 0 auto; }
.lang-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 8px 32px 8px 14px;
  border: none; border-radius: 999px;
  background: transparent; color: var(--ink-900);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: background 0.18s ease, box-shadow 0.18s ease;
}
.lang-select:hover, .lang-select:focus { background: var(--slate-100); outline: none; box-shadow: none; }
.lang-switch::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--slate-500); border-bottom: 2px solid var(--slate-500);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,31,51,0.94) 0%, rgba(11,31,51,0.72) 45%, rgba(11,31,51,0.35) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 120px var(--gutter) 132px; max-width: 820px; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.5vw, 4.1rem); margin: 22px 0 24px; }
.hero h1 em { font-style: normal; color: var(--amber-400); }
.hero p { color: rgba(255,255,255,0.86); font-size: 1.18rem; max-width: 620px; }
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--amber-400); }
.hero__stat .lbl { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--ink-900), var(--ink-600)); color: var(--white); padding: 88px 0 84px; }
.page-hero .eyebrow { color: var(--amber-400); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin: 16px 0 18px; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.12rem; max-width: 640px; }

/* ---------- Intro / About strip ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split__badge {
  position: absolute; bottom: -22px; right: 18px;
  background: var(--ink-900); color: var(--white); padding: 18px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split__badge .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--amber-400); }
.split__badge .lbl { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.split__body h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 14px 0 18px; }
.split__body p { color: var(--slate-500); margin-bottom: 16px; }
.split__ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.split__ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--slate-700); }
.split__ticks .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-500); color: var(--ink-900); display: grid; place-items: center; font-size: 0.8rem; margin-top: 3px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100);
  transition: transform 0.22s ease, box-shadow 0.22s ease; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.event-card__img { aspect-ratio: 16/9; overflow: hidden; }
.event-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.event-card:hover .event-card__img img { transform: scale(1.05); }
.event-card__body { padding: 26px; }
.event-card__body h3 { font-size: 1.28rem; margin-bottom: 10px; }
.event-card__body p { color: var(--slate-500); font-size: 0.95rem; }
.event-card__tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--amber-600); margin-bottom: 12px;
}

/* ---------- Feature / service items ---------- */
.feature { padding: 30px; }
.feature__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-600));
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature__icon svg { width: 26px; height: 26px; stroke: var(--amber-400); }
.feature h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature p { color: var(--slate-500); font-size: 0.95rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink-900); color: var(--white); padding: 70px 0; }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats-band .num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--amber-400); }
.stats-band .lbl { color: rgba(255,255,255,0.72); font-size: 0.98rem; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--amber-500), var(--amber-400)); color: var(--ink-900); padding: 74px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink-900); font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cta-band p { color: rgba(11,31,51,0.8); max-width: 520px; margin-top: 10px; }
.cta-band .btn--dark { background: var(--ink-900); color: var(--white); }

/* ---------- Timeline / process ---------- */
.timeline { display: grid; gap: 0; margin-top: 40px; }
.timeline__item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--slate-200); }
.timeline__item:last-child { border-bottom: 0; }
.timeline__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--amber-500); }
.timeline__item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline__item p { color: var(--slate-500); font-size: 0.97rem; }

/* ---------- Testimonials ---------- */
.testimonial { padding: 34px; }
.testimonial blockquote { margin: 0 0 20px; font-size: 1.05rem; color: var(--slate-700); font-style: italic; }
.testimonial__who { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--ink-600), var(--amber-500)); display: grid; place-items: center; color: var(--white); font-family: var(--font-display); font-weight: 700; }
.testimonial__who .name { font-weight: 600; color: var(--ink-900); }
.testimonial__who .role { font-size: 0.85rem; color: var(--slate-500); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 1.9rem; margin-bottom: 18px; }
.contact-info p { color: var(--slate-500); margin-bottom: 28px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-info__item .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--slate-100); display: grid; place-items: center; }
.contact-info__item .ic svg { width: 22px; height: 22px; stroke: var(--ink-700); }
.contact-info__item .lbl { font-size: 0.82rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info__item .val { font-weight: 600; color: var(--ink-900); margin-top: 3px; }
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; border: 1px solid var(--slate-100); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--slate-200); font-family: inherit; font-size: 0.98rem;
  color: var(--slate-900); background: var(--white); transition: border-color 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-500); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.phone-input { display: flex; gap: 10px; align-items: stretch; }
.phone-code-wrap { position: relative; flex: 0 0 70px; }
.phone-code-btn {
  width: 100%; height: 100%; padding: 13px 2px; text-align: center;
  border: 1.5px solid var(--slate-200); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; color: var(--slate-900);
  background: var(--white); transition: border-color 0.18s ease;
}
.phone-code-btn:hover, .phone-code-btn:focus { outline: none; border-color: var(--amber-500); }
.phone-code-list {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  width: 250px; max-height: 240px; overflow-y: auto;
  margin: 0; padding: 6px 0; list-style: none;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.phone-code-list li {
  padding: 9px 14px; font-size: 0.95rem; color: var(--slate-800); cursor: pointer;
  white-space: nowrap;
}
.phone-code-list li:hover { background: var(--slate-50); }
.phone-input input[type="tel"] { flex: 1 1 auto; min-width: 0; }
@media (max-width: 560px) {
  .phone-input { flex-direction: column; gap: 10px; }
  .phone-code-wrap { flex: 1 1 auto; }
  .phone-code-list { width: 100%; }
}
.form-note { font-size: 0.85rem; color: var(--slate-500); margin-top: 14px; }
.form-success { display: none; background: #e8f5e9; color: #1b5e20; padding: 16px 20px; border-radius: 10px; margin-bottom: 22px; font-weight: 500; }
.form-error { display: none; background: #fdecea; color: #b71c1c; padding: 16px 20px; border-radius: 10px; margin-bottom: 22px; font-weight: 500; }

/* ---------- Upcoming events list ---------- */
.event-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 26px 30px;
  border: 1px solid var(--slate-100); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease; margin-bottom: 16px;
}
.event-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-date { text-align: center; background: var(--ink-900); color: var(--white); border-radius: 12px; padding: 14px 8px; }
.event-date .m { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber-400); }
.event-date .d { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.event-row h3 { font-size: 1.22rem; margin-bottom: 6px; }
.event-row .meta { display: flex; gap: 18px; color: var(--slate-500); font-size: 0.9rem; flex-wrap: wrap; }
.event-row .meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-row .btn { padding: 11px 22px; font-size: 0.9rem; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--slate-200);
  background: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  color: var(--slate-700); cursor: pointer; transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--amber-500); color: var(--ink-900); }
.filter-btn.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.72); padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .brand img { height: 52px; }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.55); font-size: 0.68rem; }
.footer-brand p { margin-top: 16px; font-size: 0.94rem; }
.footer-col h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 18px; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.93rem; color: rgba(255,255,255,0.72); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--amber-400); }
.footer-newsletter p { font-size: 0.92rem; margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: var(--white); font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { padding: 12px 18px; border-radius: 8px; border: 0; background: var(--amber-500); color: var(--ink-900); font-weight: 700; cursor: pointer; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem;
}
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: var(--amber-400); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { padding: 0 32px; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 24px var(--gutter) 32px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform 0.3s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; padding: 10px 0; }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .lang-switch { position: fixed; right: 66px; top: 22px; margin-left: 0; }
  .lang-select { padding: 8px 32px 8px 14px; font-size: 0.85rem; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .grid--3, .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero__inner { padding: 88px 32px 96px; }
  .hero__meta { gap: 28px; margin-top: 48px; }
  .hero__stat .num { font-size: 1.8rem; }
  .event-row { grid-template-columns: 1fr; text-align: center; }
  .event-date { max-width: 110px; margin: 0 auto; }
  .event-row .btn { width: 100%; }
  .event-row .meta { justify-content: center; }
  .section-head--center { text-align: center; }
}

@media (max-width: 540px) {
  .container { padding: 0 28px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: 1fr; }
  .stats-band { padding: 52px 0; }
  .stats-band .num { font-size: 2.3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-newsletter { padding-top: 8px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__inner { padding: 76px 28px 84px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero p { font-size: 1.02rem; }
  .hero__meta { gap: 20px; }
  .page-hero { padding: 64px 0 60px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .section-head h2 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  .split { gap: 40px; }
  .card { border-radius: 16px; }
  .event-card__body { padding: 20px; }
  .event-card__body h3 { font-size: 1.12rem; }
  .form-card { padding: 26px 20px; }
  .contact-info__item .val { word-break: break-word; }
  .timeline__item { grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 0; }
  .timeline__num { font-size: 1.6rem; }
  .cta-band { padding: 56px 0; }
  .footer-brand .brand img { height: 44px; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 0.84rem; }
  .brand img { height: 34px; }
  .brand-tagline { font-size: 0.52rem; letter-spacing: 0.06em; }
}

/* Extra small screens */
@media (max-width: 380px) {
  .hero__stat .lbl { font-size: 0.8rem; }
  .event-row { padding: 20px 16px; }
  .event-row .meta { gap: 10px; font-size: 0.82rem; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ===================== Registration modal ===================== */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal__overlay {
  position: absolute; inset: 0; background: rgba(10, 12, 20, 0.55);
  backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto;
  background: var(--white); border-radius: 18px; padding: 34px 34px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: var(--slate-100); color: var(--slate-700);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background 0.18s ease;
}
.modal__close:hover { background: var(--slate-200); }
.modal__title { font-size: 1.35rem; margin-bottom: 4px; padding-right: 30px; }
.modal__sub { color: var(--slate-500); font-size: 0.92rem; margin-bottom: 20px; padding-right: 30px; }
.modal__event-info {
  background: var(--slate-50); border-radius: 10px; padding: 12px 16px;
  margin-bottom: 20px; border: 1px solid var(--slate-100);
}
.modal__event-title { font-weight: 600; font-size: 1.02rem; color: var(--ink-900); margin-bottom: 8px; }
.modal__event-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--slate-600); }
.modal__event-meta-item { white-space: nowrap; }
.register-form .field { margin-bottom: 16px; }
body.modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .modal { padding: 12px; }
  .modal__dialog { padding: 26px 18px 22px; border-radius: 14px; }
  .modal__title { font-size: 1.15rem; }
}
