/* style.css (Versión Actualizada) */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Blanco */
    color: #000000; /* Negro */
    line-height: 1.6;
    scroll-behavior: smooth; /* Para un desplazamiento suave */
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 10px 20px;
}

header {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
}

header h1 {
    margin: 0;
    color: #000000;
    font-size: 2rem;
}

header h1 span {
    color: #489fb5; /* Color principal */
}

nav {
    display: flex;
    justify-content: center;
    background: #000000;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    background-color: #489fb5;
    border-radius: 5px;
}

.hero {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #489fb5;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3a8a9e;
}

section {
    padding: 60px 0;
    text-align: center;
}

section h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.service-card {
    background: #f4f4f4;
    padding: 30px;
    border-radius: 10px;
}

.service-card h4 {
    color: #489fb5;
    font-size: 1.4rem;
    margin-top: 0;
}

#about {
    background-color: #f4f4f4;
    margin-bottom: 10px;
    padding: 0 0 0 0px;
    border-radius: 15px;
    padding-bottom: 20px;
}

/* --- NUEVO: Estilos para Testimonios --- */

#testimonials {
    margin-bottom: 10px;
    padding: 0 0 0 0px;
    border-radius: 15px;
    padding-bottom: 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}
.testimonial-card {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.testimonial-card p {
    font-style: italic;
}
.testimonial-card .author {
    font-weight: bold;
    color: #489fb5;
    margin-top: 15px;
    text-align: right;
}

/* --- NUEVO: Estilos para Formulario de Contacto --- */
#contact {
    background-color: #ffffff;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}
.contact-info p {
    font-size: 1.1rem;
    margin: 10px 0;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Importante para el padding */
}
.contact-form button {
    width: auto;
    padding: 12px 25px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}
.contact-form button:hover {
    background-color: #489fb5;
}

footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}
footer a {
    color: #489fb5;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* --- NUEVO: Estilos para hacer la página responsiva --- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-info {
        margin-bottom: 30px;
    }
    nav {
        flex-direction: column;
    }
}