:root {
    --dorado-neon: #bf953f;
    --dorado2-led: #bf953f;
    --negro: #0D0D0D;
}

body {
   background-color: #0D0D0D;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif; 
    background-size: 60px 60px;
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
    overflow-x: hidden;
    }
    
.contact-terminal {
    padding: 60px 20px;
    background: var(--fondo-oscuro);
    font-family: 'Segoe UI', sans-serif;
}

.terminal-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Grid de Contactos */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--negro);
    border: 1px solid rgb(139, 139, 136);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--dorado-neon);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 2rem;
    color: var(--dorado2-led);
    margin-bottom: 15px;
}

.contact-card:hover .card-icon {
    color: var(--dorado-neon);
    text-shadow: 0 0 10px var(--dorado-neon);
}

.contact-card h4 {
    color: var(--dorado-neon);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-card p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Botones */
.btn-contact {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--dorado2-led);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-contact:hover {
    background: var(--dorado2-led);
}

.btn-wa {
    border-color: #25d366;
    color: #25d366;
}

.btn-wa:hover {
    background: #25d366;
    color: black;
}

/* --- NUEVO: SISTEMA DE MAPA CON BARRA DE ESTADO --- */
/* Contenedor del sistema de mapa */
.map-system {
    border: 1px solid rgba(191, 149, 63, 1);
    border-radius: 15px;
    overflow: hidden;
    background: #0d0101;
    margin-top: 20px;
}

.map-container {
    width: 100%;
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    filter: contrast(1.1); /* Un toque de contraste para que se vea más pro */
}

/* Barra de estado inferior */
.map-status-bar {
    background: rgba(13, 13, 13, 1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; /* Empuja contenido a los extremos */
    align-items: center;
    border-top: 1px solid rgba(13, 13, 13, 1);
    font-family: 'Orbitron', sans-serif;
    flex-wrap: wrap; /* Permite que salte de línea en móviles */
    gap: 15px;
}

.status-left {
    display: flex;
    align-items: center;
    color: var(--dorado-neon);
    font-size: 0.7rem;
    min-width: fit-content;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Espacio entre coordenadas y botón */
    flex-wrap: wrap;
    justify-content: flex-end;
}

.coordinates {
    color: var(--dorado2-led);
    font-size: 0.65rem;
    font-weight: bold;
    white-space: nowrap; /* Evita que las coordenadas se corten */
}

.btn-gps {
    background: transparent;
    border: 1px solid var(--dorado-neon);
    color: var(--dorado-neon);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-gps:hover {
    background: var(--dorado-neon);
    color: #000;
    box-shadow: 0 0 10px var(--dorado-neon);
}

/* --- AJUSTE PARA CELULARES --- */
@media (max-width: 768px) {
    .map-status-bar {
        flex-direction: column; /* Apila todo verticalmente */
        text-align: center;
        justify-content: center;
    }
    
    .status-right {
        flex-direction: column; /* Coordenadas arriba, botón abajo */
        gap: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .status-left {
        justify-content: center;
        width: 100%;
    }
}
.status-info {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 0.7rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #bf953f;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 10px #bf953f;
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.coordinates {
    color: #bf953f;
    font-size: 0.65rem;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-status-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}