/* ==========================================================================
   موقع شركة آفاق المعارض — Afaq Exhibitions public website
   يعتمد على shared/css/base.css + محرك AtEventX (../assets/js/app.js)
   هوية مؤسسية: كحلي #22355e + أزرق #0d6efd + بطاقات بيضاء وخلفية رمادية فاتحة
   ========================================================================== */
:root {
  --brand: #0d6efd;
  --brand-600: #0b5ed7;
  --brand-700: #0a58ca;
  --brand-soft: #e7f1ff;
  --navy: #22355e;
  --navy-2: #18264a;
  --navy-3: #2c4374;
  --ink: #0f1d3a;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --border: #e3e7ee;
  --text: #1c2536;
  --text-2: #5b6578;
  --muted: #8f98a8;
  --success: #198754; --success-soft: #e8f3ee;
  --warning: #b7791f; --warning-soft: #fff6e0;
  --danger: #dc3545; --danger-soft: #fdecee;
  --info: #0a8bb3; --info-soft: #e6f7fd;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 58, .05);
  --shadow: 0 6px 22px rgba(15, 29, 58, .07);
  --shadow-lg: 0 22px 50px rgba(15, 29, 58, .14);
  --grad-navy: linear-gradient(135deg, #2c4374 0%, #22355e 55%, #18264a 100%);
  --grad-blue: linear-gradient(135deg, #3d8bfd 0%, #0d6efd 55%, #0a58ca 100%);
  --header-h: 72px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
main { display: block; }
.container { max-width: 1240px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }
svg.lucide { flex-shrink: 0; }

/* ------------------------------------------------------------ Buttons */
.btn { border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(13, 110, 253, .25); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef3ff; color: var(--navy); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand-700); }
.btn-soft:hover { background: #d6e6ff; }
.btn-success { background: var(--success); color: #fff; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; box-shadow: none; }
.btn-icon { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; padding: 0; }
.btn-icon:hover { color: var(--brand); border-color: var(--brand); }

/* ------------------------------------------------------------ Announcement bar */
.topline { background: var(--navy-2); color: #dbe5f7; font-size: 13px; }
.topline .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding-block: 6px; text-align: center; flex-wrap: wrap; }
.topline a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; display: inline-block; box-shadow: 0 0 0 0 rgba(255, 77, 94, .6); animation: pulse 1.6s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }

/* ------------------------------------------------------------ Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; min-width: 0; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: 19px; font-weight: 800; white-space: nowrap; }
.brand-text small { font-size: 10.5px; color: var(--text-2); letter-spacing: .6px; direction: ltr; text-align: right; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: .15s; }
.main-nav a:hover { color: var(--navy); background: var(--surface-2); }
.main-nav a.active { color: var(--brand); background: var(--brand-soft); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.header-actions .btn { padding: 9px 16px; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .main-nav a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions .btn-reg { display: none; }
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
  .mobile-menu .mm-backdrop { position: absolute; inset: 0; background: rgba(15, 29, 58, .5); opacity: 0; transition: .2s; }
  .mobile-menu .mm-panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(330px, 86vw); background: #fff; transform: translateX(100%); transition: .25s ease; display: flex; flex-direction: column; padding: 18px; gap: 6px; overflow-y: auto; }
  .mobile-menu.open { visibility: visible; pointer-events: auto; }
  .mobile-menu.open .mm-backdrop { opacity: 1; }
  .mobile-menu.open .mm-panel { transform: none; }
  .mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
  .mm-panel nav a { display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-radius: 12px; color: var(--text); font-weight: 700; text-decoration: none; }
  .mm-panel nav a.active { background: var(--brand-soft); color: var(--brand); }
  .mm-panel nav a:hover { background: var(--surface-2); }
  .mm-actions { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
}
@media (max-width: 420px) {
  .site-header .container { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text b { font-size: 16px; }
  .brand-text small { display: none; }
  .header-actions .btn-login span { display: none; }
  .header-actions .btn-login { width: 40px; height: 40px; padding: 0; }
}

/* ------------------------------------------------------------ Sections */
.section { padding: 76px 0; }
.section-sm { padding: 48px 0; }
.section-white { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head > div { min-width: 0; max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 5px 13px; border-radius: 999px; margin-bottom: 12px; }
.eyebrow [data-lucide], .eyebrow svg { width: 15px; height: 15px; }
.section-head h2, .h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.section-head p { color: var(--text-2); margin: 0; font-size: 16px; }
.center { text-align: center; }
.section-head.center { flex-direction: column; align-items: center; }

.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); } .section { padding: 54px 0; } }

.card { border-radius: var(--radius); border-color: var(--border); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }

/* ------------------------------------------------------------ Hero (home) */
.hero { position: relative; color: #fff; background: var(--navy) var(--hero-img, none) center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24, 38, 74, .55) 0%, rgba(34, 53, 94, .9) 55%, rgba(24, 38, 74, .97) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, #0d6efd, #0dcaf0, #20c997); }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 46px; align-items: center; padding-block: 84px 92px; }
.hero-tag { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; line-height: 1.22; margin-bottom: 18px; }
.hero h1 .hl { background: linear-gradient(90deg, #6ea8fe, #0dcaf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 17.5px; color: #cfdaee; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust div b { display: block; font-size: 26px; font-weight: 800; }
.hero-trust div small { color: #aebcd8; font-size: 13px; }

.live-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.live-card .lc-cover { height: 150px; background: var(--navy) center / cover no-repeat; position: relative; }
.live-card .lc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 38, 74, .1), rgba(24, 38, 74, .75)); }
.lc-live { position: absolute; top: 14px; right: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; background: #dc3545; color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.lc-live .live-dot { background: #fff; }
.lc-cover h3 { position: absolute; z-index: 1; bottom: 12px; right: 18px; left: 18px; color: #fff; font-size: 21px; font-weight: 800; margin: 0; }
.lc-body { padding: 18px 20px 20px; }
.lc-meta { display: grid; gap: 7px; font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.lc-meta span { display: flex; align-items: center; gap: 8px; }
.lc-meta svg, .lc-meta [data-lucide] { color: var(--brand); width: 16px; height: 16px; }
.lc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.lc-stats div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 9px 8px; text-align: center; }
.lc-stats b { display: block; font-size: 18px; font-weight: 800; color: var(--ink); }
.lc-stats small { font-size: 11.5px; color: var(--text-2); }
.lc-actions { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); padding-block: 56px 64px; gap: 34px; }
}
@media (max-width: 480px) {
  .hero-trust { gap: 18px; }
  .hero-trust div b { font-size: 21px; }
  .lc-actions { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ Page hero (inner pages) */
.page-hero { background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, none) center / cover no-repeat; opacity: .16; }
.page-hero .container { position: relative; padding-block: 54px 58px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #cfdaee; font-size: 16.5px; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #aebcd8; margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: #dbe5f7; }

/* ------------------------------------------------------------ Event cards */
.ev-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; }
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ev-cover { height: 170px; background: var(--ev, var(--navy)) center / cover no-repeat; position: relative; }
.ev-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 29, 58, 0) 35%, rgba(15, 29, 58, .65)); }
.ev-cover .ev-pill { position: absolute; z-index: 1; top: 12px; right: 12px; }
.ev-cover .ev-date { position: absolute; z-index: 1; bottom: 12px; left: 12px; background: #fff; color: var(--ink); border-radius: 12px; padding: 6px 10px; text-align: center; line-height: 1.1; min-width: 56px; box-shadow: var(--shadow); }
.ev-date b { display: block; font-size: 20px; font-weight: 800; }
.ev-date small { font-size: 11.5px; color: var(--text-2); font-weight: 700; }
.ev-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ev-cat { font-size: 12.5px; font-weight: 800; color: var(--ev, var(--brand)); display: flex; align-items: center; gap: 6px; }
.ev-cat::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--ev, var(--brand)); }
.ev-body h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0; }
.ev-body p { color: var(--text-2); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-info { display: grid; gap: 5px; font-size: 13.5px; color: var(--text-2); }
.ev-info span { display: flex; gap: 7px; align-items: center; min-width: 0; }
.ev-info svg, .ev-info [data-lucide] { width: 15px; height: 15px; color: var(--muted); }
.ev-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ev-foot small { color: var(--text-2); font-size: 12.5px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.pill [data-lucide], .pill svg { width: 13px; height: 13px; }
.pill-live { background: #dc3545; color: #fff; }
.pill-live .live-dot { width: 7px; height: 7px; background: #fff; }
.pill-open { background: #198754; color: #fff; }
.pill-soon { background: #0dcaf0; color: #06364a; }
.pill-closed { background: #495057; color: #fff; }
.pill-soft { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.pill-success { background: var(--success-soft); color: var(--success); }
.pill-warning { background: var(--warning-soft); color: var(--warning); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-info { background: var(--brand-soft); color: var(--brand-700); }

.teaser-card { border: 1px dashed #c8d1e0; background: linear-gradient(160deg, #fff, #f3f6fb); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.teaser-card .t-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.teaser-card h3 { font-size: 17px; margin: 0; color: var(--ink); }
.teaser-card p { font-size: 14px; color: var(--text-2); margin: 0; }
.teaser-card .btn { margin-top: auto; align-self: flex-start; }

/* past event */
.past { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.past-img { min-height: 260px; background: #495057 center / cover no-repeat; position: relative; }
.past-img .pill { position: absolute; top: 14px; right: 14px; }
.past-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.past-body h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0; }
.past-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.past-nums div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 8px; text-align: center; }
.past-nums b { display: block; font-size: 21px; font-weight: 800; color: var(--navy); }
.past-nums small { font-size: 12px; color: var(--text-2); }
@media (max-width: 860px) { .past { grid-template-columns: minmax(0, 1fr); } .past-img { min-height: 190px; } }
@media (max-width: 520px) { .past-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .past-body { padding: 20px; } }

/* features */
.feat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: .2s; }
.feat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feat .f-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.feat .f-ico svg, .feat .f-ico [data-lucide] { width: 24px; height: 24px; }
.feat h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--text-2); margin: 0; }

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.why-img { border-radius: var(--radius-lg); min-height: 400px; background: var(--navy) center / cover no-repeat; position: relative; box-shadow: var(--shadow-lg); }
.why-float { position: absolute; bottom: -22px; left: 22px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 44px); }
.why-float .wf-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--success-soft); color: var(--success); display: grid; place-items: center; flex-shrink: 0; }
.why-float b { display: block; font-size: 18px; color: var(--ink); }
.why-float small { color: var(--text-2); font-size: 12.5px; }
.why-list { display: grid; gap: 16px; margin: 22px 0 26px; }
.why-list div { display: flex; gap: 14px; align-items: flex-start; }
.why-list .wl-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.why-list b { display: block; color: var(--ink); font-size: 16px; }
.why-list p { margin: 2px 0 0; color: var(--text-2); font-size: 14px; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } .why-img { min-height: 260px; } }

/* stats band */
.stats-band { background: var(--grad-navy); color: #fff; border-radius: var(--radius-lg); padding: 38px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; left: -120px; top: -160px; background: radial-gradient(circle, rgba(13, 110, 253, .45), transparent 70%); }
.stats-band > div { position: relative; z-index: 1; text-align: center; }
.stats-band b { display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.stats-band small { color: #b9c7e2; font-size: 14px; }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px 18px; } }

/* partners */
.partners { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.partner { background: #fff; border: 1px solid var(--border); border-radius: 14px; height: 84px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px; color: #6b7487; font-weight: 800; font-size: 14px; text-align: center; filter: grayscale(1); opacity: .85; transition: .2s; }
.partner:hover { filter: none; opacity: 1; color: var(--ink); }
.partner .p-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.partner .p-ico svg, .partner .p-ico [data-lucide] { width: 18px; height: 18px; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner { font-size: 12.5px; } }

/* CTA */
.cta { background: var(--grad-blue); color: #fff; border-radius: var(--radius-lg); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -140px; bottom: -260px; background: rgba(255, 255, 255, .08); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; margin-bottom: 6px; }
.cta p { margin: 0; color: #dce9ff; max-width: 560px; }
.cta .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta { padding: 28px 20px; } }

/* ------------------------------------------------------------ Filters (events) */
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: -34px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border); background: #fff; color: var(--text-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { background: rgba(0, 0, 0, .08); border-radius: 999px; padding: 0 7px; font-size: 11.5px; }
.chip.active .n { background: rgba(255, 255, 255, .2); }
.filters .sel { min-width: 0; flex: 0 1 180px; }
.filters .search { flex: 1 1 220px; min-width: 0; position: relative; }
.filters .search svg, .filters .search [data-lucide] { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
.filters .search .input { padding-right: 38px; }
.result-line { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 16px; color: var(--text-2); font-size: 14px; gap: 10px; flex-wrap: wrap; }
.empty { text-align: center; padding: 50px 20px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-2); }
.empty .e-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin: 0 auto 12px; }
.empty h3 { color: var(--ink); font-size: 18px; }
@media (max-width: 640px) { .filters .sel { flex: 1 1 calc(50% - 6px); } }

/* ------------------------------------------------------------ Forms */
.field[hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.field > label, .field .lbl { font-size: 14px; font-weight: 700; color: var(--ink); }
.field .req { color: var(--danger); margin-inline-start: 3px; }
.input, .select, .textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--text); background: #fff;
  border: 1.5px solid #d9dee8; border-radius: 12px; padding: 11px 14px; transition: .15s; outline: none;
}
.textarea { min-height: 100px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-left: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6578' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13, 110, 253, .12); }
.input.ltr-in { direction: ltr; text-align: right; }
.field .help { font-size: 12.5px; color: var(--muted); }
.field .err { font-size: 12.5px; color: var(--danger); font-weight: 700; display: none; align-items: center; gap: 5px; }
.field .err svg, .field .err [data-lucide] { width: 14px; height: 14px; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); background: #fffafa; }
.field.invalid .err { display: flex; }
.field.invalid .opt-grid .opt { border-color: #f1b0b7; }
.field.valid .input { border-color: #8fd1ad; }
.field .hint { font-size: 12.5px; border-radius: 10px; padding: 8px 11px; display: flex; gap: 8px; align-items: flex-start; }
.field .hint.warn { background: var(--warning-soft); color: #8a5a0a; }
.field .hint.ok { background: var(--success-soft); color: var(--success); }
.field .hint a { font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid > * { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* option cards (radio / checkbox) — inputs visually hidden but contained */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 9px; border: 1.5px solid #d9dee8; border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); background: #fff; transition: .15s; min-width: 0; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; top: 0; right: 0; }
.opt .mk { width: 18px; height: 18px; border: 2px solid #b9c1cf; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; transition: .15s; }
.opt.cb .mk { border-radius: 6px; }
.opt input:checked + .mk { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.opt.cb input:checked + .mk { box-shadow: none; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt input:focus-visible + .mk { box-shadow: 0 0 0 4px rgba(13, 110, 253, .2); }
.opt span.t { min-width: 0; overflow-wrap: anywhere; }

/* visitor type cards */
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.type-card { position: relative; border: 1.5px solid #d9dee8; border-radius: 14px; padding: 14px 12px; cursor: pointer; background: #fff; display: flex; flex-direction: column; gap: 6px; transition: .15s; min-width: 0; }
.type-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; top: 0; right: 0; }
.type-card .tc-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--ts); color: var(--tc); }
.type-card b { font-size: 15px; color: var(--ink); }
.type-card small { font-size: 12px; color: var(--text-2); line-height: 1.45; }
.type-card .tc-flag { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; align-self: flex-start; }
.type-card .tc-flag.auto { background: var(--success-soft); color: var(--success); }
.type-card .tc-flag.manual { background: var(--warning-soft); color: var(--warning); }
.type-card:has(input:checked) { border-color: var(--tc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 18%, transparent); }
.type-card:has(input:checked)::after { content: ""; position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--tc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 900px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* file drop */
.drop { position: relative; border: 2px dashed #c8d1e0; border-radius: 14px; padding: 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; background: var(--surface-2); transition: .15s; min-width: 0; }
.drop:hover { border-color: var(--brand); background: var(--brand-soft); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; top: 0; right: 0; margin: 0; pointer-events: none; }
.drop .d-ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--brand); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.drop b { display: block; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.drop small { color: var(--text-2); font-size: 12.5px; }
.drop.has-file { border-style: solid; border-color: #8fd1ad; background: var(--success-soft); }
.drop.has-file .d-ico { color: var(--success); }
.field.invalid .drop { border-color: var(--danger); }

/* stepper */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #d9dee8; border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 42px; height: 44px; border: 0; background: var(--surface-2); cursor: pointer; color: var(--text); display: grid; place-items: center; font: inherit; }
.stepper button:hover { color: var(--brand); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper input { width: 56px; border: 0; text-align: center; font: inherit; font-weight: 800; font-size: 16px; outline: none; background: #fff; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* consent */
.consent { position: relative; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--text); background: var(--surface-2); border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; top: 0; right: 0; margin: 0; pointer-events: none; }
.consent .mk { width: 20px; height: 20px; border: 2px solid #b9c1cf; border-radius: 6px; flex-shrink: 0; margin-top: 2px; }
.consent input:checked + .mk { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.consent:has(input:checked) { border-color: #a9c8fb; background: var(--brand-soft); }
.field.invalid .consent { border-color: var(--danger); }

/* ------------------------------------------------------------ Register page */
.reg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.reg-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.form-card .fc-head { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-card .fc-head h2 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 0; }
.form-card .fc-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--text-2); }
.fc-section { padding: 22px 26px; border-bottom: 1px solid var(--border); }
.fc-section:last-of-type { border-bottom: 0; }
.fc-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.fc-title .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.fc-foot { padding: 20px 26px; background: var(--surface-2); border-top: 1px solid var(--border); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.fc-foot small { color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.note { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.note svg, .note [data-lucide] { width: 18px; height: 18px; margin-top: 2px; }
.note-info { background: var(--brand-soft); color: #0b4aa8; }
.note-warn { background: var(--warning-soft); color: #7a4f08; }
.note-ok { background: var(--success-soft); color: #0f5c39; }
.note-danger { background: var(--danger-soft); color: #9d1c2a; }
.alert-box { border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; margin: 0 26px 0; }
.alert-box .ab-i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.alert-box h4 { margin: 0 0 4px; font-size: 16px; }
.alert-box p { margin: 0 0 10px; font-size: 14px; }
.alert-box .row { display: flex; gap: 8px; flex-wrap: wrap; }
.alert-box.warn { background: var(--warning-soft); border: 1px solid #f5d98b; color: #6b4507; }
.alert-box.warn .ab-i { background: #fff; color: var(--warning); }
.alert-box.danger { background: var(--danger-soft); border: 1px solid #f3b9c0; color: #8a1622; }
.alert-box.danger .ab-i { background: #fff; color: var(--danger); }
.alert-box.info { background: var(--brand-soft); border: 1px solid #b6d2fe; color: #0b3f8f; }
.alert-box.info .ab-i { background: #fff; color: var(--brand); }
.alert-wrap:not(:empty) { padding-top: 20px; }

.sum-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.sum-cover { height: 110px; background: var(--ev, var(--navy)) center / cover; position: relative; }
.sum-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 29, 58, .15), rgba(15, 29, 58, .7)); }
.sum-cover .pill { position: absolute; z-index: 1; top: 12px; right: 12px; }
.sum-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.sum-body h3 { font-size: 17px; font-weight: 800; margin: 0; color: var(--ink); }
.sum-list { display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.sum-list span { display: flex; gap: 8px; align-items: flex-start; }
.sum-list svg, .sum-list [data-lucide] { width: 16px; height: 16px; color: var(--brand); margin-top: 3px; }
.steps-mini { display: grid; gap: 12px; }
.steps-mini div { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); }
.steps-mini i.s { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-style: normal; font-weight: 800; flex-shrink: 0; font-size: 13px; }
.steps-mini b { color: var(--ink); display: block; font-size: 14px; }
.powered { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.powered .pw-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.powered b { color: var(--ink); }
@media (max-width: 1000px) { .reg-layout { grid-template-columns: minmax(0, 1fr); } .reg-side { position: static; order: -1; } .reg-side .hide-mob { display: none; } }
@media (max-width: 560px) { .fc-section, .form-card .fc-head, .fc-foot { padding-inline: 16px; } .alert-box { margin-inline: 16px; } .fc-foot .btn { width: 100%; } }

/* success */
.success-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.success-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); text-align: center; min-width: 0; }
.success-mark { width: 74px; height: 74px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 16px; animation: pop .5s cubic-bezier(.2, 1.5, .4, 1); }
.success-mark.pending { background: var(--warning-soft); color: var(--warning); }
.success-mark svg, .success-mark [data-lucide] { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.success-card h2 { font-size: 26px; font-weight: 800; color: var(--ink); }
.reg-no { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; background: var(--surface-2); border: 1px dashed #c8d1e0; border-radius: 14px; padding: 10px 22px; margin: 6px 0 18px; }
.reg-no small { font-size: 12px; color: var(--text-2); }
.reg-no b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: 1px; direction: ltr; color: var(--navy); }
.big-qr { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); margin-bottom: 8px; }
.big-qr .qr { width: 220px; height: 220px; padding: 0; border-radius: 0; }
.qr-cap { font-size: 13px; color: var(--text-2); margin-bottom: 18px; }
.succ-actions { display: grid; gap: 10px; }
.succ-actions .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.badge-stage { background: repeating-conic-gradient(#eef0f3 0% 25%, #f7f8fa 0% 50%) 0 0 / 22px 22px; border-radius: var(--radius-lg); padding: 28px; display: grid; place-items: center; border: 1px solid var(--border); }
.badge-stage .atx-badge { width: 300px !important; max-width: 100%; }
.badge-caption { text-align: center; font-size: 13px; color: var(--text-2); margin-top: 12px; }
.timeline { text-align: right; display: grid; gap: 0; margin: 18px 0 22px; }
.timeline div { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.timeline div:last-child { padding-bottom: 0; }
.timeline div::before { content: ""; position: absolute; right: 15px; top: 32px; bottom: 0; width: 2px; background: var(--border); }
.timeline div:last-child::before { display: none; }
.timeline .t-i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--border); color: var(--muted); flex-shrink: 0; position: relative; z-index: 1; }
.timeline .t-i svg, .timeline .t-i [data-lucide] { width: 15px; height: 15px; }
.timeline .done .t-i { background: var(--success); border-color: var(--success); color: #fff; }
.timeline .now .t-i { background: var(--warning); border-color: var(--warning); color: #fff; }
.timeline b { display: block; color: var(--ink); font-size: 14.5px; }
.timeline small { color: var(--text-2); font-size: 13px; }
@media (max-width: 900px) { .success-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .success-card { padding: 22px 16px; } .big-qr .qr { width: 180px; height: 180px; } .succ-actions .row { grid-template-columns: minmax(0, 1fr); } .badge-stage { padding: 16px; } }

/* ------------------------------------------------------------ Event page (echo AtEventX public page) */
.ev-hero { background: var(--ev-navy, var(--navy)); border-radius: 0 0 26px 26px; height: 300px; position: relative; overflow: hidden; }
.ev-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, none) center / cover no-repeat; opacity: .28; }
.ev-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 53, 94, .35), rgba(34, 53, 94, .92)); }
.ev-hero .container { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-block: 22px 70px; }
.ev-hero .crumbs { color: #c4d0e8; margin: 0; }
.ev-hero .ev-hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-headline { display: flex; align-items: flex-end; gap: 18px; margin-top: -58px; position: relative; z-index: 2; }
.ev-icon { width: 108px; height: 108px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ev, var(--brand)); flex-shrink: 0; border: 4px solid #fff; }
.ev-icon svg, .ev-icon [data-lucide] { width: 50px; height: 50px; }
.ev-headline .t { padding-bottom: 6px; min-width: 0; }
.ev-headline h1 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.ev-headline .sub { font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.ev-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; margin-top: 26px; }
.ev-main > * { min-width: 0; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.info-card .desc { font-size: 16px; color: var(--text); margin-bottom: 16px; }
.info-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; font-size: 14.5px; }
.info-rows > div { display: flex; gap: 9px; align-items: flex-start; min-width: 0; }
.info-rows svg, .info-rows [data-lucide] { color: var(--brand); width: 18px; height: 18px; margin-top: 3px; }
.info-rows b { color: var(--ink); }
.info-rows .full { grid-column: 1 / -1; }
.map-ph { margin-top: 18px; height: 210px; border-radius: 14px; overflow: hidden; position: relative; background: #e9eef5; border: 1px solid var(--border); }
.map-ph svg.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ph .map-pin { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -100%); color: #dc3545; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.map-ph .map-pin svg, .map-ph .map-pin [data-lucide] { width: 40px; height: 40px; fill: #dc3545; color: #fff; }
.map-ph .map-label { position: absolute; bottom: 12px; right: 12px; left: 12px; background: #fff; border-radius: 12px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: var(--shadow); font-size: 13px; flex-wrap: wrap; }
.map-ph .map-label b { color: var(--ink); }
.reg-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); text-align: center; display: grid; gap: 12px; }
.reg-card .rs { display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: 15px; }
.reg-card .rs svg, .reg-card .rs [data-lucide] { width: 18px; height: 18px; }
.reg-card .rs.open { color: var(--success); }
.reg-card .rs.closed { color: var(--danger); }
.reg-card .rs.soon { color: var(--info); }
.reg-card .rs.full { color: var(--warning); }
.reg-card .deadline { font-size: 13px; color: var(--text-2); }
.reg-card .btn-lg { border-radius: 10px; font-size: 17px; }
.counter { background: var(--grad-navy); color: #fff; border-radius: var(--radius); padding: 18px; display: flex; align-items: center; gap: 14px; }
.counter .c-ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex-shrink: 0; }
.counter b { font-size: 24px; font-weight: 800; display: block; line-height: 1.2; }
.counter small { color: #b9c7e2; font-size: 13px; }
.counter .bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); margin-top: 8px; overflow: hidden; }
.counter .bar i { display: block; height: 100%; background: linear-gradient(90deg, #0dcaf0, #20c997); border-radius: 6px; }
.side-stack { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.mini-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini-facts div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.mini-facts b { display: block; font-size: 19px; color: var(--ink); font-weight: 800; }
.mini-facts small { font-size: 12px; color: var(--text-2); }
.share-row { display: flex; gap: 8px; justify-content: center; }
@media (max-width: 960px) { .ev-main { grid-template-columns: minmax(0, 1fr); } .side-stack { position: static; } }
@media (max-width: 640px) {
  .ev-hero { height: 220px; border-radius: 0 0 18px 18px; }
  .ev-headline { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: -48px; }
  .ev-icon { width: 84px; height: 84px; border-radius: 18px; }
  .ev-icon svg, .ev-icon [data-lucide] { width: 38px; height: 38px; }
  .info-rows { grid-template-columns: minmax(0, 1fr); }
}

.ev-section { margin-top: 34px; }
.ev-section > h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ev-section > h2 svg, .ev-section > h2 [data-lucide] { color: var(--ev, var(--brand)); width: 22px; height: 22px; }
.ev-section > h2 small { font-size: 13px; color: var(--text-2); font-weight: 600; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
.day-tab { flex-shrink: 0; border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 8px 14px; cursor: pointer; font: inherit; text-align: center; line-height: 1.3; color: var(--text-2); }
.day-tab b { display: block; font-size: 14px; color: var(--ink); }
.day-tab small { font-size: 12px; }
.day-tab.active { background: var(--navy); border-color: var(--navy); color: #c8d4ec; }
.day-tab.active b { color: #fff; }
.agenda { display: grid; gap: 10px; }
.ag-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.ag-time { font-weight: 800; color: var(--navy); font-size: 14px; direction: ltr; text-align: right; }
.ag-time small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.ag-item h4 { font-size: 15.5px; margin: 0 0 3px; color: var(--ink); }
.ag-item p { margin: 0; font-size: 13px; color: var(--text-2); }
.ag-item.now { border-color: #f3b9c0; box-shadow: inset 4px 0 0 #dc3545; }
@media (max-width: 600px) { .ag-item { grid-template-columns: minmax(0, 1fr); gap: 6px; } .ag-time { text-align: right; direction: rtl; } }

.ws-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 9px; border-top: 4px solid var(--wc, var(--brand)); }
.ws-card h4 { font-size: 15.5px; margin: 0; color: var(--ink); line-height: 1.45; }
.ws-card .ws-meta { font-size: 12.5px; color: var(--text-2); display: grid; gap: 4px; }
.ws-card .ws-meta span { display: flex; gap: 6px; align-items: center; }
.ws-card .ws-meta svg, .ws-card .ws-meta [data-lucide] { width: 14px; height: 14px; color: var(--muted); }
.seats { height: 7px; background: var(--surface-2); border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.seats i { display: block; height: 100%; background: var(--wc, var(--brand)); border-radius: 6px; }
.ws-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.ws-foot small { font-size: 12.5px; font-weight: 700; }

.exh-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.exh { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; transition: .15s; font: inherit; color: inherit; min-width: 0; }
.exh:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.exh .logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; background: var(--xc); }
.exh b { font-size: 12.5px; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.exh small { font-size: 11.5px; color: var(--text-2); }
@media (max-width: 1100px) { .exh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .exh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.vt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vt { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; border-inline-start: 4px solid var(--tc); }
.vt .vt-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--ts); color: var(--tc); display: grid; place-items: center; flex-shrink: 0; }
.vt b { color: var(--ink); font-size: 15px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.vt p { margin: 3px 0 0; font-size: 12.5px; color: var(--text-2); }
@media (max-width: 900px) { .vt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vt-grid { grid-template-columns: minmax(0, 1fr); } }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq summary { padding: 15px 18px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text-2); font-size: 14.5px; }

.not-found { max-width: 560px; margin: 60px auto; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 26px; }
.not-found .e-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin: 0 auto 14px; }
.not-found .e-ico svg, .not-found .e-ico [data-lucide] { width: 30px; height: 30px; }

/* ------------------------------------------------------------ Exhibit page */
.pkg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: .2s; }
.pkg:hover { box-shadow: var(--shadow); }
.pkg.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.pkg .ribbon { position: absolute; top: -13px; right: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 12px; }
.pkg .pk-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--pc-soft); color: var(--pc); }
.pkg h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0; }
.pkg .size { color: var(--text-2); font-size: 14px; }
.pkg .price { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.pkg .price small { font-size: 14px; color: var(--text-2); font-weight: 600; }
.pkg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text); }
.pkg li { display: flex; gap: 8px; align-items: flex-start; }
.pkg li svg, .pkg li [data-lucide] { width: 17px; height: 17px; color: var(--success); margin-top: 3px; }
.pkg .btn { margin-top: auto; }

.hall { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.hall-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hall-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.floor { background: #f1f4f9; border: 1px dashed #c8d1e0; border-radius: 16px; padding: 16px; overflow-x: auto; }
.floor-grid { display: grid; grid-template-columns: repeat(10, minmax(46px, 1fr)); gap: 7px; min-width: 520px; }
.booth { height: 50px; border-radius: 9px; border: 1.5px solid transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; display: grid; place-items: center; transition: .12s; padding: 0; }
.booth.av { background: #fff; border-color: #9ec5fe; color: var(--brand-700); }
.booth.av:hover { background: var(--brand-soft); transform: translateY(-1px); }
.booth.bk { background: #ced4da; color: #6c757d; cursor: not-allowed; }
.booth.rs { background: #ffe8b3; color: #8a5a0a; cursor: not-allowed; }
.booth.sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.booth.big { grid-column: span 2; }
.floor-aisle { grid-column: 1 / -1; height: 22px; border-radius: 6px; background: repeating-linear-gradient(90deg, #dfe5ee 0 14px, transparent 14px 24px); display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.floor-stage { grid-column: 1 / -1; height: 40px; border-radius: 10px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.sel-box { margin-top: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); color: #0b3f8f; font-size: 14px; }

/* ------------------------------------------------------------ Contact */
.ct-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.ct-card .ct-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.ct-card b { display: block; color: var(--ink); font-size: 15px; }
.ct-card span, .ct-card a { font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.ct-card a:hover { color: var(--brand); }
.ct-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .ct-layout { grid-template-columns: minmax(0, 1fr); } }
.hours { display: grid; gap: 8px; font-size: 14px; }
.hours div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
.hours div:last-child { border: 0; padding: 0; }

/* WhatsApp demo */
.wa-fab { position: fixed; bottom: 22px; left: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 10px 26px rgba(31, 168, 85, .4); }
.wa-fab svg, .wa-fab [data-lucide] { width: 28px; height: 28px; }
.wa-panel { position: fixed; bottom: 92px; left: 22px; z-index: 71; width: min(350px, calc(100vw - 32px)); background: #efe7dd; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; flex-direction: column; }
.wa-panel.open { display: flex; animation: pop .25s ease; }
.wa-head { background: #075e54; color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.wa-head .wa-av { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; padding: 4px; }
.wa-head b { display: block; font-size: 14.5px; }
.wa-head small { font-size: 11.5px; opacity: .8; }
.wa-head button { margin-inline-start: auto; background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
.wa-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; height: 280px; overflow-y: auto; }
.wa-msg { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 13.5px; line-height: 1.6; background: #fff; align-self: flex-start; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-msg.me { background: #d9fdd3; align-self: flex-end; }
.wa-msg small { display: block; font-size: 10.5px; color: #7a8a86; text-align: left; margin-top: 2px; }
.wa-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.wa-quick button { border: 1px solid #b7d8c7; background: #fff; color: #075e54; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12.5px; cursor: pointer; }
.wa-input { display: flex; gap: 8px; padding: 10px; background: #f0f0f0; }
.wa-input input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; outline: none; }
.wa-input button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #1fa855; color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
@media (max-width: 480px) { .wa-fab { bottom: 16px; left: 16px; } .wa-panel { left: 16px; bottom: 84px; } }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--navy-2); color: #b9c7e2; margin-top: 76px; }
.site-footer .f-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 34px; padding-block: 54px 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text small { color: #8ea0c4; }
.site-footer p { font-size: 14px; margin: 14px 0; color: #a8b6d2; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.site-footer a { color: #b9c7e2; }
.site-footer a:hover { color: #fff; }
.site-footer li { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.site-footer li svg, .site-footer li [data-lucide] { width: 16px; height: 16px; margin-top: 4px; color: #6ea8fe; }
.f-social { display: flex; gap: 8px; }
.f-social button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #dbe5f7; display: grid; place-items: center; cursor: pointer; }
.f-social button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.f-social svg, .f-social [data-lucide] { width: 16px; height: 16px; }
.f-ev { font-size: 13.5px; }
.f-ev small { display: block; color: #8ea0c4; font-size: 12px; }
.f-powered { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.f-powered b { color: #fff; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.f-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; font-size: 13px; flex-wrap: wrap; }
.by-almgrat { display: inline-flex; align-items: center; gap: 7px; color: #b9c7e2; font-size: 12.5px; }
.by-almgrat img { height: 20px; width: auto; display: inline-block; border-radius: 4px; background: #fff; padding: 2px; }
@media (max-width: 900px) { .site-footer .f-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .f-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .f-top { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* ------------------------------------------------------------ Modal (site) */
.s-modal { position: fixed; inset: 0; z-index: 120; background: rgba(15, 29, 58, .55); display: grid; place-items: center; padding: 16px; opacity: 0; transition: .18s; }
.s-modal.show { opacity: 1; }
.s-modal .sm-box { background: #fff; border-radius: 20px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow-lg); transform: translateY(10px); transition: .2s; }
.s-modal.show .sm-box { transform: none; }
.sm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.sm-head h3 { margin: 0; font-size: 18px; color: var(--ink); }
.sm-body { padding: 20px 22px; font-size: 14.5px; color: var(--text); }
.sm-body ol, .sm-body ul { padding-inline-start: 20px; margin: 0; display: grid; gap: 8px; }
.sm-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ------------------------------------------------------------ Engine UI bits used by CP.toast / CP.qr / CP.badge (copied from AtEventX app.css) */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; width: max-content; max-width: calc(100vw - 32px); }
.toast { min-width: 280px; max-width: 420px; background: #1c2536; color: #fff; border-radius: 14px; padding: 13px 15px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); font-size: 14px; animation: toastIn .25s ease; }
.toast .t-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(25, 135, 84, .25); color: #75b798; flex-shrink: 0; }
.toast.error .t-icon { background: rgba(220, 53, 69, .25); color: #ea868f; }
.toast.info .t-icon { background: rgba(13, 202, 240, .2); color: #6edff6; }
.toast.warning .t-icon { background: rgba(255, 193, 7, .2); color: #ffda6a; }
.toast.hide { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }
@media (max-width: 480px) { .toast { min-width: 0; max-width: none; width: calc(100vw - 32px); } }

.qr { width: 132px; height: 132px; background: #fff; padding: 8px; border-radius: 10px; display: grid; grid-template-columns: repeat(25, 1fr); grid-template-rows: repeat(25, 1fr); gap: 0; flex-shrink: 0; }
.qr i { display: block; }
.qr i.on { background: #111; }

.atx-badge { --navy: #22355e; container-type: inline-size; position: relative; background: #fff; color: #111; overflow: hidden; border-radius: 2.4cqw; box-shadow: 0 10px 30px rgba(33, 37, 41, .14), 0 0 0 1px rgba(0, 0, 0, .06); display: flex; flex-direction: column; font-family: var(--font); max-width: 100%; }
.atx-badge .ab-head { background: var(--navy); color: #fff; padding: 5cqw 6cqw 4.5cqw; text-align: center; position: relative; }
.atx-badge .ab-head::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 1.6cqw; background: linear-gradient(90deg, #0d6efd, #0dcaf0, #20c997); }
.atx-badge .ab-tag { display: inline-flex; align-items: center; gap: 1.6cqw; font-weight: 800; font-size: 4cqw; letter-spacing: .4cqw; direction: ltr; color: #9ec5fe; }
.atx-badge .ab-tag svg { width: 4.6cqw; height: 4.6cqw; }
.atx-badge .ab-event { font-weight: 800; font-size: 6.2cqw; line-height: 1.3; margin-top: 1.4cqw; }
.atx-badge .ab-meta { font-size: 3cqw; opacity: .78; margin-top: .8cqw; line-height: 1.4; }
.atx-badge .ab-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; gap: 3cqw; padding: 5cqw 6cqw 4cqw; text-align: center; min-height: 0; }
.atx-badge .ab-name { font-weight: 800; font-size: calc(var(--fs) * .46cqw); line-height: 1.25; color: #0f1729; }
.atx-badge .ab-job { font-size: calc(var(--fs) * .21cqw); color: #555c63; margin-top: 1.2cqw; line-height: 1.45; }
.atx-badge .ab-code { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.atx-badge .ab-qr { width: calc(var(--qs) * 1cqw); height: calc(var(--qs) * 1cqw); padding: 1.6cqw; border-radius: 1.4cqw; border: .35cqw solid #e3e6ea; }
.atx-badge .ab-reg { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 3.4cqw; font-weight: 700; letter-spacing: .3cqw; direction: ltr; color: #343a40; }
.atx-badge .ab-strip { background: var(--tc); color: #fff; text-align: center; font-weight: 800; font-size: 5.2cqw; padding: 3.2cqw 2cqw; letter-spacing: .3cqw; }
.atx-badge.q-start .ab-code { align-self: flex-start; }
.atx-badge.q-end .ab-code { align-self: flex-end; }
.atx-badge.o-land .ab-head { padding: 2.6cqw 4cqw 2.4cqw; display: flex; align-items: center; gap: 2.4cqw; text-align: right; }
.atx-badge.o-land .ab-head::after { height: 1cqw; }
.atx-badge.o-land .ab-tag { font-size: 2.8cqw; flex-shrink: 0; }
.atx-badge.o-land .ab-tag svg { width: 3.4cqw; height: 3.4cqw; }
.atx-badge.o-land .ab-event { font-size: 3.6cqw; margin-top: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atx-badge.o-land .ab-meta { display: none; }
.atx-badge.o-land .ab-main { flex-direction: row; justify-content: space-between; text-align: right; padding: 3cqw 4.4cqw; gap: 4cqw; }
.atx-badge.o-land .ab-id { flex: 1; min-width: 0; }
.atx-badge.o-land .ab-name { font-size: calc(var(--fs) * .44cqw); }
.atx-badge.o-land .ab-job { font-size: calc(var(--fs) * .22cqw); }
.atx-badge.o-land .ab-qr { width: calc(var(--qs) * .78cqw); height: calc(var(--qs) * .78cqw); padding: 1.2cqw; }
.atx-badge.o-land .ab-reg { font-size: 2.4cqw; }
.atx-badge.o-land.q-end .ab-main { flex-direction: row-reverse; }
.atx-badge.o-land .ab-strip { font-size: 3.4cqw; padding: 1.8cqw; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
