/* ============================================================
   AYUNTAMIENTO DE PUEBLA DE ALMENARA — Sistema de diseño
   ============================================================ */

:root {
  /* Negros y cálidos */
  --ink: #0a0a0a;
  --ink-90: rgba(10, 10, 10, 0.9);
  --ink-80: rgba(10, 10, 10, 0.8);
  --ink-60: rgba(10, 10, 10, 0.6);
  --ink-40: rgba(10, 10, 10, 0.4);
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --line: rgba(10, 10, 10, 0.08);

  /* Paleta pastel */
  --rose:     #f5cfd1;
  --rose-2:   #f8dee0;
  --mint:     #c7e7d4;
  --mint-2:   #dcf0e4;
  --peach:    #f7d3b4;
  --peach-2:  #fbe4cd;
  --lavender: #d6cdf0;
  --lavender-2:#e5dff5;
  --sky:      #c7dff0;
  --sky-2:    #ddecf6;
  --butter:   #f4e5b1;
  --butter-2: #f9efc7;
  --stone:    #d8d8dd;
  --stone-2:  #e6e6ea;
  --red:      #f5b0b0;
  --red-2:    #fad0d0;

  /* Tipografía */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;

  /* Curvas / radios */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 48px;

  /* Easings tipo Apple */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   MENÚ SUPERIOR
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--ink-90);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  color: var(--paper);
  transition: box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(8, 8, 8, 0.94);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav__logo {
  height: 28px;
  width: auto;
  display: block;
  /* The logo is white text + burgundy crest on transparent; keeps natural colors on dark nav */
}

.nav__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--peach) 50%, var(--butter) 100%);
  position: relative;
}
.nav__brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.nav__brand-mark::before {
  content: "PA";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  z-index: 2;
  font-family: var(--sans);
}

.nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}

.nav__item--has-menu {
  position: relative;
}

.nav__link--menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}
.nav__chevron {
  transition: transform 0.3s var(--ease-out);
  opacity: 0.6;
}
.nav__item--has-menu:hover .nav__chevron,
.nav__item--has-menu:focus-within .nav__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  margin-top: 14px;
  min-width: 320px;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 110;
}
.nav__submenu::before {
  /* hover bridge so the dropdown doesn't disappear on the gap */
  content: "";
  position: absolute;
  inset: -14px 0 0 0;
  height: 14px;
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav__sublink {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(247, 244, 239, 0.85);
  transition: background 0.2s var(--ease-out), color 0.2s;
}
.nav__sublink > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__sublink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}
.nav__sublink-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.nav__sublink b {
  display: block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.nav__sublink small {
  display: block;
  font-size: 12px;
  color: rgba(247, 244, 239, 0.5);
  margin-top: 2px;
  letter-spacing: 0;
}

.nav__link {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(247, 244, 239, 0.85);
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__link:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link--external::after {
  content: "↗";
  font-size: 11px;
  opacity: 0.6;
  transition: transform 0.25s var(--ease-out);
}
.nav__link--external:hover::after {
  transform: translate(2px, -2px);
  opacity: 1;
}

.nav__cta {
  background: var(--paper);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.nav__cta:hover {
  background: var(--butter);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__burger:hover { background: rgba(255,255,255,0.2); }
.nav__burger span {
  width: 20px;
  height: 2px;
  background: var(--paper);
  display: block;
  position: relative;
  border-radius: 2px;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }

/* Burger → X when open */
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 14px 20px; }
}

/* Nav mobile open state */
.nav.is-open .nav__links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ink-90);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  padding: 8px 12px 16px;
  gap: 0;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.nav.is-open .nav__links .nav__item--has-menu { position: static; }
.nav.is-open .nav__link {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: var(--r-sm);
}

.nav.is-open .nav__submenu {
  position: static;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  border: none;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-sm);
  margin: 2px 0 4px 8px;
  padding: 4px;
  gap: 0;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  min-width: 0;
}
.nav.is-open .nav__sublink {
  padding: 7px 10px;
  gap: 10px;
  border-radius: 6px;
}
.nav.is-open .nav__sublink-icon {
  width: 28px;
  height: 28px;
  font-size: 14px;
  flex-shrink: 0;
}
.nav.is-open .nav__sublink small { display: none; }
.nav.is-open .nav__sublink b { font-size: 13px; }

/* Asociaciones: garantizar visibilidad en móvil sin depender del scroll */
@media (max-width: 768px) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--paper);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

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

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.65) 85%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.2) 30%, rgba(10,10,10,0.35) 65%, rgba(10,10,10,0.85) 100%);
}

/* Placeholder background pattern shown when no photo */
.hero__placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      #2a2a28 0px,
      #2a2a28 24px,
      #313130 24px,
      #313130 48px
    );
}
.hero__placeholder-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(247,244,239,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 1100px;
  will-change: transform, opacity;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 0.2s forwards;
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7.6vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroWordIn 1.4s var(--ease-out) forwards;
}
.hero__title .word:nth-child(1) { animation-delay: 0.35s; }
.hero__title .word:nth-child(2) { animation-delay: 0.42s; }
.hero__title .word:nth-child(3) { animation-delay: 0.49s; }
.hero__title .word:nth-child(4) { animation-delay: 0.56s; }
.hero__title .word:nth-child(5) { animation-delay: 0.63s; }
.hero__title .word:nth-child(6) { animation-delay: 0.7s; }

.hero__title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(180deg, var(--peach) 0%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-top: 28px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 239, 0.78);
  font-weight: 300;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 0.9s forwards;
}

.hero__cta {
  margin-top: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 1.05s forwards;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 0 var(--rose);
  position: relative;
  overflow: hidden;
}
.hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--rose), var(--peach), var(--butter));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: 0;
}
.hero__cta span, .hero__cta svg { position: relative; z-index: 1; }
.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 6px rgba(245,207,209,0.25);
}
.hero__cta:hover::before { opacity: 1; }
.hero__cta:hover svg { transform: translateX(4px); }
.hero__cta svg { transition: transform 0.4s var(--ease-out); }

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.7);
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 1.4s forwards;
}
.hero__scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--paper));
  position: relative;
  overflow: hidden;
}
.hero__scroll-hint .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--paper));
  animation: scrollLine 2.4s var(--ease-inout) infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroWordIn {
  to { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   SECCIONES GENÉRICAS
   ============================================================ */
.section {
  padding: 160px 40px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.section__head {
  margin-bottom: 80px;
  max-width: 800px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 24px;
  font-weight: 500;
}
.section__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.section__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section__title em {
  font-style: italic;
}

.section__lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 620px;
  font-weight: 300;
}

/* ============================================================
   INSTAGRAM CARRUSEL
   ============================================================ */
.ig {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 0;
  overflow: hidden;
  position: relative;
}

.ig__head {
  max-width: 1440px;
  margin: 0 auto 60px;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ig__head-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
}

.ig__tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: flex-start;
}
.ig__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(247, 244, 239, 0.6);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.ig__tab:hover { color: var(--paper); }
.ig__tab.is-active {
  background: var(--paper);
  color: var(--ink);
}
.ig__tab.is-active .ig__tab-glyph {
  background: linear-gradient(135deg, #f5cfd1, #f7d3b4, #f4e5b1, #c7e7d4, #d6cdf0);
}
.ig__tab-glyph {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(245,207,209,0.55), rgba(247,211,180,0.55), rgba(199,231,212,0.55), rgba(214,205,240,0.55));
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s var(--ease-out);
}
.ig__tab-glyph::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.8;
}

.ig__profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(247, 244, 239, 0.55);
  transition: color 0.2s;
  align-self: flex-start;
}
.ig__profile-link:hover { color: var(--paper); }
.ig__profile-link svg { opacity: 0.65; transition: transform 0.25s var(--ease-out); }
.ig__profile-link:hover svg { transform: translate(2px, -2px); opacity: 1; }

.ig__widget-wrap { padding: 0 40px 40px; }
.ig__widget { width: 100%; }

/* Ocultar "Follow us on Instagram" del widget Elfsight */
[class*="eapps-"][class*="-follow"],
[class*="eapps-"][class*="-header"],
[class*="eapps-"][class*="-subscribe"] {
  display: none !important;
}

/* ── WhatsApp Channel CTA ── */
.ig__wa {
  padding: 0 40px 56px;
}
.ig__wa-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 1.5px solid rgba(247,244,239,.12);
  border-radius: 16px;
  padding: 18px 22px;
}
.ig__wa-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,.30);
}
.ig__wa-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ig__wa-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
}
.ig__wa-text span {
  font-size: 12.5px;
  color: rgba(247,244,239,.55);
  line-height: 1.45;
}
.ig__wa-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(37,211,102,.28);
}
.ig__wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,211,102,.38);
}

@media (max-width: 640px) {
  .ig__wa { padding: 0 20px 48px; }
  .ig__wa-inner { flex-wrap: wrap; gap: 12px; padding: 16px 18px; }
  .ig__wa-btn { width: 100%; justify-content: center; padding: 11px 18px; }
}



.ig__track-wrap { position: relative; min-height: 200px; }

.ig__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(247, 244, 239, 0.55);
  font-size: 13px;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  z-index: 5;
  border-radius: var(--r-md);
  margin: 0 40px;
}
.ig__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(247, 244, 239, 0.2);
  border-top-color: var(--peach);
  border-radius: 50%;
  animation: igSpin 0.9s linear infinite;
}
@keyframes igSpin { to { transform: rotate(360deg); } }

.ig__track {
  display: flex;
  gap: 20px;
  padding: 0 40px;
  transition: transform 0.8s var(--ease-out), opacity 0.25s var(--ease-out);
  will-change: transform, opacity;
}
.ig__track.is-fading { opacity: 0; }

.ig__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.ig__controls {
  display: flex;
  gap: 8px;
}
.ig__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: all 0.25s var(--ease-out);
}
.ig__btn:hover {
  background: var(--paper);
  color: var(--ink);
  transform: scale(1.05);
}
.ig__btn:disabled { opacity: 0.3; cursor: not-allowed; }

.ig__track-wrap {
  overflow: hidden;
  cursor: grab;
  position: relative;
  min-height: 200px;
}
.ig__track-wrap:active { cursor: grabbing; }

.ig__track {
  display: flex;
  gap: 20px;
  padding: 0 40px;
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}

.ig__card {
  flex: 0 0 320px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
  transition: transform 0.4s var(--ease-out);
}
.ig__card:hover { transform: translateY(-4px); }

.ig__card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Pastel-tinted placeholders for IG posts */
.ig__card:nth-child(6n+1) .ig__card-img { background: linear-gradient(135deg, #f5cfd1, #f7d3b4); }
.ig__card:nth-child(6n+2) .ig__card-img { background: linear-gradient(135deg, #c7e7d4, #c7dff0); }
.ig__card:nth-child(6n+3) .ig__card-img { background: linear-gradient(135deg, #d6cdf0, #f5cfd1); }
.ig__card:nth-child(6n+4) .ig__card-img { background: linear-gradient(135deg, #f4e5b1, #f7d3b4); }
.ig__card:nth-child(6n+5) .ig__card-img { background: linear-gradient(135deg, #c7dff0, #d6cdf0); }
.ig__card:nth-child(6n+6) .ig__card-img { background: linear-gradient(135deg, #f7d3b4, #f4e5b1); }

.ig__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.ig__card:hover .ig__card-overlay { opacity: 1; }
.ig__card-caption {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.ig__card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(247,244,239,0.85);
}
.ig__card-meta span { display: inline-flex; align-items: center; gap: 4px; }

.ig__card-emoji {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
  filter: grayscale(0.2);
}

/* ============================================================
   ASOCIACIONES (BURBUJAS PASTEL)
   ============================================================ */
.asoc {
  padding: 180px 40px;
  background: linear-gradient(180deg, var(--paper) 0%, #ece6dc 100%);
  position: relative;
  overflow: hidden;
}

.asoc__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.asoc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px 32px;
  margin-top: 80px;
}

.bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: transform 0.5s var(--ease-out);
}
.bubble:hover { transform: translateY(-8px); }

.bubble__sphere {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 -20px 40px rgba(0,0,0,0.08),
    inset 0 20px 40px rgba(255,255,255,0.5),
    0 30px 60px -20px rgba(0,0,0,0.15);
  transition: all 0.5s var(--ease-out);
}
.bubble:hover .bubble__sphere {
  box-shadow:
    inset 0 -20px 40px rgba(0,0,0,0.08),
    inset 0 20px 40px rgba(255,255,255,0.5),
    0 50px 80px -20px rgba(0,0,0,0.25);
}

.bubble__sphere::before {
  /* glossy highlight */
  content: "";
  position: absolute;
  top: 10%;
  left: 15%;
  width: 40%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.65), rgba(255,255,255,0));
  z-index: 2;
  pointer-events: none;
}

.bubble__photo {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.bubble__photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
}

/* colored rims */
.bubble[data-color="rose"]     .bubble__sphere { background: var(--rose); }
.bubble[data-color="mint"]     .bubble__sphere { background: var(--mint); }
.bubble[data-color="peach"]    .bubble__sphere { background: var(--peach); }
.bubble[data-color="lavender"] .bubble__sphere { background: var(--lavender); }
.bubble[data-color="sky"]      .bubble__sphere { background: var(--sky); }
.bubble[data-color="butter"]   .bubble__sphere { background: var(--butter); }

.bubble__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.bubble__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-60);
  max-width: 220px;
}

/* Floating background blobs */
.asoc__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.asoc__blob--1 { width: 400px; height: 400px; background: var(--rose); top: 10%; left: -100px; }
.asoc__blob--2 { width: 500px; height: 500px; background: var(--sky); bottom: 5%; right: -150px; }
.asoc__blob--3 { width: 300px; height: 300px; background: var(--mint); top: 40%; left: 50%; }

.asoc__inner { position: relative; z-index: 1; }

/* ============================================================
   MAPA FUTURISTA — NEGOCIOS LOCALES
   ============================================================ */
.mapa {
  background: #060608;
  color: var(--paper);
  padding: 160px 40px 180px;
  position: relative;
  overflow: hidden;
}
.mapa::before {
  /* glow ambiental */
  content: "";
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(circle at 20% 30%, rgba(199, 231, 212, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(214, 205, 240, 0.08), transparent 40%);
  pointer-events: none;
}

.mapa__head {
  max-width: 1440px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}
.mapa__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--paper);
}
.mapa__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--mint), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mapa__lede {
  margin-top: 24px;
  font-size: 17px;
  color: rgba(247, 244, 239, 0.6);
  max-width: 580px;
  font-weight: 300;
}

.mapa__panel {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 16px;
}

/* HUD top bar */
.mapa__hud {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.65);
  flex-wrap: wrap;
  gap: 12px;
}
.mapa__hud-left, .mapa__hud-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mapa__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: hudPulse 1.6s ease-in-out infinite;
}
@keyframes hudPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.mapa__hud-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

/* Filtros */
.mapa__filters {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mapa__filter {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 244, 239, 0.7);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s var(--ease-out);
}
.mapa__filter:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}
.mapa__filter.is-active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* Canvas del mapa */
.mapa__canvas {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 560px;
  background: #0a0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(199, 231, 212, 0.06),
    0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
#map {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.mapa__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(199, 231, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 231, 212, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 401;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.mapa__scan {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(199, 231, 212, 0.06) 50%, transparent 100%);
  height: 200px;
  pointer-events: none;
  z-index: 402;
  animation: scanMove 9s linear infinite;
  mix-blend-mode: screen;
}
@keyframes scanMove {
  0%   { transform: translateY(-200px); }
  100% { transform: translateY(760px); }
}
.mapa__corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 1.5px solid var(--mint);
  z-index: 403;
  pointer-events: none;
  opacity: 0.7;
}
.mapa__corner--tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.mapa__corner--tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.mapa__corner--bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.mapa__corner--br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* Lista lateral */
.mapa__list {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px;
  overflow-y: auto;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mapa__list::-webkit-scrollbar { width: 6px; }
.mapa__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 999px; }

.mapa__item {
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mapa__item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(199, 231, 212, 0.3);
  transform: translateX(2px);
}
.mapa__item-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px currentColor;
}
.mapa__item-dot[data-cat="hosteleria"]   { color: var(--rose);     background: var(--rose); }
.mapa__item-dot[data-cat="alimentacion"] { color: var(--peach);    background: var(--peach); }
.mapa__item-dot[data-cat="servicios"]    { color: var(--sky);      background: var(--sky); }
.mapa__item-dot[data-cat="comercio"]     { color: var(--mint);     background: var(--mint); }
.mapa__item-dot[data-cat="otro"]         { color: var(--lavender); background: var(--lavender); }

.mapa__item-body { flex: 1; min-width: 0; }
.mapa__item-body b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.mapa__item-body span {
  display: block;
  font-size: 12px;
  color: rgba(247, 244, 239, 0.55);
  margin-top: 2px;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.02em;
}
.mapa__item-body small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  color: rgba(247, 244, 239, 0.4);
}

.mapa__empty {
  padding: 40px 20px;
  text-align: center;
  color: rgba(247, 244, 239, 0.4);
  font-size: 13px;
  line-height: 1.5;
  border: 1.5px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

@media (max-width: 980px) {
  .mapa__panel { grid-template-columns: 1fr; }
  .mapa__list { max-height: 320px; }
}

/* Pin personalizado */
.pda-pin {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  position: relative;
  box-shadow:
    0 0 0 4px rgba(199, 231, 212, 0.25),
    0 0 18px rgba(199, 231, 212, 0.7);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}
.pda-pin::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.4;
  animation: pinPulse 2s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.pda-pin[data-cat="hosteleria"]   { background: var(--rose);     color: var(--rose);     box-shadow: 0 0 0 4px rgba(245,207,209,0.25), 0 0 18px rgba(245,207,209,0.7); }
.pda-pin[data-cat="alimentacion"] { background: var(--peach);    color: var(--peach);    box-shadow: 0 0 0 4px rgba(247,211,180,0.25), 0 0 18px rgba(247,211,180,0.7); }
.pda-pin[data-cat="servicios"]    { background: var(--sky);      color: var(--sky);      box-shadow: 0 0 0 4px rgba(199,223,240,0.25), 0 0 18px rgba(199,223,240,0.7); }
.pda-pin[data-cat="comercio"]     { background: var(--mint);     color: var(--mint);     box-shadow: 0 0 0 4px rgba(199,231,212,0.25), 0 0 18px rgba(199,231,212,0.7); }
.pda-pin[data-cat="otro"]         { background: var(--lavender); color: var(--lavender); box-shadow: 0 0 0 4px rgba(214,205,240,0.25), 0 0 18px rgba(214,205,240,0.7); }

/* Leaflet popup override (futurista) */
.leaflet-popup-content-wrapper {
  background: rgba(8, 10, 14, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--paper);
  border: 1px solid rgba(199, 231, 212, 0.25);
  border-radius: 12px !important;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6) !important;
  font-family: var(--sans);
}
.leaflet-popup-content {
  margin: 14px 18px !important;
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper);
}
.leaflet-popup-content b {
  display: block;
  font-size: 15px;
  font-family: var(--serif);
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--paper);
}
.leaflet-popup-content small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.55);
  margin-top: 6px;
}
.leaflet-popup-tip {
  background: rgba(8, 10, 14, 0.92) !important;
}
.leaflet-popup-close-button {
  color: rgba(247,244,239,0.6) !important;
  font-size: 18px !important;
  padding: 6px 8px 0 0 !important;
}
.leaflet-control-attribution {
  background: rgba(0,0,0,0.4) !important;
  color: rgba(247,244,239,0.4) !important;
  font-size: 10px !important;
  border-radius: 6px 0 0 0 !important;
}
.leaflet-control-attribution a { color: rgba(199,231,212,0.7) !important; }
.leaflet-control-zoom a {
  background: rgba(8, 10, 14, 0.85) !important;
  color: var(--paper) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(10px);
}
.leaflet-control-zoom a:hover {
  background: rgba(199,231,212,0.15) !important;
}

/* External-link arrow inside submenu */
.nav__ext {
  font-size: 10px;
  opacity: 0.5;
  display: inline-block;
  margin-left: 2px;
}

/* ============================================================
   FIN MAPA
   ============================================================ */
.buzon {
  padding: 180px 40px;
  background: linear-gradient(180deg, var(--paper) 0%, #ece6dc 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.buzon__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.buzon__head .section__eyebrow {
  color: var(--ink-60);
}
.buzon__head .section__eyebrow .dot { background: var(--peach); }
.buzon__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.buzon__title em {
  font-style: italic;
  background: linear-gradient(180deg, #c4612a, #a83050);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.buzon__lede {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-80);
  font-weight: 300;
}
.buzon__from {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(10,10,10,0.05);
  border: 1px solid rgba(10,10,10,0.1);
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-60);
}
.buzon__from svg { color: var(--mint); }

.buzon__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  position: relative;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(10,10,10,0.14);
  border-radius: var(--r-sm);
  padding: 18px 18px 18px 18px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: all 0.25s var(--ease-out);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink-60);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.06);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-40);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--sans);
}

.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.buzon__submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
}
.buzon__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(10, 10, 10, 0.3);
}
.buzon__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.buzon__success {
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: rgba(199, 231, 212, 0.35);
  border: 1px solid rgba(100, 180, 130, 0.4);
  color: #2a6b45;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}
.buzon__success:not([hidden]) { display: flex; }

@media (max-width: 820px) {
  .buzon__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050505;
  color: rgba(247,244,239,0.7);
  padding: 100px 40px 40px;
}
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__logo {
  width: 150px;
  display: grid;
  place-items: center;
  position: relative;
}
.footer__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__brand-name {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.footer__col h4 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: 14px; line-height: 1.5; }
.footer__col a:hover { color: var(--paper); }
.footer__col p { font-size: 14px; line-height: 1.55; }
.footer__col p + p { margin-top: 8px; }

.footer__bottom {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(247,244,239,0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal { display: flex; gap: 20px; }

@media (max-width: 920px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   APPLE-STYLE SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--scale {
  transform: translateY(60px) scale(0.94);
}
.reveal--scale.is-visible {
  transform: translateY(0) scale(1);
}

.stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger.is-visible > *:nth-child(9) { transition-delay: 0.61s; }
.stagger.is-visible > *:nth-child(10){ transition-delay: 0.68s; }

/* ============================================================
   BACKOFFICE BUTTON (floating)
   ============================================================ */
.bo-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  transition: transform 0.25s var(--ease-out);
}
.bo-fab:hover { transform: translateY(-2px); }
.bo-fab .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
