
:root {
  --bg: #050607;
  --panel: rgba(18, 20, 23, .92);
  --panel-soft: rgba(255, 255, 255, .045);
  --text: #f5f6f7;
  --muted: #b9bec5;
  --silver: #d8dde3;
  --silver-dark: #777f89;
  --gold: #c6a15b;
  --line: rgba(216, 221, 227, .18);
  --shadow: 0 24px 70px rgba(0,0,0,.44);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(198,161,91,.10), transparent 31%),
    radial-gradient(circle at 88% 16%, rgba(216,221,227,.09), transparent 29%),
    linear-gradient(155deg, #030405 0%, #0a0c0e 48%, #050607 100%);
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { position: relative; isolation: isolate; min-height: 100vh; }
.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  border: 1px solid rgba(216,221,227,.10);
  border-radius: 50%;
  pointer-events: none;
}
.page-shell::before { width: 520px; height: 520px; right: -300px; top: -190px; }
.page-shell::after { width: 330px; height: 330px; left: -210px; bottom: -120px; }
.container { width: min(100% - 32px, 1040px); margin-inline: auto; }
.topbar {
  padding: 18px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; }
.brand-copy strong { display: block; letter-spacing: .17em; font-size: .78rem; }
.brand-copy span { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.official-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
  color: var(--silver); border-radius: 999px; padding: 9px 13px;
  font-size: .73rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
}
.official-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px rgba(198,161,91,.8); }
.hero { padding: 18px 0 42px; }
.profile-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(280px, .88fr) minmax(380px, 1.12fr);
  min-height: 580px;
  border: 1px solid var(--line); border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}
.profile-card::after {
  content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%;
  border: 1px solid rgba(216,221,227,.17); right: -170px; bottom: -170px;
}
.photo-wrap { position: relative; min-height: 520px; background: #e9edf0; }
.photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(3,4,5,.72) 100%); }
.photo-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.profile-content { padding: clamp(30px, 5vw, 58px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 4.35rem); line-height: .98; font-weight: 500; letter-spacing: -.045em; }
.role { margin: 18px 0 0; color: var(--silver); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; }
.role span { color: var(--muted); font-weight: 500; }
.intro { margin: 22px 0 0; color: var(--muted); font-size: 1rem; max-width: 58ch; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 52px; padding: 14px 18px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; font-weight: 800; font-size: .93rem; border: 1px solid var(--line);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(216,221,227,.46); }
.btn-primary { color: #060708; background: linear-gradient(135deg, #f7f8f9, #bfc6ce); border-color: transparent; }
.btn-secondary { background: rgba(255,255,255,.045); color: var(--text); }
.btn-gold { background: linear-gradient(135deg, #d6b770, #a8813f); color: #090806; border-color: transparent; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.quick-link { background: none; border: 0; font-family: inherit; cursor: pointer; color: var(--muted); font-size: .84rem; padding: 9px 0; text-decoration: none; border-bottom: 1px solid transparent; }
.quick-link:hover { color: var(--text); border-bottom-color: var(--silver-dark); }
.section { padding: 44px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.section-heading .kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 800; }
.section-heading h2 { margin: 9px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.06; font-weight: 500; }
.section-heading p { color: var(--muted); margin: 0; }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.offer {
  border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px;
  background: var(--panel-soft); min-height: 152px;
}
.offer-index { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.offer h3 { margin: 12px 0 7px; font-size: 1rem; }
.offer p { margin: 0; color: var(--muted); font-size: .87rem; }
.cta-panel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 5vw, 48px);
  background: linear-gradient(135deg, rgba(216,221,227,.08), rgba(198,161,91,.055));
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: center;
}
.cta-panel h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; line-height: 1.07; }
.cta-panel p { color: var(--muted); margin: 0; max-width: 60ch; }
.cta-stack { display: grid; gap: 11px; }
.event-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { border: 1px solid var(--line); border-radius: 20px; background: var(--panel-soft); padding: 25px; }
.info-card h3 { margin: 0 0 9px; font-size: 1.05rem; }
.info-card p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.contact-list { display: grid; gap: 10px; margin-top: 18px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-row span { color: var(--muted); font-size: .8rem; }
.contact-row a { text-decoration: none; text-align: right; font-weight: 750; font-size: .88rem; word-break: break-word; }
.qr-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: center; }
.qr-card > div { min-width: 0; }
.qr-card b { overflow-wrap: anywhere; word-break: break-word; }
.qr-card img { width: 116px; height: 116px; background: white; border-radius: 12px; padding: 6px; }
.qr-card strong { display: block; margin-bottom: 4px; }
.qr-card p { margin: 0; }
.footer { padding: 30px 0 120px; text-align: center; color: #8f959c; font-size: .76rem; }
.footer a { text-decoration: none; color: #b9bec5; }
.mobile-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 20; background: #f3f4f5; color: #08090a; border-radius: 999px; padding: 10px 16px; font-size: .82rem; font-weight: 750; transition: .2s ease; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Patrocinadores en la tarjeta digital de Aurea */
.sponsors-section {
  padding-top: 48px;
  padding-bottom: 58px;
  overflow: hidden;
}
.sponsors-layout {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: stretch;
}
.sponsor-official,
.sponsor-allies {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.058), rgba(255,255,255,.025));
  padding: 20px;
}
.sponsor-official {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.sponsor-official > span,
.sponsor-allies > p {
  margin: 0 0 14px;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .66rem;
  font-weight: 800;
}
.sponsor-official figure,
.sponsor-grid figure {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,12,14,.98), rgba(16,18,21,.96));
  border: 1px solid rgba(216,221,227,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.sponsor-official figure {
  min-height: 138px;
  border-radius: 16px;
  padding: 20px;
}
.sponsor-official img {
  display: block;
  width: auto;
  max-width: min(100%, 240px);
  height: auto;
  max-height: 96px;
  object-fit: contain;
}
.sponsor-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sponsor-grid figure {
  min-width: 0;
  min-height: 92px;
  border-radius: 14px;
  padding: 12px;
}
.sponsor-grid img {
  display: block;
  width: auto;
  max-width: min(100%, 150px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
.sponsors-cta {
  margin-top: 16px;
  padding: 20px 21px;
  border: 1px solid rgba(202, 168, 87, .32);
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(202,168,87,.12), rgba(255,255,255,.035));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sponsors-cta strong {
  display: block;
  color: #f3f4f5;
  font-size: 1.02rem;
  line-height: 1.25;
}
.sponsors-cta p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}
.sponsors-cta-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 860px) {
  .profile-card { grid-template-columns: 1fr; }
  .photo-wrap { min-height: 440px; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel, .event-panel, .sponsors-layout { grid-template-columns: 1fr; }
  .sponsors-cta { align-items: stretch; flex-direction: column; }
  .sponsors-cta-actions { width: 100%; }
  .sponsors-cta-actions .btn { flex: 1 1 0; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 22px, 1040px); }
  .topbar { padding-top: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy strong { font-size: .67rem; }
  .brand-copy span { display: none; }
  .official-badge { font-size: .61rem; padding: 8px 10px; }
  .hero { padding-top: 7px; }
  .profile-card { border-radius: 24px; }
  .photo-wrap { min-height: 355px; }
  .profile-content { padding: 28px 22px 30px; }
  h1 { font-size: clamp(2.15rem, 12vw, 3.25rem); }
  .role { font-size: .97rem; }
  .intro { font-size: .93rem; }
  .actions { grid-template-columns: 1fr; }
  .quick-links { justify-content: center; }
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .offer { min-height: 142px; padding: 17px 14px; }
  .section { padding: 34px 0; }
  .cta-panel { padding: 25px 20px; border-radius: 20px; }
  .info-card { padding: 21px 18px; }
  .qr-card { grid-template-columns: 76px minmax(0, 1fr); gap: 13px; }
  .qr-card img { width: 76px; height: 76px; }
  .qr-card p { font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(216,221,227,.22);
    background: rgba(6,7,8,.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -12px 35px rgba(0,0,0,.42);
  }
  .mobile-bar .btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 11px 7px;
    border-radius: 12px;
    font-size: .76rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }
  .sponsors-section { padding-top: 36px; padding-bottom: 38px; }
  .sponsor-official, .sponsor-allies { padding: 14px; border-radius: 18px; }
  .sponsor-official > span, .sponsor-allies > p { margin-bottom: 10px; font-size: .61rem; }
  .sponsor-official figure { min-height: 104px; padding: 14px; border-radius: 13px; }
  .sponsor-official img { max-width: 185px; max-height: 66px; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sponsor-grid figure { min-height: 82px; padding: 10px; border-radius: 12px; }
  .sponsor-grid img { max-width: 126px; max-height: 46px; }
  .sponsors-cta { padding: 16px; border-radius: 17px; }
  .sponsors-cta-actions { flex-direction: column; }
  .sponsors-cta-actions .btn { width: 100%; }
  .footer { padding-bottom: 22px; }
}

@media (min-width: 561px) and (max-width: 760px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(216,221,227,.22);
    background: rgba(6,7,8,.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -12px 35px rgba(0,0,0,.42);
  }
  .mobile-bar .btn { min-height: 50px; }
  .footer { padding-bottom: 22px; }
}
@media (max-width: 350px) {
  .offer-grid { grid-template-columns: 1fr; }
  .official-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
