/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    overflow-x: hidden;
    background-color: #0a0a14;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Video de fondo */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.45);
    pointer-events: none;
    z-index: 1;
}

body > * {
    position: relative;
    z-index: 2;
}

/* HEADER */
header {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 18px 36px;
    position: sticky;
    top: 0;
    z-index: 120;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

header.scrolled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
}

.header-logo a {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.hl-1 {
    color: #a8ff00;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.header-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: #a8ff00;
}

/* MAIN CONTENT */
main.content-page {
    flex: 1;
    padding: 80px 20px;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff, #a8ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Content */
.contact-content {
    animation: fadeIn 0.8s ease-out;
}

.contact-intro {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 40px;
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(168, 255, 0, 0.2);
    border-radius: 12px;
    padding: 32px;
    animation: slideInLeft 0.6s ease-out;
}

.contact-info {
    padding: 32px;
    animation: slideInRight 0.6s ease-out;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #a8ff00;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 255, 0, 0.2);
    color: #e0e0e0;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a8ff00;
    background: rgba(168, 255, 0, 0.05);
    box-shadow: 0 0 20px rgba(168, 255, 0, 0.3);
}

.contact-form button {
    width: 100%;
}

.contact-info h2 {
    font-size: 22px;
    color: #a8ff00;
    margin-bottom: 24px;
}

.info-item {
    margin-bottom: 32px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(168, 255, 0, 0.1);
    transition: all 0.2s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    padding-left: 8px;
}

.info-item h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 16px;
}

.info-item p,
.info-item a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
}

.info-item a:hover {
    color: #a8ff00;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.22s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #a8ff00;
    color: #000;
}

.btn-primary:hover {
    filter: brightness(1.03);
    box-shadow: 0 0 28px rgba(168, 255, 0, 0.25);
}

/* FOOTER */
footer {
    background: rgba(10, 10, 20, 0.95);
    color: #e0e0e0;
    padding: 36px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: auto;
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

footer.scrolled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-section h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #a8ff00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    margin-bottom: 8px;
}

.social-links a,
.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.18s ease;
}

.social-links a:hover,
.footer-section a:hover {
    color: #a8ff00;
}

.footer-bottom {
    max-width: 1200px;
    margin: 18px auto 0;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 880px) {
    .page-content h1 { font-size: 36px; }
    header { flex-direction: column; gap: 20px; }
    .header-nav ul { gap: 18px; }
    .contact-container { grid-template-columns: 1fr; }
    .contact-form,
    .contact-info {
        animation: slideInUp 0.6s ease-out;
    }
    .footer-content { grid-template-columns: 1fr; gap: 18px; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}