/* Reset básico y tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & Navegación */
header {
    background: #111827;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #2563eb;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #2563eb;
}

.btn-nav {
    background: #2563eb;
    padding: 8px 16px;
    border-radius: 5px;
    color: white !important;
}

.btn-nav:hover {
    background: #1d4ed8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #94a3b8;
}

.btn-primary {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* Servicios */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0f172a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Nosotros */
.about {
    background: #e2e8f0;
    padding: 60px 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 15px;
    color: #0f172a;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    color: #334155;
    font-size: 1.1rem;
}

/* Contacto */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
/* Estilos para el Footer con Redes Sociales */
footer {
    background: #0f172a; /* Este es el color actual (Azul oscuro / Pizarra) */
    color: #94a3b8;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
   
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    color: #7a8da8;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #2563eb;
    transform: translateY(-3px);
}

/* Color especial de WhatsApp al pasar el cursor */
.social-links a.whatsapp:hover {
    color: #25d366;
}

/* Ajuste responsivo */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}