:root {
  --cream: #fff5df;
  --orange: #ff9f29;
  --blue: #083c54;
  --muted: #bbd0d7;
  --line: rgba(224, 242, 245, .2);
  font-family: Inter, Arial, sans-serif;
  color: var(--cream);
  background: var(--blue);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(110deg, rgba(3,32,49,.9), rgba(5,56,78,.84)), url('fondo-web.jpg') center / cover;
  z-index: -1;
  pointer-events: none;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.page-block {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.block-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 2px; line-height: 1.9; margin: 0; }
.logo-stage { width: min(900px, 100%); position: relative; padding: 30px 35px; }
.kronox-logo { display: block; width: 100%; filter: drop-shadow(0 22px 20px #001b2b70); }
.art-cross, .art-star { position: absolute; width: 85px; }
.art-cross { left: 0; top: 5%; transform: rotate(-14deg); }
.art-star { right: 0; bottom: 8%; }
.guest-label { color: var(--muted); letter-spacing: 2px; font-size: 15px; margin: 0; }
.guest-name {
  background: #158ec0;
  padding: 20px 40px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(52px, 9.5vw, 136px);
  transform: rotate(-2deg);
  margin: 0;
  overflow-wrap: anywhere;
  max-width: 95%;
}
.next-block { display: grid; place-items: center; width: 60px; height: 60px; font-size: 24px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; margin-top: 15px; }
.event-block { background: #031f303d; }
.hackathon-logo { width: min(380px, 85%); }
h1, h2 { font-family: Anton, 'Arial Narrow', Impact, sans-serif; font-weight: 400; margin: 0; line-height: 1.15; }
h1 {
  font-size: clamp(56px, 15vw, 210px);
  color: var(--blue);
  background: var(--orange);
  padding: 16px 28px;
  transform: rotate(-1deg);
  max-width: 100%;
}
h2 { font-size: clamp(36px, 6.5vw, 88px); }
h2 span { color: var(--orange); }
.event-description { font-size: 21px; line-height: 1.8; color: var(--muted); max-width: 700px; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 20px 28px; min-height: 60px; border: 1px solid transparent; border-radius: 3px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.button-calendar-small { font-size: 12px; min-height: 44px; padding: 10px 14px; gap: 10px; margin-top: 6px; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--orange); color: var(--blue); }
.button-outline { border-color: var(--line); color: var(--cream); background: transparent; }
.button-outline:hover { background: #ffffff0c; }
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border: 1px solid var(--line); background: #ffffff05; border-radius: 5px; margin-block: 16px; }
.detail { padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.detail + .detail { border-left: 1px solid var(--line); }
.detail-icon { width: 170px; height: 170px; object-fit: contain; margin-bottom: 16px; }
.detail .venue-logo { width: 190px; height: 170px; margin-bottom: 16px; }
.detail .venue-name { font-size: clamp(25px, 2.5vw, 36px); line-height: 1.3; }
.detail-number { font-size: 14px; letter-spacing: 2px; color: var(--orange); }
.detail strong { font-size: clamp(28px, 3.3vw, 46px); font-weight: 600; }
.detail > span:not(.detail-number) { font-size: 16px; color: var(--muted); line-height: 1.7; }
.detail-link { text-decoration: none; transition: background .2s; }
.detail-link:hover { background: #ffffff0b; }
.detail .map-label { color: var(--orange) !important; text-decoration: underline; text-underline-offset: 4px; }
.farewell-block { padding-bottom: 26px; border-bottom: 0; }
.closing { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 28px; padding-block: 60px; }
.closing h2 {
  color: var(--cream);
  font-size: clamp(42px, 10.5vw, 154px);
  position: relative;
  isolation: isolate;
  padding: .2em .3em;
  max-width: 100%;
  transform: rotate(-2deg);
}
.closing h2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ed5727;
  clip-path: polygon(0 8%, 12% 4%, 25% 7%, 39% 2%, 54% 5%, 70% 0, 85% 4%, 99% 1%, 98% 30%, 100% 55%, 98% 77%, 99% 95%, 84% 98%, 69% 94%, 52% 100%, 35% 96%, 19% 99%, 1% 94%, 2% 70%, 0 47%, 2% 24%);
}
.closing .eyebrow { color: var(--muted); }
.site-footer { padding-top: 40px; }
.site-footer > img { display: block; width: min(1240px, 100%); max-height: 180px; object-fit: contain; margin: 0 auto 45px; }
.site-footer > div { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 13px; letter-spacing: 1px; }
.site-footer a { text-decoration: none; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 15px; background: var(--cream); color: var(--blue); z-index: 20; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--cream); color: var(--blue); box-shadow: 0 8px 40px #0004; padding: 16px 22px; border-radius: 4px; max-width: calc(100% - 32px); width: max-content; font-size: 13px; z-index: 10; }
.toast:empty { display: none; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .page-block { min-height: auto; padding-block: 34px; }
  .block-content { gap: 18px; }
  .logo-stage { width: calc(100% + 12px); max-width: calc(100% + 12px); padding: 12px 0; }
  .art-cross, .art-star { width: 45px; }
  .guest-name { padding: 18px 20px; font-size: clamp(42px, 11.5vw, 80px); }
  .eyebrow, .guest-label { font-size: 12px; letter-spacing: 1.5px; }
  h1 { font-size: clamp(40px, 13.8vw, 96px); padding: 16px 12px; }
  .hackathon-logo { width: min(290px, 90%); }
  .event-description { font-size: 18px; line-height: 1.6; }
  .details { grid-template-columns: 1fr; margin-block: 4px; }
  .detail { padding: 20px; gap: 8px; }
  .detail + .detail { border-left: 0; border-top: 1px solid var(--line); }
  .detail-icon { width: 120px; height: 120px; margin-bottom: 6px; }
  .detail .venue-logo { width: 150px; height: 120px; margin-bottom: 6px; }
  .closing { flex: none; padding-block: 14px; gap: 18px; }
  .next-block { width: 48px; height: 48px; margin-top: 0; }
  .site-footer { padding-top: 24px; }
  .site-footer > img { margin-bottom: 22px; }
  .site-footer > div { padding-top: 16px; gap: 12px; }
  .site-footer > div { font-size: 12px; letter-spacing: .5px; }
  .farewell-block { padding-bottom: 24px; }
}
/* Itinerario: elementos originales de la invitación. */
.itinerary-block { background: rgba(13, 104, 140, .18); }
.itinerary-title {
  color: var(--blue);
  background: var(--orange);
  padding: .16em .4em;
  transform: rotate(-1.5deg);
  clip-path: polygon(0 4%, 99% 0, 100% 94%, 1% 100%);
}
.itinerary-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.itinerary-list li { min-width: 0; text-align: center; }
.itinerary-list img {
  display: block;
  width: 100%;
  height: clamp(140px, 17vw, 245px);
  object-fit: contain;
  margin: 0 auto 32px;
  /* Contorno que sigue la silueta transparente, como una pegatina recortada. */
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
    drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
    drop-shadow(0 8px 5px #001b2b55);
}
.itinerary-list h3 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(23px, 2.6vw, 39px);
  line-height: 1.25;
  margin: 0;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .itinerary-list { gap: 16px; }
  .itinerary-list h3 { font-size: 20px; }
}
@media (max-width: 700px) {
  .itinerary-list { grid-template-columns: 1fr; gap: 32px; margin-top: 16px; }
  .itinerary-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 24px; text-align: left; }
  .itinerary-list img { height: 120px; margin: 0; }
  .itinerary-list h3 { font-size: clamp(24px, 6.5vw, 34px); }
}
.schedule-summary { color: var(--muted); font-size: 12px; letter-spacing: 1.5px; margin: 0; line-height: 1.8; }
.schedule-summary span { color: var(--orange); margin-inline: 8px; }
.itinerary-list { margin-top: 20px; gap: 18px; }
.itinerary-list li { position: relative; padding: 20px 10px 26px; border: 1px solid #ffffff18; border-radius: 12px; background: #ffffff05; transition: background .25s, border-color .25s, transform .25s; }
.itinerary-list li:hover { background: #ffffff0c; border-color: #ff9f2970; transform: translateY(-8px); }
.itinerary-list li:not(:last-child)::after { content: '→'; position: absolute; right: -17px; top: 42px; color: var(--orange); z-index: 1; }
.itinerary-time { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .5px; color: #91ecdc; background: #143f4d; border: 1px solid #91ecdc40; border-radius: 20px; padding: 8px 10px; margin-bottom: 22px; white-space: nowrap; }
.itinerary-time small { font-size: 9px; }
.itinerary-list img { animation: itinerary-float 4s ease-in-out infinite; animation-delay: calc(var(--step) * -.7s); }
.itinerary-list.is-in-view li { animation: itinerary-arrive .7s both; animation-delay: calc(var(--step) * .12s); }
@keyframes itinerary-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes itinerary-arrive { from { opacity: .3; translate: 0 25px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 1000px) and (min-width: 701px) {
  .itinerary-list { gap: 10px; }
  .itinerary-time { font-size: 11px; padding: 8px 6px; }
  .itinerary-list li { padding-inline: 5px; }
  .itinerary-list li:not(:last-child)::after { right: -11px; }
}
@media (max-width: 700px) {
  .itinerary-list { gap: 18px; margin-top: 8px; }
  .itinerary-list li { grid-template-columns: 90px minmax(0, 1fr); gap: 8px 18px; padding: 16px 14px; }
  .itinerary-time { grid-column: 2; justify-self: start; margin: 0; }
  .itinerary-list img { grid-column: 1; grid-row: 1 / 3; height: 110px; }
  .itinerary-list h3 { grid-column: 2; font-size: clamp(23px, 6vw, 32px); }
  .itinerary-list li:not(:last-child)::after { content: '↓'; top: auto; right: auto; left: 50%; bottom: -19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Escritura progresiva sin cambiar las dimensiones del rótulo. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.typewriter-letter { visibility: hidden; position: relative; }
.typewriter-letter.is-typed { visibility: visible; }
.typing-cursor::after { content: ''; position: absolute; right: -.06em; top: .1em; height: .95em; width: .035em; background: var(--cream); }
@media (prefers-reduced-motion: reduce) {
  .typewriter-letter { visibility: visible; }
  .typing-cursor::after { display: none; }
}
