
/* --- RESET Y ESTILOS GLOBALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9aa29e;
    --secondary-color: #7f8783;
    --accent-color: #bcc3c0;
    --dark-grey: #333333;
    --medium-grey: #555555;
    --light-grey: #f4f4f4;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-grey);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--medium-grey);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* --- HEADER Y NAVEGACIÓN --- */
header {
    background-color: var(--white-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
    max-height: 50px;
    width: auto;
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* --- SECCIÓN HERO --- */
.hero {
    background: linear-gradient(rgba(154,162,158,0.8), rgba(154,162,158,0.8)), url('https://images.unsplash.com/photo-1554224155-1696413565d3?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--white-color);
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* --- NOSOTROS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
}

.valores h3 {
    text-align: center;
    margin-bottom: 30px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.valor {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-weight: 600;
    color: var(--medium-grey);
}

/* --- SERVICIOS --- */
.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.service-text ul {
    list-style: none;
    padding-left: 0;
}

.service-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- CONTACTO --- */
.contact-grid {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 8px;
}

.contact-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info,
.contact-horario {
    text-align: center;
}

.contact-info h3,
.contact-horario h3 {
    margin-bottom: 30px;
}

.contact-info a,
.contact-horario a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover,
.contact-horario a:hover {
    text-decoration: underline;
}

footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    header {
        position: relative;
    }

    nav ul {
        padding-top: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav ul li {
        margin-left: 0;
    }

    .about-grid, .service-content, .contact-two-column {
        grid-template-columns: 1fr;
    }

    .hero {
        height: auto;
        padding: 60px 0;
    }

    .service-content {
        gap: 20px;
    }

    .service-image {
        order: -1;
    }
}
