:root {
  --red: #038983;
  --red-dark: #026a66;
  --teal: #038983;
  --green: #76a345;
  --gold: #f7a617;
  --crimson: #bd1f25;
  --ink: #282a2d;
  --muted: #686d70;
  --paper: #fffdf9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
}

.site-header {
  position: relative;
  z-index: 10;
  height: 82px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(40, 42, 45, 0.09);
}

.brand { 
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--red);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img { width: 52px; height: 50px; object-fit: contain; }
.brand strong { color: var(--green); }

nav { display: flex; align-items: center; gap: 34px; height: 100%; }

nav a {
  position: relative;
  color: #555a5d;
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: -14px;
  height: 3px;
  background: var(--crimson);
  transition: right 180ms ease;
}

nav a:hover::after,
nav a.active::after { right: 0; }

.menu-toggle { display: none; }

.header-action {
  justify-self: end;
  padding: 12px 20px;
  color: white;
  background: var(--red);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("assets/familia-portada.jpg") center center / cover no-repeat;
  transform: scale(1.002);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.95) 29%, rgba(255,255,255,0.3) 54%, rgba(255,255,255,0) 70%),
    linear-gradient(0deg, rgba(27,21,18,0.2), transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(710px, 56vw);
  padding: clamp(34px, 5vh, 58px) 20px 170px clamp(28px, 7vw, 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.organizers { display: flex; align-items: center; gap: 18px; margin-bottom: 25px; }
.organizers img:first-child { width: 95px; height: 70px; object-fit: contain; }
.organizers img:last-child { width: 122px; height: 65px; object-fit: contain; }
.organizers span { width: 1px; height: 46px; background: #d6d0ca; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--crimson);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.organizers,
.eyebrow,
h1,
.place-date {
  opacity: 0;
  animation: reveal-up 720ms cubic-bezier(.22, .75, .22, 1) forwards;
}

.organizers { animation-delay: 100ms; }
.eyebrow { animation-delay: 220ms; }
h1 { animation-delay: 320ms; }
.place-date { animation-delay: 450ms; }

h1 {
  margin: 0;
  color: var(--red);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.35rem, 4.15vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.place-date { display: flex; align-items: center; gap: 15px; margin-top: 26px; margin-bottom: 25px; }
.pin { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; background: #e3f3f2; border: 1px solid rgba(0,143,140,.13); border-radius: 50%; }
.pin svg { width: 24px; fill: var(--teal); }
.place-date div { display: flex; flex-direction: column; gap: 1px; }
.event-place { color: var(--ink); font-size: .95rem; font-weight: 700; }
.event-date { color: var(--red); font-family: "Montserrat", sans-serif; font-size: clamp(1.13rem, 1.65vw, 1.42rem); font-weight: 700; letter-spacing: -.025em; }
.event-date strong { font-size: 1.32em; font-weight: 800; }

.date-panel {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 7vw, 112px);
  right: clamp(24px, 7vw, 112px);
  bottom: 0;
  min-height: 132px;
  padding: 25px clamp(24px, 3vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
  color: white;
  background: rgba(3, 112, 107, 0.97);
  border-top: 5px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(28, 20, 18, .14);
  transform: translateY(100%);
  opacity: 0;
  animation: panel-rise 850ms 680ms cubic-bezier(.22, .78, .22, 1) forwards;
}

.date-panel article { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.date-panel article {
  opacity: 0;
  animation: reveal-soft 600ms ease forwards;
}
.date-panel article:first-child { animation-delay: 1.12s; }
.date-panel article:last-child { animation-delay: 1.26s; }
.date-panel time { display: flex; align-items: flex-end; gap: 6px; min-width: 82px; }
.date-panel time strong { font-family: "Montserrat", sans-serif; font-size: 2.35rem; line-height: 1; }
.date-panel time span { padding-bottom: 3px; color: #ffd07a; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.date-panel h2 { margin: 0 0 2px; font-family: "Montserrat", sans-serif; font-size: clamp(.95rem, 1.4vw, 1.2rem); line-height: 1.15; }
.date-panel article div > span { color: rgba(255,255,255,.76); font-size: .82rem; }
.divider { width: 1px; height: 70px; background: rgba(255,255,255,.25); }

.registration {
  position: relative;
  padding: clamp(76px, 9vw, 130px) clamp(24px, 7vw, 112px);
  overflow: hidden;
  background: #fff;
}

.registration::before { display: none; }

.section-heading { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin: 0; color: var(--red); font-family: "Montserrat", sans-serif; font-size: clamp(2.25rem, 4vw, 3.7rem); letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; }

.registration-grid {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(75px, 10vw, 125px);
  align-items: stretch;
}

.registration-card {
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(38px, 7vw, 95px);
  align-items: center;
  background: white;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.registration-card:hover { transform: translateY(-4px); box-shadow: none; }
.registration-card.agent-card { grid-template-columns: .94fr 1.06fr; }
.agent-card .registration-photo { order: 2; }
.registration-photo { height: min(55vh, 570px); min-height: 410px; margin: 0; overflow: hidden; box-shadow: 0 24px 55px rgba(48,42,36,.14); }
.registration-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,.75,.22,1); }
.registration-card.is-visible .registration-photo img { transform: scale(1.035); }
.registration-card:hover .registration-photo img { transform: scale(1.07); }
.registration-card-body { position: relative; padding: 45px 0; display: flex; flex-direction: column; }
.card-topline { position: absolute; inset: 0 auto auto 0; width: 72px; height: 4px; background: var(--teal); }
.agent-card .card-topline { background: var(--green); }
.card-icon { width: 48px; height: 48px; margin-bottom: 20px; display: grid; place-items: center; color: var(--teal); background: #edf7f6; border-radius: 50%; }
.agent-card .card-icon { color: var(--green); background: #f1f6eb; }
.card-icon svg { width: 29px; fill: currentColor; }
.card-type { margin: 0 0 4px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.registration-card h3 { margin: 0; color: var(--ink); font-family: "Montserrat", sans-serif; font-size: clamp(1.65rem, 2.8vw, 2.35rem); letter-spacing: -.035em; }
.card-intro { min-height: 48px; margin: 10px 0 26px; color: var(--muted); line-height: 1.5; }

.price-options { display: grid; gap: 12px; margin-bottom: 28px; }
.price-option { padding: 17px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: transparent; border: 0; border-bottom: 1px solid #e7e3dd; border-radius: 0; }
.option-date { display: flex; align-items: center; gap: 10px; }
.option-date strong { color: var(--red); font-family: "Montserrat", sans-serif; font-size: 1.8rem; }
.option-date span { max-width: 72px; color: var(--muted); font-size: .65rem; font-weight: 800; line-height: 1.25; letter-spacing: .08em; }
.option-price { display: grid; grid-template-columns: auto auto; justify-items: end; align-items: start; }
.option-price > span { margin: 3px 2px 0 0; font-weight: 700; }
.option-price strong { font-family: "Montserrat", sans-serif; font-size: 1.55rem; line-height: 1; }
.option-price small { grid-column: 1 / -1; margin-top: 4px; color: var(--muted); font-size: .68rem; }

.agent-details { flex: 1; margin-bottom: 28px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(25px, 4vw, 48px); padding: 28px 0; color: var(--ink); background: transparent; border-top: 1px solid #e7e3dd; border-bottom: 1px solid #e7e3dd; border-radius: 0; }
.large-date { display: flex; align-items: center; gap: 9px; }
.large-date strong { font-family: "Montserrat", sans-serif; font-size: 2.6rem; line-height: 1; }
.large-date strong { color: var(--green); }
.large-date span { color: var(--muted); font-size: .65rem; font-weight: 800; line-height: 1.3; letter-spacing: .09em; }
.single-price { padding-left: 26px; border-left: 1px solid #ddd8d1; }
.single-price p { margin: 0 0 5px; color: var(--muted); font-size: .72rem; }
.single-price div { display: flex; align-items: flex-start; }
.single-price div span { margin: 4px 3px 0 0; font-weight: 700; }
.single-price strong { font-family: "Montserrat", sans-serif; font-size: 2.1rem; line-height: 1; }
.single-price small { color: var(--muted); font-size: .7rem; }

.registration-action { margin-top: auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; color: white; background: var(--red); border-radius: 5px; font-weight: 700; text-decoration: none; transition: background 180ms ease; }
.registration-action:hover { background: var(--red-dark); }
.agent-card .registration-action { background: var(--green); }
.agent-card .registration-action:hover { background: #628a38; }
.registration-action span { font-size: 1.2rem; }
.registration-note { margin: 24px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }

.registration-process {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 58px auto 0;
  padding: clamp(45px, 5vw, 65px) 0 0;
  background: white;
  border: 0;
  border-top: 1px solid #d9d5cf;
  border-radius: 0;
  box-shadow: none;
}

.process-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.process-heading > span { width: 56px; height: 56px; flex: 0 0 56px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 50%; }
.process-heading svg { width: 29px; fill: currentColor; }
.process-heading p { margin: 0 0 3px; color: var(--teal); font-size: .69rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.process-heading h3 { margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.035em; }

.process-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; list-style: none; counter-reset: step; border-top: 1px solid #e9e3dd; }
.process-list li { min-height: 126px; padding: 24px 28px 24px 0; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; border-bottom: 1px solid #e9e3dd; }
.process-list li:nth-child(odd) { padding-right: 34px; border-right: 1px solid #e9e3dd; }
.process-list li:nth-child(even) { padding-left: 34px; }
.step-number { padding-top: 2px; color: var(--red); font-family: "Montserrat", sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .05em; }
.process-list p { margin: 0; color: #494d50; line-height: 1.55; }
.process-list strong { color: var(--ink); text-transform: uppercase; }
.process-list a { color: var(--teal); font-weight: 700; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.folio-note { margin-top: 28px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; color: #4b4d45; background: #fff8e9; border-left: 4px solid var(--gold); border-radius: 0 7px 7px 0; }
.folio-note svg { width: 25px; flex: 0 0 25px; fill: var(--gold); }
.folio-note p { margin: 0; line-height: 1.45; }

.deadline { margin-top: 22px; padding: 20px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: white; background: var(--green); border-radius: 2px; }
.deadline span { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.deadline strong { font-family: "Montserrat", sans-serif; font-size: clamp(1.15rem, 2vw, 1.55rem); }

/* Las clases de movimiento se activan solamente cuando JavaScript está disponible. */
.motion-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
}

.motion-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms cubic-bezier(.22,.75,.22,1),
    transform 720ms cubic-bezier(.22,.75,.22,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .registration-card.scroll-reveal { transform: translateY(38px) scale(.975); }
.motion-ready .registration-card.scroll-reveal.is-visible { transform: translateY(0) scale(1); }
.motion-ready .registration-card.scroll-reveal.is-visible:hover { transform: translateY(-6px) scale(1); }

.motion-ready .registration-process .step-reveal {
  opacity: 0;
  transform: translateX(-18px);
}

.motion-ready .registration-process.is-visible .step-reveal {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.motion-ready .registration-process.is-visible .step-reveal:nth-child(1) { transition-delay: 180ms; }
.motion-ready .registration-process.is-visible .step-reveal:nth-child(2) { transition-delay: 290ms; }
.motion-ready .registration-process.is-visible .step-reveal:nth-child(3) { transition-delay: 400ms; }
.motion-ready .registration-process.is-visible .step-reveal:nth-child(4) { transition-delay: 510ms; }

.motion-ready .registration-process .detail-reveal {
  opacity: 0;
  transform: translateY(14px);
}

.motion-ready .registration-process.is-visible .detail-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 560ms ease;
}

.motion-ready .registration-process.is-visible .folio-note { transition-delay: 640ms; }
.motion-ready .registration-process.is-visible .deadline { transition-delay: 760ms; }

.themes { position: relative; padding: clamp(90px,10vw,150px) clamp(24px,7vw,112px) 80px; color: var(--ink); overflow: hidden; background: #fff; }
.themes::before { position: absolute; content: ""; top: 0; left: 50%; bottom: 0; width: 1px; background: linear-gradient(transparent, rgba(0,143,140,.18) 8%, rgba(0,143,140,.18) 92%, transparent); }
.themes-heading { position: relative; z-index: 1; max-width: 780px; margin: 0 auto clamp(60px,8vw,110px); padding: 38px; text-align: center; background: white; }
.themes-heading::after { content: ""; display: block; width: 58px; height: 5px; margin: 26px auto 0; background: linear-gradient(90deg,var(--red) 50%,var(--teal) 50%); }
.themes-heading > p { margin: 0 0 12px; color: var(--teal); font-size: .73rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.themes-heading h2 { margin: 0; color: var(--teal); font-family: "Montserrat",sans-serif; font-size: clamp(2.3rem,4.5vw,4rem); letter-spacing: -.045em; }
.theme-objective { position: relative; max-width: 820px; margin: 34px auto 0; padding-top: 25px; text-align: center; }
.theme-objective::before { position: absolute; content: ""; top: 0; left: 50%; width: 72px; height: 2px; background: var(--gold); transform: translateX(-50%); }
.theme-objective strong { display: block; margin-bottom: 13px; color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.theme-objective p { margin: 0; color: #4d4c49; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.12rem,1.8vw,1.38rem); font-style: italic; line-height: 1.7; }
.themes-grid { position: relative; z-index: 1; max-width: 1180px; margin: auto; }
.theme-card { position: relative; min-height: clamp(430px,62vh,650px); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(40px,7vw,105px); color: var(--ink); }
.theme-card:nth-child(even) { grid-template-columns: .92fr 1.08fr; }
.theme-card:nth-child(even) figure { order: 2; }
.theme-card figure { position: relative; height: min(50vh,520px); min-height: 350px; margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 24px 55px rgba(48,42,36,.14); }
.theme-card figure::after { position: absolute; content: ""; inset: 0; border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 0 0 8px rgba(255,255,255,.08); }
.theme-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,.75,.22,1); }
.theme-card.is-visible img { transform: scale(1.035); }
.theme-card:hover img { transform: scale(1.075); }
.theme-copy { position: relative; padding: 45px 0; }
.theme-copy::before { content: ""; display: block; width: 48px; height: 5px; margin-bottom: 25px; background: var(--teal); }
.theme-card:nth-child(3n+1) .theme-copy::before { background: var(--teal); }
.theme-card:nth-child(3n+2) .theme-copy::before { background: var(--green); }
.theme-card:nth-child(3n) .theme-copy::before { background: var(--gold); }
.theme-card:nth-child(4n) .theme-copy::before { background: var(--crimson); }
.theme-number { display: block; margin-bottom: 12px; color: rgba(3,137,131,.5); font-family: "Montserrat",sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.theme-card h3 { margin: 0; font-family: "Montserrat",sans-serif; font-size: clamp(1.65rem,3vw,2.65rem); line-height: 1.08; letter-spacing: -.04em; }
.theme-card p { max-width: 480px; margin: 15px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.theme-label { display: block; margin: 0 0 8px; color: var(--crimson); font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.motion-ready .themes .theme-card.scroll-reveal:nth-child(odd) { transform: translateX(-65px); }
.motion-ready .themes .theme-card.scroll-reveal:nth-child(even) { transform: translateX(65px); }
.motion-ready .themes .scroll-reveal.is-visible { transform: translateX(0); }

.theme-statement { position: relative; z-index: 1; max-width: 1040px; margin: clamp(90px,13vw,190px) auto 30px; padding: clamp(55px,8vw,100px) 30px; text-align: center; border-top: 1px solid #ddd7cf; border-bottom: 1px solid #ddd7cf; }
.theme-statement > span { position: absolute; top: 24px; left: 50%; color: rgba(189,31,37,.11); font-family: Georgia,"Times New Roman",serif; font-size: clamp(7rem,13vw,12rem); line-height: 1; transform: translateX(-50%); }
.theme-statement p { position: relative; margin: 0; color: var(--teal); font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.2rem,5vw,4.6rem); font-style: italic; line-height: 1.13; letter-spacing: -.035em; }
.theme-statement footer { margin-top: 28px; color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-soft {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes panel-rise {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-breathe {
  from { transform: scale(1.002); }
  to { transform: scale(1.045); }
}

@media (max-width: 900px) {
  .site-header { position: relative; grid-template-columns: 1fr auto auto; height: 72px; padding-inline: 20px; gap: 12px; }
  nav { position: absolute; z-index: 20; top: 72px; left: 0; right: 0; height: auto; padding: 15px 20px 24px; display: flex; align-items: stretch; flex-direction: column; gap: 0; background: white; border-top: 1px solid #e4e0da; box-shadow: 0 18px 35px rgba(35,42,41,.13); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
  nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  nav a { padding: 15px 4px; border-bottom: 1px solid #ece8e2; font-size: 1rem; }
  nav a::after { display: none; }
  .menu-toggle { width: 44px; height: 44px; padding: 10px; display: grid; place-content: center; gap: 4px; color: var(--ink); background: transparent; border: 1px solid #dedad4; border-radius: 50%; cursor: pointer; }
  .menu-toggle span { width: 19px; height: 2px; display: block; background: var(--teal); transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .header-action { font-size: 0; padding: 11px 14px; }
  .header-action::after { content: "Inscripciones"; font-size: .78rem; }
  .hero { min-height: auto; padding-bottom: 0; display: block; }
  .hero-image { height: 48vh; min-height: 370px; inset: 0 0 auto; background-position: 63% center; }
  .hero-shade { height: 48vh; min-height: 370px; background: linear-gradient(0deg, white 0%, rgba(255,255,255,0) 50%); }
  .hero-content { width: 100%; padding: 270px 24px 38px; }
  .organizers { margin-bottom: 18px; }
  h1 { font-size: clamp(2.1rem, 9vw, 3.3rem); }
  .date-panel { position: relative; inset: auto; grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .divider { width: 100%; height: 1px; }
  .registration-grid { grid-template-columns: 1fr; }
  .registration-card,
  .registration-card.agent-card { grid-template-columns: 1fr 1fr; gap: 34px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li,
  .process-list li:nth-child(odd),
  .process-list li:nth-child(even) { padding: 22px 0; border-right: 0; }
  .theme-card, .theme-card:nth-child(even) { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 520px) {
  .site-header { padding: 0 16px; }
  .brand span { display: none; }
  .hero-content { padding-inline: 20px; }
  .organizers img:first-child { width: 78px; }
  .organizers img:last-child { width: 105px; }
  .date-panel article { gap: 14px; }
  .date-panel time strong { font-size: 1.95rem; }
  .registration { padding-inline: 18px; }
  .registration-card,
  .registration-card.agent-card { padding: 0; grid-template-columns: 1fr; gap: 0; }
  .agent-card .registration-photo { order: 0; }
  .registration-photo { height: 310px; min-height: 310px; }
  .registration-card-body { padding: 42px 4px 12px; }
  .price-option { align-items: flex-start; }
  .agent-details { grid-template-columns: 1fr; gap: 18px; }
  .single-price { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .registration-process { padding: 28px 20px; }
  .process-heading { align-items: flex-start; }
  .process-heading > span { width: 48px; height: 48px; flex-basis: 48px; }
  .process-list li { grid-template-columns: 36px 1fr; gap: 8px; }
  .deadline { align-items: flex-start; flex-direction: column; gap: 5px; }
  .themes { padding-inline: 18px; }
  .themes::before { left: 28px; }
  .themes-heading { padding-inline: 12px; }
  .theme-card,
  .theme-card:nth-child(even),
  .theme-wide,
  .theme-featured,
  .theme-practice { min-height: 540px; grid-template-columns: 1fr; gap: 0; padding: 38px 0 38px 28px; }
  .theme-card:nth-child(even) figure { order: 0; }
  .theme-card figure { height: 275px; min-height: 275px; }
  .theme-copy { padding: 36px 12px 10px; }
  .motion-ready .themes .theme-card.scroll-reveal:nth-child(odd),
  .motion-ready .themes .theme-card.scroll-reveal:nth-child(even) { transform: translateY(35px); }
  .motion-ready .themes .theme-card.scroll-reveal.is-visible { transform: translateY(0); }
  .theme-statement { padding-inline: 8px; }
  .theme-statement p br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero-image,
  .organizers,
  .eyebrow,
  h1,
  .place-date,
  .date-panel,
  .date-panel article {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .motion-ready .scroll-reveal,
  .motion-ready .registration-card.scroll-reveal,
  .motion-ready .registration-process .step-reveal,
  .motion-ready .registration-process .detail-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Programa para sacerdotes */
.program-page { background: #fff; }
.program-hero { position: relative; min-height: 420px; padding: clamp(75px,10vw,130px) clamp(24px,9vw,145px); display: flex; align-items: center; overflow: hidden; background: #f7f8f5; }
.program-hero::after { position: absolute; content: ""; width: 46vw; height: 46vw; max-width: 650px; max-height: 650px; right: -15vw; top: -20vw; border: 70px solid rgba(3,137,131,.06); border-radius: 50%; }
.program-hero-copy { position: relative; z-index: 1; }
.program-hero-copy > p { margin: 0 0 10px; color: var(--crimson); font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.program-hero h1 { opacity: 1; margin: 0; animation: none; color: var(--teal); font-size: clamp(3.8rem,8vw,7.5rem); }
.program-meta { margin-top: 24px; display: flex; gap: 28px; color: #555a5d; font-size: 1rem; }
.program-meta span + span { padding-left: 28px; border-left: 1px solid #cdc9c3; }
.program-mark { position: absolute; right: clamp(30px,10vw,150px); bottom: 75px; display: flex; gap: 12px; }
.program-mark span { width: 29px; height: 29px; background: var(--teal); opacity: .18; transform: rotate(45deg); }
.program-mark span:nth-child(2) { background: var(--green); opacity: .28; }
.program-mark span:nth-child(3) { background: var(--gold); opacity: .38; }
.agents-program-hero::after { border-color: rgba(118,163,69,.08); }

.program-switch { position: relative; z-index: 7; max-width: 620px; margin: -26px auto 55px; display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid #dedad4; box-shadow: 0 12px 35px rgba(39,43,42,.08); }
.program-switch a { padding: 17px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); font-weight: 700; text-decoration: none; }
.program-switch a + a { border-left: 1px solid #dedad4; }
.program-switch a span { color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.program-switch a.active { color: white; background: var(--teal); }
.program-switch a.active span { color: rgba(255,255,255,.75); }

.day-nav { position: sticky; z-index: 6; top: 0; max-width: 960px; margin: -34px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4,1fr); background: white; box-shadow: 0 13px 40px rgba(39,43,42,.08); }
.day-nav a { padding: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.day-nav.three-days { grid-template-columns: repeat(3,1fr); }
.day-nav a:hover { color: var(--teal); border-color: var(--gold); }
.day-nav strong { color: var(--teal); font-family: "Montserrat",sans-serif; font-size: 1.45rem; }
.day-nav span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }

.schedule { max-width: 1080px; margin: auto; padding: clamp(80px,10vw,140px) 24px; }
.schedule-day { scroll-margin-top: 90px; display: grid; grid-template-columns: 300px 1fr; gap: clamp(45px,8vw,100px); padding: 75px 0; border-bottom: 1px solid #dedad4; }
.schedule-day > header { align-self: start; position: sticky; top: 90px; }
.schedule-day > header time { display: flex; align-items: center; gap: 14px; }
.schedule-day > header time strong { color: var(--teal); font-family: "Montserrat",sans-serif; font-size: 4rem; line-height: 1; }
.schedule-day > header time span { color: var(--muted); font-size: .72rem; font-weight: 800; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; }
.schedule-day > header h2 { margin: 21px 0 0; font-family: Georgia,"Times New Roman",serif; font-size: 1.75rem; font-weight: 400; font-style: italic; line-height: 1.25; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; min-height: 78px; padding: 0 0 27px 105px; }
.timeline li::before { position: absolute; content: ""; left: 74px; top: 7px; bottom: -7px; width: 1px; background: #dcd7d0; }
.timeline li::after { position: absolute; content: ""; left: 69px; top: 5px; width: 11px; height: 11px; background: white; border: 3px solid var(--teal); border-radius: 50%; }
.timeline li:last-child::before { display: none; }
.timeline > li > time { position: absolute; left: 0; top: 0; color: var(--teal); font-family: "Montserrat",sans-serif; font-size: .82rem; font-weight: 800; }
.timeline h3 { margin: 0; font-family: "Montserrat",sans-serif; font-size: 1.05rem; line-height: 1.3; }
.timeline p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.timeline .topic div > span { display: block; margin-bottom: 3px; color: var(--crimson); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline .topic::after { border-color: var(--gold); background: var(--gold); }
.timeline .highlight::after { border-color: var(--green); background: var(--green); }
.program-closing { max-width: 900px; margin: 0 auto 130px; padding: 70px 25px; text-align: center; border-top: 1px solid #dedad4; border-bottom: 1px solid #dedad4; }
.program-closing p { margin: 0; color: var(--teal); font-family: Georgia,"Times New Roman",serif; font-size: clamp(2rem,4vw,3.6rem); font-style: italic; line-height: 1.2; }

@media (max-width: 760px) {
  .program-hero { min-height: 350px; }
  .program-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .program-meta span + span { padding-left: 0; border-left: 0; }
  .program-mark { display: none; }
  .program-switch { margin: -20px 16px 42px; }
  .program-switch a { padding: 14px; align-items: flex-start; flex-direction: column; gap: 3px; }
  .day-nav { overflow-x: auto; padding: 0; }
  .day-nav a { min-width: 110px; padding-inline: 12px; flex-direction: column; gap: 2px; }
  .schedule-day { grid-template-columns: 1fr; gap: 42px; padding: 62px 0; }
  .schedule-day > header { position: static; }
  .timeline li { padding-left: 93px; }
  .timeline li::before { left: 64px; }
  .timeline li::after { left: 59px; }
}
