*{
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #003366; /* Azul marino */
    --secondary-color: #ffffff; /* Blanco */
    --accent-color: #e0f7fa; /* Azul claro para acentos */
    --text-color: #333333;
    --footer-bg: #f8f9fa;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

h1, h2, h3 {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #002244; /* Azul marino más oscuro */
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('https://via.placeholder.com/1500x800/003366/ffffff?text=Limpieza+Profesional') no-repeat center center/cover;
    color: var(--secondary-color);
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 800px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Secciones de Contenido */
section {
    padding: 70px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Sección Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 1rem;
    color: var(--text-color);
}

/* Sección Sobre Nosotros */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Sección Testimonios */
.testimonial-card {
    background-color: var(--accent-color);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-style: italic;
    position: relative;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    text-align: right;
    color: var(--primary-color);
}

/* Sección Contacto */
.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form, .contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Incluye padding y borde en el ancho total */
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p strong {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links li a {
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.9rem;
    color: #666;
    width: 100%;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content, .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}