/* =====================================================
   TOKENS
   ===================================================== */
:root {
  --black:    #080808;
  --dark:     #111111;
  --card:     #181818;
  --border:   rgba(255,255,255,0.08);
  --ivory:    #F2EDD8;
  --ivory-dk: #C8C0A8;
  --gold:     #BFA060;
  --gold-lt:  #D4B578;
  --gold-dk:  #8A6E3A;
  --muted:    #555555;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-caps:    'Cinzel', 'Palatino Linotype', serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,.55,.45,1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
}
body.is-loading { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* =====================================================
   LOADER — Cinematográfico
   ===================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.loader.loader--exit {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

#confettiCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.loader-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.loader-eyebrow {
  font-family: var(--font-caps);
  font-size: clamp(.5rem, 1.2vw, .7rem);
  letter-spacing: .35em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.loader-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  color: var(--ivory);
  line-height: 1.1;
  min-height: 1.2em;
  margin-bottom: .75rem;
}

.loader-name::after {
  content: '|';
  color: var(--gold);
  animation: blink .7s step-end infinite;
}

.loader-name.done::after { display: none; }

@keyframes blink { 50% { opacity: 0; } }

.loader-year {
  font-family: var(--font-caps);
  font-size: .68rem;
  letter-spacing: .28em;
  color: var(--gold-dk);
  margin-bottom: 3rem;
}

.loader-bar-track {
  width: clamp(200px, 40vw, 360px);
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  transition: width .05s linear;
}

.loader-hint {
  font-family: var(--font-caps);
  font-size: .52rem;
  letter-spacing: .2em;
  color: var(--muted);
}

/* =====================================================
   CURSOR
   ===================================================== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  top: -4px; left: -4px;
  z-index: 8999;
  pointer-events: none;
  transition: transform .15s, opacity .3s;
}

@media (hover: none) { .cursor-dot { display: none; } }

/* =====================================================
   DOTS NAV (derecha fija)
   ===================================================== */
.dots-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.dot-btn {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(191,160,96,0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s, border-color .3s;
}

.dot-btn:hover { transform: scale(1.4); border-color: var(--gold); }
.dot-btn.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }

@media (max-width: 767px) { .dots-nav { display: none; } }

/* =====================================================
   SCROLL PROGRESS
   ===================================================== */
.scroll-prog {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold));
  z-index: 9000;
  transition: width .1s linear;
}

/* =====================================================
   MAIN WRAPPER
   ===================================================== */
.main {
  opacity: 0;
  transition: opacity .6s var(--ease);
}

.main.main--visible { opacity: 1; }

/* =====================================================
   SHARED SECTION ELEMENTS
   ===================================================== */
.section-eyebrow {
  font-family: var(--font-caps);
  font-size: clamp(.52rem, 1.1vw, .68rem);
  letter-spacing: .32em;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

.section-rule.ms-0 { margin-left: 0; margin-right: auto; }

.section-head { margin-bottom: 4rem; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =====================================================
   HERO — Editorial Split
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 20%, rgba(242,237,216,.12) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 18%, rgba(191,160,96,.22), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(138,110,58,.16), transparent 34%),
    linear-gradient(145deg, #050505 0%, #111111 43%, #17110a 70%, #050505 100%);
  background-size: 34px 34px, auto, auto, auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  inset: 5.5%;
  border: 1px solid rgba(191,160,96,.24);
  box-shadow:
    inset 0 0 70px rgba(191,160,96,.08),
    0 0 90px rgba(191,160,96,.06);
}

.hero::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(191,160,96,.12) 9.15%, transparent 9.35%, transparent 90.5%, rgba(191,160,96,.12) 90.7%, transparent 91%),
    linear-gradient(180deg, transparent 0 16%, rgba(242,237,216,.08) 16.2%, transparent 16.4%, transparent 84%, rgba(191,160,96,.10) 84.2%, transparent 84.45%);
  opacity: .68;
}

/* Fondo: año gigante tipográfico */
.hero-year-bg {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(180px, 38vw, 420px);
  color: rgba(191,160,96,0.06);
  line-height: .85;
  user-select: none;
  pointer-events: none;
  right: -2vw;
  bottom: 8%;
  z-index: 1;
  letter-spacing: -.02em;
}

/* Texto vertical izquierdo */
.hero-vert-text {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  font-family: var(--font-caps);
  font-size: .52rem;
  letter-spacing: .3em;
  color: rgba(191,160,96,0.4);
  white-space: nowrap;
  z-index: 2;
  user-select: none;
}

/* Contenido central */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 8rem 2rem 6rem;
  max-width: 820px;
  width: 100%;
}

.hero-top-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto 2rem;
  animation: heroLineIn 1s var(--ease) .3s both;
}

@keyframes heroLineIn {
  from { height: 0; opacity: 0; }
  to   { height: 60px; opacity: 1; }
}

.hero-eyebrow {
  font-family: var(--font-caps);
  font-size: clamp(.5rem, 1.1vw, .65rem);
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: heroFade 1s var(--ease) .6s both;
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  animation: heroUp .9s var(--ease) .7s both;
}

.hn-first {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 8rem);
  color: var(--ivory);
  line-height: .95;
  letter-spacing: -.02em;
}

.hn-last {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 5.5rem);
  color: var(--gold-lt);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  animation: heroFade .8s var(--ease) 1s both;
}

.hd-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,160,96,.5), transparent);
}

.hd-diamond { font-size: .55rem; color: var(--gold); }

.hero-degree {
  font-family: var(--font-caps);
  font-size: clamp(.6rem, 1.4vw, .85rem);
  letter-spacing: .18em;
  color: var(--ivory-dk);
  margin-bottom: .4rem;
  animation: heroFade .8s var(--ease) 1.1s both;
}

.hero-univ {
  font-family: var(--font-caps);
  font-size: clamp(.52rem, 1.1vw, .68rem);
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: 2.5rem;
  animation: heroFade .8s var(--ease) 1.2s both;
}

.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: heroFade .8s var(--ease) 1.4s both;
}

.hcta-label {
  font-family: var(--font-caps);
  font-size: .6rem;
  letter-spacing: .28em;
  color: var(--gold);
  border-bottom: 1px solid rgba(191,160,96,.4);
  padding-bottom: .15rem;
  transition: border-color .25s;
}

.hero-cta:hover .hcta-label { border-color: var(--gold); }

.hcta-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  animation: bounce 2s ease-in-out infinite 2s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Tira inferior con fecha */
.hero-footer-strip {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: var(--gold);
  padding: .6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-caps);
  font-size: clamp(.45rem, 1vw, .6rem);
  letter-spacing: .22em;
  color: var(--black);
  font-weight: 600;
  z-index: 4;
  flex-wrap: wrap;
  animation: heroFade .8s var(--ease) 1.5s both;
}

.hfs-dot { opacity: .5; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  right: 2.5rem;
  bottom: 3.5rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.hs-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(191,160,96,.6));
  animation: scrollPulse 2s ease-in-out infinite;
}

.hs-label {
  font-family: var(--font-caps);
  font-size: .42rem;
  letter-spacing: .25em;
  color: rgba(191,160,96,.5);
  writing-mode: vertical-rl;
}

@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scrollPulse {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(.6); }
}

/* =====================================================
   LOGRO ACADÉMICO
   ===================================================== */
.logro-section { padding: 8rem 0; background: var(--dark); }

.logro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 600px;
}

/* Foto */
.logro-photo-side {
  position: relative;
  overflow: hidden;
}

.lps-frame {
  position: relative;
  height: 100%;
  min-height: 520px;
}

.lps-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85) contrast(1.1) saturate(.9);
  transition: filter .5s;
}

.lps-frame:hover .lps-img { filter: brightness(.95) contrast(1.05) saturate(1); }

.lps-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--dark) 100%),
              linear-gradient(to bottom, transparent 70%, rgba(0,0,0,.6) 100%);
}

.lps-tag {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  background: var(--gold);
  color: var(--black);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  justify-content: center;
  font-family: var(--font-caps);
  font-size: .5rem;
  letter-spacing: .08em;
  font-weight: 700;
}

.lps-tag i { font-size: 1.1rem; }

/* Texto */
.logro-text-side {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logro-text-side--centered {
  grid-column: 1 / -1;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.logro-body {
  color: var(--ivory-dk);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

/* Stats contadores */
.stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}

.stat-label {
  font-family: var(--font-caps);
  font-size: .48rem;
  letter-spacing: .2em;
  color: var(--muted);
}

.stat-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* Cita */
.logro-quote {
  border-left: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  background: rgba(191,160,96,.05);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-lt);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.logro-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-caps);
  font-size: .5rem;
  letter-spacing: .12em;
  color: var(--muted);
  margin-top: .5rem;
}

/* Badges */
.logro-badges { display: flex; flex-wrap: wrap; gap: .6rem; }

.lbadge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-caps);
  font-size: .52rem;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid rgba(191,160,96,.3);
  padding: .3rem .8rem;
  border-radius: 50px;
}

.lbadge i { font-size: .6rem; }

/* =====================================================
   DIPLOMA — El momento WOW
   ===================================================== */
.diploma-section {
  padding: 8rem 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.diploma-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 25vw, 280px);
  color: rgba(191,160,96,.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.diploma-card {
  position: relative;
  background: var(--ivory);
  color: var(--black);
  padding: 4rem 3.5rem;
  text-align: center;
  transform: translateY(60px) scale(.94);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease);
}

.diploma-card.is-visible {
  transform: none;
  opacity: 1;
}

/* Bordes ornamentales */
.dc-border-outer, .dc-border-inner {
  position: absolute;
  pointer-events: none;
}

.dc-border-outer {
  inset: 10px;
  border: 1px solid rgba(191,160,96,.6);
}

.dc-border-inner {
  inset: 16px;
  border: 1px solid rgba(191,160,96,.3);
}

/* Esquinas del diploma */
.dc-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 1;
}

.dc-corner--tl { top: 6px;  left: 6px;  border-width: 2px 0 0 2px; }
.dc-corner--tr { top: 6px;  right: 6px; border-width: 2px 2px 0 0; }
.dc-corner--bl { bottom: 6px; left: 6px;  border-width: 0 0 2px 2px; }
.dc-corner--br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

.dc-content { position: relative; z-index: 2; }

.dc-icon {
  font-size: 2.5rem;
  color: var(--gold-dk);
  margin-bottom: 1.25rem;
  display: block;
}

.dc-institution {
  font-family: var(--font-caps);
  font-size: .58rem;
  letter-spacing: .22em;
  color: var(--gold-dk);
  margin-bottom: 1rem;
}

.dc-rule {
  width: 60px;
  height: 1px;
  background: rgba(191,160,96,.5);
  margin: 1rem auto;
}

.dc-certifica {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  color: #444;
  margin-bottom: .75rem;
}

.dc-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--black);
  line-height: 1.15;
  margin-bottom: .75rem;
}

.dc-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .92rem;
  color: #555;
  margin-bottom: .75rem;
}

.dc-degree {
  font-family: var(--font-caps);
  font-size: clamp(.7rem, 1.6vw, 1rem);
  letter-spacing: .12em;
  color: var(--gold-dk);
  margin-bottom: .5rem;
}

.dc-honors {
  font-family: var(--font-caps);
  font-size: .58rem;
  letter-spacing: .18em;
  color: #888;
  margin-bottom: .25rem;
}

.dc-place {
  font-family: var(--font-caps);
  font-size: .55rem;
  letter-spacing: .15em;
  color: #999;
  margin-top: 1.25rem;
}

/* Sello oficial */
.dc-seal {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 80px;
  height: 80px;
  transform: scale(0) rotate(-20deg);
  transform-origin: center center;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}

.dc-seal.seal--stamped { transform: scale(1) rotate(0deg); }

.dcs-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(191,160,96,.15), transparent 70%);
}

.dcs-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
}

.dcs-icon { font-size: 1.4rem; color: var(--gold-dk); }

.dcs-text {
  font-family: var(--font-caps);
  font-size: .35rem;
  letter-spacing: .12em;
  color: var(--gold-dk);
}

/* =====================================================
   EVENTO
   ===================================================== */
.evento-section { padding: 8rem 0; background: var(--dark); }

.evento-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.ev-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  transform-style: preserve-3d;
}

.ev-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ev-card:hover { border-color: rgba(191,160,96,.4); }

.ev-num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(191,160,96,.06);
  line-height: 1;
  user-select: none;
  font-weight: 700;
}

.ev-icon-wrap {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(191,160,96,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  background: rgba(191,160,96,.08);
}

.ev-label {
  font-family: var(--font-caps);
  font-size: .55rem;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: .4rem;
}

.ev-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.ev-sep {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dk), transparent);
  width: 50px;
  margin-bottom: 1.5rem;
}

.ev-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.ev-meta li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .85rem;
  color: var(--ivory-dk);
  line-height: 1.5;
}

.ev-meta i { color: var(--gold); font-size: .8rem; flex-shrink: 0; margin-top: .15rem; }

.ev-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-caps);
  font-size: .58rem;
  letter-spacing: .15em;
  color: var(--black);
  background: var(--gold);
  padding: .6rem 1.4rem;
  transition: background .25s, transform .2s;
}

.ev-link:hover { background: var(--gold-lt); transform: translateY(-2px); }

.ev-sep-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  align-self: stretch;
}

.ev-sep-center span {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(191,160,96,.3), transparent);
}

.esc-diamond { font-size: .65rem; color: var(--gold); }

/* Countdown compacto */
.ev-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.ecd-unit { display: flex; flex-direction: column; align-items: center; gap: .3rem; }

.ecd-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: var(--ivory);
  line-height: 1;
  font-weight: 400;
}

.ecd-lbl {
  font-family: var(--font-caps);
  font-size: .48rem;
  letter-spacing: .2em;
  color: var(--gold);
}

.ecd-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(191,160,96,.3);
  margin-bottom: 1rem;
}

/* =====================================================
   PROGRAMA
   ===================================================== */
.programa-section { padding: 8rem 0; background: var(--black); }

.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.prog-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,160,96,.3), transparent);
}

.prog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
}

.prog-item--featured .pi-dot { background: var(--gold); color: var(--black); }
.prog-item--featured .pi-title { color: var(--gold-lt); }

.pi-time {
  font-family: var(--font-caps);
  font-size: .52rem;
  letter-spacing: .15em;
  color: var(--gold);
}

.pi-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(191,160,96,.35);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: .95rem;
  flex-shrink: 0;
  z-index: 1;
}

.pi-dot--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.pi-dot--party { background: rgba(191,160,96,.15); border-color: var(--gold); }

.pi-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: .2rem;
}

.pi-desc {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}

/* =====================================================
   GALERÍA — Horizontal Drag
   ===================================================== */
/* =====================================================
   VESTIMENTA
   ===================================================== */
.vestimenta-section { padding: 8rem 0; background: var(--black); }

.vest-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.vest-type {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--gold-lt);
  margin: 1.5rem 0 1rem;
}

.vest-body {
  font-size: .9rem;
  color: var(--ivory-dk);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.vest-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .82rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  background: rgba(191,160,96,.04);
  line-height: 1.6;
}

.vest-note i { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }

.vest-swatch-label {
  font-family: var(--font-caps);
  font-size: .58rem;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.vest-swatches { display: flex; flex-wrap: wrap; gap: 1rem; }

.vsw-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.vsw {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .2s;
  cursor: default;
}

.vsw--lt { border-color: rgba(191,160,96,.3); }
.vsw:hover { transform: scale(1.1); }

.vsw-wrap small {
  font-family: var(--font-caps);
  font-size: .48rem;
  letter-spacing: .1em;
  color: var(--muted);
}

/* =====================================================
   RSVP
   ===================================================== */
.rsvp-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
}

.rsvp-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1920&q=50')
    center / cover no-repeat;
  opacity: .07;
}

.rsvp-inner { max-width: 640px; width: 100%; padding: 4rem 2rem; }

.rsvp-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(191,160,96,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--gold);
  font-size: 1.8rem;
  background: rgba(191,160,96,.08);
}

.rsvp-eyebrow {
  font-family: var(--font-caps);
  font-size: .6rem;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.rsvp-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 1.75rem;
}

.rsvp-title em { font-style: italic; color: var(--gold-lt); }

.rsvp-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rsvp-rule span {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,160,96,.5));
}

.rsvp-rule span:last-child {
  background: linear-gradient(90deg, rgba(191,160,96,.5), transparent);
}

.rsvp-rule i { color: var(--gold); font-size: .7rem; }

.rsvp-text {
  font-size: .9rem;
  color: var(--ivory-dk);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.rsvp-text strong { color: var(--gold-lt); }

.rsvp-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-rsvp {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-caps);
  font-size: .6rem;
  letter-spacing: .15em;
  padding: .9rem 2rem;
  transition: transform .2s, box-shadow .2s;
}

.btn-rsvp:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.5); }

.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1da851; color: #fff; }

.btn-cal { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-cal:hover { background: var(--gold); color: var(--black); }

.rsvp-deadline {
  font-family: var(--font-caps);
  font-size: .55rem;
  letter-spacing: .15em;
  color: var(--muted);
}

.rsvp-deadline i { color: var(--gold-dk); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  padding: 5rem 0 2.5rem;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.ft-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ft-ornament span {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,160,96,.4));
}

.ft-ornament span:last-child {
  background: linear-gradient(90deg, rgba(191,160,96,.4), transparent);
}

.ft-ornament i { color: var(--gold); font-size: .65rem; }

.ft-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ivory);
  margin-bottom: .4rem;
}

.ft-degree, .ft-date {
  font-family: var(--font-caps);
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: .3rem;
}

.ft-degree { font-size: .6rem; }
.ft-date { font-size: .55rem; color: var(--muted); margin-bottom: 2rem; }

.ft-msg {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ivory-dk);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.ft-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.2);
}

.ft-copy i { color: rgba(191,160,96,.4); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .logro-grid { grid-template-columns: 1fr; }
  .logro-text-side { padding: 3rem 2rem; }
  .lps-frame { min-height: 360px; }

  .evento-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ev-sep-center {
    flex-direction: row;
    height: auto;
  }
  .ev-sep-center span {
    flex: 1;
    width: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(191,160,96,.3), transparent);
  }

  .prog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .prog-grid::before { display: none; }

  .vest-wrap { grid-template-columns: 1fr; gap: 3rem; }

  .ev-countdown { gap: 1.5rem; padding: 2rem; }
}

@media (max-width: 575px) {
  .prog-grid { grid-template-columns: 1fr; }
  .rsvp-actions { flex-direction: column; align-items: center; }
  .stats-row { gap: 1.5rem; }
  .hero-year-bg { font-size: 48vw; }
}
