/* --- 1. CONFIGURACIÓN GLOBAL Y RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 900; /* Coincide con el grosor del diseño */
}

section {
    padding: 6rem 0;
}

/* --- 2. HEADER (BARRA DE NAVEGACIÓN) --- */
.header {
    background-color: #000000;
    color: #ffffff;
    padding: 1.5rem 0;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-weight: 900;
    font-size: 1.5rem;
}

.header nav ul {
    display: flex;
}

.header nav ul li {
    margin-left: 2rem;
    font-weight: 700;
}

/* --- 3. HERO (PORTADA) --- */
.hero {
    min-height: 450px;
    padding-top: 8rem; /* Espacio para el header */
    
    /* El usuario pondrá su imagen de fondo aquí */
    background-color: #7abed4; /* Color de fondo de reserva */
    background-image: linear-gradient(90deg, #6bb8d4, #81c784); /* Degradado similar al de la foto */

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-dark {
    background-color: #333;
    color: #fff;
}
.btn-dark:hover {
    background-color: #555;
}

.btn-light {
    background-color: #f4f4f4;
    color: #333;
}
.btn-light:hover {
    background-color: #ddd;
}

/* --- 4. SECCIÓN DE INFORMACIÓN --- */
.info {
    background-color: #fff;
}

.info h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-image {
    width: 100%;
    height: 300px;
    background-image:url('https://img.freepik.com/free-photo/beautiful-shot-snowy-mountain-sunset_181624-37878.jpg'); /* Color de relleno temporal */
    border-radius: 10px;
    /* El usuario pondrá su imagen de fondo aqui */
    /* background: url('tu-imagen.jpg') center/cover; */
}

.info-text h3 {
    font-size: 2rem;
}

/* --- 5. SECCIÓN DE EQUIPO --- */
.team {
    background-color: #fcfcfc; /* Un fondo muy ligeramente gris */
}

.team-member {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

.team-member:last-child {
    margin-bottom: 0;
}

.member-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Colores de relleno temporales como en tu diseño */
.placeholder-1 { background-color: #d4e9e2; }
.placeholder-2 { background-color: #e3d8e3; }


.member-text h3 {
    font-size: 2rem;
}

.member-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-text strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #000;
}

.member-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.member-text ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #888;
}

/* --- 6. FOOTER (PIE DE PÁGINA) --- */
.footer {
    background-color: #ffffff;
    color: #555;
    padding: 4rem 0;
    border-top: 1px solid #eee;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer .logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: #000;
}

.footer-brand p {
    margin-top: 0.5rem;
    max-width: 250px;
}

.footer-links strong {
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

/* --- 7. DISEÑO RESPONSIVE (MÓVIL) --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Apilar columnas en móvil */
    .info-grid,
    .team-member {
        grid-template-columns: 1fr;
    }

    /* Asegura que la imagen siempre vaya primero en móvil */
    .team-member.reverse .member-image {
        grid-row: 1;
    }
    .team-member.reverse .member-text {
        grid-row: 2;
    }

    .footer .container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .footer-brand p {
        margin: 0.5rem auto 0;
    }
}