/* ============================================================
   UNIVERSO EDÉN — REDISEÑO V2
   Ajustes aprobados para Home: wordmark editorial, métricas,
   tarjetas vitral de Guardianes y mapa interactivo.
   ============================================================ */

/* ---------------- Marca editorial ---------------- */
.site-header .brand {
  gap: 0;
  min-width: 126px;
  align-items: center;
}
.site-header .brand-mark { display: none !important; }
.site-header .brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: .82;
}
.site-header .brand-copy strong {
  margin: 0 0 7px 2px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ue-gold-soft);
}
.site-header .brand-copy em {
  font-family: var(--ue-serif);
  font-size: 36px;
  line-height: .7;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -.025em;
  color: var(--ue-ivory);
  text-shadow: 0 8px 30px rgba(0,0,0,.2);
}

/* ---------------- Hero: solo dos métricas ---------------- */
.home-redesign .hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  width: min(420px, 100%);
}
.home-redesign .hero-meta > div {
  min-width: 0;
  margin: 0;
  padding: 19px 28px 0 0;
}
.home-redesign .hero-meta > div + div {
  padding-left: 28px;
}
.home-redesign .hero-meta > div:last-child {
  border-right: 0;
}
.home-redesign .hero-meta strong {
  font-size: 34px;
}
.home-redesign .hero-meta span {
  font-size: 9px;
  letter-spacing: .14em;
}

/* ---------------- Guardianes: vitral / cristal ---------------- */
.guardianes-redesign .section-heading-row {
  margin-bottom: 48px;
}
.hero-board-redesign {
  gap: 16px;
}
.guardian-rank-wrap {
  isolation: isolate;
}
.guardian-rank {
  top: 14px;
  left: 15px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .15em;
  color: rgba(241,238,229,.42);
}
.hero-board-redesign .hero-card.hero-card-v2 {
  --level-accent: 208, 170, 85;
  --level-accent-soft: rgba(var(--level-accent), .18);
  position: relative;
  overflow: hidden;
  min-height: 218px;
  padding: 30px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--level-accent), .24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 12%, rgba(var(--level-accent), .13), transparent 44%),
    linear-gradient(155deg, rgba(241,238,229,.08), rgba(241,238,229,.018));
  box-shadow:
    inset 0 1px rgba(255,255,255,.05),
    inset 0 -1px rgba(var(--level-accent), .05),
    0 18px 50px -42px rgba(var(--level-accent), .7);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.hero-board-redesign .hero-card.hero-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255,255,255,.045) 42%, transparent 64%),
    linear-gradient(180deg, rgba(var(--level-accent), .02), transparent 55%);
  opacity: .85;
}
.hero-board-redesign .hero-card.hero-card-v2::after {
  content: '';
  position: absolute;
  width: 82%;
  height: 1px;
  top: 0;
  left: 9%;
  background: linear-gradient(90deg, transparent, rgba(var(--level-accent), .7), transparent);
  opacity: .65;
}
.hero-board-redesign .hero-card.hero-card-v2:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--level-accent), .52);
  background:
    radial-gradient(circle at 50% 12%, rgba(var(--level-accent), .19), transparent 46%),
    linear-gradient(155deg, rgba(241,238,229,.095), rgba(241,238,229,.025));
  box-shadow:
    inset 0 1px rgba(255,255,255,.07),
    0 26px 62px -34px rgba(var(--level-accent), .56);
}
.hero-board-redesign .guardian-badge-stage {
  position: relative;
  z-index: 2;
  width: 124px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 2px 0 8px;
}
.hero-board-redesign .guardian-badge-stage::before {
  content: '';
  position: absolute;
  width: 88px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--level-accent), .12);
  filter: blur(18px);
}
.hero-board-redesign .hero-card.hero-card-v2 .hero-badge {
  position: relative;
  z-index: 1;
  order: initial;
  width: 118px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.hero-board-redesign .guardian-card-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
.hero-board-redesign .hero-card.hero-card-v2 .name {
  order: initial;
  max-width: 100%;
  margin: 7px auto 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ue-ivory);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-board-redesign .hero-level-label {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(var(--level-accent), .95);
}
.hero-level-semilla { --level-accent: 105, 166, 112 !important; }
.hero-level-iniciado { --level-accent: 161, 170, 102 !important; }
.hero-level-guardian { --level-accent: 208, 170, 85 !important; }
.hero-level-guardian-veterano { --level-accent: 230, 183, 83 !important; }
.hero-level-leyenda-del-eden { --level-accent: 166, 135, 205 !important; }
.hero-level-angel-del-eden { --level-accent: 238, 228, 194 !important; }

/* ---------------- Mapa: texto + hotspot interactivo ---------------- */
.mapa-eden-redesign .map-heading .section-description {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.8;
}
.garden-featured-card {
  position: relative;
  overflow: hidden;
}
.garden-featured-card .garden-featured-copy {
  display: none !important;
}
.garden-hotspot-cluster {
  position: absolute;
  z-index: 7;
  left: 63%;
  top: 62%;
  width: 30px;
  height: 30px;
}
.garden-hotspot-cluster .rose-hotspot {
  position: absolute;
  inset: 0;
  width: 30px;
  height: 30px;
  display: grid !important;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10,18,12,.42);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(240,214,154,.2);
}
.garden-hotspot-cluster .rose-hotspot::before,
.garden-hotspot-cluster .rose-hotspot::after {
  content: '';
  position: absolute;
  inset: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(208,170,85,.48);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  animation: eden-hotspot-pulse 2.5s ease-out infinite;
}
.garden-hotspot-cluster .rose-hotspot::after {
  animation-delay: 1.25s;
}
.garden-hotspot-cluster .rose-hotspot-dot {
  position: relative;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ue-gold-soft);
  box-shadow: 0 0 18px rgba(240,214,154,.75);
}
@keyframes eden-hotspot-pulse {
  0% { transform: translate(-50%,-50%) scale(.45); opacity: .8; }
  100% { transform: translate(-50%,-50%) scale(1.45); opacity: 0; }
}
.rose-hotspot-panel {
  position: absolute;
  left: 48px;
  top: 50%;
  width: min(360px, 34vw);
  padding: 24px 25px 25px;
  border: 1px solid rgba(240,214,154,.23);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(208,170,85,.1), transparent 17rem),
    rgba(8,13,9,.9);
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(12px,-50%);
  transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
}
.garden-hotspot-cluster:hover .rose-hotspot-panel,
.garden-hotspot-cluster:focus-within .rose-hotspot-panel,
.garden-hotspot-cluster.revealed .rose-hotspot-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0,-50%);
}
.rose-hotspot-panel .garden-status {
  margin: 0 0 14px;
}
.rose-hotspot-panel .garden-number {
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .15em;
}
.rose-hotspot-panel h3 {
  margin: 0;
  font-family: var(--ue-serif);
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: .88;
  font-weight: 600;
  color: var(--ue-ivory);
}
.rose-hotspot-panel p {
  margin: 16px 0 21px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(241,238,229,.7);
}
.rose-hotspot-panel .btn-eden {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 9px;
}
.garden-featured-card .rose-hotspot-logo {
  display: none !important;
}

@media (max-width: 960px) {
  .hero-board-redesign { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .garden-hotspot-cluster { left: 56%; top: 57%; }
  .rose-hotspot-panel { width: min(330px, 43vw); }
}

@media (max-width: 760px) {
  .site-header .brand { min-width: 105px; }
  .site-header .brand-copy strong { font-size: 7px; margin-bottom: 6px; }
  .site-header .brand-copy em { font-size: 30px; }

  .home-redesign .hero-meta {
    grid-template-columns: repeat(2, minmax(0,1fr));
    width: 100%;
  }
  .home-redesign .hero-meta > div,
  .home-redesign .hero-meta > div + div {
    padding: 17px 13px 0;
  }
  .home-redesign .hero-meta > div:first-child { padding-left: 0; }
  .home-redesign .hero-meta strong { font-size: 28px; }

  .hero-board-redesign .hero-card.hero-card-v2 {
    min-height: 194px;
    padding: 27px 10px 18px;
  }
  .hero-board-redesign .guardian-badge-stage {
    width: 105px;
    height: 72px;
  }
  .hero-board-redesign .hero-card.hero-card-v2 .hero-badge {
    width: 104px;
    height: 69px;
  }
  .hero-board-redesign .hero-level-label {
    font-size: 7px;
    letter-spacing: .09em;
  }

  .garden-hotspot-cluster {
    left: 54%;
    top: 46%;
  }
  .garden-hotspot-cluster .rose-hotspot {
    display: grid !important;
  }
  .rose-hotspot-panel {
    left: 50%;
    top: 44px;
    width: min(330px, calc(100vw - 62px));
    transform: translate(-50%,10px);
  }
  .garden-hotspot-cluster:hover .rose-hotspot-panel,
  .garden-hotspot-cluster:focus-within .rose-hotspot-panel,
  .garden-hotspot-cluster.revealed .rose-hotspot-panel {
    transform: translate(-50%,0);
  }
  .rose-hotspot-panel h3 { font-size: 46px; }
  .rose-hotspot-panel .btn-eden { width: 100%; }
}

@media (max-width: 420px) {
  .home-redesign .hero-meta > div:nth-child(3) { display: initial; }
  .hero-board-redesign { gap: 10px; }
  .guardian-rank { left: 11px; top: 11px; }
  .garden-hotspot-cluster { left: 50%; top: 43%; }
}

@media (prefers-reduced-motion: reduce) {
  .garden-hotspot-cluster .rose-hotspot::before,
  .garden-hotspot-cluster .rose-hotspot::after { animation: none; }
}
