/* ============================================================
   evento-halloween.css — Halloween Fest Colitas 2026
   Extiende styles.css con estilos únicos de /evento_halloween.html
   ============================================================ */

/* -----------------------------
   ICONO INSTAGRAM (svg externo)
----------------------------- */
.ic-ig {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: -4px;
  flex-shrink: 0;
}
.btn .ic-ig { filter: none; }
.btn--ghost .ic-ig { filter: none; }

/* -----------------------------
   HERO DEL EVENTO
----------------------------- */
.ev-hero {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, #ffd6e3 0%, var(--c-bg) 60%);
}

.ev-hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ev-hero__bg .blob--magenta {
  width: 520px; height: 520px; background: var(--c-magenta);
  top: -120px; right: -160px; opacity: .25;
}
.ev-hero__bg .blob--lime {
  width: 480px; height: 480px; background: var(--c-lime);
  bottom: -100px; left: -120px; opacity: .45;
}
.ev-hero__bg .blob--red {
  width: 380px; height: 380px; background: var(--c-pink-2);
  top: 40%; left: 40%; opacity: .25;
}

.ev-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.chip--halloween {
  background: #fff;
  color: var(--c-magenta);
  border-color: var(--c-magenta);
  box-shadow: 0 4px 18px rgba(238, 0, 163, .12);
}

.ev-hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 18px 0 22px;
  color: var(--c-ink);
}
.ev-hero__title .line { display: block; overflow: hidden; }
.ev-hero__title .line > span { display: inline-block; }
.accent--lime {
  background: linear-gradient(180deg, transparent 60%, var(--c-lime) 60%);
  font-style: normal;
}

.ev-hero__lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin: 0 0 28px;
  max-width: 56ch;
}

.ev-hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Flyer + stickers */
.ev-hero__media {
  position: relative;
  display: grid; place-items: center;
  max-width: 100%;
}
.ev-flyer {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(238, 0, 163, .25),
    0 8px 24px rgba(0, 0, 0, .12);
  border: 4px solid #fff;
  background: #fff;
}
.ev-flyer img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ev-hero__sticker {
  position: absolute;
  background: var(--c-ink);
  color: #fff;
  border: 3px solid var(--c-magenta);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-family: var(--f-display);
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  /* translate en su propia propiedad para no pelear con el rotate del
     Modifier, que se declara aparte en cada --date / --time / --place */
  animation: floaty 4.5s ease-in-out infinite;
}
.ev-hero__sticker span {
  display: block; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; opacity: .8;
}
.ev-hero__sticker strong {
  display: block; font-size: 1.4rem; font-weight: 900;
  margin: 2px 0; color: var(--c-lime);
}
.ev-hero__sticker small {
  display: block; font-size: .68rem; font-weight: 600; opacity: .8;
}
.ev-hero__sticker--date  { top: -2%;    left: -8%;  transform: rotate(-7deg); animation-delay: 0s;   }
.ev-hero__sticker--time  { bottom: 14%; right: -10%; transform: rotate(6deg);  animation-delay: -1.5s; }
.ev-hero__sticker--place { bottom: -2%; left: -2%;  transform: rotate(-4deg); animation-delay: -3s;   }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

/* -----------------------------
   CONTADOR
   Spec del usuario (traducida a CSS):
   - Fondo uniforme #fbffe7
   - Sin borde sólido, solo shadow-lg
   - Cards blancas con border sutil
   - Números grandes en fucsia, font-black
   - Etiquetas tracking-widest, text-gray-500
----------------------------- */
.countdown {
  margin: 40px auto 0;
  padding: 32px;
  max-width: 48rem;            /* max-w-3xl */
  background: rgba(251, 255, 231, 1);   /* #fbffe7 */
  border: 0;                    /* sin borde sólido */
  border-radius: 24px;          /* rounded-3xl */
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);  /* shadow-lg neutro */
  position: relative;
  overflow: hidden;
}
.countdown::before { content: none; }

.countdown__label {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #e9008c;               /* fucsia del prompt */
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.005em;
  text-align: center;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* desktop */
  gap: 16px;                                /* gap-4 */
}
.countdown__cell {
  background: #fff;
  border: 1px solid #f9fafb;               /* border-gray-50 */
  border-radius: 16px;                      /* rounded-2xl */
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06); /* shadow-md */
  padding: 18px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.countdown__cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
.countdown__num {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;             /* font-black */
  font-size: 3rem;              /* text-5xl */
  color: #e9008c;               /* fucsia */
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.countdown__unit {
  display: block;
  margin-top: 8px;
  color: #6b7280;               /* text-gray-500 */
  font-size: .75rem;            /* text-xs */
  font-weight: 800;
  letter-spacing: .1em;         /* tracking-widest */
  text-transform: uppercase;
}
.countdown__msg {
  margin: 18px 0 0;
  text-align: center;
  color: #e9008c;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.1rem;
}
.countdown--ended .countdown__grid { opacity: .35; }

/* Mobile: 2 columnas */
@media (max-width: 560px) {
  .countdown { padding: 22px 18px; border-radius: 20px; }
  .countdown__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .countdown__label { font-size: 1.1rem; }
  .countdown__num { font-size: 2.4rem; }
  .countdown__cell { padding: 14px 6px; }
}

/* -----------------------------
   WHAT GRID
----------------------------- */
.section--what {
  padding: 90px 0 60px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.what-card {
  background: #fff;
  border: 2px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-1);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.what-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-magenta);
  box-shadow: var(--shadow-2);
}
.what-card__icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  background: var(--c-bg-2);
  border-radius: var(--r-md);
  border: 2px solid var(--c-lime);
}
.what-card h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.what-card p {
  margin: 0;
  color: var(--c-ink-soft);
  font-size: .96rem;
  line-height: 1.55;
}
.what-card strong { color: var(--c-magenta); }

/* -----------------------------
   UBICACIÓN
----------------------------- */
.section--place {
  padding: 70px 0;
  background: var(--c-bg-2);
}
.place-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.place__copy .section__title { text-align: left; }
.place__copy .eyebrow { display: inline-block; }
.place__list {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.place__list li {
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: center;
}
.place__list strong {
  color: var(--c-magenta);
  font-family: var(--f-display);
  font-weight: 800;
}
.place__list code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  background: var(--c-bg-2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .85rem;
  color: var(--c-ink);
}
.place__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.place__map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3;
  background: var(--c-bg-2);
}
.place__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

/* -----------------------------
   INSCRIPCIÓN / DONACIÓN
----------------------------- */
.section--signup {
  padding: 90px 0 70px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.signup {
  background: linear-gradient(135deg, #fff 0%, var(--c-bg-2) 100%);
  border: 2px solid var(--c-lime);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: 0 20px 60px rgba(207, 255, 10, .25);
}
.signup__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.signup__head .eyebrow { display: inline-block; }
.signup__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}
.signup__donate h3,
.signup__how h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  margin: 0 0 18px;
  color: var(--c-ink);
}
.signup__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.signup__list li {
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 700;
  color: var(--c-ink);
  transition: border-color var(--t-fast);
}
.signup__list li:hover { border-color: var(--c-magenta); }
.signup__hint {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--c-magenta);
  color: #fff;
  border-radius: var(--r-md);
  font-size: .95rem;
}
.signup__steps {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; gap: 14px;
  counter-reset: step;
}
.signup__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.signup__step-num {
  width: 36px; height: 36px;
  background: var(--c-magenta); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1rem;
}
.signup__steps strong {
  color: var(--c-ink);
  display: block;
  margin-bottom: 4px;
}
.signup__steps span { color: var(--c-ink-soft); font-size: .94rem; line-height: 1.5; }
.btn--block { width: 100%; justify-content: center; }

/* -----------------------------
   LINK EN FAQ
----------------------------- */
.link { color: var(--c-magenta); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--c-magenta-2); }

/* -----------------------------
   POST OFICIAL INSTAGRAM
----------------------------- */
.section--ig {
  padding: 60px 0 30px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.ig-callout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  background: var(--c-bg-2);
  border: 2px solid var(--c-pink);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-1);
}
.ig-callout__copy .eyebrow { display: inline-block; }
.ig-callout__btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 22px;
}

.ig-callout__card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 2px solid var(--c-line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.ig-callout__card:hover {
  transform: translateY(-4px);
  border-color: var(--c-magenta);
  box-shadow: var(--shadow-2);
}
.ig-callout__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line);
}
.ig-callout__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-bg);
  border: 2px solid var(--c-magenta);
  flex-shrink: 0;
}
.ig-callout__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-callout__head strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--c-ink);
  font-size: .95rem;
}
.ig-callout__head small {
  color: var(--c-ink-mute);
  font-size: .78rem;
}
.ig-callout__img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-bg);
}
.ig-callout__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--t-med);
}
.ig-callout__card:hover .ig-callout__img img { transform: scale(1.03); }
.ig-callout__caption {
  padding: 14px 16px;
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--c-ink-soft);
  border-top: 1px solid var(--c-line);
}
.ig-callout__caption strong { color: var(--c-ink); }
.ig-callout__meta {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: .82rem;
  color: var(--c-ink-mute);
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-2);
}

/* -----------------------------
   RESPONSIVE
----------------------------- */
@media (max-width: 960px) {
  .ev-hero { padding: 100px 0 40px; }
  .ev-hero__inner,
  .place-grid,
  .signup__grid,
  .ig-callout { grid-template-columns: 1fr; gap: 36px; }
  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .signup,
  .ig-callout { padding: 28px 22px; }
  .place__list li { grid-template-columns: 1fr; gap: 4px; }

  /* Stickers: pasan de flotantes sobre el flyer a una fila estatica debajo.
     Los offsets negativos en absolute se salian del viewport en movil. */
  .ev-hero__media {
    gap: 12px;
    width: 100%;
  }
  .ev-flyer { width: min(100%, 420px); }
  .ev-hero__sticker {
    position: static;
    animation: none;
    width: min(100%, 420px);
    text-align: center;
  }
  .ev-hero__sticker--date,
  .ev-hero__sticker--time,
  .ev-hero__sticker--place { transform: none; }
}
@media (max-width: 560px) {
  .what-grid { grid-template-columns: 1fr; }
  .signup__list { grid-template-columns: 1fr; }
  .countdown__grid { gap: 6px; }
  .countdown__cell { padding: 10px 4px; }
  .countdown__num { font-size: 1.4rem; }
  .ev-hero__sticker { padding: 8px 12px; }
  .ev-hero__sticker strong { font-size: 1.15rem; }
  .signup { padding: 24px 18px; border-radius: var(--r-lg); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ev-hero__sticker { animation: none; }
}
