/* Variables CSS para facilitar la personalización */
:root {
    --primary-color: #EF4444;
    --primary-hover: #DC2626;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --card-radius: 1rem;
    --transition: all 0.3s ease;
}

/* Reset y estilos base necesarios para navbar y footer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header y Navegación */
header {
    background-color: var(--bg-white);
}

nav {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    width: 50px;
    height: 50px;
    background: #ef4444;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-text-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: none;
}

.nav-links a {
    margin-left: 2rem;
    color: var(--text-medium);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #1F2937;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 1.125rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #9CA3AF;
    font-size: 1.125rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    color: #9CA3AF;
    font-size: 1.125rem;
}

/* Media Queries para Responsividad */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}




/* Footer */
.footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--text-medium);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mejoras de accesibilidad para el footer */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Responsive para el footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ------ MEDIA QUERIES GENERALES ------ */
@media (min-width: 768px) {
    :root {
        --section-spacing: 120px;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-spacing: 150px;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}