:root {
  --bg: #070d19;
  --card: #0d1628;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2f8;
  --muted: #93a0b8;
  --gold: #e2b866;
  --gold-2: #f3d58a;
  --gold-3: #c9973f;
  --teal: #3fd0b0;
  --wa: #25d366;
  --radius: 28px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.ico {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Background ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60vmax 60vmax at 10% -10%, rgba(226, 184, 102, 0.16), transparent 60%),
    radial-gradient(50vmax 50vmax at 110% 30%, rgba(63, 208, 176, 0.10), transparent 60%),
    radial-gradient(60vmax 60vmax at 50% 120%, rgba(56, 96, 200, 0.18), transparent 60%),
    var(--bg);
}

/* ---------- Card ---------- */
.card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  overflow: hidden;
  min-height: 100dvh;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

@media (min-width: 520px) {
  body { padding: 40px 16px; }
  .card {
    min-height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 78dvh;
  width: 100%;
  overflow: hidden;
}

.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.04);
  animation: heroIn 1.4s cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 22, 40, 0.35) 0%, transparent 22%),
    linear-gradient(180deg, transparent 45%, rgba(13, 22, 40, 0.75) 72%, var(--card) 100%);
}

.lang {
  position: absolute; top: 16px; right: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  background: rgba(10, 17, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s;
}
.lang:hover { background: rgba(10, 17, 32, 0.8); }

.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 24px 22px;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(226, 184, 102, 0.12);
  border: 1px solid rgba(226, 184, 102, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(243, 213, 138, .7);
  animation: pulse 2s infinite;
}

.name {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 9vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.name span {
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.title {
  margin-top: 10px;
  font-size: 16px; font-weight: 600;
  color: #dbe3f0;
}
.org {
  margin-top: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Body ---------- */
.body {
  padding: 6px 20px 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px;
  border-radius: 18px;
  font-weight: 800; font-size: 16px;
  color: #1a1306;
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  box-shadow: 0 14px 30px -12px rgba(226, 184, 102, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative; overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease;
}
.cta .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out 1.5s infinite;
}
.cta:active { transform: scale(.98); }

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.quick__item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 4px 12px;
  border-radius: 18px;
  font-size: 12px; font-weight: 600; color: #c9d3e3;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background .2s, transform .15s, border-color .2s;
}
.quick__item:hover { background: var(--surface-2); border-color: rgba(226, 184, 102, .3); }
.quick__item:active { transform: scale(.96); }
.quick__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 14px;
  color: var(--gold-2);
  background: rgba(226, 184, 102, 0.12);
}
.quick__icon--wa { color: var(--wa); background: rgba(37, 211, 102, 0.12); }

/* ---------- Info list ---------- */
.info {
  list-style: none;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.info li + li { border-top: 1px solid var(--line); }
.info__row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  transition: background .2s;
}
.info__row--top { align-items: flex-start; }
a.info__row:hover { background: var(--surface-2); }
.info__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  color: var(--gold-2);
  background: rgba(226, 184, 102, 0.1);
  flex-shrink: 0;
}
.info__icon .ico { width: 19px; height: 19px; }
.info__text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.info__text small {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.info__text strong {
  font-size: 15px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.info__go { width: 18px; height: 18px; color: var(--muted); transition: transform .2s, color .2s; }
a.info__row:hover .info__go { color: var(--gold-2); transform: translate(2px, -2px); }

.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.city {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 6px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.city b {
  display: grid; place-items: center;
  width: 24px; height: 20px; border-radius: 999px;
  font-size: 9.5px; letter-spacing: .04em;
  color: #1a1306;
  background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
}

/* ---------- Event (MEDICA) ---------- */
.event {
  display: flex;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.event__main {
  flex: 1; min-width: 0;
  padding: 18px 18px 18px 20px;
  border-left: 3px solid var(--gold);
}
.event__main small {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.event__main h2 { font-size: 17px; font-weight: 800; margin-top: 4px; }
.event__main p { font-size: 14px; color: #c3cde0; margin-top: 4px; line-height: 1.45; }
.event__stub {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 96px; flex-shrink: 0;
  border-left: 1.5px dashed rgba(226, 184, 102, 0.35);
  background: rgba(226, 184, 102, 0.07);
}
/* Encoches façon billet */
.event__stub::before, .event__stub::after {
  content: ""; position: absolute; left: -9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--card);
}
.event__stub::before { top: -9px; }
.event__stub::after { bottom: -9px; }
.event__stub span {
  font-size: 11px; font-weight: 800; letter-spacing: .16em;
  color: var(--muted);
}
.event__stub strong {
  font-family: var(--serif); font-weight: 600;
  font-size: 26px; line-height: 1.1;
  color: var(--gold-2);
}

/* ---------- Share ---------- */
.share-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px;
  border-radius: 18px;
  font-size: 15px; font-weight: 700;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s, transform .15s;
}
.share-btn .ico { color: var(--gold-2); }
.share-btn:hover { border-color: rgba(226, 184, 102, .35); background: rgba(255, 255, 255, .1); }
.share-btn:active { transform: scale(.98); }

/* ---------- Footer / toast ---------- */
.foot {
  padding: 18px 20px 28px;
  text-align: center;
  font-size: 12px; color: var(--muted);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 700;
  color: #1a1306; background: var(--gold-2);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero__content.reveal { animation-delay: .25s; }
.body > .reveal:nth-child(1) { animation-delay: .4s; }
.body > .reveal:nth-child(2) { animation-delay: .48s; }
.body > .reveal:nth-child(3) { animation-delay: .56s; }
.body > .reveal:nth-child(4) { animation-delay: .64s; }
.body > .reveal:nth-child(5) { animation-delay: .72s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes heroIn { to { transform: scale(1); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 213, 138, .7); }
  70% { box-shadow: 0 0 0 8px rgba(243, 213, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 213, 138, 0); }
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

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

@media (max-width: 360px) {
  .quick__item { font-size: 11px; }
}
