:root {
  --ink: #15262f;
  --muted: #61727b;
  --teal: #087f82;
  --teal-dark: #07525e;
  --deep: #082f3d;
  --coral: #e76049;
  --gold: #d5a32e;
  --sky: #287fb1;
  --violet: #6556a8;
  --paper: #ffffff;
  --surface: #f4f7f6;
  --surface-warm: #fbf7ef;
  --line: #d9e3e2;
  --shadow: 0 18px 48px rgba(18, 55, 64, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; letter-spacing: 0; }
a { color: inherit; }
button, input { font: inherit; }
.is-hidden { display: none !important; }
.is-loading { opacity: 0; }

.congress-header { position: sticky; z-index: 50; top: 0; min-height: 70px; display: flex; align-items: center; justify-content: center; padding: 8px clamp(18px, 4vw, 64px); color: #fff; background: rgba(6, 42, 53, .94); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 38px rgba(4, 30, 38, .2); backdrop-filter: blur(16px); }
.congress-header nav { display: flex; width: 100%; max-width: 1180px; align-items: center; justify-content: center; gap: 4px; }
.congress-header nav a { position: relative; padding: 12px 16px; border-radius: 6px; color: #dcebec; font-size: 13px; font-weight: 750; text-decoration: none; transition: color .2s ease, background .2s ease; }
.congress-header nav a::after { position: absolute; right: 16px; bottom: 7px; left: 16px; height: 2px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.congress-header nav a:hover, .congress-header nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.congress-header nav a:hover::after, .congress-header nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #fff; background: rgba(255,255,255,.08); font-size: 25px; cursor: pointer; }

.hero { position: relative; min-height: 660px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--deep); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 29, 38, .9) 0%, rgba(3, 29, 38, .66) 42%, rgba(3, 29, 38, .2) 75%, rgba(3, 29, 38, .12) 100%); }
.hero-shade::after { position: absolute; inset: auto 0 0; height: 180px; content: ""; background: linear-gradient(0deg, rgba(3,29,38,.52), transparent); }
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 96px 0 88px; }
.hero-content > p { display: inline-flex; margin: 0 0 17px; padding: 7px 12px; border-left: 3px solid var(--gold); color: #ffe39a; background: rgba(4, 37, 47, .56); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 0; font-size: 64px; line-height: 1.04; text-wrap: balance; text-shadow: 0 4px 24px rgba(0,0,0,.3); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta span { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; color: #eef7f7; background: rgba(5, 41, 52, .5); font-size: 16px; backdrop-filter: blur(8px); }
.hero-meta span + span::before { margin-right: 9px; color: var(--gold); content: "•"; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.scroll-cue { position: absolute; right: max(26px, calc((100% - 1180px) / 2)); bottom: 34px; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: #fff; text-decoration: none; animation: float 2.2s ease-in-out infinite; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(13, 52, 61, .16); }
.button.primary { color: #fff; background: var(--coral); }
.button.primary:hover { background: #d9513d; }
.button.secondary { border-color: rgba(255,255,255,.58); color: #fff; background: rgba(7, 55, 68, .55); }
.button.light { color: var(--deep); background: #fff; }
.abstract-system-button { padding-left: 10px; }
.abstract-system-button img { width: 46px; height: 32px; padding: 3px 5px; object-fit: contain; border-radius: 4px; background: #fff; }

.countdown-band { position: relative; display: grid; grid-template-columns: repeat(4, minmax(112px, 170px)); justify-content: center; gap: 14px; padding: 30px 24px; color: #fff; background: var(--deep); overflow: hidden; }
.countdown-band::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: linear-gradient(90deg, var(--gold), var(--coral), var(--teal), var(--sky)); }
.countdown-band div { --timer-color: #f0c963; position: relative; display: grid; min-height: 102px; place-content: center; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; text-align: center; background: rgba(255,255,255,.055); }
.countdown-band div:nth-child(2) { --timer-color: #5bd1c8; }
.countdown-band div:nth-child(3) { --timer-color: #ff8873; }
.countdown-band div:nth-child(4) { --timer-color: #88b8dd; }
.countdown-band strong { color: var(--timer-color); font-size: 42px; line-height: 1; }
.countdown-band span { margin-top: 8px; color: #d8e7e8; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.countdown-band .countdown-tick strong { animation: countdownTick .42s ease; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 96px 0; }
.alternate { width: 100%; padding-right: max(24px, calc((100% - 1180px) / 2)); padding-left: max(24px, calc((100% - 1180px) / 2)); background: var(--surface); }
.section-heading { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 18px; margin-bottom: 44px; }
.section-heading > span { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(8,127,130,.28); border-radius: 50%; color: var(--teal); background: #fff; font-size: 12px; font-weight: 900; }
.section-heading > span::after { display: none; }
.section-heading p { margin: 0; color: var(--coral); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.section-heading h2 { margin: 3px 0 0; font-size: 44px; line-height: 1.1; }
.prose p { margin: 0 0 18px; }
.invitation-copy { max-width: 940px; padding-left: 28px; border-left: 3px solid var(--teal); color: #344a53; font-size: 17px; }
.invitation-copy p:first-child { color: var(--deep); font-size: 22px; font-weight: 800; }

.committee-leads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.committee-leads article { min-height: 172px; padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgba(22, 62, 72, .07); }
.committee-leads article:nth-child(even) { border-top-color: var(--gold); }
.committee-leads h3 { margin: 0 0 18px; color: var(--teal-dark); font-size: 15px; }
.committee-leads p { margin: 5px 0; font-weight: 700; }
.committee-details, .important-details { margin-top: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.committee-details summary, .important-details summary { padding: 18px 22px; color: var(--deep); font-size: 17px; font-weight: 850; cursor: pointer; list-style-position: inside; }
.committee-details[open] summary, .important-details[open] summary { border-bottom: 1px solid var(--line); background: #f8fbfa; }
.committee-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; padding: 18px 24px 26px; }
.committee-grid span { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.info-grid article { position: relative; min-height: 158px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(19, 62, 72, .07); }
.info-grid article::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: var(--info-color, var(--teal)); }
.info-grid article:nth-child(2) { --info-color: var(--coral); }
.info-grid article:nth-child(3) { --info-color: var(--gold); }
.info-grid article:nth-child(4) { --info-color: var(--sky); }
.info-grid span { display: block; margin-bottom: 17px; color: var(--info-color, var(--teal)); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.info-grid strong { font-size: 18px; line-height: 1.4; }
.split-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.lead-copy { margin-bottom: 24px; font-size: 18px; }
.deadline-panel { padding: 30px; border: 1px solid #ead8aa; border-left: 4px solid var(--gold); border-radius: 8px; background: var(--surface-warm); }
.deadline-panel h3, .rules-grid h3, .subsection h3 { margin-top: 0; color: var(--deep); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 9px; }
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 42px; }
.rules-grid article { padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 8px; background: #fff; }
.rules-grid article:nth-child(2) { border-top-color: var(--coral); }

.program-section { padding: 92px max(24px, calc((100% - 1180px) / 2)); color: #fff; background: var(--deep); }
.program-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.program-intro p { margin: 0; color: #f3cb70; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.program-intro h2 { margin: 7px 0 8px; font-size: 54px; line-height: 1.05; }
.program-intro span { color: #d7e7e8; font-size: 17px; }
.program-download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.program-preparing { display: grid; min-height: 210px; place-content: center; padding: 34px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; text-align: center; background: rgba(255,255,255,.055); }
.program-preparing strong { color: #ffe091; font-size: 30px; }
.program-preparing span { margin-top: 8px; color: #dceff1; }
.program-board { padding: 24px; border-radius: 8px; color: var(--ink); background: #fff; box-shadow: 0 24px 65px rgba(0, 20, 28, .28); }
.program-day-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.program-day-tabs button { min-height: 70px; padding: 11px 14px; border: 1px solid #ccdcdc; border-radius: 6px; color: var(--deep); background: #f1f6f5; font: inherit; font-weight: 800; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.program-day-tabs button span, .program-day-tabs button small { display: block; }
.program-day-tabs button small { margin-top: 3px; color: var(--muted); }
.program-day-tabs button:hover, .program-day-tabs button.active { border-color: var(--coral); color: #fff; background: var(--coral); }
.program-day-tabs button.active small { color: #fff; }
.program-hall-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 10px; }
.program-hall-tabs button { min-height: 40px; padding: 7px 15px; border: 1px solid #c5d7d8; border-radius: 6px; color: var(--deep); background: #fff; font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; text-transform: uppercase; }
.program-hall-tabs button:hover, .program-hall-tabs button.active { border-color: var(--teal); color: #fff; background: var(--teal); }
.program-timeline { display: grid; margin-top: 10px; }
.program-session-heading { padding: 22px 26px; border-top: 4px solid var(--coral); color: #fff; background: var(--teal-dark); }
.program-session-heading span { color: #ffd873; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.program-session-heading h3 { margin: 4px 0 5px; font-size: 22px; line-height: 1.3; }
.program-session-heading p { margin: 0; color: #d9ebee; }
.program-item { --item-color: var(--teal); display: grid; grid-template-columns: 112px 1fr; min-height: 126px; border-bottom: 1px solid #dce6e6; border-left: 4px solid var(--item-color); background: #fff; }
.program-item.course { --item-color: var(--gold); }
.program-item.panel { --item-color: var(--coral); }
.program-item.opening { --item-color: var(--violet); }
.program-item.break { --item-color: #81949a; background: #f3f6f6; }
.program-time { display: grid; align-content: center; justify-items: center; padding: 18px; color: var(--deep); background: color-mix(in srgb, var(--item-color) 10%, white); }
.program-time strong { font-size: 23px; line-height: 1; }
.program-time span { margin-top: 6px; color: var(--muted); font-weight: 700; }
.program-item-content { padding: 22px 26px; }
.program-item-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.program-item-meta span { padding: 3px 9px; border-radius: 4px; color: #fff; background: var(--item-color); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.program-item-content h3 { margin: 8px 0 7px; color: var(--deep); font-size: 20px; line-height: 1.35; }
.program-item-content p { margin: 3px 0; color: #4b626c; }
.program-empty { padding: 45px; text-align: center; color: var(--muted); }

.registration-actions { margin: -84px 0 42px; text-align: right; }
.subsection { padding: 40px 0; border-top: 1px solid var(--line); }
.subsection > h3 { font-size: 27px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.data-table { width: 100%; min-width: 620px; margin: 0; border-collapse: collapse; }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { color: #fff; background: var(--deep); font-size: 11px; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:nth-child(even) td { background: #f5f8f7; }
.services-band { padding: 36px; border: 0; border-radius: 8px; color: #fff; background: var(--teal-dark); }
.services-band h3 { color: #fff; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.service-list div { position: relative; padding: 20px 20px 20px 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: rgba(255,255,255,.07); }
.service-list div::before { position: absolute; top: 20px; left: 18px; color: #f5d477; content: "✓"; font-weight: 900; }
.hotel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.hotel-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgba(22, 62, 72, .07); }
.hotel-grid h4 { margin: 0; padding: 18px; color: #fff; background: var(--teal-dark); }
.hotel-grid dl { margin: 0; }
.hotel-grid dl div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.hotel-grid dt, .hotel-grid dd { margin: 0; }
.hotel-grid dd { color: var(--coral); font-weight: 800; }
.bank-list { display: grid; grid-template-columns: 190px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.bank-list dt, .bank-list dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bank-list dt { color: var(--teal-dark); background: #f1f6f5; font-weight: 900; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-grid article { display: grid; grid-template-columns: minmax(140px, .4fr) 1fr; align-items: center; min-height: 315px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.contact-logo { align-self: stretch; display: grid; place-items: center; padding: 28px; background: var(--surface-warm); }
.contact-logo img { width: 100%; max-width: 185px; max-height: 145px; object-fit: contain; }
.contact-copy { padding: 30px; }
.contact-type { color: var(--coral); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.contact-grid h3 { margin: 5px 0 20px; color: var(--deep); font-size: 24px; }
.contact-grid p { margin: 9px 0; }
.contact-line { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.contact-line b { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.contact-address { color: #536870; }
.contact-grid a { color: var(--teal); font-weight: 700; }
.contact-website { display: inline-block; margin-top: 5px; }
.sponsorship { margin-top: 26px; padding: 28px; border-radius: 8px; color: #fff; background: var(--deep); }
.sponsorship h3 { margin-top: 0; }
.sponsorship-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.18); }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px max(24px, calc((100% - 1180px) / 2)); color: #dbe9ea; background: #052733; font-size: 13px; }
.announcement { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3, 22, 29, .7); backdrop-filter: blur(6px); }
.announcement > div { position: relative; width: min(620px, 100%); padding: 50px; border-radius: 8px; text-align: center; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.announcement button { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f5f4; font-size: 25px; cursor: pointer; }
.announcement span { color: var(--coral); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.announcement h2 { margin: 12px 0 28px; color: var(--deep); }
.page-error { min-height: 60vh; display: grid; place-items: center; padding: 40px; color: #8d2635; font-size: 22px; font-weight: 800; }

.reveal-section { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 50% { transform: translateY(6px); } }
@keyframes countdownTick { 45% { transform: translateY(-4px) scale(1.06); filter: brightness(1.2); } }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .congress-header { justify-content: flex-end; }
  .congress-header nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 22px 18px; background: #072f3d; box-shadow: 0 20px 30px rgba(4,30,38,.2); }
  .congress-header nav.open { display: flex; }
  .congress-header nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.11); }
  .hero h1 { font-size: 52px; }
  .committee-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .hotel-grid { grid-template-columns: 1fr; }
  .contact-grid article { grid-template-columns: 145px 1fr; }
}

@media (max-width: 680px) {
  .hero { min-height: 620px; }
  .hero-content { width: calc(100% - 32px); padding: 64px 0 68px; }
  .hero h1 { font-size: 41px; }
  .hero-meta { display: grid; }
  .hero-meta span + span::before { display: none; }
  .scroll-cue { display: none; }
  .countdown-band { grid-template-columns: repeat(2, minmax(100px, 150px)); gap: 9px; padding: 22px 14px; }
  .countdown-band div { min-height: 88px; }
  .countdown-band strong { font-size: 32px; }
  .section { width: calc(100% - 30px); padding: 70px 0; }
  .alternate { width: 100%; padding-right: 15px; padding-left: 15px; }
  .section-heading { grid-template-columns: 44px 1fr; gap: 12px; margin-bottom: 32px; }
  .section-heading > span { width: 44px; height: 44px; }
  .section-heading h2 { font-size: 34px; }
  .invitation-copy { padding-left: 18px; }
  .committee-leads, .split-layout, .rules-grid, .contact-grid { grid-template-columns: 1fr; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); padding: 14px 18px 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .program-section { padding: 70px 15px; }
  .program-intro { align-items: flex-start; flex-direction: column; }
  .program-intro h2 { font-size: 42px; }
  .program-download-actions { justify-content: flex-start; }
  .program-board { padding: 13px; }
  .program-day-tabs { grid-template-columns: repeat(2, 1fr); }
  .program-hall-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .program-hall-tabs button { flex: 0 0 auto; }
  .program-item { grid-template-columns: 78px 1fr; }
  .program-time { padding: 12px 5px; }
  .program-time strong { font-size: 18px; }
  .program-item-content { padding: 18px 14px; }
  .registration-actions { margin: 0 0 28px; text-align: left; }
  .service-list { grid-template-columns: 1fr; }
  .services-band { padding: 25px 18px; }
  .bank-list { grid-template-columns: 1fr; }
  .bank-list dt { padding-bottom: 3px; border-bottom: 0; }
  .bank-list dd { padding-top: 3px; overflow-wrap: anywhere; }
  .contact-grid article { grid-template-columns: 1fr; }
  .contact-logo { min-height: 145px; }
  footer { flex-direction: column; }
  .announcement > div { padding: 44px 24px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-section { opacity: 1; transform: none; }
}
