/* 
  ==========================================
  RECOVEC - Avant-Garde Design System
  ==========================================
*/

:root {
    /* Premium Color Palette (Vanguard Light) */
    --bg-base: #F8FAFC;
    /* Slate White */
    --bg-surface: rgba(255, 255, 255, 0.9);
    /* Glassy Surface */
    --bg-elevated: rgba(241, 245, 249, 0.8);

    --accent-primary: #1E40AF;
    /* Royal Blue */
    --accent-secondary: #DC2626;
    /* Sophisticated Red */
    --accent-glow: rgba(30, 64, 175, 0.2);

    --text-primary: #0F172A;
    /* Deep Navy */
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    /* Legacy Variables for compatibility */
    --accent-gold: var(--accent-primary);
    --gold-primary: var(--accent-primary);
    --gold-light: #3B82F6;

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-sans: 'Outfit', sans-serif;

    /* Effects & Glassmorphism */
    --glass-blur: blur(16px);
    --glass-border: 1px solid rgba(15, 23, 42, 0.08);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Lighting (Background Orbs) */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.light-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
    top: -200px;
    left: -200px;
    animation: float 20s infinite alternate ease-in-out;
}

.light-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
    bottom: -100px;
    right: -100px;
    animation: float 25s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Typography Scale */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
}

.glass-card {
    background: var(--bg-elevated);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
}

/* ---------------- Navigation ---------------- */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-scrolled {
    background: var(--accent-primary);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.logo span {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.navbar-scrolled .logo a,
.navbar-scrolled .logo span {
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-scrolled .nav-link:hover {
    color: #FFFFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* UI Buttons Vanguard Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
}

.btn-glow {
    background: rgba(30, 64, 175, 0.05);
    color: var(--accent-primary);
    border: 1px solid rgba(30, 64, 175, 0.2);
    box-shadow: 0 0 15px rgba(30, 64, 175, 0);
}

.btn-glow:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
    transform: translateY(-2px);
}

.btn-outline-glass {
    background: transparent;
    color: var(--text-primary);
    border: var(--glass-border);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.google-icon {
    flex-shrink: 0;
}

/* Authentication State Items */
.hidden {
    display: none !important;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent-gold);
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Icon */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn .bar {
    width: 30px;
    height: 1px;
    background-color: var(--text-primary);
    transition: all 0.3s;
}

/* ---------------- Hero Section (Dynamic Banner Slider) ---------------- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    /* Push content overlay to bottom */
    justify-content: center;
    position: relative;
    padding-top: 0;
    overflow: hidden;
    background-color: var(--bg-base);
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-size: cover;
    background-position: center;
}

.carousel-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.carousel-slide.active {
    opacity: 1;
}

/* Subtle gradient to ensure buttons stay visible */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3) 0%, transparent 50%, rgba(15, 23, 42, 0.6) 100%);
    pointer-events: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 11, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all var(--transition-smooth);
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
    border-radius: 2px;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
    background: var(--accent-primary);
    width: 50px;
}

.hero-content-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Admin Banner Delete Button */
.btn-delete-banner {
    position: absolute;
    top: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0;
    /* Hidden by default until slide becomes active */
}

.carousel-slide.active .btn-delete-banner {
    opacity: 1;
}

.btn-delete-banner:hover {
    background: rgba(220, 53, 69, 0.9);
    transform: scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1px solid var(--text-primary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

/* ---------------- Properties Section (Firestore) ---------------- */

.properties-section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

/* Loader while reading Firestore */
.loader-ring {
    border: 2px solid rgba(15, 23, 42, 0.05);
    border-top: 2px solid var(--accent-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Firestore Property Cards styling */
.prop-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-smooth);
    background: var(--bg-elevated);
    border: var(--glass-border);
}

.prop-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.prop-card:hover .prop-image img {
    transform: scale(1.05);
}

.prop-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.prop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

/* Premium overlay gradient */
.prop-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.prop-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(30, 64, 175, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    transform: translateZ(40px);
}

.btn-delete-prop {
    background: #EF4444;
    /* Keep the distinctive red for danger action */
}

/* ---------------- Infinite Scroll & Procedural Animations ---------------- */
.scroll-sentinel {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    margin-top: 1rem;
    clear: both;
    grid-column: 1 / -1;
}

.scroll-sentinel.hidden {
    display: none !important;
}

/* Elementos inicialmente ocultos y desplazados hacia abajo */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

/* Clase inyectada por el observador JS para animar la entrada */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.prop-info {
    padding: 2rem;
    position: relative;
}

.prop-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.prop-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.prop-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prop-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.prop-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.prop-meta strong {
    color: var(--text-primary);
}


/* ---------------- Footer ---------------- */
.footer {
    padding: 3rem 0;
    border-top: var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.footer-brand span {
    color: var(--accent-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-legal p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---------------- Reveal Animations ---------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1150px) {
    .mobile-menu-btn {
        display: flex;
        margin-left: 1rem;
        z-index: 1001; /* Above mobile drawer */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 11, 0.97);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.2rem;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        letter-spacing: 1px;
    }

    /* Hamburgesa icon animated to X */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--accent-primary);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--accent-primary);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/*** Appending Styles for Admin Panel, Modals, and 3D Parallax Effects ***/

/* --- 3D Parallax Card Enhancements --- */
.property-grid {
    perspective: 1500px;
    /* Essential for 3D depth */
}

.prop-card {
    /* Existing specs remain but enhance for 3D */
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    /* Transition is managed dynamically in JS or smoothly return to 0 */
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s;
    will-change: transform;
}

.prop-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    /* Transform scaling moved to JS for 3D mouse calculations */
}

/* 3D Pop-out elements inside the card */
.prop-badge,
.prop-info {
    transform: translateZ(30px);
    /* Brings content closer to viewer */
}

.prop-image img {
    /* Slight scale down default to allow scale up inside container */
    transform: translateZ(-20px) scale(1.1);
    transition: transform 0.5s ease;
}


/* --- Modal & Admin Form Design --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity var(--transition-smooth);
}

.modal-content {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: translateY(0);
    transition: transform var(--transition-smooth);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-overlay.hidden .modal-content {
    transform: translateY(30px);
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-close:hover {
    color: var(--accent-primary);
}

.modal-title {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Input Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.9rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Drag & Drop Area */
.drop-zone {
    border: 2px dashed rgba(15, 23, 42, 0.2);
    border-radius: 12px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--accent-primary);
    background: rgba(212, 175, 55, 0.05);
}

.drop-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.image-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
}

/* Loading State inside Button */
.btn-loader {
    width: 20px;
    height: 20px;
    border-width: 2px;
    margin: 0;
    display: inline-block;
}

/* Skeleton Loading Effect */
.skeleton-bg {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: placeholderShimmer 1.5s infinite linear;
    border-radius: 8px;
    overflow: hidden;
}

@keyframes placeholderShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Dynamic Background Container */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-base);
    /* Fallback */
    opacity: 0.25;
    /* Subtle opacity to maintain high-end readability */
    transition: background-image 1s ease;
}

/* ---------------- Feed Layout (Noticias/Facebook style) ---------------- */
.feed-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ---------------- Admin Floating Action Button (FAB) ---------------- */
.admin-fab-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.admin-fab-container.hidden {
    display: none !important;
}

.admin-fab-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 3rem;
}

.admin-fab-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: scale(1);
}

.admin-metro-header {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2rem;
    text-align: left;
    color: #FFFFFF;
    animation: metroSlideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.admin-metro-header h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-metro-header p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.admin-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 16px;
    max-width: 1000px;
    width: 100%;
    perspective: 1200px;
    animation: metroSlideIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.admin-tile {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF !important;
    padding: 24px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    outline: none;
}

.admin-tile svg {
    width: 32px;
    height: 32px;
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.admin-tile span {
    font-size: 0.95rem;
    margin-top: auto;
    font-weight: 600;
    line-height: 1.2;
}

.admin-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.admin-tile:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

/* Metro Grid Sizes */
.tile-wide {
    grid-column: span 2;
}
.tile-tall {
    grid-row: span 2;
}

/* Metro Color Tiles (Recovec theme aligned) */
.tile-blue {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #1D4ED8 100%);
}
.tile-red {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, #B91C1C 100%);
}
.tile-green {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.tile-purple {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}
.tile-teal {
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
}
.tile-orange {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
}
.tile-dark {
    background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
}

@keyframes metroSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.btn-admin-fab {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    outline: none;
    position: relative;
    z-index: 9999;
}

.btn-admin-fab:hover {
    transform: scale(1.08);
    background: var(--accent-secondary);
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.4);
}

.btn-admin-fab .fab-icon-main {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 26px;
    height: 26px;
}

.btn-admin-fab.active .fab-icon-main {
    transform: rotate(45deg);
}

/* Responsividad para Metro Grid */
@media (max-width: 900px) {
    .admin-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 130px;
    }
    .admin-metro-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .admin-tiles-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 110px;
    }
    .tile-wide {
        grid-column: span 1;
    }
    .admin-metro-header h1 {
        font-size: 1.6rem;
    }
}

.post-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    overflow: hidden;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
}

.post-author-info {
    display: flex;
    flex-direction: column;
}

.post-author-info strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.post-author-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.post-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.post-title {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.post-desc-full {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    white-space: pre-line;
}

.post-image-container {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-feed-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #F1F5F9;
    display: block;
}

.btn-delete-feed {
    background: transparent;
    border: none;
    color: rgba(220, 53, 69, 0.6);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-delete-feed:hover {
    transform: scale(1.1);
    color: rgba(220, 53, 69, 1);
}

/* ---------------- Servicios Image Viewer (Glass Carousel) ---------------- */
.glass-viewer {
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.85);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.carousel-btn:hover {
    background: rgba(212, 175, 55, 0.5);
    /* Accent gold transparent */
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .carousel-btn.prev {
        left: 10px !important;
    }

    .carousel-btn.next {
        right: 10px !important;
    }
}

/* ---------------- Sistema de Favoritos (Likes) ---------------- */
/* .card-actions-group is a direct child of .prop-card, overlaid at the image bottom */
.card-actions-group {
    position: absolute;
    top: calc(280px - 15px - 40px);
    /* image height - padding - button height */
    right: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 30;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.prop-image:hover~.card-actions-group,
.prop-card:hover .card-actions-group {
    opacity: 1;
}

.like-btn {
    background: rgba(10, 10, 11, 0.6);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.like-btn.liked {
    color: #e91e63;
    /* Color rojo/rosado vibrante para el Like */
    background: rgba(233, 30, 99, 0.15);
    border-color: rgba(233, 30, 99, 0.5);
    animation: heartBurst 0.4s ease forwards;
}

@keyframes heartBurst {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* ---------------- Section Backgrounds ---------------- */
.properties-section {
    padding: 6rem 0;
    background: transparent;
}

.section-alt {
    background: transparent;
}

/* ---------------- Filter Bar Styles ---------------- */
.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    align-items: flex-end;
    border: 1px solid rgba(30, 64, 175, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.filter-group select,
.filter-group input {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.05);
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
}

#btn-reset-filters {
    height: 42px;
    border-radius: 8px;
    width: 100%;
}

@media (max-width: 768px) {
    .filter-bar {
        grid-template-columns: 1fr;
    }
}

/* ---------------- Navbar Scrolled Profile Fixes ---------------- */
.navbar-scrolled .user-name {
    color: #FFFFFF;
}

.navbar-scrolled .btn-outline-glass {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-scrolled .btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

/* ---------------- Footer Section ---------------- */
.footer-section {
    position: relative;
    background: linear-gradient(to bottom, #FFFFFF 0%, #F1F5F9 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 6rem 0 3rem;
    color: var(--text-secondary);
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    z-index: 1;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-brand h3 span {
    color: var(--accent-primary);
    font-weight: 400;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 380px;
    margin-bottom: 2rem;
}

.footer-contact h3,
.footer-location h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--accent-primary);
    background: rgba(30, 64, 175, 0.05);
    padding: 8px;
    border-radius: 10px;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-primary);
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.2);
}

.footer-map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.footer-map-container:hover {
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.footer-map-container iframe {
    width: 100%;
    height: 220px;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
}

.footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
    z-index: 1;
}

.footer-bottom a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

/* ---------------- Admin Contact Modal ---------------- */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.admin-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-modal-header h3 {
    font-family: var(--font-display);
    color: var(--text-primary);
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.admin-form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.admin-form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* ---------------- Responsive Design ---------------- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-map-container {
        height: 200px;
    }

    .admin-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 6rem;
    right: 1.5rem;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 400px;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: toast-in 0.5s forwards;
    position: relative;
    overflow: hidden;
}

.toast::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
}

.toast.success::after {
    background: #10B981;
}

.toast.error::after {
    background: #EF4444;
}

.toast.info::after {
    background: #3B82F6;
}

.toast-message {
    flex: 1;
}

/* Admin Actions Overlay — sits inside .card-actions-group, no absolute pos needed */
.admin-actions-overlay {
    display: flex;
    gap: 8px;
    align-items: center;
    /* Ensure vertical alignment */
}

.btn-admin-action {
    width: 40px;
    /* Match like-btn width */
    height: 40px;
    /* Match like-btn height */
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 10, 11, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
    /* Prevent squishing */
}

.btn-edit-prop:hover,
.btn-edit-feed:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.btn-delete-prop:hover,
.btn-delete-feed:hover {
    background: #EF4444;
    border-color: #EF4444;
    transform: scale(1.1);
}

.prop-card:hover .card-actions-group,
.post-card:hover .card-actions-group {
    opacity: 1;
}

/* Confirm Toast Buttons */
.toast-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.btn-toast {
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-toast-confirm {
    background: var(--accent-primary);
    color: white;
}

.btn-toast-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.toast.hidden {
    animation: toast-out 0.5s forwards;
}

@keyframes toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .toast-container {
        top: auto;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 90%;
    }
}

/* ---------------- Banner Management Interface ---------------- */
#banner-list-container {
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.banner-manage-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-manage-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.banner-manage-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-manage-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.banner-thumb-container {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.banner-thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tipo-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.banner-info {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-group label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.3s;
}

.field-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.5);
}

.banner-manage-actions {
    display: flex;
    gap: 10px;
}

.btn-update-banner,
.btn-delete-banner-mgr {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-update-banner {
    background: rgba(30, 64, 175, 0.2);
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.btn-update-banner:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.05);
}

.btn-delete-banner-mgr {
    background: rgba(220, 38, 38, 0.2);
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.btn-delete-banner-mgr:hover {
    background: var(--accent-secondary);
    color: white;
    transform: scale(1.05);
}

/* Custom Scrollbar */
#banner-list-container::-webkit-scrollbar {
    width: 8px;
}

#banner-list-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

#banner-list-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#banner-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Typewriter Effect */
.typewriter-text {
    position: relative;
    display: inline;
}

.typewriter-text::after {
    content: "|";
    position: absolute;
    right: -8px;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.typewriter-done::after {
    display: none;
}

/* AI Chatbot Styles */
.ai-fab-container {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #111827;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-fab-container:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.ai-fab-container svg {
    width: 30px;
    height: 30px;
}

.ai-chat-modal {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 550px;
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.ai-chat-modal.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.ai-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-header-info .bot-icon {
    color: var(--primary);
}

.ai-header-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.ai-header-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.ai-close-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ai-close-btn:hover {
    color: #ef4444;
}

.ai-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
}

.ai-chat-body::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.ai-message {
    display: flex;
    gap: 10px;
    max-width: 90%;
}

.ai-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message.model {
    align-self: flex-start;
}

.ai-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
}

.ai-avatar svg {
    width: 20px;
    height: 20px;
}

.message-content {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
}

.ai-message.user .message-content {
    background: #111827;
    color: #ffffff;
    border-top-right-radius: 4px;
    font-weight: 500;
}

.ai-message.model .message-content {
    background: #ffffff;
    border-top-left-radius: 4px;
    border: 1px solid #e5e7eb;
    color: #111827;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.ai-chat-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

#ai-chat-input {
    flex: 1;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 10px 15px;
    color: #111827;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    pointer-events: auto;
}

#ai-chat-input::placeholder {
    color: #9ca3af;
}

#ai-chat-input:focus {
    border-color: #111827;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

#ai-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111827;
    color: #ffffff;
}

#ai-chat-send:hover {
    background: var(--primary);
    color: #111827;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 5px 0;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* ============================================================
   PROPERTY DETAIL MODAL
   ============================================================ */

.prop-detail-content {
    width: 95%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Two-column grid */
.prop-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Gallery / Carousel */
.prop-detail-gallery {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.prop-detail-carousel {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background: #E2E8F0;
}

.pd-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pd-slide.active {
    opacity: 1;
}

.pd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.pd-arrow:hover {
    background: var(--accent-primary);
}

.pd-prev {
    left: 10px;
}

.pd-next {
    right: 10px;
}

.prop-detail-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.pd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.pd-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
}

/* Info Panel */
.prop-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prop-detail-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.prop-detail-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.prop-detail-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-primary);
    font-family: var(--font-heading);
}

.prop-detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.prop-detail-location svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.prop-detail-specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.spec-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 64, 175, 0.06);
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.spec-pill svg {
    color: var(--accent-primary);
}

/* "Ver ficha" hint on card */
.prop-detail-hint {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--accent-primary);
    opacity: 0.7;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.prop-card:hover .prop-detail-hint {
    opacity: 1;
}

/* ============================================================
   HIPER-LOCAL SECTION
   ============================================================ */

.hiperlocal-section {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    padding-top: 2rem;
    margin-top: 0.5rem;
}

.hiperlocal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hiperlocal-title svg {
    color: var(--accent-primary);
}

.hiperlocal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hiperlocal-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    height: 280px;
}

.hiperlocal-map {
    width: 100%;
    height: 100%;
    border: none;
}

.hiperlocal-pois {
    overflow-y: auto;
    max-height: 280px;
    padding-right: 4px;
}

.hiperlocal-pois::-webkit-scrollbar {
    width: 5px;
}

.hiperlocal-pois::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 10px;
}

.pois-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.poi-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poi-cat-header {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.poi-chip {
    display: inline-block;
    background: rgba(30, 64, 175, 0.06);
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 2px 3px 2px 0;
    transition: all 0.2s;
}

.poi-chip:hover {
    background: rgba(var(--accent-primary-rgb, 30, 64, 175), 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ============================================================
   RESPONSIVE — Property Detail Modal
   ============================================================ */

@media (max-width: 840px) {
    .prop-detail-grid {
        grid-template-columns: 1fr;
    }

    .prop-detail-carousel {
        height: 260px;
    }

    .hiperlocal-layout {
        grid-template-columns: 1fr;
    }

    .hiperlocal-map-wrap {
        height: 220px;
    }

    .hiperlocal-pois {
        max-height: 200px;
    }
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC SPLASH SCREEN (VANGUARD LIGHT BRANDED)
   ========================================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Fondo premium en blanco pizarra con orbes sutiles azul/rojo del branding */
    background: radial-gradient(circle at 20% 20%, rgba(30, 64, 175, 0.08) 0%, transparent 50%), 
                radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%), 
                var(--bg-base);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                visibility 0.8s;
    overflow: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    z-index: 2;
}

.splash-logo {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary); /* Deep Navy */
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
    position: relative;
    animation: splashPulse 3s infinite ease-in-out;
}

.splash-logo span {
    color: var(--accent-secondary); /* Sophisticated Red */
    text-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.splash-spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.splash-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(30, 64, 175, 0.08); /* Base Royal Blue soft */
    border-top: 3px solid var(--accent-primary); /* Active Royal Blue */
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.1, 0.9) infinite;
}

.splash-pulse {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%); /* Soft Red pulse */
    border-radius: 50%;
    animation: radialPulse 2s infinite alternate ease-in-out;
}

.splash-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-secondary); /* Grey Blue */
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: splashTextFade 2s infinite alternate ease-in-out;
}

/* Splash Animations */
@keyframes splashPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0px rgba(30, 64, 175, 0);
    }
    50% {
        transform: scale(1.02);
        text-shadow: 0 0 20px rgba(30, 64, 175, 0.15);
    }
}

@keyframes radialPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes splashTextFade {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.9;
    }
}

/* Ocultar scroll del body mientras carga */
body.loading-state {
    overflow: hidden !important;
}

/* Desvanecimiento de salida para Splash Screen */
.splash-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================================================
   RECOVEC VISUAL STUDIO (FULL SCREEN REDESIGN WITH 3D CANVAS & GSAP)
   ========================================================================== */

/* Full Screen Glass Overlay */
.customization-studio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
    padding: 0;
    transition: none !important; /* Prevents CSS transitions from clashing with GSAP */
    will-change: opacity; /* Optimizes overlay fade animation on GPU */
}


/* Split Pane Studio Container */
.studio-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    width: 95vw;
    height: 90vh;
    max-width: 1400px;
    max-height: 850px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    box-shadow: 0 40px 100px -15px rgba(15, 23, 42, 0.22), 
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                0 0 0 1px rgba(30, 64, 175, 0.02);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    will-change: opacity, transform; /* Promotes studio-container to GPU compositor layer for buttery smooth slides */
}

.studio-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: var(--text-secondary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.studio-close-btn:hover {
    background: var(--accent-secondary);
    color: #FFFFFF;
    transform: scale(1.1) rotate(90deg);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* ==========================================
   LEFT SIDE: 3D WORKBENCH (MOCKUP CANVAS)
   ========================================== */
.studio-preview-canvas {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.02) 0%, rgba(15, 23, 42, 0.05) 100%);
    border-right: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    padding: 3.5rem;
    overflow: hidden;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.canvas-header {
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    padding-bottom: 12px;
}

.canvas-decor-dots {
    display: flex;
    gap: 6px;
}

.canvas-decor-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.canvas-decor-dots .dot.red { background: #EF4444; }
.canvas-decor-dots .dot.yellow { background: #F59E0B; }
.canvas-decor-dots .dot.green { background: #10B981; }

.canvas-mock-title {
    opacity: 0.75;
}

/* 3D Browser Mockup CSS */
.browser-mockup {
    width: 100%;
    max-width: 580px;
    aspect-ratio: 16/10;
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14),
                0 0 0 1px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: perspective(1200px) rotateY(6deg) rotateX(3deg);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.8s;
}

.browser-mockup:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.2);
}

.browser-tab-bar {
    background: #F1F5F9;
    padding: 10px 16px 0;
    display: flex;
    border-bottom: 1px solid #E2E8F0;
}

.browser-tab {
    background: #E2E8F0;
    border-radius: 8px 8px 0 0;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #64748B;
    font-family: var(--font-sans);
    font-weight: 600;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid transparent;
}

.browser-tab.active {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    border-bottom: none;
    position: relative;
    z-index: 2;
}

.mockup-tab-title {
    pointer-events: none;
}

.mockup-favicon-img {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    background: #fff;
    transition: all 0.3s ease;
}

.browser-nav-bar {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 8px 16px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.browser-nav-backforward {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    color: #CBD5E1;
    font-weight: bold;
    user-select: none;
}

.browser-address-input {
    background: #F1F5F9;
    border-radius: 6px;
    flex-grow: 1;
    padding: 4px 12px;
    font-size: 0.68rem;
    color: #64748B;
    font-family: monospace;
    user-select: none;
}

/* Simulated website canvas inside browser mockup */
.mockup-web-surface {
    flex-grow: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F8FAFC;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: background-image 0.5s ease;
}

.mockup-web-nav {
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.mockup-logo-area {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.mockup-logo-img {
    height: 20px;
    margin-right: 6px;
    object-fit: contain;
    transition: all 0.3s ease;
}

#mockup-logo-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--text-primary);
}

#mockup-logo-text span {
    color: var(--accent-secondary);
}

.mockup-nav-links {
    display: flex;
    gap: 8px;
    font-size: 0.55rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Simulated Hero carrusel */
.mockup-hero-slider {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.mockup-slide-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?q=80&w=2070&auto=format&fit=crop');
    display: flex;
    align-items: flex-end;
    padding: 15px;
    position: relative;
    transition: all 0.5s ease;
}

.mockup-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent);
    z-index: 1;
}

.mockup-slide-caption {
    z-index: 2;
    color: #FFFFFF;
    font-family: var(--font-sans);
    max-width: 80%;
}

.mockup-slide-caption h4 {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #fff;
    letter-spacing: 0.2px;
}

.mockup-slide-caption p {
    font-size: 0.55rem;
    opacity: 0.7;
    margin: 0;
}

/* Mini Logo / Avatar simulation */
.mockup-post-simulation {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 145px;
    transform: scale(0.95);
    transform-origin: bottom right;
    z-index: 10;
}

.mockup-post-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.mockup-post-author {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mockup-post-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    background: #0F172A;
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.mockup-post-author-meta {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.mockup-post-author-meta h5 {
    font-size: 0.5rem;
    margin: 0 0 2px 0;
    font-weight: 700;
    color: var(--text-primary);
}

.mockup-post-author-meta span {
    font-size: 0.4rem;
    color: var(--text-muted);
}

.mockup-post-body {
    width: 80%;
    height: 3px;
    background: #E2E8F0;
    border-radius: 2px;
    margin-top: 6px;
}

/* NEON ACTIVE HIGHLIGHT PULSE ANIMATIONS (Avoid AI plainness) */
.mockup-logo-area.highlight-active,
.mockup-favicon-img.highlight-active,
.mockup-slide-item.highlight-active,
.mockup-post-avatar.highlight-active,
.mockup-web-surface.highlight-active {
    animation: mockupHighlightPulse 1s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes mockupHighlightPulse {
    0% {
        box-shadow: 0 0 2px rgba(30, 64, 175, 0.15);
        border-color: rgba(30, 64, 175, 0.15);
        outline: 2px solid rgba(30, 64, 175, 0.15);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 16px rgba(30, 64, 175, 0.8);
        border-color: var(--accent-primary);
        outline: 3px solid var(--accent-primary);
        transform: scale(1.05);
    }
}

/* Alternate red highlight pulse for high contrast visual sync */
.mockup-favicon-img.highlight-active,
.mockup-post-avatar.highlight-active {
    animation: mockupRedHighlightPulse 1s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes mockupRedHighlightPulse {
    0% {
        box-shadow: 0 0 2px rgba(220, 38, 38, 0.15);
        border-color: rgba(220, 38, 38, 0.15);
        outline: 2px solid rgba(220, 38, 38, 0.15);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 16px rgba(220, 38, 38, 0.85);
        border-color: var(--accent-secondary);
        outline: 3px solid var(--accent-secondary);
        transform: scale(1.12);
    }
}


/* ==========================================
   RIGHT SIDE: CONTROL CONSOLE (BENTO DOCK)
   ========================================== */
.studio-controls-dock {
    padding: 3.5rem 3rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 64, 175, 0.15) transparent;
}

.studio-controls-dock::-webkit-scrollbar {
    width: 6px;
}

.studio-controls-dock::-webkit-scrollbar-thumb {
    background: rgba(30, 64, 175, 0.15);
    border-radius: 10px;
}

.studio-controls-dock::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 64, 175, 0.3);
}

.studio-header {
    margin-bottom: 2rem;
}

.studio-tag {
    background: rgba(30, 64, 175, 0.08);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 6px;
}

.studio-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: -0.5px;
    text-align: left;
    background: none;
    -webkit-text-fill-color: initial;
    border-bottom: none;
    padding-bottom: 0;
}

.studio-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.studio-form {
    display: flex;
    flex-direction: column;
}

.studio-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01), 
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.studio-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(30, 64, 175, 0.08);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.02);
}

.studio-form .form-group label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.studio-form select, 
.studio-form input[type="number"] {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-sans);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    width: 100%;
}

.studio-form select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.1rem;
    padding-right: 3rem;
    appearance: none;
    -webkit-appearance: none;
}

.studio-form select:focus, 
.studio-form input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.08);
}

.banner-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Reactiva Drop Zone inside visual studio */
.studio-form .drop-zone {
    border: 2px dashed rgba(30, 64, 175, 0.15);
    border-radius: 18px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(30, 64, 175, 0.01);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.studio-form .drop-zone:hover {
    border-color: var(--accent-primary);
    background: rgba(30, 64, 175, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.04);
}

.studio-form .drop-zone.dragover {
    border-color: var(--accent-secondary);
    background: rgba(220, 38, 38, 0.03);
    animation: pulseBorder 1.5s infinite ease-in-out;
}

.studio-form .drop-zone.file-loaded {
    border: 1px solid rgba(30, 64, 175, 0.12);
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.studio-form .drop-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.studio-form .config-drop-subtext {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.config-drop-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.studio-form .drop-zone:hover .config-drop-icon-container {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: scale(1.06) translateY(-2px);
}

.drop-zone-svg-icon {
    width: 22px;
    height: 22px;
}

/* Context instruction hint card */
.config-info-hint {
    margin-top: 10px;
    padding: 1.1rem 1.3rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(220, 38, 38, 0.01) 100%);
    border: 1px solid rgba(30, 64, 175, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}

.config-info-hint:hover {
    border-color: rgba(30, 64, 175, 0.2);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.02);
}

.config-info-text {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.config-info-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Submit config visual studio btn */
#btn-submit-config {
    height: 52px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #1D4ED8 100%);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.18);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #FFFFFF;
}

#btn-submit-config:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.28);
}

/* Bento Banner list manager container */
.banner-list-studio-card {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.4);
}

.banner-manage-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(15, 23, 42, 0.04);
}

#banner-manage-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.banner-manage-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 1rem;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.banner-manage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    border-color: rgba(30, 64, 175, 0.1);
}

.banner-thumb-container {
    width: 70px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.banner-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tipo-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background: rgba(30, 64, 175, 0.85);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #FFFFFF;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
    text-transform: uppercase;
}

.banner-info {
    display: flex;
    gap: 1rem;
}

.banner-info .field-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.banner-info .field-group label {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.banner-info .field-group input {
    width: 75px;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.01);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.banner-manage-actions {
    display: flex;
    gap: 6px;
}

.btn-update-banner, 
.btn-delete-banner-mgr {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

/* ==========================================
   RESPONSIVIDAD Y AJUSTES MOBILE
   ========================================== */
@media (max-width: 950px) {
    .studio-container {
        grid-template-columns: 1fr;
        height: 95vh;
        max-height: initial;
        width: 96vw;
        border-radius: 24px;
        overflow-y: auto;
    }
    
    .studio-preview-canvas {
        height: 340px;
        padding: 3rem 2rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }
    
    .canvas-header {
        top: 20px;
        left: 20px;
        right: 20px;
    }
    
    .browser-mockup {
        max-width: 480px;
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .studio-controls-dock {
        height: auto;
        padding: 2.5rem 2rem;
        overflow: visible;
    }
    
    .studio-close-btn {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .studio-preview-canvas {
        height: 280px;
    }
    
    .browser-mockup {
        max-width: 100%;
    }
    
    .mockup-post-simulation {
        display: none; /* Hide posts thumbnail simulation on tiny widths */
    }
    
    .studio-controls-dock {
        padding: 2rem 1.2rem;
    }
    
    .banner-fields-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-manage-item {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 0.6rem;
    }
    
    .banner-info {
        justify-content: center;
    }
}

/* ==========================================================================
   ADMINISTRATIVE STUDIO WORKBENCHES & MOCKUPS (PREMIUM GLASS & 3D SYSTEM)
   ========================================================================== */

/* 3D Perspective Canvas & Shadow-3d base */
.studio-preview-canvas {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.shadow-3d {
    transform: rotateY(-8deg) rotateX(4deg) translateZ(20px);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.8s ease;
    box-shadow: -15px 25px 50px -10px rgba(15, 23, 42, 0.15), 
                0 10px 20px -5px rgba(15, 23, 42, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.shadow-3d:hover {
    transform: rotateY(0deg) rotateX(0deg) translateZ(40px);
    box-shadow: 0 35px 80px -15px rgba(15, 23, 42, 0.25), 
                0 15px 30px -10px rgba(15, 23, 42, 0.15);
}

/* 1. MOCKUP: Property Card (Villa Style Premium Glassmorphic Slate) */
.mockup-prop-card {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    overflow: hidden;
    font-family: var(--font-sans);
}

.mockup-prop-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    overflow: hidden;
    background: #0F172A;
}

.mockup-prop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mockup-prop-card:hover .mockup-prop-img {
    transform: scale(1.05);
}

.mockup-prop-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #1D4ED8 100%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.mockup-prop-photos-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.mockup-prop-info {
    padding: 1.5rem;
}

.mockup-prop-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.mockup-prop-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.6rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-prop-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-bottom: 1.2rem;
}

.mockup-prop-location svg {
    color: var(--accent-secondary);
}

.mockup-prop-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mockup-prop-meta span strong {
    color: var(--text-primary);
    font-weight: 700;
}


/* 2. MOCKUP: News Feed Card (Aviso) */
.mockup-news-feed-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 1.25rem;
    font-family: var(--font-sans);
}

.mockup-news-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.mockup-news-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #1D4ED8 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    user-select: none;
}

.mockup-news-meta {
    display: flex;
    flex-direction: column;
}

.mockup-news-author {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mockup-news-date {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mockup-news-caption {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1rem;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mockup-news-visual-container {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.mockup-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 3 & 4. MOCKUP: Bento Service / Experience Card */
.mockup-service-item-card,
.mockup-experiencia-item-card {
    width: 100%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    overflow: hidden;
    font-family: var(--font-sans);
}

.mockup-service-image-container,
.mockup-experiencia-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0F172A;
}

.mockup-service-img,
.mockup-experiencia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mockup-service-item-card:hover .mockup-service-img,
.mockup-experiencia-item-card:hover .mockup-experiencia-img {
    transform: scale(1.05);
}

.mockup-service-badge,
.mockup-experiencia-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mockup-service-info,
.mockup-experiencia-info {
    padding: 1.25rem;
}

.mockup-service-title,
.mockup-experiencia-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-service-desc,
.mockup-experiencia-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mockup-service-btn,
.mockup-experiencia-btn {
    width: 100%;
    height: 38px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #FFFFFF;
    color: var(--text-primary);
    cursor: default;
    transition: all 0.3s ease;
}

.mockup-service-item-card:hover .mockup-service-btn,
.mockup-experiencia-item-card:hover .mockup-experiencia-btn {
    background: var(--accent-primary);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.15);
}


/* ==========================================================================
   5. CITAS EXECUTIVE CENTER (ADMIN DASHBOARD DOCK & BENTO)
   ========================================================================== */

.dashboard-studio-container {
    max-width: 1550px !important;
    max-height: 900px !important;
}

.dashboard-analytics-pane {
    padding: 3rem 2.5rem !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

.citas-analytics-bento {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 4.5rem;
    width: 100%;
}

.analytics-lead-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
}

.analytics-lead-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.analytics-lead-card .analytics-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.analytics-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box-bento {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-box-bento:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.stat-box-bento.active-blue {
    border-color: rgba(30, 64, 175, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(30, 64, 175, 0.03) 100%);
}

.stat-box-bento .stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.stat-box-bento.active-blue .stat-number {
    color: var(--accent-primary);
}

.stat-box-bento .stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-tracker-widget {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 1.25rem;
}

.tracker-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.tracker-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracker-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

/* Right Side: Scrollable Leads Bento List */
.dashboard-leads-dock {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dashboard-citas-scroll-container {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 8px;
    margin-top: 1.5rem;
    max-height: calc(100vh - 280px);
}

.dashboard-citas-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.dashboard-citas-scroll-container::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.01);
}

.dashboard-citas-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.08);
    border-radius: 4px;
}

.dashboard-citas-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.15);
}

/* Beautiful glass request bento card inside admin dashboard */
.cita-bento-card {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01) !important;
}

.cita-bento-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(30, 64, 175, 0.1) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04) !important;
}

.cita-bento-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
    padding-bottom: 1rem;
}

.cita-bento-title {
    font-family: var(--font-display) !important;
    color: var(--text-primary) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
}

.cita-bento-user {
    margin: 0 !important;
    font-size: 0.82rem !important;
    color: var(--text-secondary) !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cita-bento-user-tag {
    font-weight: 600;
    color: var(--text-primary);
}

.admin-status-dropdown-bento {
    background: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cita-bento-details {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: var(--text-secondary) !important;
}

.cita-bento-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.cita-bento-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cita-bento-meta-item strong {
    color: var(--text-primary);
}

.cita-bento-meta-item svg {
    color: var(--accent-primary);
}

.cita-bento-comment {
    background: rgba(15, 23, 42, 0.02) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px !important;
    font-style: italic !important;
    font-size: 0.82rem !important;
    margin: 0.5rem 0 1rem 0 !important;
    border-left: 3px solid rgba(15, 23, 42, 0.1) !important;
}

.cita-bento-reply-box {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cita-bento-reply-box label {
    font-size: 0.75rem !important;
    color: var(--accent-primary) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cita-bento-reply-input-group {
    display: flex;
    gap: 8px;
}

.cita-bento-reply-input {
    flex: 1 !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: var(--text-primary) !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.cita-bento-reply-input:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08) !important;
    outline: none !important;
}

.cita-bento-reply-btn {
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: transparent;
    border: 1px solid;
}

.cita-bento-reply-btn:hover {
    background: var(--accent-primary) !important;
    color: #FFFFFF !important;
}
}