/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ajuste para contenido principal */
body {
    padding-top: 80px; /* Altura del header */
}

/* Encabezado */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    gap: 0.5rem;
}

.logo img {
    height: 52px;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title-wrapper h1 {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

.slogan {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* Logo y título */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo img {
    height: 52px; /* 40px + 30% = 52px */
    margin-right: 1rem;
}

.title-wrapper {
    margin-left: 1rem;
}

.title-wrapper h1 {
    font-size: 1.5rem;
    margin: 0;
}

.slogan {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0 0;
}

/* Menú de navegación */
.main-nav {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 3rem;
    background: linear-gradient(120deg, #0073e6 70%, #005bb5 100%);
    color: #fff;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Botón de inicio */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hero-btn-home {
    background: #fff;
    color: #005bb5;
    border: 2px solid #fff;
}

.hero-btn-home:hover {
    background: #005bb5;
    color: #fff;
    border-color: #005bb5;
}

/* Contenido principal */
.legal-content {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
}

.legal-content h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: #007bff;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.legal-content p {
    margin: 1rem 0;
    line-height: 1.8;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    text-align: left;
}

.legal-content li {
    margin: 0.5rem 0;
    text-align: left;
}

.legal-content strong {
    color: #007bff;
}

.legal-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Botón de volver */
.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.back-to-home .btn {
    background: #007bff;
    color: #fff;
}

.back-to-home .btn:hover {
    background: #005bb5;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-info, .footer-hours, .footer-social {
    text-align: center;
}

.footer-info h3, .footer-hours h3, .footer-social h3 {
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-info p {
    margin: 0.5rem 0;
    text-align: center;
}

.footer-info i {
    color: #007bff;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.footer-social .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.social-links a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s;
    display: inline-block;
    padding: 0.5rem;
}

.social-links a:hover {
    color: #007bff;
}

.social-links i {
    transition: transform 0.3s;
}

.social-links a:hover i {
    transform: scale(1.2);
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

/* Botón de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #2196F3;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 2rem 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
}
