/* =========================================================
   Wake Up Camp 27 — landing
   Dirección: Amanecer. Mobile first, CSS a mano.
   Paleta del moodboard + logo del campamento.
   ========================================================= */

/* ---------- Tokens ---------- */

:root {
  --cream: #F6F1DA;
  --paper: #FBF8EC;
  --butter: #FAEFA9;
  --dusty: #93A8A8;
  --sage: #7B9491;
  --olive: #5A6B45;
  --forest: #24291F;
  --ink: #20251B;
  --sand: #C7A96E;

  --ink-soft: rgba(32, 37, 27, .68);
  --cream-soft: rgba(246, 241, 218, .7);
  --line-ink: rgba(32, 37, 27, .14);
  --line-cream: rgba(246, 241, 218, .16);

  --danger: #9C3B2A;
  --danger-soft: #FBEDE6;

  --font-display: "Bricolage Grotesque", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs: clamp(.72rem, .69rem + .12vw, .78rem);
  --text-sm: clamp(.82rem, .79rem + .12vw, .9rem);
  --text-body: clamp(1rem, .97rem + .15vw, 1.06rem);
  --text-lead: clamp(1.04rem, .95rem + .55vw, 1.28rem);
  --text-h2: clamp(2.35rem, 1.55rem + 4vw, 4.7rem);
  --text-display: clamp(1.25rem, 1.05rem + .8vw, 1.7rem);

  --wrap: 1220px;
  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --section-y: clamp(3.25rem, 2.2rem + 4.4vw, 7rem);
  --header-h: calc(4.25rem + var(--safe-top));
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, .68, .16, 1);
  --focus: var(--olive);

  --shadow-soft: 0 22px 60px rgba(24, 29, 20, .14);
  --shadow-deep: 0 30px 80px rgba(12, 16, 10, .35);

  color-scheme: dark;
}

/* ---------- Reset y base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

html.menu-open { overflow: hidden; }

body {
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

ul,
ol { list-style: none; padding: 0; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

main:focus { outline: none; }

::selection { background: var(--butter); color: var(--forest); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(calc(100% - (var(--gutter) * 2)), var(--wrap));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--cream {
  background: var(--cream);
  color: var(--ink);
  --muted: var(--ink-soft);
  --line: var(--line-ink);
  --accent: var(--olive);
  --focus: var(--olive);
  color-scheme: light;
}

.section--forest {
  background: var(--forest);
  color: var(--cream);
  /* El carrusel sangra hasta los bordes: recorta cualquier desborde al abrir una bio. */
  overflow-x: clip;
  --muted: var(--cream-soft);
  --line: var(--line-cream);
  --accent: var(--dusty);
  --focus: var(--butter);
  color-scheme: dark;
}

/* ---------- Logo (mask recoloreable) ---------- */

.logo {
  display: block;
  width: 10rem;
  aspect-ratio: 1548 / 1324;
  background: currentColor;
  -webkit-mask: url("/img/logo.webp") center / contain no-repeat;
  mask: url("/img/logo.webp") center / contain no-repeat;
}

/* ---------- Tipografía ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent, var(--olive));
}

.eyebrow span {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .6rem;
  letter-spacing: .02em;
  opacity: 1;
}

.display {
  font-family: var(--font-display);
  font-weight: 770;
  font-size: var(--text-h2);
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.display em {
  font-style: normal;
  color: var(--olive);
  background-image: linear-gradient(transparent 62%, rgba(250, 239, 169, .92) 62%, rgba(250, 239, 169, .92) 94%, transparent 94%);
  padding-bottom: .04em;
}

.section--forest .display em,
.display .accent {
  color: var(--butter);
  background-image: none;
}

.display .accent { color: var(--butter); }

.lead {
  max-width: 44ch;
  font-size: var(--text-lead);
  line-height: 1.58;
  font-weight: 500;
  color: var(--muted, var(--ink-soft));
  text-wrap: pretty;
}

/* ---------- Botones y links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.1rem;
  padding: .78rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--butter);
  color: var(--forest);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.005em;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.btn:hover { background: var(--cream); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn--ghost:hover { background: rgba(32, 37, 27, .06); }

.section--forest .btn--ghost:hover,
.map-card .btn--ghost:hover { background: rgba(246, 241, 218, .1); }

.btn--sm {
  min-height: 2.5rem;
  padding: .5rem 1.05rem;
  font-size: .82rem;
}

.btn .icon,
.link-arrow .icon,
.inline-link .icon,
.speaker-card__ig .icon {
  width: 1.08rem;
  height: 1.08rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-bottom: .1rem;
  font-size: .86rem;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.link-arrow:hover { opacity: .75; }

/* ---------- Header ---------- */

.site-header {
  --focus: var(--butter);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: calc(.55rem + var(--safe-top));
  padding-bottom: .55rem;
  color: var(--cream);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}

.site-header.is-scrolled {
  --focus: var(--olive);
  padding-top: calc(.35rem + var(--safe-top));
  padding-bottom: .35rem;
  background: rgba(251, 248, 236, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(32, 37, 27, .1), 0 16px 40px rgba(32, 37, 27, .09);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.brand__mark { width: 3.25rem; }

.nav {
  display: none;
  gap: 1.5rem;
  font-size: .85rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding-block: .4rem;
  opacity: .82;
}

.nav a[aria-current="location"] { opacity: 1; }

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="location"]::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .4rem .8rem .4rem .7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.menu-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.menu-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- Menú móvil ---------- */

.menu {
  --focus: var(--butter);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--forest);
  color: var(--cream);
  overflow-y: auto;
}

.menu[open] {
  display: flex;
  flex-direction: column;
}

.menu::backdrop {
  background: rgba(18, 22, 15, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(1rem + var(--safe-top)) var(--gutter) 1rem;
  border-bottom: 1px solid var(--line-cream);
}

.menu__brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -.03em;
}

.menu__brand em {
  font-style: normal;
  color: var(--butter);
}

.menu__mark { width: 3.15rem; }

.menu__close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-cream);
  border-radius: 50%;
  background: transparent;
}

.menu__close span {
  position: relative;
  width: 1rem;
  height: 1rem;
}

.menu__close span::before,
.menu__close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu__close span::before { transform: rotate(45deg); }
.menu__close span::after { transform: rotate(-45deg); }

.menu__nav {
  display: grid;
  padding: .5rem var(--gutter);
}

.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line-cream);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

.menu__nav a span {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--butter);
}

.menu__foot {
  margin-top: auto;
  padding: 1.5rem var(--gutter) calc(1.5rem + var(--safe-bottom));
  font-size: .82rem;
  color: var(--cream-soft);
}

.menu__social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  margin-top: .8rem;
  font-weight: 700;
}

.menu__social a { color: var(--butter); }

/* ---------- Hero ---------- */

.hero {
  --focus: var(--butter);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: calc(var(--header-h) + clamp(1.1rem, 4vw, 2.6rem));
  padding-bottom: clamp(2.75rem, 7vw, 5.5rem);
  background:
    radial-gradient(120% 90% at 50% 112%, #41492F 0%, #2B3124 38%, var(--forest) 64%, #171C13 100%);
  color: var(--cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  inset: 0;
  display: block;
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(.9) contrast(1.04) brightness(.9);
  will-change: transform;
  animation: hero-drift 30s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}

.hero__scrim {
  --hero-side: linear-gradient(90deg, rgba(23, 28, 19, .72), rgba(23, 28, 19, .4) 58%, transparent 100%);
  position: absolute;
  inset: 0;
  background:
    var(--hero-side),
    linear-gradient(180deg,
      rgba(23, 28, 19, .94) 0%,
      rgba(23, 28, 19, .62) 12%,
      rgba(23, 28, 19, .18) 34%,
      rgba(23, 28, 19, .2) 62%,
      rgba(36, 41, 31, .86) 88%,
      var(--forest) 100%),
    linear-gradient(112deg, rgba(199, 169, 110, .13), transparent 55%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 42%, rgba(147, 168, 168, .1) 58%, transparent 76%),
    radial-gradient(48% 38% at 86% 6%, rgba(250, 239, 169, .16), transparent 72%);
  mix-blend-mode: screen;
}

.hero__spark {
  position: absolute;
  width: 18px;
  aspect-ratio: 1;
  background: var(--butter);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 7.6 4.4 10.5 12 12-7.6 1.5-10.5 4.4-12 12C10.5 16.4 7.6 13.5 0 12 7.6 10.5 10.5 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 7.6 4.4 10.5 12 12-7.6 1.5-10.5 4.4-12 12C10.5 16.4 7.6 13.5 0 12 7.6 10.5 10.5 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .55;
  animation: twinkle 6s ease-in-out infinite;
}

.hero__spark--1 { top: 22%; right: 12%; width: 22px; }
.hero__spark--2 { top: 46%; right: 26%; width: 11px; opacity: .45; animation-delay: -2.4s; }
.hero__spark--3 { top: 60%; left: 7%; width: 8px; opacity: .38; animation-delay: -4.2s; }

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__rail { display: none; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.4rem, 5vw, 3rem);
}

.hero__content {
  display: grid;
  gap: clamp(.9rem, 2.6vw, 1.4rem);
  justify-items: start;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1rem;
  width: 100%;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246, 241, 218, .74);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.hero__dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 0 0 .22rem rgba(250, 239, 169, .16), 0 0 16px rgba(250, 239, 169, .8);
}

.hero__edition {
  padding: .25rem .65rem;
  border: 1px solid rgba(246, 241, 218, .24);
  border-radius: 999px;
  color: var(--butter);
  letter-spacing: .16em;
}

.hero__title { margin: 0; line-height: 0; }

.logo--hero {
  width: clamp(196px, 61vw, 430px);
  color: var(--cream);
  filter: drop-shadow(0 30px 70px rgba(250, 239, 169, .16));
}

.hero__lead {
  max-width: 36ch;
  font-size: clamp(1rem, .93rem + .45vw, 1.2rem);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(246, 241, 218, .88);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.1rem;
  width: 100%;
}

.hero__actions .btn { flex: 1 1 100%; }

.hero__actions .link-arrow { font-size: .84rem; }

.hero__aside {
  display: none;
  align-content: end;
  gap: .2rem;
}

.hero__date {
  display: none;
  align-items: baseline;
  gap: .06em;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 8.4rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.06em;
  color: var(--cream);
}

.hero__date-dash {
  font-size: .52em;
  font-weight: 500;
  color: var(--butter);
  transform: translateY(-.12em);
}

.hero__month {
  display: none;
  margin-top: .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--butter);
}

/* ---------- Timer / pase ---------- */

.timer {
  position: relative;
  z-index: 2;
  /* En mobile el ticket queda centrado dentro de la franja verde. */
  padding-block: clamp(2.5rem, 5.5vw, 4rem);
  background: var(--forest);
}

.timer__inner { position: relative; }

.timer__ticket {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.05rem, 3.4vw, 1.5rem) clamp(1.1rem, 4vw, 2rem);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .38), transparent 55%),
    var(--butter);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(8, 11, 6, .32);
}

.timer__ticket::before,
.timer__ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--forest);
  transform: translateY(-50%);
}

.timer__ticket::before { left: -10px; }
.timer__ticket::after { right: -10px; }

.timer__label {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.2vw, 1.3rem);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.timer__place {
  margin-top: .2rem;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(32, 37, 27, .74);
}

.timer__units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: .9rem;
  border-top: 1.5px dashed rgba(32, 37, 27, .28);
}

.timer__unit {
  position: relative;
  text-align: center;
}

.timer__unit + .timer__unit::before {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 0;
  width: 1px;
  background: rgba(32, 37, 27, .16);
}

.timer__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6.4vw, 2.4rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.timer__cap {
  display: block;
  margin-top: .3rem;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(32, 37, 27, .72);
}

/* ---------- Cinta / marquee ---------- */

.ribbon {
  overflow: hidden;
  padding-block: .8rem;
  border-block: 1px solid rgba(32, 37, 27, .14);
  background: var(--butter);
  color: var(--forest);
}

.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.ribbon__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon__group + .ribbon__group { padding-right: 0; }

.ribbon__spark {
  width: 9px;
  aspect-ratio: 1;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 7.6 4.4 10.5 12 12-7.6 1.5-10.5 4.4-12 12C10.5 16.4 7.6 13.5 0 12 7.6 10.5 10.5 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 7.6 4.4 10.5 12 12-7.6 1.5-10.5 4.4-12 12C10.5 16.4 7.6 13.5 0 12 7.6 10.5 10.5 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Sección: manifiesto ---------- */

.manifesto {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.manifesto__head .display { margin-top: .35rem; }

.manifesto__body {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.4rem);
}

.media-figure { margin: 0; }

.media-figure__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--olive);
  box-shadow: var(--shadow-soft);
}

.media-figure__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stamp {
  position: absolute;
  top: clamp(.7rem, 2.2vw, 1.25rem);
  right: clamp(.7rem, 2.2vw, 1.25rem);
  display: grid;
  place-items: center;
  width: clamp(78px, 12vw, 110px);
  aspect-ratio: 1;
  border: 1px solid rgba(250, 239, 169, .38);
  border-radius: 50%;
  background: rgba(36, 41, 31, .92);
  color: var(--butter);
  transform: rotate(7deg);
  box-shadow: 0 12px 34px rgba(10, 14, 8, .3);
}

.stamp__logo { width: 64%; }

.media-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1rem;
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line-ink);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Carrusel mobile: scroll horizontal con snap; en 720 px vuelve a ser grilla. */
.cards {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  list-style: none;
  margin: clamp(2.5rem, 6vw, 3.5rem) calc(var(--gutter) * -1) 0;
  padding: .25rem var(--gutter) 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cards::-webkit-scrollbar { display: none; }

.card {
  display: grid;
  align-content: start;
  gap: .55rem;
  flex: 0 0 clamp(240px, 78vw, 300px);
  min-width: 0;
  padding: 1.3rem;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  background: var(--paper);
  scroll-snap-align: start;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card:hover {
  border-color: rgba(90, 107, 69, .45);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(32, 37, 27, .1);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: .35rem;
  border-radius: 50%;
  background: var(--butter);
  color: var(--forest);
}

.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.card p {
  font-size: .85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.card-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: .35rem;
}

.card-controls__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.card-controls__arrow .icon { width: 1.15rem; height: 1.15rem; }

.card-controls__arrow:disabled { opacity: .35; cursor: default; }

.card-controls__dots {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.card-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
}

.card-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(32, 37, 27, .4);
  transform: translate(-50%, -50%);
  transition: background .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
}

.card-dot[aria-current="true"]::before {
  width: 11px;
  height: 11px;
  background: var(--olive);
}

/* ---------- Sección: oradores ---------- */

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 4.5vw, 3rem);
}

.section-head__note {
  max-width: 36ch;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Carrusel mobile: scroll horizontal con snap; en 720 px vuelve a ser grilla. */
.speaker-grid {
  display: flex;
  align-items: stretch;
  gap: .75rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: .25rem var(--gutter) 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.speaker-grid::-webkit-scrollbar { display: none; }

.speaker-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 0 0 clamp(228px, 74vw, 292px);
  min-width: 0;
  scroll-snap-align: start;
}

.speaker-card__media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #31382A;
}

.speaker-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 22, 15, .38));
  pointer-events: none;
}

.speaker-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  transition: transform .7s var(--ease);
}

.speaker-card:hover .speaker-card__media img { transform: scale(1.035); }

/* Las fotos esperan a estar decodificadas antes de mostrarse (ver main.js). */
.speaker-photos-ready .speaker-card__media img {
  opacity: 0;
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}

.speaker-photos-ready .speaker-card__media img.is-loaded { opacity: 1; }

.speaker-card__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.speaker-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.42rem);
  font-weight: 740;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.speaker-card__role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dusty);
}

.speaker-card__topic {
  margin-top: .15rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--butter);
}

.speaker-card__bio {
  margin-top: .5rem;
}

.speaker-card__bio summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-top: 1px solid var(--line-cream);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.speaker-card__bio summary::-webkit-details-marker { display: none; }

.speaker-card__plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.speaker-card__plus::before,
.speaker-card__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .3s var(--ease);
}

.speaker-card__plus::after { transform: translateY(-50%) rotate(90deg); }

.speaker-card__bio[open] .speaker-card__plus::after { transform: translateY(-50%) rotate(0); }

.speaker-card__bio > p {
  padding-top: .35rem;
  font-size: .84rem;
  line-height: 1.6;
  color: rgba(246, 241, 218, .72);
}

.speaker-card__ig {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
  padding-bottom: .08rem;
  border-bottom: 1px solid rgba(250, 239, 169, .4);
  font-size: .78rem;
  font-weight: 700;
  color: var(--butter);
}

.speaker-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: .35rem;
}

.speaker-controls__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-cream);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
}

.speaker-controls__arrow .icon { width: 1.15rem; height: 1.15rem; }

.speaker-controls__arrow:disabled { opacity: .35; cursor: default; }

.speaker-controls__dots {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.speaker-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
}

.speaker-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(246, 241, 218, .45);
  transform: translate(-50%, -50%);
  transition: background .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
}

.speaker-dot[aria-current="true"]::before {
  width: 11px;
  height: 11px;
  background: var(--butter);
}

/* ---------- Sección: info ---------- */

.facts {
  display: grid;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line-ink);
}

.fact {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-ink);
}

.fact dt {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
}

.fact dd {
  margin: .35rem 0 .15rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.32rem);
  font-weight: 740;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.fact__note {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-body);
  font-size: .77rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.info__grid {
  display: grid;
  gap: 2rem;
}

.info__list { border-top: 1px solid var(--line-ink); }

.info__item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-ink);
}

.info__item dt {
  margin-bottom: .3rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 740;
  letter-spacing: -.02em;
}

.info__item dd {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .65rem;
}

.chip {
  padding: .3rem .7rem;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink);
}

.callout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: start;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border-radius: var(--radius);
  background: var(--butter);
  color: var(--ink);
}

.callout::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  z-index: -1;
  width: 9rem;
  aspect-ratio: 1;
  background: rgba(90, 107, 69, .18);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 7.6 4.4 10.5 12 12-7.6 1.5-10.5 4.4-12 12C10.5 16.4 7.6 13.5 0 12 7.6 10.5 10.5 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 7.6 4.4 10.5 12 12-7.6 1.5-10.5 4.4-12 12C10.5 16.4 7.6 13.5 0 12 7.6 10.5 10.5 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.callout__kicker {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
}

.callout h3 {
  margin: .45rem 0 .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.callout p {
  font-size: .88rem;
  line-height: 1.55;
}

.callout p + p { margin-top: .55rem; }

.callout address {
  margin: .8rem 0;
  padding-left: .75rem;
  border-left: 2px solid var(--olive);
  font-size: .82rem;
  line-height: 1.55;
}

.map-card {
  --focus: var(--butter);
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.7rem);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--cream);
}

.map-card address {
  margin-top: .35rem;
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(246, 241, 218, .8);
}

.map-card .callout__kicker { color: var(--dusty); }

.map-card .btn { justify-self: start; }

/* ---------- Sección: inscripción ---------- */

.section--signup { overflow: clip; }

.section--signup::before {
  content: "";
  position: absolute;
  top: -18rem;
  right: -14rem;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 239, 169, .14), transparent 68%);
  pointer-events: none;
}

.signup {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.signup__intro { align-self: start; }

.signup__intro .display { margin-top: .35rem; }

.signup__price {
  margin-top: 1.3rem;
  font-size: .9rem;
  color: var(--cream-soft);
}

.signup__price strong {
  display: inline-block;
  margin-right: .25rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--cream);
}

.signup__price span {
  display: block;
  max-width: 36ch;
  margin-top: .5rem;
  font-size: .76rem;
  line-height: 1.5;
  color: rgba(246, 241, 218, .6);
}

.signup__note {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--cream-soft);
}

.signup__note a {
  color: var(--butter);
  border-bottom: 1px solid rgba(250, 239, 169, .45);
}

.signup__aside {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.signup__points {
  display: grid;
  gap: .55rem;
  padding-top: .4rem;
  border-top: 1px solid var(--line-cream);
}

.signup__points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--cream-soft);
}

.signup__points li::before {
  content: "";
  position: absolute;
  top: .45em;
  left: 0;
  width: .38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--butter);
}

.signup__social p {
  margin-bottom: .5rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dusty);
}

/* ---------- Formulario ---------- */

.form-card {
  position: relative;
  padding: clamp(1.05rem, 3.6vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-deep);
}

.form__head {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-ink);
}

.form__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.72rem);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.form__price {
  margin-top: .5rem;
  font-size: .84rem;
  color: var(--ink-soft);
}

.form__price strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 780;
  letter-spacing: -.02em;
  color: var(--ink);
}

.form__price span {
  display: block;
  margin-top: .1rem;
  font-size: .76rem;
}

.form__sub {
  margin-top: .7rem;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.nojs-fallback { display: none; padding: 1.2rem 0; }

.nojs-fallback p {
  margin-bottom: .8rem;
  font-size: .9rem;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .45rem;
  margin: 1.2rem 0 1.5rem;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}

.step::before {
  content: "";
  position: absolute;
  top: .58rem;
  left: .7rem;
  right: -.7rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(32, 37, 27, .14);
}

.step:last-child::before { display: none; }

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid rgba(32, 37, 27, .22);
  border-radius: 50%;
  background: var(--paper);
  font-size: .6rem;
  font-weight: 800;
  color: rgba(32, 37, 27, .74);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.step__label {
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(32, 37, 27, .72);
  transition: color .25s var(--ease);
}

.step.is-current .step__num {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.step.is-done .step__num {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--paper);
}

.step.is-current .step__label { color: var(--ink); }

.step-panel { animation: panelIn .35s var(--ease) both; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.step-panel__title {
  margin-bottom: .9rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -.025em;
}

.step-panel__title:focus { outline: none; }

.step-panel__intro {
  margin-bottom: .9rem;
  font-size: .85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.form__row {
  display: grid;
  gap: .85rem;
  margin-bottom: .85rem;
}

.field { margin-bottom: .85rem; min-width: 0; }

.form__row .field { margin-bottom: 0; }

.field label,
.field legend {
  display: block;
  margin-bottom: .32rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .015em;
  color: var(--ink);
}

.field--group {
  min-width: 0;
  margin: 0 0 .85rem;
  padding: 0;
  border: 0;
}

.input {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: .7rem .85rem;
  border: 1.5px solid rgba(32, 37, 27, .22);
  border-radius: var(--radius-sm);
  background: #FFFDF6;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.input::placeholder { color: rgba(32, 37, 27, .38); }

.input--textarea {
  min-height: 6.5rem;
  line-height: 1.5;
  resize: vertical;
}

.input:focus,
.input:focus-visible {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(90, 107, 69, .16);
}

.field.is-invalid .input,
.field.is-invalid .upload__drop {
  border-color: var(--danger);
  background: #FFF8F4;
}

.field.is-invalid .radio span {
  border-color: var(--danger);
}

.field.is-invalid.field--check input {
  border-color: var(--danger);
}

.field__help {
  margin-top: .32rem;
  font-size: .71rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.field__error {
  margin-top: .3rem;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--danger);
}

.field__error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  margin-right: .3rem;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  vertical-align: .05em;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.radio {
  position: relative;
  display: inline-flex;
}

.radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  min-height: 2.75rem;
  padding: .5rem 1.1rem;
  border: 1.5px solid rgba(32, 37, 27, .22);
  border-radius: 999px;
  background: #FFFDF6;
  font-size: .9rem;
  font-weight: 700;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.radio input:checked + span {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.radio input:focus-visible + span {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem .65rem;
  align-items: start;
  margin: 1rem 0 .6rem;
}

.field--check input {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  margin: .12rem 0 0;
  border: 1.5px solid rgba(32, 37, 27, .4);
  border-radius: 5px;
  background: #FFFDF6;
  -webkit-appearance: none;
  appearance: none;
}

.field--check input:checked {
  border-color: var(--forest);
  background: var(--forest);
}

.field--check input:checked::after {
  content: "";
  position: absolute;
  top: .13rem;
  left: .36rem;
  width: .32rem;
  height: .62rem;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.field--check input:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

.field--check label {
  margin: 0;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.field--check .field__error { grid-column: 2; margin-top: 0; }

.form-alert {
  margin: .9rem 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--olive);
  border-radius: 8px;
  background: var(--butter);
  font-size: .82rem;
  line-height: 1.5;
  color: #3D462E;
}

.form-alert a {
  font-weight: 700;
  text-decoration: underline;
}

.form-errors {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(156, 59, 42, .35);
  border-left: 4px solid var(--danger);
  border-radius: 10px;
  background: var(--danger-soft);
  font-size: .82rem;
  line-height: 1.5;
  color: #5C2015;
}

.form-errors:focus { outline: none; }

.form-errors ul {
  display: grid;
  gap: .2rem;
  margin-top: .4rem;
}

.form-errors a { text-decoration: underline; }

.price-card {
  margin: .3rem 0 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #FAEFA9, #F3E28C);
  color: var(--ink);
}

.price-card__label {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(32, 37, 27, .68);
}

.price-card__amount {
  margin: .3rem 0 .35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.price-card__includes { font-size: .82rem; font-weight: 600; }

.price-card__note {
  margin-top: .5rem;
  font-size: .7rem;
  line-height: 1.45;
  color: rgba(32, 37, 27, .66);
}

.alias-card {
  display: grid;
  gap: .65rem;
  margin: 1rem 0;
  padding: .95rem;
  border: 1.5px dashed rgba(32, 37, 27, .3);
  border-radius: 14px;
  background: rgba(246, 241, 218, .6);
}

.alias-card__label {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(32, 37, 27, .64);
}

.alias-card__value {
  margin: .2rem 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 760;
  letter-spacing: .01em;
}

.alias-card__holder {
  font-size: .68rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.alias-card .btn { width: 100%; }

.alias-card__status {
  grid-column: 1 / -1;
  min-height: 1em;
  font-size: .72rem;
  color: var(--olive);
}

.btn--copy.is-copied {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--paper);
}

.step-note {
  margin-top: .5rem;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.step-note--strong {
  font-weight: 700;
  color: var(--ink);
}

.step-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: .55rem;
  margin-top: 1.15rem;
}

.step-actions .btn { width: 100%; }

.upload { margin: .2rem 0; }

.upload__label {
  display: block;
  margin-bottom: .32rem;
  font-size: .76rem;
  font-weight: 800;
}

.upload__drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.5rem 1rem;
  border: 2px dashed rgba(32, 37, 27, .28);
  border-radius: 16px;
  background: rgba(246, 241, 218, .45);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.upload__drop:hover {
  border-color: var(--olive);
  background: rgba(250, 239, 169, .38);
}

.upload__icon {
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: .25rem;
  color: var(--olive);
  stroke-width: 1.8;
}

.upload__title { font-size: .9rem; font-weight: 800; }

.upload__hint { font-size: .72rem; color: var(--ink-soft); }

.upload__file {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem;
  border: 1px solid rgba(32, 37, 27, .16);
  border-radius: 14px;
  background: #FFFDF6;
}

.upload__thumb {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
}

.upload__info { flex: 1; min-width: 0; }

.upload__name {
  font-size: .8rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.upload__meta { font-size: .7rem; color: var(--ink-soft); }

.upload__remove {
  flex: none;
  padding: .3rem;
  border: 0;
  background: none;
  font-size: .72rem;
  font-weight: 800;
  color: var(--danger);
  text-decoration: underline;
}

.upload__status {
  min-height: 1.1em;
  margin-top: .35rem;
  font-size: .72rem;
  color: var(--ink-soft);
}

.privacy-note {
  margin-top: .2rem;
  font-size: .68rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  min-height: 1.25em;
  margin-top: .8rem;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
}

.form__status.is-error { color: var(--danger); }

.form__hint {
  margin-top: .4rem;
  font-size: .72rem;
  color: var(--ink-soft);
}

.form__hint a {
  font-weight: 700;
  text-decoration: underline;
}

.form-success { padding: .5rem 0; text-align: center; }

.form-success:focus { outline: none; }

.form-success__mark {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto .8rem;
  border-radius: 50%;
  background: var(--butter);
  color: var(--olive);
  font-size: 1.5rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.form-success__code {
  margin-top: .55rem;
  font-size: .8rem;
  color: var(--ink-soft);
}

.form-success__code strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .04em;
  color: var(--ink);
}

.form-success > p { margin-top: .5rem; font-size: .84rem; color: var(--ink-soft); }

.success-summary {
  margin: 1rem 0;
  border-top: 1px solid var(--line-ink);
  text-align: left;
}

.success-summary li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line-ink);
  font-size: .76rem;
}

.success-summary span { color: var(--ink-soft); }

.form-success__next {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: rgba(246, 241, 218, .75);
  text-align: left;
}

.form-success__next p {
  margin-bottom: .35rem;
  font-size: .78rem;
}

.form-success__next ul {
  display: grid;
  gap: .2rem;
  padding-left: 1rem;
  list-style: disc;
  font-size: .74rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 2.2rem;
}

.faq__intro .display { margin-top: .35rem; }

.faq__intro > p:last-child {
  margin-top: 1rem;
  max-width: 32ch;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.faq__list { border-top: 1px solid var(--line-ink); }

.faq__item { border-bottom: 1px solid var(--line-ink); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: .75;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 28%;
  right: 28%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.faq__icon::after { transform: translateY(-50%) rotate(90deg); transition: transform .3s var(--ease); }

.faq__item[open] .faq__icon {
  border-color: var(--butter);
  background: var(--butter);
  color: var(--forest);
  opacity: 1;
}

.faq__item[open] .faq__icon::after { transform: translateY(-50%) rotate(0); }

.faq__body {
  max-width: 64ch;
  padding-bottom: 1.1rem;
  font-size: .89rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- CTA fija ---------- */

.sticky-cta {
  --focus: var(--butter);
  position: fixed;
  left: 50%;
  bottom: calc(.7rem + var(--safe-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  width: min(calc(100% - 1.5rem), 400px);
  padding: .5rem .55rem .5rem 1.15rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 18px 44px rgba(10, 14, 8, .4);
  transform: translate(-50%, 180%);
  transition: transform .38s var(--ease);
}

.sticky-cta.is-visible { transform: translate(-50%, 0); }

.sticky-cta span { font-size: .82rem; font-weight: 800; }

.sticky-cta strong {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -.02em;
  color: var(--butter);
}

.sticky-cta .icon {
  width: 2.2rem;
  height: 2.2rem;
  padding: .55rem;
  border-radius: 50%;
  background: var(--butter);
  color: var(--forest);
  stroke-width: 2.2;
}

/* ---------- Footer ---------- */

.footer {
  --focus: var(--butter);
  position: relative;
  overflow: clip;
  padding-top: clamp(2.75rem, 7vw, 5rem);
  background: var(--forest);
  color: var(--cream);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 239, 169, .55), transparent);
}

.footer::after {
  content: "";
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 239, 169, .1), transparent 68%);
  pointer-events: none;
}

.footer > .wrap { position: relative; z-index: 1; }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line-cream);
}

.footer__mark { margin: 0; }

.logo--footer {
  width: clamp(180px, 34vw, 300px);
  color: var(--cream);
  filter: drop-shadow(0 18px 50px rgba(250, 239, 169, .12));
}

.footer__tag {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 740;
  line-height: .98;
  letter-spacing: -.035em;
  text-align: right;
}

.footer__grid {
  display: grid;
  gap: 1.8rem;
  padding-block: 2.2rem;
}

.footer__title {
  margin-bottom: .65rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer__grid p {
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(246, 241, 218, .7);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .7rem;
  padding-bottom: .12rem;
  border-bottom: 1px solid rgba(246, 241, 218, .32);
  font-size: .8rem;
  font-weight: 700;
}

.inline-link:hover { border-color: var(--butter); color: var(--butter); }

.footer__social { display: grid; gap: .45rem; }

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
}

.footer__social .icon { width: 1rem; height: 1rem; }

.footer__social a:hover { color: var(--butter); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .9rem 1.5rem;
  padding-block: 1.4rem calc(1.4rem + var(--safe-bottom));
  border-top: 1px solid var(--line-cream);
  font-size: .68rem;
  line-height: 1.6;
  color: rgba(246, 241, 218, .52);
}

.footer__legal { max-width: 56ch; margin-top: .25rem; }

.footer__top-link { font-weight: 700; color: var(--cream); }

.footer__top-link:hover { color: var(--butter); }

/* ---------- Skip link ---------- */

.skip-link {
  position: fixed;
  top: calc(.5rem + var(--safe-top));
  left: .75rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--butter);
  color: var(--forest);
  font-size: .84rem;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

.skip-link:focus-visible { transform: none; }

/* ---------- Entradas ---------- */

.has-js .intro {
  opacity: 0;
  transform: translateY(16px);
  animation: introUp .9s var(--ease) forwards;
}

.intro--1 { animation-delay: .06s; }
.intro--2 { animation-delay: .14s; }
.intro--3 { animation-delay: .24s; }
.intro--4 { animation-delay: .34s; }
.intro--5 { animation-delay: .44s; }

@keyframes introUp {
  to { opacity: 1; transform: none; }
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes twinkle {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: .35; transform: scale(.86); }
}

/* =========================================================
   Breakpoints
   ========================================================= */

/* ---------- 480 ----------------- ------------------------ */

@media (min-width: 480px) {
  .hero__actions .btn { flex: 0 0 auto; min-width: 9.5rem; }

  .alias-card { grid-template-columns: 1fr auto; align-items: center; }
  .alias-card > div { min-width: 0; }
  .alias-card .btn { width: auto; }

  .step-actions { flex-direction: row; justify-content: flex-end; }
  .step-actions .btn { width: auto; }
  .step-actions .btn--ghost { margin-right: auto; }
}

/* ---------- 560 ----------------- ------------------------ */

@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; }

  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 1.1rem 1.1rem 1.1rem 0; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line-ink); }
  .fact:nth-child(even) { padding-left: 1.1rem; }

  .map-card { grid-template-columns: 1fr auto; align-items: center; }
  .map-card .btn { justify-self: end; }
}

/* ---------- 720 ----------------- ------------------------ */

@media (min-width: 720px) {
  .header-cta { display: inline-flex; }

  .timer { padding-top: 0; }

  .timer__ticket {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 1.8rem;
  }

  .timer__units {
    padding-top: 0;
    padding-left: 1.8rem;
    border-top: 0;
    border-left: 1.5px dashed rgba(32, 37, 27, .28);
  }

  .manifesto__body { gap: 1.8rem; }

  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .card { flex: initial; scroll-snap-align: none; }

  .card-controls { display: none; }

  .speaker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.2rem);
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .speaker-card { flex: initial; scroll-snap-align: none; }

  .speaker-controls { display: none; }

  .signup__aside { grid-template-columns: 1fr auto; align-items: start; gap: 2rem; }

  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 900 ----------------- ------------------------ */

@media (min-width: 900px) {
  :root { --header-h: calc(4.75rem + var(--safe-top)); }

  .brand__mark { width: 3.55rem; }

  .nav { display: flex; }

  .menu-toggle { display: none; }

  .hero { min-height: clamp(620px, 86svh, 840px); }

  .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: end;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .hero__content { gap: 1.35rem; }

  .logo--hero { width: clamp(330px, 31vw, 430px); }

  .hero__aside { display: grid; }

  .hero__date { display: flex; }

  .hero__month { display: block; }

  .hero__photo img { object-position: 50% 52%; }

  .hero__scrim {
    --hero-side: linear-gradient(90deg, rgba(23, 28, 19, .95) 0%, rgba(23, 28, 19, .8) 30%, rgba(23, 28, 19, .42) 52%, transparent 72%);
  }

  .sticky-cta { display: none; }

  .manifesto {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .manifesto__head { padding-top: .4rem; }

  .cards { grid-template-columns: repeat(4, 1fr); }

  .section-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    align-items: end;
    gap: 2rem;
  }

  .section-head__note { padding-bottom: .35rem; justify-self: end; }

  .speaker-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.4rem);
  }

  .speaker-card { grid-column: auto; }

  .info__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 3rem;
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line-ink);
  }

  .fact {
    padding: 1.1rem 1.2rem;
    border-bottom: 0;
    border-right: 1px solid var(--line-ink);
  }

  .fact:first-child { padding-left: 0; }

  .fact:last-child { padding-right: 0; border-right: 0; }

  .fact:nth-child(even) { padding-left: 1.2rem; }

  .signup {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .signup__aside {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-top: 2rem;
  }

  .faq {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }

  .faq__intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- 1024 ----------------- ----------------------- */

@media (min-width: 1024px) {
  .hero__lead { max-width: 34ch; }

  .signup__intro {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .form-card { padding: 1.9rem; }

  .footer__top { padding-bottom: 2.6rem; }
  .footer__grid { padding-block: 2.6rem; }
}

/* ---------- 1200 ----------------- ----------------------- */

@media (min-width: 1200px) {
  .hero__rail {
    position: absolute;
    top: 50%;
    left: calc(var(--gutter) * .32);
    display: block;
    margin: 0;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(246, 241, 218, .56);
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
  }

  .logo--hero { width: clamp(380px, 33vw, 460px); }
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .has-js .intro,
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .ribbon__track { animation: none; transform: none; }

  .hero__photo img { animation: none; }
}

/* ---------- Alto contraste ---------- */

@media (forced-colors: active) {
  .logo { background: CanvasText; }

  .hero__photo { display: none; }

  .btn,
  .input,
  .radio span,
  .upload__drop,
  .step__num,
  .faq__icon,
  .card,
  .timer__ticket,
  .price-card,
  .callout,
  .form-card {
    border: 1px solid CanvasText;
  }

  .step__num,
  .faq__icon { forced-color-adjust: none; }

  .sticky-cta,
  .menu,
  .footer,
  .section--forest {
    border-color: CanvasText;
  }
}
