/* ============================================================
   ELITE MARKETING — ABOUT V2 CSS
   Watermark hero, 3D isometric map, team text-only cards
   ============================================================ */

/* ─── PAGE HERO WATERMARK ─── */
.page-hero--watermark {
  position: relative;
}

.page-hero__watermark {
  position: absolute;
  inset: 0;
  background-image: url('../images/logo-full.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1) brightness(10);
}

.page-hero--watermark .container {
  position: relative;
  z-index: 1;
}

/* ─── 3D ISOMETRIC MAP ─── */
.map-iso-scene {
  perspective: 1200px;
  perspective-origin: 50% 40%;
  padding: var(--space-6) var(--space-4) var(--space-12);
}

.map-iso-card {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(30deg) rotateZ(-8deg);
  transition: transform 0.6s var(--ease-out-expo);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6))
          drop-shadow(0 0 40px rgba(201,168,76,0.08));
}

.map-iso-card:hover {
  transform: rotateX(24deg) rotateZ(-6deg) translateY(-8px);
}

.map-iso-face {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Top face — the map itself */
.map-iso-face--top {
  background: var(--color-bg-2);
  border: 1px solid rgba(201,168,76,0.22);
  position: relative;
  z-index: 2;
}

.map-iso-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Right side face (depth effect via CSS) */
.map-iso-face--right {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background: linear-gradient(to bottom,
    rgba(201,168,76,0.12),
    rgba(8,12,20,0.8));
  border-left: 1px solid rgba(201,168,76,0.15);
  border-right: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transform-origin: top;
  z-index: 1;
}

/* Bottom face shadow -->*/
.map-iso-face--bottom {
  position: absolute;
  bottom: -20px;
  left: 4%;
  right: 4%;
  height: 20px;
  background: rgba(0,0,0,0);
  filter: blur(18px);
  border-radius: var(--radius-full);
  background: rgba(201,168,76,0.06);
  z-index: 0;
}

/* ─── TEAM CARD — TEXT ONLY ─── */
.team-card__body--no-photo {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
}

.team-card__text-avatar {
  width: 56px;
  height: 56px;
  font-size: 1rem;
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}

/* Remove the old photo block on no-photo cards */
.team-card:has(.team-card__body--no-photo) .team-card__photo {
  display: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .map-iso-scene {
    perspective: 800px;
    padding: var(--space-4) var(--space-2) var(--space-8);
  }
  .map-iso-card {
    transform: rotateX(20deg) rotateZ(-5deg);
  }
  .map-iso-card:hover {
    transform: rotateX(16deg) rotateZ(-4deg) translateY(-4px);
  }
}
