body {
    overflow-x: hidden;
}

.anim-text-inner {
    display: inline-block;
    padding-bottom: 0.1em;
}

#contactModal {
    transition: opacity 0.4s ease;
}

/* Vision Section Specifics */
.vision-text {
    /* Ensure text overlays correctly */
    transform-style: preserve-3d;
}

/* Masterplan List Items - Editorial Style */
.master-category {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    /* Línea divisoria muy sutil */
    padding-left: 2rem;
}

.master-category:hover,
.master-category.active {
    background-color: #ffffff;
    border-left: 3px solid #C1A462;
    /* Oro sólido al activar */
    transform: translateX(12px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

/* El número (01, 02) como elemento de diseño */
.master-category span:first-child {
    font-family: var(--font-serif);
    transition: color 0.4s ease;
}

.master-category:hover span:first-child {
    color: #C1A462;
}

/* Tooltip - Ultra Glassmorphism */
#master-tooltip {
    pointer-events: none;
    z-index: 50;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(193, 164, 98, 0.2);
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    /* Bordes rectos para estilo arquitectónico */
}

/* Keyframes for Pulse */
@keyframes gold-pulse {
    0% {
        stroke-width: 1.5;
        stroke-opacity: 0.8;
    }

    50% {
        stroke-width: 2.5;
        stroke-opacity: 1;
    }

    100% {
        stroke-width: 1.5;
        stroke-opacity: 0.8;
    }
}

/* Hotspot Rectangular - Technical Drawing Style */
.rect-hotspot {
    fill: transparent;
    /* Transparent fill */
    stroke: #C1A462;
    /* Gold Stroke */
    stroke-width: 1.5;
    stroke-dasharray: none;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: gold-pulse 3s infinite ease-in-out;
    /* Subtle pulse */
}

.rect-hotspot:hover,
.rect-hotspot.active {
    fill: rgba(193, 164, 98, 0.1);
    /* Subtle gold tint on active */
    stroke: #C1A462;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(193, 164, 98, 0.6));
    animation: none;
    /* Stop pulse on interaction */
}

/* Map Bubbles - Luxury Dark Glass */
.map-bubble {
    /* Base */
    position: absolute;
    background: linear-gradient(135deg, rgba(45, 49, 54, 0.9), rgba(45, 49, 54, 0.7));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(193, 164, 98, 0.3);
    /* Gold Tint Border */
    padding: 8px 18px;
    border-radius: 9999px;
    /* Pill shape */

    /* Typography */
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.75rem;
    /* text-xs */
    color: #F9F8F3;
    /* Brand Cream */

    /* Layout & Effects */
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    /* Center on coordinate */
    opacity: 0;
    /* Hidden initially for GSAP reveal */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 25;
    white-space: nowrap;
}

/* Chevron Arrow */
.map-bubble::after {
    content: "›";
    font-size: 1.4em;
    line-height: 0.8;
    color: #C1A462;
    /* Gold */
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.map-bubble:hover,
.map-bubble.active {
    background: #C1A462;
    /* Solid Gold */
    color: #2D3136;
    /* Dark Text */
    border-color: #C1A462;
    transform: translate(-50%, -60%) scale(1.05);
    /* Slight lift */
    box-shadow: 0 10px 25px rgba(193, 164, 98, 0.4);
    z-index: 30;
}

.map-bubble:hover::after,
.map-bubble.active::after {
    color: #2D3136;
    /* Dark Chevron */
    transform: translateX(3px);
}

/* Estilo Pure Gallery */
.pure-gallery-item {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pure-gallery-item:hover {
    transform: translateY(-15px);
}

.pure-gallery-item img {
    filter: saturate(0.9) brightness(0.95);
    /* Tono editorial mate */
    transition: all 2s ease-out;
}

.pure-gallery-item:hover img {
    filter: saturate(1.1) brightness(1.05);
    /* Brillo natural al hover */
}