/* =========================================================
   APSA 2027 — XL Congreso Argentino de Psiquiatría y Salud Mental
   ========================================================= */

:root {
  --navy: #0d2b4e;
  --navy-deep: #081b34;
  --teal: #16a3a0;
  --teal-light: #3fd0c9;
  --coral: #e8402c;
  --orange: #f7941d;
  --yellow: #ffc72c;
  --pink: #ef6f91;
  --ink: #17233a;
  --muted: #5c6b84;
  --paper: #ffffff;
  --paper-soft: #f5f7fb;
  --line: #e4e9f2;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --shadow-md: 0 12px 30px -12px rgba(13, 43, 78, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(13, 43, 78, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* =============== LIQUID GLASS — core recipe, reused as an accent system =============== */
.glass {
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 8px 28px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.3);
  position: relative;
}
.glass::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 42%);
}
.glass-light {
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .8);
}

/* subtle film-grain texture over the whole page — keeps flat colors from feeling too flat */
.grain {
  position: fixed; inset: 0; z-index: 1;
  opacity: .045; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.15;
}

p { line-height: 1.7; color: var(--muted); margin: 0 0 1em; }

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
}
.section-light .eyebrow,
.section-white .eyebrow { color: var(--teal); }

.section {
  padding: 96px 0;
  position: relative;
}
.section-white { background: var(--paper); }
.section-soft { background: var(--paper-soft); }
.section-mesh {
  background:
    radial-gradient(700px 480px at 10% 15%, rgba(22,163,160,.09), transparent 60%),
    radial-gradient(700px 480px at 92% 80%, rgba(232,64,44,.08), transparent 60%),
    var(--paper);
}
.section-navy {
  background: radial-gradient(ellipse at top left, #123a63 0%, var(--navy-deep) 65%);
  color: #dce6f5;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #b7c6de; }

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--coral), var(--orange));
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(232, 64, 44, .55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(232, 64, 44, .65); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-3px); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-3px); }

/* =============== NAV — single row (banner de prueba se movió al hero) =============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
}
.nav-top {
  padding: 16px 0;
  background: #fff;
  box-shadow: 0 2px 14px -6px rgba(13,43,78,.12);
  border-bottom: 1px solid rgba(13,43,78,.06);
  transition: padding .35s ease, box-shadow .35s ease, background .35s ease;
}
.nav.is-scrolled .nav-top {
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 10px 30px -16px rgba(13,43,78,.22);
}
.nav-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand { display: block; line-height: 0; }
.nav-brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  opacity: .8;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  padding: 11px 22px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(232,64,44,.6);
}
.nav-cta--teal {
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  box-shadow: 0 10px 22px -10px rgba(22,163,160,.65);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-menu { display: contents; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* =============== HERO PHOTO (preview) =============== */
.hero-photo {
  --l1: clamp(26px, 4vw, 44px);
  position: relative;
  padding: 86px 24px 100px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(9, 28, 52, .74), rgba(9, 28, 52, .82)),
    url('../img/foto2026c.png') center / cover no-repeat;
}
.hero-photo .container { max-width: 1180px; }

/* banner en tarjeta de vidrio claro, flotando sobre la foto difuminada */
.hp-banner-card {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.5);
}
.hp-banner-card img { width: 100%; height: auto; display: block; border-radius: 10px; }

@media (max-width: 700px) {
  /* banner ancho ilegible en mobile: se reemplaza por la versión vertical (picture/source) */
  .hp-banner-card { padding: 14px; }
}
@media (max-width: 560px) {
  .hero-photo { padding: 74px 20px 70px; }
}

/* =============== HERO =============== */
.hero {
  position: relative;
  padding: 56px 0 72px;
  background: linear-gradient(160deg, var(--navy-deep) 0%, #133a63 45%, #0f2f56 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .35;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  top: -180px; right: -120px;
  animation: heroFloat1 16s ease-in-out infinite;
}
.hero::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  bottom: -220px; left: -160px;
  opacity: .25;
  animation: heroFloat2 18s ease-in-out infinite;
}
@keyframes heroFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px, 24px); } }
@keyframes heroFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px, -20px); } }
.hero .container {
  position: relative;
  z-index: 2;
}

/* two-column layout: text+CTAs left, countdown right — keeps the section short */
.hero-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #eaf1fb;
}
.chip svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--yellow); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 440px;
}
.countdown--side { grid-template-columns: repeat(4, 1fr); max-width: 460px; gap: 12px; margin-left: auto; }
.countdown .cd-item {
  border-radius: 16px;
  padding: 14px 6px;
  text-align: center;
}
.countdown--side .cd-item { padding: 16px 4px; }
.countdown .cd-num {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,199,44,.4);
}
.countdown--side .cd-num { font-size: clamp(22px, 2.4vw, 28px); }
.countdown .cd-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b7c6de;
}

/* =============== STATS STRIP =============== */
.stats-strip {
  background: var(--paper);
  margin-top: -1px;
  position: relative;
  z-index: 3;
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: translateY(-56px);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  background: linear-gradient(90deg, var(--coral), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .stat-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: .02em;
}

/* =============== PILLARS =============== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar-card::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(22,163,160,.16), transparent 60%);
}
.pillar-card:hover::after { opacity: 1; }
.pillar-card .icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.pillar-card:nth-child(1) .icon-badge { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.pillar-card:nth-child(2) .icon-badge { background: linear-gradient(135deg, var(--coral), var(--pink)); }
.pillar-card:nth-child(3) .icon-badge { background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.pillar-card .icon-badge svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 19px; margin-bottom: 10px; }
.pillar-card p { font-size: 14.5px; margin: 0; }

/* =============== TRABAJOS CIENTÍFICOS =============== */
#trabajos { scroll-margin-top: 60px; }
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.work-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .15); }
.work-card .work-step {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1;
  color: rgba(255, 255, 255, .14);
}
.work-card .icon-badge {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.work-card:nth-child(1) .icon-badge { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.work-card:nth-child(2) .icon-badge { background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.work-card:nth-child(3) .icon-badge { background: linear-gradient(135deg, var(--coral), var(--pink)); }
.work-card .icon-badge svg { width: 26px; height: 26px; }
.work-card h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.work-card p { font-size: 14.5px; margin: 0 0 24px; color: #c4d3ea; }
.work-card .btn { margin-top: auto; align-self: flex-start; font-size: 14px; padding: 13px 24px; }
.work-card--main { border-color: rgba(247, 148, 29, .55); box-shadow: 0 8px 28px rgba(0,0,0,.16), 0 0 0 1px rgba(247,148,29,.25), inset 0 1px 0 rgba(255,255,255,.3); }

/* =============== TIMELINE =============== */
.timeline {
  position: relative;
  margin-top: 20px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 21px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--coral), var(--orange));
}
.tl-item {
  position: relative;
  padding-left: 62px;
  margin-bottom: 30px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item .tl-dot {
  position: absolute;
  left: 8px; top: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.tl-item.is-final .tl-dot { border-color: var(--coral); }
.tl-item .tl-dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.tl-item.is-final .tl-dot::after { background: var(--coral); }
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.tl-card .tl-date {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--coral);
  font-size: 13.5px;
  white-space: nowrap;
}
.tl-card .tl-text { color: var(--ink); font-size: 14.5px; font-weight: 500; }

/* =============== VENUE =============== */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.venue-info .feature-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.venue-info .feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--ink);
}
.venue-info .feature-list svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* =============== AFFILIATIONS =============== */
.affil-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 36px 0;
}
.affil-row img { height: 56px; width: auto; opacity: .92; }

/* =============== CTA / STAY TUNED =============== */
.cta-band {
  background: linear-gradient(100deg, var(--coral), var(--orange) 65%, var(--yellow));
  border-radius: 26px;
  padding: 56px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px -22px rgba(232,64,44,.45);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; max-width: 460px; }
.cta-band .btn-dark { flex-shrink: 0; }

/* =============== FOOTER =============== */
.footer {
  background: var(--navy-deep);
  color: #c4d3ea;
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { color: #90a3c2; font-size: 13.5px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: #b7c6de; font-size: 14px; transition: color .2s ease; }
.footer ul a:hover { color: var(--yellow); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-row a:hover { background: var(--coral); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; color: #fff; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #7f92b3;
}
.footer-bottom a { color: #7f92b3; }
.to-top {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}

/* =============== FLOATING SIDE CTA + REGISTRATION PANEL =============== */
.side-cta {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%);
  z-index: 850; display: flex; align-items: center;
  border-radius: 16px 0 0 16px; overflow: hidden; cursor: pointer; user-select: none;
  box-shadow: 0 12px 30px -10px rgba(232,64,44,.4);
}
.side-cta-inner {
  display: flex; align-items: center; gap: 10px; padding: 18px 14px;
  background: linear-gradient(160deg, rgba(232,64,44,.88), rgba(247,148,29,.88));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.35); border-right: none; color: #fff;
  transition: padding .4s cubic-bezier(.22,1,.36,1), max-width .4s cubic-bezier(.22,1,.36,1);
  max-width: 44px; overflow: hidden; white-space: nowrap;
}
.side-cta:hover .side-cta-inner, .side-cta.is-open .side-cta-inner { max-width: 230px; padding: 18px 22px 18px 16px; }
.side-cta-icon { width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.side-cta-label-v {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .08em;
  transition: opacity .2s ease;
}
.side-cta:hover .side-cta-label-v, .side-cta.is-open .side-cta-label-v { opacity: 0; width: 0; }
.side-cta-label-h {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  opacity: 0; max-width: 0; overflow: hidden; transition: opacity .3s ease .1s, max-width .3s ease;
}
.side-cta:hover .side-cta-label-h, .side-cta.is-open .side-cta-label-h { opacity: 1; max-width: 170px; }

.reg-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(8,27,52,.45); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.reg-overlay.is-open { opacity: 1; pointer-events: auto; }
.reg-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101;
  width: min(420px, 92vw);
  background: linear-gradient(165deg, rgba(19,58,99,.94), rgba(8,27,52,.97));
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-left: 1px solid rgba(255,255,255,.18);
  transform: translateX(100%); transition: transform .45s cubic-bezier(.22,1,.36,1);
  padding: 34px 30px; color: #fff; overflow-y: auto;
}
.reg-panel.is-open { transform: translateX(0); }
.reg-close {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-bottom: 26px;
}
.reg-panel h3 { font-family: var(--font-head); font-size: 23px; margin: 0 0 10px; color: #fff; }
.reg-panel > p { color: #c4d3ea; font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; }
.reg-notes { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.reg-notes li {
  border-radius: 14px; padding: 14px 16px; font-size: 13.5px; line-height: 1.55; color: #eaf1fb;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.reg-notes strong { display: block; color: var(--yellow, #ffc72c); font-family: var(--font-head); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.reg-notes a { color: var(--teal-light); text-decoration: underline; }
.reg-cta-bar {
  position: sticky; bottom: -34px; margin: 0 -30px -34px; padding: 18px 30px 26px;
  background: linear-gradient(to top, rgba(8,27,52,.98) 70%, rgba(8,27,52,0));
}
.reg-steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.reg-steps li {
  display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.reg-steps .n {
  width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,var(--teal),var(--teal-light));
  color: var(--navy-deep); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.reg-steps span { font-size: 13.5px; color: #eaf1fb; line-height: 1.5; }

@media (max-width: 560px) {
  .side-cta-inner { padding: 14px 11px; max-width: 40px; }
  .side-cta:hover .side-cta-inner, .side-cta.is-open .side-cta-inner { max-width: 200px; padding: 14px 18px 14px 13px; }
}

/* =============== REVEAL ANIMATION =============== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
  .hero-row { grid-template-columns: 1fr; gap: 30px; }
  .countdown--side { grid-template-columns: repeat(4, 1fr); max-width: 460px; margin-left: 0; }
  .venue-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1160px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 22px 24px 28px;
    gap: 20px;
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(13,43,78,.25);
  }
  .nav.is-open .nav-links { display: flex; flex-direction: column; gap: 18px; }
  .nav.is-open .nav-actions { flex-direction: column; align-items: flex-start; }
  .nav.is-open .nav-cta { display: inline-flex; }
}

@media (max-width: 860px) {
  .works { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    padding: 22px 24px 28px;
    gap: 20px;
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(13,43,78,.25);
  }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .nav.is-open .nav-cta {
    display: inline-flex;
    align-self: flex-start;
  }
  .pillars { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); transform: translateY(-40px); }
  .stat { border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; }
}

@media (max-width: 560px) {
  .hero { padding: 140px 0 70px; }
  .countdown { grid-template-columns: repeat(4, 1fr); max-width: 100%; }
  .chip-row { gap: 8px; }
  .footer-top { grid-template-columns: 1fr; }
  .affil-row { gap: 34px; }
  .affil-row img { height: 42px; }
}
