/* ===========================================================
   TOPATOPIA — Festival des savoirs partagés
   Visual system: cyanotype ferns · papercut layers · electric fuchsia
   =========================================================== */

@font-face {
  font-family: "Topatopia";
  src: url("assets/Topatopia.ttf") format("truetype");
  /* block: el texto se oculta mientras carga la fuente (no se muestra con la tipografía equivocada). */
  font-display: block;
}

@font-face {
  font-family: "Litterbox";
  src: url("assets/fonts/Litterbox-Regular.woff2") format("woff2"),
    url("assets/fonts/Litterbox-Regular.woff") format("woff"),
    url("assets/fonts/Litterbox ICG Regular/Litterbox ICG Regular.ttf") format("truetype");
  font-display: block;
}

:root {
  /* sky */
  --sky-top: #ECC2FF;
  --sky-bot: #5288FF;
  /* inks & indigos (deep mountains) */
  --indigo-950: #1c0f44;
  --indigo-900: #241452;
  --indigo-800: #2f1c68;
  --indigo-700: #3c2682;
  --violet-600: #5a3fb1;
  /* electric accents */
  --fuchsia: #ec1ba6;
  --magenta: #ff3cb4;
  --fuchsia-deep: #b9148a;
  /* fern blues */
  --blue: #6f86ea;
  --blue-soft: #a6b9f4;
  /* surfaces */
  --paper: #f4effc;
  --cream: #fcf8ff;
  --ink: #2a1c5e;
  --ink-soft: #5a4d8e;

  --maxw: 1240px;
  --r-card: 22px;
  --shadow-paper: 0 1px 0 rgba(255, 255, 255, .7) inset,
    0 10px 24px -12px rgba(40, 20, 90, .45),
    0 30px 60px -30px rgba(40, 20, 90, .4);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sky-bot);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---- type helpers ---- */
.display {
  font-family: "Topatopia", "Nunito", sans-serif;
  font-weight: 400;
  line-height: .92;
  letter-spacing: .01em;
}

.hand-sm {
  font-family: "Topatopia", sans-serif;
  letter-spacing: .02em;
}

.eyebrow {
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  font-size: clamp(11px, 1.1vw, 13px);
}

.section-pad {
  padding: clamp(64px, 9vw, 130px) clamp(20px, 5vw, 40px);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* double-delineated title effect (purple fill, fuchsia offset) */
.topa-logo {
  color: var(--indigo-800);
  text-shadow:
    3px 3px 0 var(--fuchsia),
    6px 6px 0 rgba(236, 27, 166, .35);
}

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 40px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}

.nav.scrolled {
  background: rgba(244, 239, 252, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 14px 30px -20px rgba(40, 20, 90, .5);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-logo {
  font-family: "Topatopia", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--indigo-800);
  text-shadow: 2px 2px 0 var(--magenta);
  line-height: 1;
  transform: translateY(-2px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}

/* language switch */
.lang {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--indigo-800);
  border-radius: 999px;
  overflow: hidden;
  font-weight: 800;
  font-size: 13px;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--indigo-800);
  padding: 6px 13px;
  letter-spacing: .04em;
  transition: background .25s, color .25s;
}

.lang button.on {
  background: var(--indigo-800);
  color: #fff;
}

/* hamburger */
.burger {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid var(--indigo-800);
  background: rgba(255, 255, 255, .4);
  display: grid;
  place-content: center;
  gap: 5px;
  transition: transform .3s var(--ease), background .3s;
}

.burger:hover {
  transform: rotate(-4deg) scale(1.04);
}

.burger span {
  width: 22px;
  height: 2.6px;
  background: var(--indigo-800);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7.6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7.6px) rotate(-45deg);
}

/* menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: linear-gradient(160deg, rgba(36, 20, 82, .97), rgba(28, 15, 68, .99));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 8vw, 90px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

.menu.open {
  opacity: 1;
  pointer-events: auto;
}

.menu a {
  font-family: "Topatopia", sans-serif;
  font-size: clamp(40px, 9vw, 92px);
  color: #efe7ff;
  line-height: 1.04;
  width: max-content;
  padding: 4px 0;
  transform: translateX(-12px);
  opacity: 0;
  transition: color .25s, transform .2s;
}

.menu.open a {
  animation: menuIn .55s var(--ease) forwards;
}

.menu a:nth-child(1) {
  animation-delay: .08s
}

.menu a:nth-child(2) {
  animation-delay: .14s
}

.menu a:nth-child(3) {
  animation-delay: .20s
}

.menu a:nth-child(4) {
  animation-delay: .26s
}

.menu a:nth-child(5) {
  animation-delay: .32s
}

.menu a:hover {
  color: var(--magenta);
  transform: translateX(6px) rotate(-1deg);
}

@keyframes menuIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.menu-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ===========================================================
   HERO  (2.5D papercut parallax)
   =========================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(180deg,
      var(--sky-top) 0%, var(--sky-bot) 100%);
}

.sky-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* real 3D mountains canvas (three.js) sits above the stars, below the UI */
.three-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.three-hero canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.layer {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 106%;
  transform: translate3d(-50%, 0, 0);
  will-change: transform;
  pointer-events: none;
}

.layer img {
  width: 100%;
}

.layer-far {
  z-index: 3;
  filter: drop-shadow(0 -2px 10px rgba(110, 134, 234, .25));
  opacity: .96;
}

.layer-mid {
  z-index: 4;
  filter: drop-shadow(0 -10px 20px rgba(40, 20, 90, .18));
}

.layer-peak {
  z-index: 6;
  filter: drop-shadow(0 -16px 26px rgba(40, 20, 90, .28));
}

.layer-front {
  z-index: 8;
  filter: drop-shadow(0 -22px 34px rgba(40, 20, 90, .4));
}

/* portal on the central peak — anchored inside the peak layer at its summit */
.portal-anchor {
  position: absolute;
  left: 49.2%;
  top: 43%;
  transform: translate(-50%, -100%);
  z-index: 7;
  pointer-events: none;
}

.portal {
  position: relative;
  width: clamp(48px, 6vw, 86px);
  aspect-ratio: 3/4;
  background: var(--indigo-900);
  border: 4px solid var(--violet-600);
  border-radius: 48% 48% 8px 8px / 38% 38% 8px 8px;
  box-shadow: 0 0 0 0 rgba(236, 27, 166, .0), 0 10px 30px -8px rgba(28, 15, 68, .6);
  animation: portalGlow 4.5s ease-in-out infinite;
}

.portal::before,
.portal::after {
  content: "";
  position: absolute;
  background: var(--violet-600);
  opacity: .85;
}

.portal::before {
  left: 50%;
  top: 14%;
  width: 3px;
  height: 74%;
  transform: translateX(-50%);
}

.portal::after {
  left: 14%;
  top: 46%;
  width: 72%;
  height: 3px;
}

@keyframes portalGlow {

  0%,
  100% {
    box-shadow: 0 0 22px 2px rgba(236, 27, 166, .35), 0 10px 30px -8px rgba(28, 15, 68, .6);
  }

  50% {
    box-shadow: 0 0 40px 8px rgba(255, 60, 180, .6), 0 10px 30px -8px rgba(28, 15, 68, .6);
  }
}

/* hero text */
.hero-ui {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(82px, 11vh, 132px);
  will-change: transform;
  pointer-events: none;
}

.hero-ui>* {
  pointer-events: auto;
}

.badge-group {
  position: absolute;
  top: 40%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.edition-badge {
  width: 182px;
  height: 182px;
  background: url("assets/version.png") no-repeat center/contain;
}

.hero-title {
  font-family: "Topatopia", sans-serif;
  font-size: clamp(34px, 8vw, 150px);
  letter-spacing: -0.012em;
  line-height: .86;
  margin: 4px 0 0;
  white-space: nowrap;
}

.hero-sub-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 40px);
  margin-top: 10px;
  font-family: "Litterbox", "Topatopia", sans-serif;
}

.hero-sub-block {
  color: var(--indigo-800);
  font-size: clamp(27px, 3.9vw, 51px);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-dates {
  margin-top: clamp(10px, 1.8vw, 20px);
  display: flex;
  align-items: baseline;
  gap: .4em;
  justify-content: center;
  font-family: "Topatopia", sans-serif;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(247, 240, 252, .8);
}

.hero-dates .d {
  font-size: clamp(40px, 7vw, 92px);
}

.hero-dates .d:nth-child(1) {
  color: var(--violet-600);
}

.hero-dates .d:nth-child(3) {
  color: var(--fuchsia);
}

.hero-dates .d:nth-child(5) {
  color: var(--magenta);
}

.hero-dates .slash {
  color: var(--indigo-700);
  font-size: clamp(30px, 5vw, 64px);
  opacity: .6;
}

.hero-meta {
  margin-top: 6px;
  font-family: "Topatopia", sans-serif;
  color: var(--indigo-800);
  font-size: clamp(15px, 2vw, 24px);
  letter-spacing: .03em;
  text-shadow: 0 2px 14px rgba(247, 240, 252, .85);
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--indigo-800);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .8;
}

.scroll-cue .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuchsia);
  animation: bob 1.6s var(--ease) infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1
  }

  50% {
    transform: translateY(9px);
    opacity: .4
  }
}

/* ===========================================================
   SECTIONS shared
   =========================================================== */
.band-light {
  background: linear-gradient(180deg, #ece7fb, #e4ddf8);
  position: relative;
}

.band-paper {
  background:
    radial-gradient(120% 80% at 50% -10%, #f3eefc, #e7e0fa);
  position: relative;
}

.band-night {
  background: linear-gradient(180deg, var(--indigo-900), var(--indigo-950));
  color: #e9e3ff;
  position: relative;
  overflow: hidden;
}

.sec-head {
  text-align: center;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.sec-eyebrow {
  color: var(--fuchsia);
}

.band-night .sec-eyebrow {
  color: var(--magenta);
}

.sec-title {
  font-family: "Topatopia", sans-serif;
  font-size: clamp(40px, 7vw, 86px);
  line-height: .92;
  color: var(--indigo-800);
  margin: .18em 0 0;
}

.band-night .sec-title {
  color: #fff;
  text-shadow: 3px 3px 0 var(--fuchsia);
}

.sec-lead {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft);
  line-height: 1.6;
}

.band-night .sec-lead {
  color: #cfc6f5;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: clamp(15px, 1.4vw, 18px);
  padding: 15px 28px;
  border-radius: 999px;
  border: 0;
  background: var(--fuchsia);
  color: #fff;
  box-shadow: 0 10px 0 -2px var(--fuchsia-deep), 0 18px 30px -12px rgba(185, 20, 138, .6);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 14px 0 -2px var(--fuchsia-deep), 0 24px 40px -14px rgba(185, 20, 138, .7);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 5px 0 -2px var(--fuchsia-deep), 0 10px 18px -10px rgba(185, 20, 138, .6);
}

.btn-ghost {
  background: transparent;
  color: var(--indigo-800);
  border: 2.5px solid var(--indigo-800);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--indigo-800);
  color: #fff;
  box-shadow: none;
}

/* paper card */
.paper-card {
  background: var(--cream);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-paper);
  position: relative;
}

.paper-card::after {
  /* torn-paper top tint */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(214, 201, 247, .18), transparent 30%);
  pointer-events: none;
}

/* ===========================================================
   BÉNÉVOLES
   =========================================================== */
.benevoles {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.benevoles .copy h3 {
  font-family: "Topatopia", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  color: var(--indigo-800);
  margin: 0 0 14px;
  line-height: .96;
}

.benevoles .copy p {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 48ch;
}

.hearts {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.heart {
  position: absolute;
  width: 62px;
  height: 62px;
  cursor: pointer;
  transition: transform .25s var(--ease);
}

.heart svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(185, 20, 138, .4));
}

.heart:hover {
  animation: beat .7s var(--ease) infinite;
}

@keyframes beat {

  0%,
  100% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.22);
  }

  40% {
    transform: scale(1.05);
  }

  60% {
    transform: scale(1.18);
  }
}

/* ===========================================================
   NORA?  location
   =========================================================== */
.loc-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.loc-card {
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loc-card h3 {
  font-family: "Topatopia", sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--indigo-800);
  margin: 0 0 6px;
}

.loc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
}

.loc-row .pin {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fuchsia);
  display: grid;
  place-content: center;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(185, 20, 138, .7);
}

.loc-row .pin svg {
  width: 20px;
  height: 20px;
}

.loc-row b {
  display: block;
  color: var(--indigo-800);
  font-size: 17px;
}

.loc-row span {
  color: var(--ink-soft);
  font-size: 15px;
}

.map-frame {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow-paper);
  background: linear-gradient(160deg, #cfe0f6, #bcd2f1);
}

.map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  left: 54%;
  top: 48%;
  transform: translate(-50%, -100%);
  z-index: 3;
  animation: pinBob 2.4s var(--ease) infinite;
}

.map-pin .pinbody {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 2px;
  background: var(--fuchsia);
  transform: rotate(-45deg);
  box-shadow: 0 10px 20px -6px rgba(185, 20, 138, .7);
}

.map-pin .pulse {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -30%);
  width: 46px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(236, 27, 166, .4), transparent);
}

@keyframes pinBob {

  0%,
  100% {
    transform: translate(-50%, -100%);
  }

  50% {
    transform: translate(-50%, -115%);
  }
}

.map-tag {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(36, 20, 82, .9);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===========================================================
   PROGRAMMATION
   =========================================================== */
.days-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(26px, 3vw, 42px);
}

.day-tab {
  border: 2px solid rgba(166, 185, 244, .5);
  background: rgba(255, 255, 255, .05);
  color: #d9d1f7;
  padding: 12px 20px;
  border-radius: 16px;
  font-family: "Topatopia", sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1;
  transition: all .25s var(--ease);
  position: relative;
  text-align: center;
}

.day-tab small {
  display: block;
  font-family: "Nunito";
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
  margin-top: 5px;
}

.day-tab:hover {
  transform: translateY(-3px);
  border-color: var(--magenta);
  color: #fff;
}

.day-tab.on {
  background: var(--fuchsia);
  border-color: var(--fuchsia);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(236, 27, 166, .7);
  transform: translateY(-3px) rotate(-1.5deg);
}

.prog-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(20px, 2.5vw, 26px) clamp(20px, 3vw, 40px) 10px;
}

.prog-card .date-line {
  font-family: "Topatopia";
  color: var(--fuchsia);
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 8px;
}

.slot {
  display: grid;
  grid-template-columns: 145px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 4px;
  border-top: 1.5px dashed rgba(90, 77, 142, .3);
}

.slot:first-of-type {
  border-top: 0;
}

.slot .time {
  font-family: "Topatopia";
  font-size: clamp(18px, 2vw, 24px);
  color: var(--violet-600);
}

.slot .what b {
  display: block;
  color: var(--indigo-800);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 800;
}

.slot .what span {
  color: var(--ink-soft);
  font-size: 14px;
}

.slot .tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag.atelier {
  background: rgba(111, 134, 234, .18);
  color: var(--blue);
}

.tag.scene {
  background: rgba(236, 27, 166, .14);
  color: var(--fuchsia);
}

.tag.parole {
  background: rgba(90, 63, 177, .16);
  color: var(--violet-600);
}

.tag.repas {
  background: rgba(255, 60, 180, .14);
  color: var(--magenta);
}

/* ===========================================================
   MOBILITÉ
   =========================================================== */
.mob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
}

.mob-card {
  padding: clamp(26px, 3vw, 40px);
  text-align: center;
  transition: transform .25s var(--ease);
}

.mob-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.mob-ico {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  color: var(--indigo-800);
}

.mob-ico svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mob-card h4 {
  font-family: "Topatopia";
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--indigo-800);
  margin: 0 0 8px;
}

.mob-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ===========================================================
   GALERIE
   =========================================================== */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gal-grid image-slot {
  width: 100%;
  height: 100%;
  box-shadow: var(--shadow-paper);
}

.gal-grid .tall {
  grid-row: span 2;
}

.gal-grid .wide {
  grid-column: span 2;
}

/* ===========================================================
   FOOTER / CONTACT
   =========================================================== */
.foot {
  background: var(--indigo-950);
  color: #d9d1f7;
  position: relative;
  overflow: hidden;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  position: relative;
  z-index: 2;
}

.foot-grid>* {
  min-width: 0;
}

.foot h5 {
  font-family: "Topatopia";
  color: #fff;
  font-size: 22px;
  margin: 0 0 16px;
}

.foot a {
  display: flex;
  align-items: center;
  color: #cabdf2;
  padding: 5px 0;
  transition: color .2s, transform .2s;
  width: max-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.foot a:hover {
  color: var(--magenta);
  transform: translateX(4px);
}

.foot-logo {
  font-family: "Topatopia";
  font-size: clamp(38px, 5.2vw, 72px);
  color: #fff;
  text-shadow: 3px 3px 0 var(--fuchsia);
  line-height: .9;
  overflow-wrap: break-word;
}

.foot-bottom {
  border-top: 1px solid rgba(202, 189, 242, .2);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 13px;
  color: #9c8fce;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.foot-bottom a {
  display: inline;
  color: #cabdf2;
  text-decoration: underline;
  padding: 0;
  transition: color .2s;
  transform: none;
  width: auto;
}

.foot-bottom a:hover {
  color: var(--magenta);
  transform: none;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(202, 189, 242, .3);
  display: grid;
  place-content: center;
  transform: none;
}

.social a:hover {
  border-color: var(--magenta);
  background: rgba(236, 27, 166, .15);
  transform: translateY(-3px);
}

.social svg {
  width: 18px;
  height: 18px;
}

.social svg,
.foot a svg {
  pointer-events: none;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 880px) {

  .benevoles,
  .loc-grid {
    grid-template-columns: 1fr;
  }

  .mob-grid {
    grid-template-columns: 1fr;
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hearts {
    min-height: 220px;
  }

  .layer {
    width: 200%;
  }

  .slot {
    grid-template-columns: 115px 1fr;
  }

  .slot .tag {
    grid-column: 2;
    justify-self: start;
  }

  .edition-badge {
    width: clamp(180px, 25vw, 280px);
    left: 5%;
    top: 30%;
  }
}

@media (max-width: 520px) {
  .gal-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo {
    font-size: 22px;
  }

  .edition-badge {
    width: clamp(140px, 35vw, 200px);
    left: 5%;
    top: 27%;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {

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

  html {
    scroll-behavior: auto;
  }
}
/* Rendereo de saltos de linea desde el CMS */
h1, h2, h3, h4, h5, p, span, .btn, .sec-eyebrow, .day-tab, .slot b, .slot span, .mob-card h4, .mob-card p, .foot-grid p, .foot-grid h5 { white-space: pre-line; }
