/* Centrar todo el contenido en una misma columna */
main,
#nav-placeholder,
#footer-placeholder {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    
    margin-top: 4rem;
    
}

/* Espacio entre secciones */
section {
    margin-bottom: 3rem;
}

/* Hero descontracturado */
.tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.prompt-symbol {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: bold;
    margin-right: 0.3rem;
}

/* Cursor parpadeante estilo terminal */
.cursor-terminal {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: bold;
    animation: parpadeo 0.8s infinite steps(2, start);
    display: inline-block;
    margin-left: 2px;
}

@keyframes parpadeo {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* =======================================
   CARRUSEL HORIZONTAL NATIVO (SCROLL SNAP)
======================================= */
/* Grilla para las tarjetas de proyectos */
.grilla-proyectos {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.75rem; /* Espacio para no tapar la sombra/scrollbar */
    margin-top: 1rem;
    -webkit-overflow-scrolling: touch; /* Suavidad en iPhone/Android */
}
/* Scrollbar sutil para el carrusel */
.grilla-proyectos::-webkit-scrollbar {
    height: 6px;
}
.grilla-proyectos::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}
.grilla-proyectos::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}
.grilla-proyectos::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent);
}

/* Estilo individual para cada tarjeta de proyecto */
.card-proyecto {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem; /* Aire adentro de la tarjeta para que nada toque los bordes */
    transition: border-color 0.2s ease;
    text-align: center;
    
    flex: 0 0 100%; /* Ancho fijo para cada tarjeta en PC y celu */
    max-width: 100%;
    scroll-snap-align: start; /* Se clava prolijo al deslizar */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

@media (min-width: 680px) {
    .card-proyecto {
        flex: 0 0 calc((100% - 1.25rem) / 2); /* Un poco más cómoda en monitores */
        max-width: calc((100% - 1.25rem) / 2);
    }
}

.card-proyecto:hover {
    border-color: var(--accent); /* Resalta el borde cuando pasás el mouse */
    
}

.card-proyecto h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.card-proyecto p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.85rem; /* Separa el texto de la imagen */

    display: -webkit-box;
    -webkit-line-clamp: 2; /* Corta a 2 renglones para que todas midan lo mismo */
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.card-proyecto a {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0 1.25rem;
}


/* Contenedor del link con la imagen */
.link-imagen-proyecto {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden; /* Corta el zoom para que no se salga de los bordes */
    margin-top: 0.75rem;
    border: 1px solid var(--border-color);
    background-color: #0b0f14;
}

/* La imagen base con transición */
.img-proyecto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* El cartelito que aparece arriba */
.overlay-proyecto {
    position: absolute;
    inset: 0; /* Ocupa todo el alto y ancho */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 20, 28, 0.75); /* Fondo oscuro semitransparente */
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.3s ease;
}

/* EFECTO HOVER: al pasar el cursor por el link */
.link-imagen-proyecto:hover .img-proyecto {
    transform: scale(1.05); /* Zoom sutil */
    filter: brightness(0.8);
}

.link-imagen-proyecto:hover .overlay-proyecto {
    opacity: 1; /* Muestra el texto */
}



/* Barra contenedora: distribuye extremos y centra el medio */
.barra-navegacion-proyectos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Contenedor de filtros centrado */
.filtros-container {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* Flechas con más presencia y glow galáctico */
.btn-flecha {
    background-color: var(--card-bg);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    width: 42px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.btn-flecha:hover {
    background-color: var(--accent);
    color: #0b0813;
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
    transform: translateY(-1px);
}

.btn-flecha:active {
    transform: scale(0.95);
}

/* En celulares achicamos las flechas para que no coman espacio a los tags */
@media (max-width: 600px) {
    .btn-flecha {
        width: 34px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* =======================================
   NAVBAR (con espacio y separación)
======================================= */

.menu-principal {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    /* Clavado exactamente arriba sin separación */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    width: 100%;
    max-width: var(--max-width);
    box-sizing: border-box;
    padding: 0.75rem 1rem;

    background-color: rgba(11, 8, 19, 0.95); /* Fondo oscuro bien cubritivo */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

/* En celular: se mantiene en top: 0 SIEMPRE */
@media (max-width: 480px) {
    .menu-principal {
        top: 0; /* Asegura que no baje ni un píxel */
        padding: 0.6rem 0.75rem;
        gap: 0.35rem;
    }
}
.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem; /* Área de click amplia y cómoda */
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-link:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.04);
    text-decoration: none;
}
/* Estilo para el link de la página actual */
.nav-link.active {
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(126, 34, 206, 0.12) 100%);
    border: 1px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.25), inset 0 0 10px rgba(168, 85, 247, 0.15);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}
/* =======================================
   FOOTER: Redes en fila horizontal
======================================= */
.redes-nav {
    display: flex;
    flex-direction: row;        /* En fila horizontal */
    flex-wrap: wrap;            /* Baja si no entra en pantallas muy chicas */
    align-items: center;
    gap: 0.75rem;               /* Separación entre cada botón */
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.link-icono {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.link-icono:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);    /* Flota sutilmente hacia arriba */
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
    text-decoration: none;
}

.icono {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* =======================================
   VISTA DE BLOG
======================================= */
#blog-header {
    margin-bottom: 2.5rem;
}

#blog-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#lista-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-preview {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-preview:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.post-tag {
    background-color: rgba(168, 85, 247, 0.15);
    color: var(--accent);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.post-preview h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.post-preview h2 a {
    color: var(--text-main);
}

.post-preview h2 a:hover {
    color: var(--accent);
    text-decoration: none;
}

.post-preview p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.leer-mas {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
}

/*==========================================
    CSS DE PORTFOLIO 
==========================================*/

/* =======================================
   STATUS  ¿EN QUE ANDO AHORA?
======================================= */
.status-card-widget {
    background: linear-gradient(145deg, rgba(21, 16, 38, 0.9) 0%, rgba(15, 10, 28, 0.95) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Barra superior del widget */
.status-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.status-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

/* Puntito verde con efecto radar */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    z-index: 2;
    position: relative;
}

.status-radar {
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.4);
    animation: radarPulse 2s infinite ease-out;
}

@keyframes radarPulse {
    0% { transform: translateY(-50%) scale(0.8); opacity: 0.9; }
    100% { transform: translateY(-50%) scale(2.2); opacity: 0; }
}

.status-text-live {
    color: #4ade80;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.status-branch {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.status-title {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

/* Grid ordenado de items */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.65rem;
}

.status-item {
    background-color: rgba(11, 8, 19, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    transition: border-color 0.2s ease;
}

.status-item:hover {
    border-color: rgba(168, 85, 247, 0.5);
}

.status-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.status-val {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.45;
}

/* =======================================
   STACK TECNOLÓGICO
======================================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.skill-category {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.skill-category h3 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background-color: rgba(168, 85, 247, 0.12);
    color:aqua;
    border: 1px solid rgba(168, 85, 247, 0.25);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

/* =======================================
   BOTONES DE FILTRO
======================================= */
.filtros-container {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-filtro {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filtro:hover {
    border-color: var(--accent);
    color: var(--text-main);
}

.btn-filtro.active {
    background-color: var(--accent);
    color: #0b0813;
    font-weight: 600;
    border-color: var(--accent);
}

/* =======================================
   TIMELINE (Trayectoria)
======================================= */
.timeline {
    border-left: 2px solid var(--border-color);
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.95rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
}

.timeline-item h3 {
    font-size: 1.15rem;
    margin-top: 0.2rem;
    margin-bottom: 0.25rem;
}

.timeline-place {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-item p:last-child {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================================================ CSS DE 404 ==============================================================*/
/* =======================================
   PÁGINA 404 (Terminal Panic)
======================================= */
.error-404-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 3rem 0;
    gap: 2rem;
}

.terminal-error-box {
    width: 100%;
    max-width: 600px;
    background-color: #0b0813;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.terminal-bar {
    background-color: rgba(21, 16, 38, 0.9);
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border-color);
}

.terminal-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.terminal-body {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.6;
}

.term-prompt {
    color: var(--accent);
    font-weight: bold;
}

.term-line {
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.term-response {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    margin-left: 1rem;
}

.term-response.error-code {
    color: #f87171; /* Rojo suave error */
    font-weight: bold;
}

.error-actions h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.error-actions p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-volver {
    display: inline-block;
    background-color: var(--accent);
    color: #0b0813;
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.btn-volver:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    text-decoration: none;
}


/* =====================================   CSS ESTILO PAGINA ACTIVAAAAA  =====================================*/
/* =======================================
   ESTADO ACTIVO NAVBAR (con Glow Neón)
======================================= */
.nav-link {
    position: relative;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.25s ease;
}

/* Cuando el link está activo */
.nav-link.active {
    color: #ffffff;
    font-weight: 700;
    background: rgba(168, 85, 247, 0.15); /* Fondo tenue violeta */
    border: 1px solid rgba(168, 85, 247, 0.4); /* Borde sutil */
    /* Resplandor galáctico neón */
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.35), 
                inset 0 0 8px rgba(168, 85, 247, 0.2);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

/*================================= BADGES ESTILO TERMINAL ==================================*/
.badge-terminal {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background-color: rgba(168, 85, 247, 0.08);
    color:#4eff03;
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.badge-terminal::before {
    content: "[";
    color: var(--text-muted);
}

.badge-terminal::after {
    content: "]";
    color: var(--text-muted);
}
/* =======================================
   BENTO GRID RESPONSIVE
======================================= */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr; /* Por defecto en celus: todo en 1 columna apilada */
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* En tablets y PC se convierte en mosaico */
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-wide {
        grid-column: span 2; /* La tarjeta destacada ocupa todo el ancho */
    }
}

.card-bento {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card-bento:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.18);
    transform: translateY(-2px);
}

.bento-badges {
    margin-bottom: 0.5rem;
}

.card-bento h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.card-bento p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
/* =======================================
   HOME: SECCIÓN ÚLTIMOS POSTS
======================================= */
#ultimos-posts {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.header-ultimos-posts {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
}

.link-ver-todo {
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.cargando-texto {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}
/* =======================================
   SECCIÓN TALLER / REPARACIONES
======================================= */
.taller-stats-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
    .taller-stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.stat-valor {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.reparaciones-registro h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.cards-taller-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.card-reparacion {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.25s ease;
}

.card-reparacion:hover {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.15);
    transform: translateY(-2px);
}

.reparacion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.badge-status-resuelto {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #4ade80; /* Verde terminal */
    font-weight: bold;
}

.card-reparacion h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.reparacion-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.reparacion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

/* =======================================
   GALERÍA TÉCNICA DE REPARACIONES
======================================= */
.galeria-reparacion {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 580px) {
    .galeria-reparacion {
        grid-template-columns: repeat(2, 1fr); /* 2 fotos lado a lado en PC/Tablet */
    }
}

.foto-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #07050c;
    aspect-ratio: 16 / 10; /* Mantiene proporciones prolijas */
}

/* Etiqueta superpuesta estilo reporte de laboratorio */
.foto-wrapper::after {
    content: attr(data-label);
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(11, 8, 19, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color:rgb(238, 255, 0);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.img-taller-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.foto-wrapper:hover .img-taller-zoom {
    transform: scale(1.04);
    filter: contrast(1.05);
}
/* Modal de imagen grande */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 4, 13, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
    cursor: zoom-out;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 8px;
    border: 1px solid var(--accent);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    object-fit: contain;
}