:root {
  --g900: #081f12;
  --g800: #0d3020;
  --g700: #16512f;
  --g600: #1e7044;
  --g400: #3aa368;
  --g100: #e6f4ec;
  --g050: #f4faf6;
  --gold: #c49a28;
  --gold2: #ddb84a;
  --gold3: #f2d98a;
  --gold-bg: #fdf8ec;
  --ink: #111a14;
  --ink2: #2d3d32;
  --muted: #6b7d72;
  --rule: rgba(30,112,68,.12);
  --white: #ffffff;
  --surface: #f8faf8;
  --ff-serif: 'Libre Baskerville', Georgia, serif;
  --ff-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 88px; }
body {
  font-family: var(--ff-sans);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
section[id] { scroll-margin-top: 88px; }
::selection { background: rgba(196,154,40,.22); color: var(--g900); }
:focus-visible {
  outline: 2px solid rgba(196,154,40,.75);
  outline-offset: 3px;
  border-radius: 8px;
}

#prog {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--g600), var(--gold2));
  transition: width .1s linear;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.pinned { border-color: var(--rule); box-shadow: var(--shadow-sm); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--g800);
}
.nav-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--g700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 14px; height: 14px; color: white; }
.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-links a {
  position: relative;
  padding: .4rem .75rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink2);
  transition: background .18s, color .18s, transform .18s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .28rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--g600), var(--gold2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { background: var(--g100); color: var(--g700); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--g700) !important;
  color: white !important;
  padding: .45rem 1rem !important;
  border-radius: 6px;
  font-weight: 600 !important;
  box-shadow: 0 10px 24px rgba(22,81,47,.12);
  transition: background .18s !important, transform .18s !important, box-shadow .18s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--g600) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(22,81,47,.16);
}
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--ink2);
}
.nav-burger svg { width: 22px; height: 22px; }

.hero {
  margin-top: 56px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}
.hero-img-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--g900);
}
.hero-img-wrap img {
  width: 100%;
  display: block;
  min-height: 320px;
  max-height: 58vh;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
  will-change: transform;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 20%, transparent 80%, rgba(255,255,255,.08)),
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.16) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 88% 24%, rgba(255,255,255,.14) 0 2px, transparent 2px 100%);
  background-size: auto, 140px 140px, 180px 180px;
  mix-blend-mode: screen;
  opacity: .35;
  pointer-events: none;
  z-index: 1;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(to bottom, transparent, rgba(8,31,18,.58));
  z-index: 2;
  pointer-events: none;
}
@keyframes heroZoom {
  from { transform: scale(1.10); }
  to { transform: scale(1.00); }
}

.hero-over {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border-top: 1px solid rgba(8,31,18,.06);
  border-bottom: 1px solid rgba(30,112,68,.08);
}
.hero-over::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
  opacity: .9;
}
.hero-over-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.9rem clamp(1.5rem, 5vw, 4rem) 1.55rem;
}
.hero-over-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(196,154,40,.10);
  border: 1px solid rgba(196,154,40,.28);
  color: var(--gold);
  padding: .26rem .8rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  box-shadow: 0 8px 24px rgba(196,154,40,.08);
  animation: fadeUp .8s var(--ease) both .1s;
}
.hero-over-pill span {
  width: 5px;
  height: 5px;
  background: var(--gold2);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero-over h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  color: var(--g900);
  margin-bottom: .45rem;
  letter-spacing: -.03em;
  text-wrap: balance;
  animation: fadeUp .9s var(--ease) both .18s;
}
.hero-over h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 8px 22px rgba(196,154,40,.10);
}
.hero-over p {
  max-width: 760px;
  font-size: clamp(.88rem, 1.5vw, 1.04rem);
  color: var(--muted);
  animation: fadeUp 1s var(--ease) both .28s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-notice {
  background: linear-gradient(135deg, #f0f7f3 0%, #e8f4ed 60%, #f4faf6 100%);
  border-top: 3px solid var(--g700);
  border-bottom: 2px solid rgba(22,81,47,.2);
  position: relative;
  overflow: hidden;
}
.hero-notice::before {
  content: '!';
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-serif);
  font-size: 9rem;
  font-weight: 700;
  color: rgba(22,81,47,.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero-notice-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}
.hero-notice-body {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  font-family: var(--ff-sans);
}
.hero-video-embed {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(22,81,47,.16);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(22,81,47,.12);
}
.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #dfe8e3;
}
.hero-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.official-notice {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 42px rgba(88,20,20,.18);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.official-notice:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 24px 54px rgba(88,20,20,.24);
}
.official-notice-head {
  position: relative;
  min-height: 190px;
  padding: 2rem 2rem 1.7rem;
  overflow: hidden;
  background: linear-gradient(135deg, #c94e4e 0%, #8f2f2f 100%);
}
.official-notice-head::before {
  content: '!';
  position: absolute;
  right: 1.9rem;
  top: .35rem;
  font-family: var(--ff-serif);
  font-size: 7.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.12);
  line-height: 1;
  pointer-events: none;
}
.official-notice-chip {
  display: inline-flex;
  align-items: center;
  margin-bottom: .7rem;
  padding: .24rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: white;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.official-notice h2 {
  position: relative;
  max-width: 760px;
  color: white;
  font-family: var(--ff-serif);
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -.02em;
}
.official-notice-body {
  padding: 1.75rem 2rem;
  background: white;
  border-top: 1px solid rgba(176,75,75,.18);
}
.official-notice p {
  max-width: 880px;
  margin-bottom: .8rem;
  color: var(--ink2);
  font-size: .9rem;
  line-height: 1.72;
}
.official-notice p:last-child { margin-bottom: 0; }
.exam-notice {
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 42px rgba(8,31,18,.16);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.exam-notice:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 24px 54px rgba(8,31,18,.2);
}
.exam-notice-head {
  position: relative;
  min-height: 190px;
  padding: 2rem 2rem 1.7rem;
  overflow: hidden;
  background: linear-gradient(135deg, #2f7f52 0%, #16512f 100%);
}
.exam-notice-head::before {
  content: '!';
  position: absolute;
  right: 1.9rem;
  top: .35rem;
  font-family: var(--ff-serif);
  font-size: 7.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.10);
  line-height: 1;
  pointer-events: none;
}
.exam-notice-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .9rem;
  padding: .24rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: white;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.exam-notice-chip svg {
  width: 13px;
  height: 13px;
}
.exam-notice h2 {
  position: relative;
  max-width: 680px;
  color: white;
  font-family: var(--ff-serif);
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -.02em;
}
.exam-notice-body {
  padding: 1.75rem 2rem;
  background: white;
  border-top: 1px solid var(--rule);
}
.exam-notice p {
  margin-bottom: .8rem;
  color: var(--ink2);
  font-size: .88rem;
  line-height: 1.72;
}
.exam-notice p:last-child { margin-bottom: 0; }
.exam-notice strong {
  color: var(--g900);
  font-weight: 700;
}
.exam-notice a {
  color: var(--g700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-bar {
  background: linear-gradient(180deg, rgba(8,31,18,.96) 0%, rgba(13,48,32,.98) 100%);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.hero-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.15rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-bar-dates { display: flex; gap: .75rem; flex-wrap: wrap; }
.hdate {
  display: flex;
  flex-direction: column;
  padding: .7rem 1rem;
  min-width: 148px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.hdate:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
}
.hdate-label {
  font-family: var(--ff-sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: .15rem;
}
.hdate-val { font-size: .9rem; color: white; font-weight: 500; }
.hero-bar-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--g900);
  font-weight: 700;
  font-size: .9rem;
  padding: .82rem 1.8rem;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(196,154,40,.22);
  transition: background .22s, transform .18s, box-shadow .22s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-bar-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 48%, transparent 76%);
  transform: translateX(-140%);
  transition: transform .8s var(--ease);
}
.hero-bar-cta:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(196,154,40,.28);
}
.hero-bar-cta:hover::before { transform: translateX(140%); }
.hero-bar-cta svg { width: 16px; height: 16px; }

.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }
.wrap { max-width: 1160px; margin: 0 auto; }
.label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g600);
  margin-bottom: .75rem;
}
.label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.18;
  color: var(--g900);
  margin-bottom: .9rem;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.body-text {
  font-size: clamp(.9rem, 1.5vw, 1.02rem);
  color: var(--muted);
  line-height: 1.78;
  max-width: 640px;
}

#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-top: 3rem;
}
.about-prose p {
  font-size: .97rem;
  color: var(--ink2);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose strong { color: var(--g700); font-weight: 600; }
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-bottom: 2rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.stat { padding: 1.4rem 1.2rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--rule); }
.stat-n {
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  color: var(--g700);
  line-height: 1;
}
.stat-d {
  font-size: .73rem;
  color: var(--muted);
  margin-top: .35rem;
  letter-spacing: .02em;
  line-height: 1.4;
}
.pillars { display: flex; flex-direction: column; gap: .9rem; margin-top: 2rem; }
.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--rule);
  transition: border-color .2s, box-shadow .2s;
}
.pillar:hover { border-color: rgba(30,112,68,.3); box-shadow: var(--shadow-sm); }
.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g600);
  flex-shrink: 0;
  margin-top: .4rem;
}
.pillar strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--g900);
  margin-bottom: .2rem;
}
.pillar span { font-size: .82rem; color: var(--muted); line-height: 1.5; }

#fases { background: var(--g900); }
#fases .label { color: var(--gold2); }
#fases .label::before { background: rgba(255,255,255,.25); }
#fases .heading { color: white; }
#fases .body-text { color: rgba(255,255,255,.6); }
.fases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.fase-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s var(--ease), border-color .3s;
}
.fase-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.2); }
.fase-head { padding: 2rem 2rem 1.6rem; position: relative; overflow: hidden; }
.fase-1 .fase-head { background: linear-gradient(135deg, #1e7044 0%, #16512f 100%); }
.fase-2 .fase-head { background: linear-gradient(135deg, #c49a28 0%, #9a7618 100%); }
.fase-num {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-family: var(--ff-serif);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,.08);
  line-height: 1;
  pointer-events: none;
}
.fase-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.15);
  color: white;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.fase-chip svg { width: 11px; height: 11px; }
.fase-title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.fase-body {
  background: rgba(255,255,255,.04);
  padding: 1.8rem 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.fase-row {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: .95rem;
}
.fase-row:last-of-type { margin-bottom: 0; }
.fase-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.7);
}
.fase-row-icon svg { width: 15px; height: 15px; }
.fase-row strong {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: .15rem;
}
.fase-row span { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.fase-divider { height: 1px; background: rgba(255,255,255,.06); margin: 1.2rem 0; }
.fase-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.fase-list li {
  display: flex;
  gap: .6rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.fase-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
  margin-top: .5rem;
}

#calendario { background: var(--surface); }
.cal-cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.cal-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rule);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cal-top { padding: 1.2rem 1.2rem .9rem; }
.v-green .cal-top { background: var(--g800); }
.v-gold .cal-top { background: var(--gold); }
.cal-day {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.v-gold .cal-day { color: var(--g900); }
.cal-mo {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: .2rem;
}
.v-gold .cal-mo { color: rgba(0,0,0,.5); }
.cal-bot { padding: 1rem 1.2rem; background: white; }
.cal-ev { font-weight: 600; font-size: .85rem; color: var(--g900); margin-bottom: .3rem; }
.cal-desc { font-size: .77rem; color: var(--muted); line-height: 1.55; }
.cal-table-wrap {
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.label-sub {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g600);
  margin-bottom: 0;
  padding: 1.2rem 1.5rem .6rem;
  background: white;
  display: block;
}
table.cal { width: 100%; border-collapse: collapse; background: white; }
table.cal thead tr { background: var(--g800); }
table.cal th {
  padding: .85rem 1.5rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: white;
}
table.cal td {
  padding: .8rem 1.5rem;
  font-size: .83rem;
  color: var(--ink2);
  border-bottom: 1px solid var(--rule);
}
table.cal td:first-child { font-weight: 600; color: var(--g700); white-space: nowrap; }
table.cal tr:last-child td { border-bottom: none; }
table.cal tbody tr:nth-child(even) td { background: var(--g050); }

#temario { background: white; }
.temario-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.tcol {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.tcol-head {
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tcol-head-g { background: var(--g800); }
.tcol-head-o { background: var(--gold); }
.tcol-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: white;
}
.tcol-icon svg { width: 20px; height: 20px; }
.tcol-head h3 { font-family: var(--ff-serif); font-size: 1.15rem; color: white; }
.tcol-head span { font-size: .7rem; color: rgba(255,255,255,.65); margin-top: .15rem; display: block; }
.tcol-body { padding: .4rem 0; }
.titem {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 1.8rem;
  border-bottom: 1px solid var(--rule);
  font-size: .86rem;
  color: var(--ink2);
  transition: background .15s;
}
.titem:last-child { border-bottom: none; }
.titem:hover { background: var(--g050); }
.tnum {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--ff-sans);
  font-size: .65rem;
  font-weight: 700;
}
.tn-g { background: var(--g100); color: var(--g700); }
.tn-o { background: var(--gold-bg); color: var(--gold); }
.temario-note {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-top: 1.8rem;
  padding: 1.1rem 1.4rem;
  background: var(--g100);
  border-radius: 10px;
  border-left: 3px solid var(--g600);
  font-size: .84rem;
  color: var(--g800);
  line-height: 1.65;
}
.temario-note svg {
  width: 18px;
  height: 18px;
  color: var(--g600);
  flex-shrink: 0;
  margin-top: 1px;
}

#registro {
  background: var(--g900);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.reg-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(30,112,68,.25) 0%, transparent 60%),
    radial-gradient(ellipse 55% 70% at 90% 60%, rgba(196,154,40,.12) 0%, transparent 55%);
}
#registro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,154,40,.4), transparent);
}
.reg-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
#registro .label { color: var(--gold2); }
#registro .label::before { background: rgba(255,255,255,.2); }
#registro .heading { color: white; }
#registro .body-text { color: rgba(255,255,255,.6); margin: 0 auto 2.5rem; }
.reg-deadline {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  padding: .6rem 1.3rem;
  border-radius: 999px;
  font-size: .83rem;
  margin-bottom: 2rem;
}
.reg-deadline strong { color: var(--gold2); }
.reg-deadline svg { width: 15px; height: 15px; color: var(--gold2); }
.btn-reg {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gold);
  color: var(--g900);
  padding: 1.1rem 3rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(196,154,40,.45);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-reg:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(196,154,40,.55);
}
.btn-reg svg { width: 19px; height: 19px; }
.reg-url { font-size: .75rem; color: rgba(255,255,255,.3); margin-top: 1.2rem; letter-spacing: .04em; }

#contacto { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
  align-items: start;
}
.contact-item { margin-bottom: 2rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g600);
  margin-bottom: .4rem;
}
.contact-val { font-size: 1.02rem; font-weight: 600; color: var(--g900); }
.contact-val a { color: inherit; transition: color .15s; }
.contact-val a:hover { color: var(--g600); }
.contact-note { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.contact-divider { height: 1px; background: var(--rule); margin: 1.8rem 0; }
.institutions { display: flex; flex-direction: column; gap: 1px; }
.inst-row {
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: white;
  margin-bottom: .75rem;
}
.inst-row:last-child { margin-bottom: 0; }
.inst-name { font-weight: 600; font-size: .92rem; color: var(--g900); margin-bottom: .2rem; }
.inst-sub { font-size: .8rem; color: var(--muted); }

.fase-card, .cal-card, .tcol, .pillar, .inst-row, .btn-reg, .exam-notice, .official-notice {
  position: relative;
  overflow: hidden;
}
.fase-card::after, .cal-card::after, .tcol::after, .pillar::after, .inst-row::after, .btn-reg::before, .exam-notice::after, .official-notice::after {
  pointer-events: none;
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 12%, rgba(255,255,255,.22) 30%, transparent 48%);
  transform: translateX(-135%);
  transition: transform .9s var(--ease);
}
.fase-card:hover::after, .cal-card:hover::after, .tcol:hover::after,
.pillar:hover::after, .inst-row:hover::after, .btn-reg:hover::before, .exam-notice:hover::after, .official-notice:hover::after {
  transform: translateX(135%);
}
.tcol { transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease); }
.tcol:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(30,112,68,.18); }
.inst-row { transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.inst-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(30,112,68,.22); }

footer {
  background: var(--g900);
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
footer p { font-size: .78rem; color: rgba(255,255,255,.4); }
footer strong { color: rgba(255,255,255,.65); font-weight: 600; }
.footer-mark {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.35);
}
.footer-mark-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

@media (max-width: 860px) {
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--rule);
    padding: .5rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links a { font-size: .88rem; padding: .65rem 1rem; }
  .nav-burger { display: block; }
  .cal-cards { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 700px) {
  .fases-grid,
  .temario-cols,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-img-wrap img { min-height: 260px; max-height: 44vh; }
  .hero-over-inner { padding-top: 1.45rem; padding-bottom: 1.25rem; }
  .hero-bar-inner { align-items: stretch; }
  .hero-bar-cta { width: 100%; justify-content: center; }
  .hdate { min-width: 0; flex: 1 1 180px; }
  .hero-notice::before { display: none; }
}

@media (max-width: 500px) {
  .cal-cards { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-img-wrap img { transform: none !important; }
}
