@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --color-sun: #fcb045;
  --color-sunset: #fd6b47;
  --color-iris: #6c4ad1;
  --color-glow: #fd9f6b;
  --color-text: #231c35;
  --color-muted: rgba(35, 28, 53, 0.68);
  --color-card: #ffffff;
  --color-surface: rgba(255, 255, 255, 0.88);
  --color-border: rgba(108, 74, 209, 0.16);
  --gradient-hero: linear-gradient(135deg, #fcb045 0%, #fd6b47 45%, #6c4ad1 100%);
  --gradient-card: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(238, 232, 255, 0.92));
  --gradient-chip: linear-gradient(120deg, rgba(252, 176, 69, 0.2), rgba(108, 74, 209, 0.2));
  --gradient-lumina: linear-gradient(110deg, #fcb045 0%, #fb6d3a 50%, #6c4ad1 100%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 46px rgba(35, 18, 67, 0.12);
  --shadow-sharp: 0 16px 34px rgba(35, 18, 67, 0.2);
  --max-width: min(1200px, 92vw);
  --page-padding: 1.25rem;
  --header-height: 72px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fff7ee 0%, #f4f0ff 55%, #f8faff 100%);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(108, 74, 209, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.brand__tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-glow);
}

.brand__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.site-nav {
  position: relative;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(35, 28, 53, 0.72);
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-sunset);
}

.nav-toggle {
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  display: none;
  position: relative;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  content: "";
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span::before {
  transform: translate(-50%, -7px);
}

.nav-toggle span::after {
  transform: translate(-50%, 7px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translate(-50%, 0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translate(-50%, 0) rotate(-45deg);
}

main {
  display: grid;
  gap: clamp(1.2rem, 6vw, 3rem);
  padding: 0 clamp(0.75rem, 4vw, var(--page-padding)) clamp(1.5rem, 8vw, 4rem);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(0.75rem, 3vw, 1.5rem);
}

.section-heading__eyebrow {
  margin: 0;
  margin-bottom: -10%;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--color-sunset);
}

.section-heading__subtitle {
  margin: -10%;
  color: var(--color-muted);
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero {
  padding-top: clamp(0.75rem, 5vw, 1.75rem);
}

.hero__content {
  max-width: clamp(18rem, 75vw, 48rem);
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-glow);
  font-size: 0.8rem;
  margin: 0;
}

.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.75rem 0;
  line-height: 1.2;
  background: var(--gradient-lumina);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title::selection {
  color: #1b132d;
  background: rgba(252, 176, 69, 0.25);
}

.hero__description {
  color: var(--color-muted);
  margin: 0;
  max-width: 55ch;
}

.hero__cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--gradient-lumina);
  color: #1b132d;
  box-shadow: 0 14px 30px rgba(252, 176, 69, 0.28);
}

.btn--outline {
  border: 1px solid rgba(35, 28, 53, 0.18);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--gradient-lumina);
  color: #1b132d;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(252, 176, 69, 0.22);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 18px 34px rgba(252, 176, 69, 0.32);
  color: #1b132d;
}

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

.hero__orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-glow) 0%, var(--color-sun) 55%, transparent 70%);
  filter: drop-shadow(0 35px 45px rgba(255, 158, 47, 0.35));
  opacity: 0.85;
}

.hero__panel {
  position: absolute;
  inset: 24px 40px 0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(238, 232, 255, 0.88));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sharp);
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: clamp(0.85rem, 3vw, 1.75rem);
}

.section-heading__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--color-sunset);
}

.section-heading__subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.events {
  display: grid;
  gap: 1.5rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 6vw, 3rem) 0;
  margin-top: -10%;
}

.carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.carousel__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.carousel__slide {
  padding: 0 2.5rem;
  width: 100%;
  flex: 0 0 100%;
}

.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-card__media {
  margin: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  /* Forzar una altura consistente en las imágenes del carrusel.
     Usamos clamp para que sea responsiva en pantallas pequeñas y grandes. */
  height: clamp(160px, 25vh, 320px);
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.event-card__content {
  padding: clamp(1.1rem, 4vw, 1.75rem);
  display: grid;
  gap: clamp(0.8rem, 3vw, 1.2rem);
  background: linear-gradient(180deg, rgba(252, 176, 69, 0.08), rgba(108, 74, 209, 0.12));
  color: var(--color-text);
}

.event-card__top {
  display: grid;
  gap: 0.6rem;
}

.event-card__date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sunset);
}

.event-card__title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.25;
}

.event-card__description {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 62ch;
}

.event-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(108, 74, 209, 0.12);
  color: var(--color-text);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card__link {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--gradient-lumina);
  color: #1b132d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  box-shadow: 0 14px 28px rgba(252, 176, 69, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card__link:hover,
.event-card__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(35, 18, 67, 0.35);
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  z-index: 5;
  box-shadow: 0 12px 22px rgba(35, 18, 67, 0.1);
}

.carousel__control--prev {
  left: 1rem;
}

.carousel__control--next {
  right: 1rem;
}

.carousel__control:hover,
.carousel__control:focus-visible {
  background: linear-gradient(135deg, rgba(252, 176, 69, 0.9), rgba(108, 74, 209, 0.9));
  color: #fff;
  box-shadow: 0 14px 24px rgba(108, 74, 209, 0.24);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(35, 28, 53, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel__dot.is-active {
  background: var(--color-sunset);
  transform: scale(1.2);
}

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

.floor-list {
  position: sticky;
  top: calc(var(--header-height) + 0.75rem);
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
  padding: 0.75rem var(--page-padding) 0.85rem;
  margin: 0 calc(-1 * var(--page-padding));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108, 74, 209, 0.12);
}

.floor-chip {
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  text-align: center;
  letter-spacing: 0.02em;
}

.floor-chip:is(:hover, :focus-visible),
.floor-chip.is-active {
  background: var(--gradient-lumina);
  color: #fff;
}

.floor-panels {
  display: grid;
  gap: 2.5rem;
}

.floor-panel {
  display: none;
  gap: 1.75rem;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 4vw, 1.75rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--header-height) + 5.5rem);
}

.floor-panel.is-active {
  display: grid;
}

.floor-panel__header {
  display: grid;
  gap: 0.5rem;
}

.floor-panel__title {
  margin: 0;
  font-size: 1.4rem;
}

.floor-panel__description {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.floor-panel__media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: rgba(238, 232, 255, 0.35);
  width: 100%;
}

.floor-panel__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.map-overlay > * {
  pointer-events: auto;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  gap: 0.5rem;
  pointer-events: auto;
  z-index: 1;
}

.map-marker__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--color-sunset), var(--color-iris));
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 18px rgba(108, 74, 209, 0.35);
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 5;
}

.map-marker__dot::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  mix-blend-mode: screen;
}

.map-marker__dot:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

.map-marker.is-active .map-marker__dot {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(108, 74, 209, 0.45);
}

.map-marker.is-active {
  z-index: 50;
}

.map-marker__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 176, 69, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.map-marker.is-active .map-marker__dot::after {
  opacity: 1;
}

.map-marker__label {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  border-radius: 12px;
  padding: 0.35rem 0.85rem;
  box-shadow: 0 10px 20px rgba(35, 18, 67, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: normal;
  max-width: 240px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.map-marker__label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -1px);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.96);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  box-shadow: 0 4px 10px rgba(35, 18, 67, 0.15);
}

.map-marker.is-active .map-marker__label {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.map-marker__link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-sunset);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.map-marker__link:hover,
.map-marker__link:focus-visible {
  text-decoration: none;
  opacity: 0.8;
}

.targets-grid {
  display: grid;
  gap: clamp(0.75rem, 3vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .targets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .target-card__body {
    padding: 0.85rem 0.95rem 0.6rem;
  }

  .target-card__cta {
    padding: 0 0.95rem 0.85rem;
  }
}

.target-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 32px rgba(35, 18, 67, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-card:hover,
.target-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 38px rgba(35, 18, 67, 0.16);
}

.target-card.is-highlighted {
  box-shadow: 0 0 0 3px rgba(252, 176, 69, 0.4), 0 24px 38px rgba(108, 74, 209, 0.24);
}

.target-card__media {
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(35, 18, 67, 0.08);
}

.target-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.target-card__body {
  padding: 1rem 1.1rem 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.target-card__meta {
  font-size: 0.72rem;
  color: rgba(35, 28, 53, 0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.target-card__title {
  font-size: 1.05rem;
  margin: 0;
  color: var(--color-text);
}

.target-card__cta {
  margin: 0;
  padding: 0 1.1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sunset);
}

.target-card__cta-icon {
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.target-card:hover .target-card__cta-icon,
.target-card:focus-visible .target-card__cta-icon {
  transform: translateX(4px);
}


.catalog {
  --catalog-padding-inline: clamp(0.75rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.75rem;
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 var(--catalog-padding-inline);
}

.catalog__filters {
  position: sticky;
  top: calc(var(--header-height) + 1.2rem);
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 0.5rem;
  padding: 0.75rem var(--catalog-padding-inline) 0.85rem;
  margin: 0 calc(-1 * var(--catalog-padding-inline));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108, 74, 209, 0.12);
}

.catalog__grid {
  display: grid;
  gap: 2.5rem;
}

.catalog-panel {
  display: none;
  gap: 1.5rem;
  scroll-margin-top: 6.75rem;
}

.catalog-panel.is-active {
  display: grid;
}

.catalog-panel__header {
  display: grid;
  gap: 0.45rem;
}

.catalog-panel__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
}

.catalog-panel__subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.catalog-panel__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .catalog__filters {
    top: calc(var(--header-height) + 0.6rem);
    padding: 0.6rem var(--catalog-padding-inline);
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }

  .catalog-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .catalog-card {
    min-height: 260px;
  }
}

.catalog-card {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

.catalog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 20, 0.2) 0%, rgba(7, 8, 20, 0.7) 65%, rgba(7, 8, 20, 0.85) 100%);
  transition: opacity 0.3s ease;
  opacity: 1;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 38px rgba(35, 18, 67, 0.22);
}

.catalog-card:hover::after,
.catalog-card:focus-visible::after {
  opacity: 0.92;
}

.catalog-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card__overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
}

.catalog-card__badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-sunset);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.catalog-card__content {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
}

.catalog-card__title {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.catalog-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.catalog-card__cta-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-card__cta-icon,
.catalog-card:focus-visible .catalog-card__cta-icon {
  transform: translateX(4px);
}

.geolocations {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.geo__layout {
  display: block;
  position: relative;
  z-index: 1;
}

.geo-map {
  position: relative;
  min-height: clamp(260px, 45vh, 360px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: rgba(15, 58, 109, 0.1);
  z-index: 1;
}

.geo-map.leaflet-container {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 45vh, 360px);
  z-index: 1;
}

/* Ajustar z-index de los elementos del mapa */
.leaflet-pane {
  z-index: 2;
}

.leaflet-top,
.leaflet-bottom {
  z-index: 3;
}

.leaflet-popup {
  z-index: 4;
}

.leaflet-overlay-pane {
  z-index: 3;
}

.leaflet-marker-pane {
  z-index: 4;
}

.leaflet-tooltip-pane {
  z-index: 5;
}

.leaflet-popup-pane {
  z-index: 6;
}

.geo-map--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
}

.geo-popup {
  display: grid;
  gap: 0.35rem;
  max-width: 220px;
}

.geo-popup h3 {
  margin: 0;
  font-size: 1rem;
}

.geo-popup p {
  margin: 0;
  font-size: 0.8rem;
}

.geo-popup a {
  color: var(--color-sunset);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 992px) {
  .geo__layout {
    max-width: 960px;
    margin: 0 auto;
  }

  .geo-map,
  .geo-map.leaflet-container {
    min-height: 480px;
  }
}
.team {
  display: grid;
  gap: 1.5rem;
}

.team__grid {
  display: grid;
  gap: clamp(0.75rem, 3vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(35, 18, 67, 0.08);
}

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(252, 176, 69, 0.16), transparent 55%);
  pointer-events: none;
}

.team-card__name {
  margin: 0;
  font-size: 1.2rem;
}

.team-card__role {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-sunset);
}

.team-card__bio {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(252, 176, 69, 0.08), rgba(108, 74, 209, 0.08));
}

.site-footer__content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: rgba(35, 28, 53, 0.65);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.25rem);
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(35, 28, 53, 0.7);
}

.site-footer a:hover {
  color: var(--color-sunset);
}

/* Custom Geo Marker Styles */
.geo-marker {
  width: 32px;
  height: 32px;
  position: relative;
}

.geo-marker__pin {
  width: 24px;
  height: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(140deg, var(--color-sunset), var(--color-iris));
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(35, 18, 67, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.geo-marker__pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 2px;
  height: 16px;
  background: linear-gradient(var(--color-sunset), var(--color-iris));
  box-shadow: 0 2px 4px rgba(35, 18, 67, 0.25);
}

.geo-marker__pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  mix-blend-mode: screen;
}

.geo-marker:hover .geo-marker__pin {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(35, 18, 67, 0.45);
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px rgba(35, 18, 67, 0.25);
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 980px) {
  .site-nav ul {
    position: absolute;
    top: 3.2rem;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    gap: 1rem;
    min-width: 220px;
    display: none;
  }

  .site-nav ul.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 719px) {
  .floor-list {
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    border-radius: 0;
    gap: 0.4rem;
    padding: 0.65rem var(--page-padding) 0.75rem;
  }

  .floor-panel {
    border-radius: 0;
    padding: 1.75rem var(--page-padding) 2rem;
  }

  .floor-panel__media {
    margin: 0 calc(-1 * var(--page-padding));
    width: calc(100% + (var(--page-padding) * 2));
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

@media (min-width: 720px) {
  main {
    gap: 4.5rem;
    padding-bottom: 5rem;
  }

  .carousel {
    padding: clamp(1.5rem, 6vw, 3rem) 0;
  }

  .carousel__slide {
    padding: 0 3rem;
  }

  .event-card {
    min-height: unset;
  }

  .event-card__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .event-card__link {
    margin-top: 0;
  }

  .floor-list {
    margin: 0;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.92);
  }

  .floor-panel {
    border-radius: var(--radius-lg);
    padding: 2.4rem;
  }

  .event-card__footer {
    gap: 1rem;
  }

  .floor-panel__media {
    margin: 0;
    width: 100%;
    border-radius: var(--radius-md);
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
  }

  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .targets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .targets-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .site-footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.floating-map-button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 70;
  background: var(--gradient-lumina);
  border: none;
  color: #0f0a1f;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  box-shadow: 0 16px 32px rgba(35, 18, 67, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.floating-map-button:hover,
.floating-map-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(35, 18, 67, 0.4);
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 4px;
}

.floating-map-button.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

@media (max-width: 560px) {
  .floating-map-button {
    right: 0.85rem;
    bottom: 1rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.72rem;
  }
}
