/* =====================================================================
   PNX Labs Events - main stylesheet
   Brand: #77B901 primary · #FFFFFF background · #000000 text
          #363636 secondary · #EB521D alerts · #393BD6 links · #FF3A05 highlight
   ===================================================================== */

:root {
    --green: #77B901;
    --green-hover: #86CE05;
    --green-ink: #3D6100;      /* green text on white (AA contrast) */
    --green-soft: #EEF7DC;
    --black: #000000;
    --gray: #363636;
    --gray-2: #5C5C5C;
    --muted: #6E6E6E;
    --line: #E5E7E0;
    --surface: #F6F7F3;
    --white: #FFFFFF;
    --orange: #EB521D;
    --orange-soft: #FFF1EB;
    --blue: #393BD6;
    --blue-soft: #EDEDFC;
    --hot: #FF3A05;

    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.14);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 80px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #2426A8; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: 11px 20px; border-radius: 999px; border: 2px solid transparent;
    font: 700 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--black); }
.btn-primary:hover { background: var(--green-hover); color: var(--black); box-shadow: 0 6px 20px rgba(119,185,1,.35); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gray); color: var(--white); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--black); color: var(--black); }
.btn-danger { background: var(--orange); color: var(--white); }
.btn-danger:hover { background: #C9410F; color: var(--white); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.link-btn { background: none; border: 0; color: var(--blue); font: 600 14px var(--font-body); cursor: pointer; padding: 6px 4px; }
.link-btn:hover { text-decoration: underline; }

.spinner { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.25); border-top-color: var(--black); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- Badges, tags */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 9px; border-radius: 999px;
}
.badge-lang { background: var(--black); color: var(--white); }
.badge-hot { background: var(--hot); color: var(--white); }
.badge-past { background: var(--gray); color: var(--white); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.tag-list li {
    font-size: 12.5px; font-weight: 600; color: var(--green-ink); background: var(--green-soft);
    padding: 4px 10px; border-radius: 999px; cursor: default;
}
.event-card .tag-list li { cursor: pointer; }
.event-card .tag-list li:hover { background: #DDEFBE; }

.eyebrow { font: 700 12px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-light { color: var(--green); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(119,185,1,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(119,185,1,0); } }

/* ---------------------------------------------------------------- Alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); margin: 18px 0; font-size: 15px; border-left: 4px solid; }
.alert i { margin-top: 3px; }
.alert-error { background: var(--orange-soft); border-color: var(--orange); color: #7A2405; }
.alert-success { background: var(--green-soft); border-color: var(--green); color: #2D4800; }
.alert-warning { background: #FFF6E0; border-color: #E9A400; color: #6B4A00; }
.alert-info { background: var(--blue-soft); border-color: var(--blue); color: #1E1F7A; }

/* ---------------------------------------------------------------- Header */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand img { width: 150px; height: auto; }
.brand-tag { font: 700 12px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border: 1.5px solid var(--black); border-radius: 999px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a { color: var(--black); text-decoration: none; font-weight: 600; font-size: 15px; }
.main-nav > a:hover { color: var(--green-ink); }
.lang-switch { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { font: 700 12px/1 var(--font-body); padding: 7px 10px; border-radius: 999px; color: var(--gray-2); text-decoration: none; }
.lang-switch a.active { background: var(--black); color: var(--white); }

/* ---------------------------------------------------------------- Hero */
.hero, .page-hero {
    position: relative; overflow: hidden; color: var(--white); background: var(--black);
}
.hero::before, .page-hero::before {
    /* hexagon grid echoing the PNX logo */
    content: ''; position: absolute; inset: 0; opacity: .14; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%2377B901' stroke-width='1'/%3E%3C/svg%3E");
    mask-image: linear-gradient(110deg, transparent 20%, #000 75%);
    -webkit-mask-image: linear-gradient(110deg, transparent 20%, #000 75%);
}
.hero::after {
    content: ''; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(119,185,1,.35), transparent 65%); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 700; margin-bottom: 20px; }
.hero h1 .hl { color: var(--green); }
.hero-sub { font-size: 19px; color: #CFCFCF; max-width: 560px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 700 30px/1 var(--font-head); color: var(--white); }
.hero-stats span { font-size: 13px; color: #A8A8A8; text-transform: uppercase; letter-spacing: .1em; }

.hero-next {
    background: linear-gradient(160deg, #1B1B1B, #0D0D0D); border: 1px solid #2E2E2E; border-radius: 22px;
    padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-next-label { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.hero-next-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 16px; }
.hero-next h2 { font-size: 22px; color: var(--white); margin-bottom: 10px; }
.hero-next-when { color: #CFCFCF; font-size: 14.5px; line-height: 1.8; }
.hero-next-when i { color: var(--green); width: 18px; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 18px; }
.countdown div { background: #222; border-radius: 12px; padding: 10px; text-align: center; }
.countdown b { display: block; font: 700 26px/1.1 var(--font-head); color: var(--white); }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #9A9A9A; }

/* ---------------------------------------------------------------- Filters */
.filters-bar {
    position: sticky; top: var(--header-h); z-index: 40;
    background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.filters-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
.filter-tags { flex: 1; }
.filter-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.segmented { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.segmented button {
    border: 0; background: transparent; font: 600 14px var(--font-body); color: var(--gray); padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.segmented button[aria-checked="true"] { background: var(--black); color: var(--white); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 2px; }
.chip {
    border: 1.5px solid var(--line); background: var(--white); color: var(--gray); font: 600 13.5px var(--font-body);
    padding: 7px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: all .15s;
}
.chip:hover { border-color: var(--green); color: var(--black); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--black); }
.chip[aria-pressed="true"]::before { content: '✓ '; }

/* ---------------------------------------------------------------- Event grid */
.events-section { padding: 64px 0 24px; }
.events-past { padding-bottom: 80px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; display: flex; align-items: center; gap: 12px; }
.section-head .count { font: 700 14px/1 var(--font-body); background: var(--surface); border: 1px solid var(--line); color: var(--gray); padding: 6px 10px; border-radius: 999px; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }

.event-card {
    display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; display: block; padding: 0; border: 0; cursor: pointer; aspect-ratio: 16/9; background: var(--surface); overflow: hidden; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card:hover .card-media > img { transform: scale(1.04); }
.media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #111 0%, #2a2a2a 100%); }
.media-placeholder img { width: 72px; opacity: .9; }
.card-media .badge { position: absolute; top: 14px; }
.card-media .badge-lang { left: 14px; }
.card-media .badge-hot, .card-media .badge-past { right: 14px; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-when { display: flex; gap: 14px; align-items: center; }
.date-chip { flex: none; width: 54px; height: 58px; border-radius: 12px; background: var(--black); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-chip b { font: 700 22px/1 var(--font-head); }
.date-chip small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--green); margin-top: 3px; }
.card-when time { display: block; font-weight: 700; font-size: 14.5px; }
.card-when .time { display: block; font-size: 13.5px; color: var(--gray-2); }
.local-time { display: block; font-size: 12.5px; color: var(--blue); }
.local-time:empty { display: none; }
.card-title { font-size: 21px; margin: 4px 0 0; }
.card-excerpt { color: var(--gray-2); font-size: 15px; margin: 0; }
.card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.card-actions form { margin: 0; }
.event-card.is-past .card-media > img { filter: grayscale(.85); }
.event-card.is-past .date-chip { background: var(--gray); }
.event-card.is-past .date-chip small { color: #BDBDBD; }

.empty-state { text-align: center; padding: 56px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state i { font-size: 36px; color: var(--green); margin-bottom: 12px; display: block; }
.empty-state p { margin: 0; font-size: 17px; }

/* ---------------------------------------------------------------- Modal */
.event-modal {
    border: 0; padding: 0; border-radius: 22px; width: min(920px, calc(100% - 32px)); max-height: calc(100% - 48px);
    box-shadow: var(--shadow-lg); overflow: auto;
}
.event-modal::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; }
.modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: var(--white); box-shadow: var(--shadow); cursor: pointer; font-size: 18px;
}
.modal-gallery { background: var(--black); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.modal-main-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.modal-thumbs { display: flex; gap: 8px; }
.modal-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 76px; height: 54px; cursor: pointer; background: none; opacity: .65; }
.modal-thumbs button.active, .modal-thumbs button:hover { border-color: var(--green); opacity: 1; }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 30px 30px 26px; }
.modal-body h2 { font-size: 26px; margin: 12px 0 10px; padding-right: 30px; }
.modal-when { color: var(--gray); font-size: 15px; line-height: 1.8; }
.modal-when i { width: 18px; color: var(--green-ink); }
.modal-desc { margin: 16px 0 20px; color: var(--gray); font-size: 15.5px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.modal-actions form { margin: 0; }
.modal-past-note { color: var(--muted); margin: 0; font-size: 14px; }

/* ---------------------------------------------------------------- Partners & footer */
.partners { background: var(--surface); padding: 48px 0; border-top: 1px solid var(--line); }
.partners .eyebrow { display: block; text-align: center; color: var(--gray-2); }
.partner-logos { list-style: none; padding: 0; margin: 12px 0 0; display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; }
.partner-logos img { height: 44px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .25s; mix-blend-mode: multiply; }
.partner-logos img:hover { filter: none; opacity: 1; }

.site-footer { background: var(--black); color: #BDBDBD; padding: 48px 0 24px; font-size: 14.5px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #262626; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 10px; }
.footer-brand p { margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { padding-top: 18px; font-size: 13px; color: #8A8A8A; }

/* ---------------------------------------------------------------- Registration */
.page-hero .container { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 96px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 860px; margin: 0; }
.back-link { display: flex; width: fit-content; gap: 8px; align-items: center; color: #CFCFCF; text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 26px; }
.back-link:hover { color: var(--green); }

.register-layout { display: grid; grid-template-columns: 360px 1fr; gap: 32px; margin-top: -60px; position: relative; z-index: 2; padding-bottom: 80px; align-items: start; }
.event-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.summary-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.summary-body { padding: 20px 22px 22px; }
.summary-facts { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 8px; font-size: 14.5px; color: var(--gray); }
.summary-facts i { width: 20px; color: var(--green-ink); }
.summary-facts .local-time { display: inline; }
.summary-desc { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14.5px; color: var(--gray-2); }
.summary-desc summary { font-weight: 700; color: var(--black); cursor: pointer; margin-bottom: 8px; }
.summary-desc div { max-height: 260px; overflow: auto; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px 34px; }
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); }
.steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--gray); font-size: 12px; }
.steps li.active { color: var(--black); background: var(--green-soft); }
.steps li.active span { background: var(--green); color: var(--black); }
.steps-center { justify-content: center; }

.form-title { font-size: 22px; margin: 6px 0 18px; }
.form-title-sub { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-weight: 700; font-size: 14px; }
.req { color: var(--orange); }
.optional { color: var(--muted); font-weight: 500; }
.hint { color: var(--muted); font-size: 13px; font-weight: 400; display: block; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number],
input[type=datetime-local], input[type=search], select, textarea {
    width: 100%; font: 400 15.5px var(--font-body); color: var(--black); background: var(--white);
    border: 1.5px solid #D6D9D0; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(119,185,1,.2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--orange); }
.field-error { color: #B23A0E; font-size: 13px; margin: 2px 0 0; font-weight: 600; }

.question { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px 16px; margin: 0 0 16px; }
.question.invalid { border-color: var(--orange); background: #FFFAF7; }
.question legend { font-weight: 700; font-size: 15.5px; padding: 0 6px; margin-left: -6px; }
.q-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 12px; margin-right: 6px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.option { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px; transition: all .15s; }
.option:hover { border-color: var(--green); }
.option input { accent-color: var(--green-ink); width: 18px; height: 18px; margin: 0; flex: none; }
.option:has(input:checked) { border-color: var(--green); background: var(--green-soft); font-weight: 600; }

.verify-row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.planet-verification { flex: 1; min-width: 240px; max-width: 420px; }
.planet-verification .field-label i { color: var(--green-ink); }
.planet-verification .hint { font-size: 14.5px; color: var(--gray); margin: 4px 0 8px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 14px; color: var(--gray); cursor: pointer; flex-wrap: wrap; }
.consent input { width: 19px; height: 19px; accent-color: var(--green-ink); margin-top: 2px; flex: none; }
.consent span { flex: 1; min-width: 200px; }
.consent .field-error { flex-basis: 100%; margin-left: 31px; }
.form-actions { margin-top: 28px; display: flex; justify-content: flex-end; }
.form-actions-split { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.review-list { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.review-list dt, .review-list dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.review-list dt { background: var(--surface); font-weight: 700; font-size: 14px; color: var(--gray); }
.review-list dd { font-size: 15px; word-break: break-word; }
.review-list dt:last-of-type, .review-list dd:last-of-type { border-bottom: 0; }

/* ---------------------------------------------------------------- Thank you */
.thanks { background: radial-gradient(1000px 500px at 50% -10%, rgba(119,185,1,.18), transparent 70%), var(--surface); padding: 64px 0 90px; }
.thanks-inner { display: flex; justify-content: center; }
.thanks-card { max-width: 640px; width: 100%; background: var(--white); border-radius: 24px; padding: 44px 40px 36px; text-align: center; box-shadow: var(--shadow-lg); border-top: 5px solid var(--green); }
.thanks-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--green); color: var(--black); font-size: 34px; box-shadow: 0 0 0 12px var(--green-soft); animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.thanks-card h1 { font-size: 32px; margin: 18px 0 8px; }
.thanks-card .lead { font-size: 17px; color: var(--gray); margin-bottom: 8px; }
.summary-facts-inline { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.thanks-card .alert { text-align: left; }
.cal-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 6px 0 4px; }
.redirect-box { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.progress { height: 4px; background: var(--surface); border-radius: 4px; overflow: hidden; margin: 10px auto 20px; max-width: 280px; }
.progress-fill { height: 100%; width: 100%; background: var(--green); transition: width 1s linear; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
    .register-layout { grid-template-columns: 1fr; }
    .event-summary { position: static; }
    .summary-img { display: none; }
    .modal-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    :root { --header-h: 64px; }
    .container { padding: 0 16px; }
    .brand img { width: 120px; }
    .brand-tag { display: none; }
    .main-nav { gap: 14px; }
    .main-nav > a:not(:first-child):not(:nth-child(2)) { display: none; }
    .main-nav > a { font-size: 14px; }
    .filters-bar { position: static; }
    .filters-inner { gap: 14px; }
    .filter-group { width: 100%; }
    .filter-label { display: none; }
    .segmented { width: 100%; }
    .segmented button { flex: 1; }
    .event-grid { grid-template-columns: 1fr; }
    .field-grid { grid-template-columns: 1fr; }
    .form-card { padding: 22px 18px 24px; }
    .review-list { grid-template-columns: 1fr; }
    .review-list dt { border-bottom: 0; padding-bottom: 2px; }
    .thanks-card { padding: 34px 20px 28px; }
    .hero-stats { gap: 22px; }
    .partner-logos { gap: 28px; }
    .partner-logos img { height: 32px; }
}
@media (max-width: 420px) {
    .main-nav > a { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
