/* =========================================
   Distribución Page — World Map + Orbiting Logos
   ========================================= */

.dist-globe-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 3rem;
    overflow: hidden;
}

.dist-hero-header {
    text-align: center;
    position: relative;
    z-index: 20;
    margin-bottom: 2rem;
}

.dist-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(180,180,200,0.7);
    margin-bottom: 1rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(180,180,200,0.15);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}

.dist-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
}

@media (min-width: 768px) {
    .dist-hero-title { font-size: 4.5rem; }
}

.dist-hero-desc {
    font-size: 1.05rem;
    color: var(--color-silver-mid);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* ---- Globe Universe (globe + orbiting logos) ---- */
.map-universe {
    position: relative;
    width: 520px;
    height: 520px;
    margin: 3rem auto 0;
    z-index: 10;
}

/* Globe canvas */
.globe-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: grab;
    display: block;
}

.globe-canvas:active {
    cursor: grabbing;
}

/* Subtle glow behind the globe */
.map-universe::before {
    content: '';
    position: absolute;
    inset: -50px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(140, 140, 180, 0.10) 0%,
        rgba(140, 140, 180, 0.04) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

/* ---- Orbiting Platform Logos ---- */
.orbit-logo {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(20, 20, 28, 0.9);
    border: 1px solid rgba(180, 180, 200, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: rgba(200, 200, 220, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    pointer-events: auto;
    transition: border-color 0.3s, box-shadow 0.3s;
    will-change: transform, opacity;
    /* Centered in map-universe; JS will translate */
    top: 50%;
    left: 50%;
    margin-top: -26px;
    margin-left: -26px;
}

.orbit-logo:hover {
    border-color: rgba(220,220,240,0.5);
    box-shadow: 0 0 30px rgba(200,200,220,0.2);
    color: #fff;
}

.orbit-logo .orbit-name {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(180,180,200,0.5);
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.orbit-logo:hover .orbit-name {
    opacity: 1;
}

/* ---- Partners ---- */
.dist-partners-section {
    position: relative;
    padding: 5rem 0 3rem;
    z-index: 20;
}

.dist-partners-title {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(180,180,200,0.5);
    margin-bottom: 3rem;
}

.dist-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dist-partner-card {
    background: rgba(18,18,22,0.7);
    border: 1px solid rgba(180,180,200,0.12);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.dist-partner-card:hover {
    border-color: rgba(200,200,220,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.dist-partner-card.featured {
    border-color: rgba(200,200,220,0.25);
    background: rgba(22,22,30,0.85);
}

.dist-partner-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #fff 0%, #a0a0b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.dist-partner-sub {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(180,180,200,0.5);
}

/* ---- Stats ---- */
.dist-stats-section {
    position: relative;
    padding: 3rem 0 5rem;
    z-index: 20;
}

.dist-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(180,180,200,0.08);
}

.dist-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a0a0b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.dist-stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(180,180,200,0.5);
}

.dist-stat { text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .map-universe { width: 340px; height: 340px; }
    .orbit-logo { width: 40px; height: 40px; font-size: 1rem; margin-top: -20px; margin-left: -20px; }
    .dist-hero-title { font-size: 2.5rem; }
    .dist-stat-value { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .map-universe { width: 280px; height: 280px; }
    .orbit-logo { width: 34px; height: 34px; font-size: 0.9rem; margin-top: -17px; margin-left: -17px; }
}
