/* 1. RESET Y VARIABLES RETRO-MODERNO */
:root {
    /* Paleta Retro-Moderna */
    --primary: #2C3E50;
    --primary-light: #34495E;
    --secondary: #7F8C8D;
    --accent: #E74C3C;
    --accent-dark: #C0392B;
    --light: #ECF0F1;
    --dark: #2C3E50;
    --gray: #95A5A6;
    --success: #27AE60;
    
    /* Efectos Retro */
    --retro-border: 2px solid #2C3E50;
    --retro-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    --retro-shadow-sm: 2px 2px 0 rgba(0, 0, 0, 0.1);
    
    /* Tipografía */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;
    --font-mono: 'Courier New', monospace;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: 
        linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
        linear-gradient(#eee .1em, transparent .1em);
    background-size: 100% 1.2em;
}

/* 2. CONTAINER RETRO-MODERNO */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* 3. HEADER RETRO-MODERNO FIJO */
.header {
    background-color: #2C3E50;
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 3px solid #E74C3C;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E74C3C, #F39C12, #27AE60, #3498DB, #E74C3C);
    background-size: 200% 100%;
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 4. LOGO RETRO-MODERNO */
.card-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: #34495E;
    border-radius: 4px;
    border: var(--retro-border);
    text-decoration: none;
    max-width: 280px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--retro-shadow-sm);
    transition: all 0.3s ease;
}

.card-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #E74C3C;
}

.card-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--retro-shadow);
    background: #2C3E50;
}

.logo-visual {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: white;
    border-radius: 4px;
    border: 2px solid #E74C3C;
    padding: 3px;
    position: relative;
}

.logo-visual::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.nav-logo {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    object-fit: cover;
    display: block;
    filter: sepia(0.3) contrast(1.1);
}

.logo-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-primary {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-secondary {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #BDC3C7;
    margin-top: 2px;
    letter-spacing: 2px;
}

/* 5. MENÚ RETRO-MODERNO MEJORADO */
.menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: white;
    background: #34495E;
    border: 2px solid #E74C3C;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: var(--retro-shadow-sm);
    position: relative;
    overflow: hidden;
}

.menu-toggle::before {
    content: '☰';
    position: absolute;
}

.menu-toggle.active::before {
    content: '✕';
}

.menu-toggle:hover {
    background: #E74C3C;
    transform: scale(1.05);
}

.nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #2C3E50;
    flex-direction: column;
    padding: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
    border-top: 2px solid #E74C3C;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.nav-menu.active {
    display: flex;
    max-height: 500px;
    padding: 20px 0;
}

.nav-menu li {
    width: 100%;
    text-align: center;
    position: relative;
}

/* ENLACES DEL MENÚ PRINCIPAL - MEJOR CONTRASTE */
.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: #E74C3C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.nav-link.active {
    background: #E74C3C;
    color: white;
    border: 2px solid white;
}

/* 6. HERO RETRO-MODERNO */
.hero {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #E74C3C;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(44, 62, 80, 0.9);
    border: 2px solid #E74C3C;
    border-radius: 8px;
    box-shadow: var(--retro-shadow);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    padding: 0 20px;
    line-height: 1.2;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #E74C3C;
}

.hero p {
    font-size: 1.2rem;
    padding: 0 20px;
    margin: 2rem auto 3rem;
    line-height: 1.6;
    color: #BDC3C7;
    max-width: 600px;
    font-family: var(--font-body);
}

/* 7. BOTONES RETRO-MODERNOS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #E74C3C;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 0;
    border: 2px solid #C0392B;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px;
    font-size: 1rem;
    min-width: 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--retro-shadow-sm);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
    background-color: #C0392B;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #7F8C8D;
    color: #7F8C8D;
}

.btn-secondary:hover {
    background-color: #7F8C8D;
    color: white;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    width: 100%;
    margin-top: 3rem;
}

.cta-buttons .btn {
    width: 100%;
    max-width: 300px;
}

/* BOTONES DE CONTACTO EN EL FOOTER (WhatsApp, llamar, email) */
.cta-buttons .btn {
    background: #E74C3C;
    color: white;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.cta-buttons .btn:hover {
    background: #C0392B;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.4);
}

/* ENLACES DEL WHATSAPP DIRECTO */
.whatsapp-direct .btn.whatsapp-btn {
    background: #25D366;
    color: white;
    font-weight: 700;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
}

.whatsapp-direct .btn.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-direct .btn.whatsapp-btn i {
    font-size: 1.5rem;
}

/* 8. FORMULARIO RETRO-MODERNO */
.contact-grid {
    display: block;
    width: 100%;
    padding: 60px 20px;
    background: white;
}

.contact-details,
.contact-form-container {
    width: 100%;
    padding: 30px;
    margin-bottom: 30px;
    background: white;
    border-radius: 0;
    border: var(--retro-border);
    box-shadow: var(--retro-shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.contact-details::before,
.contact-form-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: -5px;
    bottom: -5px;
    background: #ECF0F1;
    z-index: -1;
    border: 1px solid #BDC3C7;
}

.contact-details:hover,
.contact-form-container:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--retro-shadow);
}

.contact-details {
    background: #2C3E50;
    color: white;
    border-color: #E74C3C;
}

.contact-details::before {
    background: #34495E;
    border-color: #E74C3C;
}

.contact-details h2,
.contact-details h3 {
    color: white;
}

.contact-details p,
.contact-details a {
    color: #ECF0F1;
}

.contact-details a:hover {
    color: #E74C3C;
}

.form-row {
    display: block;
    width: 100%;
}

.form-group {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #2C3E50;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.form-control {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #BDC3C7;
    border-radius: 0;
    transition: all 0.3s ease;
    background: white;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: #E74C3C;
    background: #FFF9F8;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-control::placeholder {
    color: #95A5A6;
    font-style: italic;
    font-family: var(--font-mono);
}

/* REDES SOCIALES - VERSIÓN MEJORADA Y MÁS GRANDE */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.social-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2C3E50;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid #E74C3C;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.social-icon i {
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Efecto hover para todos los iconos */
.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(231, 76, 60, 0.4);
    border-color: white;
}

/* Efecto de brillo mejorado */
.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.social-icon:hover::before {
    width: 150%;
    height: 150%;
    border-radius: 0;
}

/* Colores específicos por plataforma más vibrantes */
.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
    border-color: #d62976;
}

.social-icon.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-icon.tiktok:hover {
    background: #000000;
    border-color: #00f2ea;
}

.social-icon.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

/* Tooltip mejorado */
.social-icon::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #E74C3C;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 20;
}

.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

/* 9. SCROLL TO TOP RETRO */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #E74C3C;
    color: white;
    border: 2px solid #C0392B;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--retro-shadow-sm);
    font-family: var(--font-mono);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--retro-shadow);
    background: #C0392B;
}

/* 10. FOOTER RETRO-MODERNO MEJORADO */
.site-footer {
    background: linear-gradient(135deg, #2C3E50 0%, #1a2632 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    border-top: 4px solid #E74C3C;
    margin-top: 50px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #E74C3C,
        #E74C3C 20px,
        #C0392B 20px,
        #C0392B 40px
    );
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Logo en el footer */
.footer-logo {
    grid-column: span 1;
    text-align: left;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    border-color: #E74C3C;
    background: rgba(231, 76, 60, 0.1);
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #E74C3C;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

.footer-logo h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
    font-family: var(--font-heading);
}

.footer-logo p {
    color: #BDC3C7;
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

/* Secciones del footer */
.footer-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-section:hover {
    border-color: rgba(231, 76, 60, 0.5);
    background: rgba(231, 76, 60, 0.05);
    transform: translateY(-2px);
}

/* Títulos del footer más visibles */
.footer-section h4 {
    color: #E74C3C;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(231, 76, 60, 0.5);
    font-family: var(--font-heading);
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #E74C3C;
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 100px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 15px;
    color: #ECF0F1;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LINKS DEL FOOTER - MEJOR CONTRASTE */
.footer-section ul li a {
    color: #ECF0F1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 500;
    font-size: 1rem;
    border-left: 3px solid transparent;
    width: 100%;
}

.footer-section ul li a i {
    width: 24px;
    color: #E74C3C;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    background: rgba(231, 76, 60, 0.25);
    transform: translateX(8px);
    border-left: 3px solid #E74C3C;
}

.footer-section ul li a:hover i {
    transform: scale(1.2);
    color: white;
}

/* Información de contacto (no links) más visible */
.footer-section ul li i.fa-phone,
.footer-section ul li i.fa-envelope,
.footer-section ul li i.fa-map-marker-alt {
    color: #E74C3C;
    font-size: 1.2rem;
    width: 24px;
}

/* Pie de página inferior */
.footer-bottom {
    grid-column: span 4;
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #95A5A6;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom span {
    color: #E74C3C;
    font-weight: bold;
}

/* Animación para el footer */
@keyframes footerGlow {
    0% { box-shadow: 0 0 0 rgba(231, 76, 60, 0); }
    50% { box-shadow: 0 0 20px rgba(231, 76, 60, 0.3); }
    100% { box-shadow: 0 0 0 rgba(231, 76, 60, 0); }
}

.footer-logo img {
    animation: footerGlow 3s infinite;
}

/* 11. MEDIA QUERIES RETRO-MODERNAS */

/* Tablets (768px+) */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
        max-width: 720px;
    }
    
    .nav-container {
        height: 80px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        max-height: none;
        width: auto;
        gap: 5px;
        border: none;
        box-shadow: none;
    }
    
    .nav-menu li {
        width: auto;
    }
    
    .nav-link {
        padding: 10px 20px;
        width: auto;
        border: none;
        border-radius: 4px;
        border: 1px solid transparent;
    }
    
    .nav-link::before {
        content: '';
        left: auto;
        right: -10px;
        opacity: 0;
        color: #E74C3C;
    }
    
    .nav-link:hover {
        background: #34495E;
        padding-left: 20px;
        border: 1px solid #E74C3C;
    }
    
    .nav-link:hover::before {
        content: '◼';
        opacity: 1;
        right: 10px;
        left: auto;
    }
    
    .hero {
        padding: 120px 0 80px;
        margin-top: 0;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-buttons .btn {
        width: auto;
        min-width: 180px;
    }
    
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* Versión para móviles */
    @media (max-width: 767px) {
        .nav-link {
            color: white;
            font-weight: 600;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        
        .nav-link:hover {
            background: #E74C3C;
        }
        
        .social-icons {
            justify-content: center;
        }
        
        .social-icon {
            width: 80px;
            height: 80px;
        }
        
        .social-icon i {
            font-size: 2.5rem;
        }
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-content {
        padding: 60px;
    }
    
    .footer-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Desktop grande (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        padding: 12px 25px;
    }
}

/* Media queries para responsive del footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        grid-column: span 1;
    }
    
    .footer-logo,
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul li a {
        justify-content: center;
    }
    
    .footer-section ul li {
        justify-content: center;
    }
}

/* 12. ELEMENTOS RETRO ESPECIALES */
.retro-border {
    border: 2px solid #2C3E50;
    position: relative;
}

.retro-border::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #BDC3C7;
    z-index: -1;
}

.pixel-grid {
    background-image: 
        linear-gradient(#BDC3C7 1px, transparent 1px),
        linear-gradient(90deg, #BDC3C7 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 13. FIXES PARA MÓVILES */
@media (max-width: 767px) {
    input, select, textarea {
        font-size: 16px !important;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* 14. UTILIDADES RETRO */
.text-retro {
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.text-serif {
    font-family: var(--font-heading);
}

.accent-border {
    border-bottom: 3px solid #E74C3C;
}

.accent-text {
    color: #E74C3C;
}