/* Fuente moderna */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Container para centrar contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header atractivo */
header {
    background: linear-gradient(to right, #000000, #999999);
    color: white;
    padding: 2rem 1rem;
}

.header-container h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding-top: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffdd57;
}

/* Sección introductoria */
.intro-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: white;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #0066ff;
}

.intro-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #00ccff;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #0066ff;
}

/* Servicios */
.services-section {
    padding: 4rem 1rem;
}

.services-section h2 {
    text-align: center;
    color: #0066ff;
    font-size: 2.5rem;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1 1 30%;
    transition: transform 0.3s ease;
}

.card h3 {
    color: #0066ff;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: #ffdd57;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Sección ¿Por qué Diprensa? */
.why-diprensa {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: white;
    padding: 4rem 1rem;
}

.image-container {
    flex: 1;
}

.info-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.content-container {
    flex: 2;
}

.cards-container.compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Clientes */
.clients-section {
    background-color: #f8f9fa;
    text-align: center;
    padding: 4rem 1rem;
}

.clients-section h2 {
    color: #0066ff;
}

.clients-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.client-logo {
    max-width: 150px;
    opacity: 0.8;
}

.client-logo:hover {
    opacity: 1;
}

/* Contacto */
.contact-section {
    text-align: center;
    padding: 4rem 1rem;
}

.contact-section form input,
.contact-section form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-section form button {
    background-color: #00ccff;
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 1rem;
}

/* Responsividad */
@media (max-width: 768px) {
    .why-diprensa {
        flex-direction: column;
    }

    .cards-container.compact {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
    }
}

.service-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
}

.features-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.features-list li {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #0066ff;
    font-weight: 600;
    text-align: center;
}

/* Contact details and map layout */
.contact-flex {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
}

.contact-info, .map-container {
    flex: 1;
}

@media (max-width: 768px) {
    .contact-flex {
        flex-direction: column;
    }
}