/* ===== CONTACTO FUTURISTIC CONSOLE THEME ===== */

/* Fuentes futuristas */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* Variables futuristas */
:root {
    --cyber-primary: #00ffff;
    --cyber-secondary: #ff00ff;
    --cyber-accent: #00ff00;
    --cyber-warning: #ffff00;
    --cyber-danger: #ff0040;
    --cyber-dark: #0a0a0a;
    --cyber-darker: #050505;
    --cyber-light: #ffffff;
    --cyber-grid: #1a1a1a;
    --cyber-glow: 0 0 20px currentColor;
    --cyber-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    --cyber-gradient: linear-gradient(135deg, #00ffff 0%, #ff00ff 50%, #00ff00 100%);
}

/* Animaciones futuristas */
@keyframes matrixRain {
    0% { transform: translateY(-100vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes hologramFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
    75% { opacity: 0.9; }
}

@keyframes scanLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes dataTransfer {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes terminalBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes circuitPulse {
    0%, 100% { box-shadow: 0 0 5px var(--cyber-primary); }
    50% { box-shadow: 0 0 20px var(--cyber-primary), 0 0 30px var(--cyber-primary); }
}

@keyframes teleportIn {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
        filter: blur(20px);
    }
    50% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.7;
        filter: blur(5px);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes glitchShake {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -1px); }
    20% { transform: translate(2px, 1px); }
    30% { transform: translate(-1px, 2px); }
    40% { transform: translate(1px, -2px); }
    50% { transform: translate(-2px, 1px); }
    60% { transform: translate(2px, -1px); }
    70% { transform: translate(-1px, -2px); }
    80% { transform: translate(1px, 2px); }
    90% { transform: translate(-2px, -1px); }
}

/* Estilos base de contacto */
.contact-page {
    background: var(--cyber-darker);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: 'Rajdhani', sans-serif;
}

.contact-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, var(--cyber-primary) 100%),
        linear-gradient(0deg, transparent 98%, var(--cyber-primary) 100%);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.contact-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyber-primary);
    animation: scanLine 3s linear infinite;
    z-index: 2;
    box-shadow: var(--cyber-glow);
}

/* Matrix rain effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.matrix-char {
    position: absolute;
    color: var(--cyber-accent);
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    animation: matrixRain 3s linear infinite;
    text-shadow: 0 0 5px currentColor;
}

/* Header futurista */
.page-header {
    padding: 120px 0 80px;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(255,0,255,0.1));
    border-bottom: 2px solid var(--cyber-primary);
}

.page-header-content {
    animation: teleportIn 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.page-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: var(--cyber-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    animation: hologramFlicker 2s ease-in-out infinite;
}

.page-header h1::before {
    content: '> ';
    color: var(--cyber-primary);
    font-size: 0.8em;
    animation: terminalBlink 1s infinite;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyber-primary);
    box-shadow: var(--cyber-glow);
    animation: dataTransfer 2s ease-in-out infinite;
}

.page-header p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    color: var(--cyber-light);
    margin-top: 30px;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: teleportIn 1.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
}

/* Sección de contacto */
.contact-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.contact-section .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Formulario futurista */
.contact-form-container {
    background: linear-gradient(135deg, rgba(0,255,255,0.05), rgba(255,0,255,0.05));
    border: 2px solid var(--cyber-primary);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    animation: circuitPulse 3s ease-in-out infinite;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0,255,255,0.1) 50%, transparent 70%);
    animation: dataTransfer 4s ease-in-out infinite;
    pointer-events: none;
}

.contact-form-container h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cyber-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: var(--cyber-glow);
    position: relative;
}

.contact-form-container h2::before {
    content: '[INIT] ';
    color: var(--cyber-accent);
    font-size: 0.6em;
}

.contact-form-container > p {
    color: var(--cyber-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Formulario */
.contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form label {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cyber-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0,0,0,0.7);
    border: 2px solid var(--cyber-grid);
    border-radius: 8px;
    color: var(--cyber-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form select,
.contact-form select:focus {
    background: #fff;
    color: #222;
    border: 1.5px solid #0c8cfa;
    border-radius: 8px;
    padding: 0.5em 1em;
    font-size: 1em;
    transition: border-color 0.2s;
    appearance: none;
}

.contact-form select option {
    color: #222 !important;
    background: #fff !important;
}

/* Solución para que la opción seleccionada se vea siempre */
.contact-form select:invalid {
    color: #888;
}

.contact-form select option[value=""] {
    color: #888;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--cyber-primary);
    box-shadow: var(--cyber-shadow);
    background: rgba(0,255,255,0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

/* Efectos de escritura en inputs */
.contact-form input:focus::after {
    content: '_';
    color: var(--cyber-primary);
    animation: terminalBlink 1s infinite;
}

/* Checkbox futurista */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    color: var(--cyber-light);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyber-primary);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid var(--cyber-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: rgba(0,255,255,0.2);
    box-shadow: var(--cyber-glow);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    transform: rotate(45deg) scale(1);
}

/* Botón futurista */
.contact-form button[type="submit"] {
    background: linear-gradient(135deg, var(--cyber-primary), var(--cyber-secondary));
    border: none;
    color: var(--cyber-dark);
    padding: 18px 40px;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contact-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.contact-form button[type="submit"]:hover::before {
    left: 100%;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,255,255,0.4);
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
    animation: glitchShake 0.3s ease-in-out;
}

/* Información de contacto */
.contact-info {
    background: linear-gradient(135deg, rgba(255,0,255,0.05), rgba(0,255,0,0.05));
    border: 2px solid var(--cyber-secondary);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    animation: circuitPulse 3s ease-in-out infinite 1s;
}

.contact-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--cyber-secondary);
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--cyber-secondary);
}

.contact-info h2::before {
    content: '[DATA] ';
    color: var(--cyber-accent);
    font-size: 0.6em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border-left: 4px solid var(--cyber-accent);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0,255,0,0.05);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,255,0,0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyber-accent), var(--cyber-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyber-dark);
    flex-shrink: 0;
    animation: circuitPulse 2s ease-in-out infinite;
}

.contact-details h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cyber-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-details p {
    color: var(--cyber-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.contact-details a {
    color: var(--cyber-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--cyber-primary);
    text-shadow: var(--cyber-glow);
}

/* Redes sociales futuristas */
.social-media {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--cyber-grid);
}

.social-media h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    color: var(--cyber-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.social-media .social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-media .social-links a {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--cyber-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-media .social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyber-primary);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.social-media .social-links a:hover::before {
    transform: scale(1);
}

.social-media .social-links a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-media .social-links a:hover img {
    filter: brightness(0);
    transform: scale(1.1);
}

/* Mapa futurista */
.map-section {
    padding: 80px 0;
    background: rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
}

.map-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--cyber-primary);
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    text-shadow: var(--cyber-glow);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(255,0,255,0.1));
    border: 2px solid var(--cyber-primary);
    border-radius: 15px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0,255,255,0.1) 0%, transparent 70%);
    animation: circuitPulse 4s ease-in-out infinite;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--cyber-primary);
    margin-bottom: 20px;
    animation: hologramFlicker 2s ease-in-out infinite;
}

.map-placeholder p {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--cyber-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.map-placeholder small {
    font-family: 'Rajdhani', sans-serif;
    color: var(--cyber-accent);
    font-size: 1rem;
    margin-top: 10px;
}

/* FAQ Links futuristas */
.faq-links {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.faq-links h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--cyber-primary);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    text-shadow: var(--cyber-glow);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-card {
    background: linear-gradient(135deg, rgba(0,255,255,0.05), rgba(255,0,255,0.05));
    border: 2px solid var(--cyber-grid);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.faq-card:hover::before {
    transform: translateX(100%);
}

.faq-card:hover {
    border-color: var(--cyber-primary);
    transform: translateY(-10px);
    box-shadow: var(--cyber-shadow);
}

.faq-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cyber-primary), var(--cyber-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--cyber-dark);
    animation: circuitPulse 3s ease-in-out infinite;
}

.faq-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cyber-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.faq-card p {
    color: var(--cyber-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.faq-card .btn {
    background: transparent;
    border: 2px solid var(--cyber-accent);
    color: var(--cyber-accent);
    padding: 12px 25px;
    border-radius: 6px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.faq-card .btn:hover {
    background: var(--cyber-accent);
    color: var(--cyber-dark);
    box-shadow: 0 0 15px var(--cyber-accent);
}

/* Mensajes de error */
.error-message {
    color: var(--cyber-danger);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
    animation: glitchShake 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 25px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .social-media .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .contact-form-container h2,
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .map-placeholder i {
        font-size: 3rem;
    }
}

/* ===== CONTACTO FUTURISTIC CONSOLE/MECHA THEME ===== */

/* Fuentes futuristas */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* Variables cyber */
:root {
    --cyber-primary: #00ffff;
    --cyber-secondary: #ff00ff;
    --cyber-accent: #00ff00;
    --cyber-warning: #ffff00;
    --cyber-danger: #ff0040;
    --cyber-dark: #0a0a0a;
    --cyber-light: #ffffff;
    --cyber-glass: rgba(0, 255, 255, 0.1);
    --cyber-glow: 0 0 20px currentColor;
    --cyber-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    --cyber-grid: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 255, 0.1) 2px, rgba(0, 255, 255, 0.1) 4px);
}

/* ===== HEADER TEMA CYBER ===== */
.contact-page .header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 255, 255, 0.1));
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--cyber-primary);
    box-shadow: var(--cyber-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.contact-page .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyber-grid);
    opacity: 0.3;
    animation: dataTransfer 10s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.contact-page .header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-primary), transparent);
    animation: scanLine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.contact-page .header-content {
    position: relative;
    z-index: 1;
}

.contact-page .logo a {
    color: var(--cyber-primary) !important;
    text-shadow: var(--cyber-glow);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.contact-page .logo a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: hologramFlicker 4s ease-in-out infinite;
    pointer-events: none;
}

.contact-page .logo a:hover {
    color: var(--cyber-accent) !important;
    transform: scale(1.05);
    animation: glitchShake 0.5s ease-in-out;
}

.contact-page .logo img {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.contact-page .logo a:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.8));
    transform: rotateY(10deg);
}

.contact-page .nav-menu a {
    color: var(--cyber-light) !important;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
    padding: 8px 15px;
    border-radius: 5px;
}

.contact-page .nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--cyber-primary), var(--cyber-accent));
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 5px;
}

.contact-page .nav-menu a:hover {
    color: var(--cyber-dark) !important;
    border-color: var(--cyber-primary);
    text-shadow: none;
    transform: translateY(-2px);
}

.contact-page .nav-menu a:hover::before {
    width: 100%;
}

.contact-page .nav-menu a.active {
    color: var(--cyber-dark) !important;
    background: var(--cyber-primary);
    border-color: var(--cyber-accent);
    font-weight: 700;
    box-shadow: var(--cyber-glow);
    animation: circuitPulse 2s ease-in-out infinite;
}

.contact-page .dropdown-menu {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--cyber-primary);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: var(--cyber-shadow);
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
}

.contact-page .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyber-grid);
    opacity: 0.2;
    pointer-events: none;
}

.contact-page .dropdown-menu a {
    color: var(--cyber-light) !important;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s ease;
    position: relative;
}

.contact-page .dropdown-menu a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--cyber-primary) !important;
    transform: translateX(10px);
    text-shadow: var(--cyber-glow);
}

.contact-page .header-actions button,
.contact-page .header-actions a {
    color: var(--cyber-primary) !important;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--cyber-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-page .header-actions button::before,
.contact-page .header-actions a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-page .header-actions button:hover,
.contact-page .header-actions a:hover {
    background: var(--cyber-primary);
    color: var(--cyber-dark) !important;
    transform: scale(1.1);
    box-shadow: var(--cyber-glow);
    border-color: var(--cyber-accent);
}

.contact-page .header-actions button:hover::before,
.contact-page .header-actions a:hover::before {
    left: 100%;
}

.contact-page .cart-count {
    background: var(--cyber-danger) !important;
    color: var(--cyber-light) !important;
    border: 2px solid var(--cyber-primary);
    animation: terminalBlink 2s ease-in-out infinite;
    font-family: 'Share Tech Mono', monospace;
    font-weight: 700;
}

.contact-page .menu-toggle span {
    background: var(--cyber-primary) !important;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--cyber-primary);
}

.contact-page .menu-toggle:hover span {
    background: var(--cyber-accent) !important;
    box-shadow: 0 0 10px var(--cyber-accent);
    animation: glitchShake 0.3s ease-in-out;
}

/* Breadcrumb tema cyber */
.contact-page .breadcrumb {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    border-bottom: 1px solid var(--cyber-primary);
    position: relative;
}

.contact-page .breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyber-grid);
    opacity: 0.1;
    pointer-events: none;
}

.contact-page .breadcrumb a {
    color: var(--cyber-primary) !important;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-page .breadcrumb a:hover {
    color: var(--cyber-accent) !important;
    text-shadow: var(--cyber-glow);
    transform: translateX(3px);
}

/* Animaciones específicas del header cyber */
@keyframes matrixRain {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes hologramFlicker {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

@keyframes dataTransfer {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

@keyframes terminalBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes circuitPulse {
    0%, 100% { box-shadow: 0 0 5px var(--cyber-primary); }
    50% { box-shadow: 0 0 20px var(--cyber-primary), 0 0 30px var(--cyber-accent); }
}

@keyframes glitchShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px) rotateZ(-1deg); }
    20% { transform: translateX(2px) rotateZ(1deg); }
    30% { transform: translateX(-1px) rotateZ(-1deg); }
    40% { transform: translateX(1px) rotateZ(1deg); }
    50% { transform: translateX(-2px) rotateZ(-1deg); }
    60% { transform: translateX(2px) rotateZ(1deg); }
    70% { transform: translateX(-1px) rotateZ(-1deg); }
    80% { transform: translateX(1px) rotateZ(1deg); }
    90% { transform: translateX(-1px) rotateZ(-1deg); }
}