@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,900;1,900&display=swap');

:root {
    --accent: #dc2626;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
}

/* Manejo de Imágenes */
.img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.card-military:hover .img-fit {
    transform: scale(1.1);
}

/* Efecto Ruido y Scanlines */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.scanlines {
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.4) 2px, rgba(0,0,0,0.4) 4px);
}

/* ESQUINAS DEL BACKGROUND (NUEVO) */
.side-corner-tl, .side-corner-tr, .side-corner-bl, .side-corner-br {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: rgba(220, 38, 38, 0.6); /* Color rojo como en la imagen */
    z-index: 20;
    pointer-events: none;
}
.side-corner-tl { top: 30px; left: 30px; border-top: 2px solid; border-left: 2px solid; }
.side-corner-tr { top: 30px; right: 30px; border-top: 2px solid; border-right: 2px solid; }
.side-corner-bl { bottom: 30px; left: 30px; border-bottom: 2px solid; border-left: 2px solid; }
.side-corner-br { bottom: 30px; right: 30px; border-bottom: 2px solid; border-right: 2px solid; }

/* Esquinas del logo superior derecho */
.border-military {
    position: relative;
    padding: 10px 20px;
}
.corner-tl, .corner-tr, .corner-bl, .corner-br {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--accent);
}
.corner-tl { top: 0; left: 0; border-top: 3px solid; border-left: 3px solid; }
.corner-tr { top: 0; right: 0; border-top: 3px solid; border-right: 3px solid; }
.corner-bl { bottom: 0; left: 0; border-bottom: 3px solid; border-left: 3px solid; }
.corner-br { bottom: 0; right: 0; border-bottom: 3px solid; border-right: 3px solid; }

/* Botón Estilo Militar */
.btn-military {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 16px 32px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transition: 0.4s;
    border: 1px solid #ef4444;
}
.btn-military:hover {
    transform: scale(1.05);
    background: #b91c1c;
}

/* Tarjetas */
.card-military {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.social-card {
    background: #080808;
    border: 1px solid #111;
    padding: 40px 20px;
    transition: 0.4s;
}
.social-card:hover { border-color: var(--accent); transform: translateY(-10px); }

/* Animaciones de Scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

/* RESPONSIVE HERO SPLIT */
.hero-side {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 50vh;
}

@media (min-width: 768px) {
    .hero-side { min-height: 100vh; }
    .hero-side:hover { flex: 1.6; }
    /* Efecto para oscurecer el lado que no tiene hover */
    #hero-split:has(.hero-side:hover) .hero-side:not(:hover) { 
        flex: 0.4; 
        opacity: 0.4; 
        filter: grayscale(1);
    }
}