/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #ffffff, #ecefa6, #f5bfc1);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
  
    
}

.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    left: 2rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.logo h2 {
    color: #333;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

/* Menú móvil (oculto por defecto) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .btn-contacto {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 2rem;
    }
    
    .nav-menu {
        display: none; /* Se mostrará con JavaScript */
    }
    
    .logo {
        position: static;
        left: auto;
    }
    
    .navbar {
        justify-content: space-between;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
}

/* Botón de contacto */
.btn-contacto {
    background-color: #8B4513;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    margin: 0 auto;
    position: absolute;
    right: 2rem;
}

.btn-contacto:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(238, 249, 170, 0.4);
}





/* Estilos para la sección portafolio */
.portafolio-seccion {
    padding: 2rem;
    margin-top: 3rem;
}

.titulo-Portafolio {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilos para el contenido de nosotros (layout de dos columnas) */
.nosotros-contenido {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-items: stretch;
}

.nosotros-texto {
    flex: 1;
}

.nosotros-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.nosotros-parrafo {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.nosotros-estadisticas {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: stretch;
    min-height: 100%;
}

.estadistica-box {
    background-color: transparent;
    color: white;
    padding: 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: none;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    aspect-ratio: 1 / 1;
    max-width: 100%;
}

.estadistica-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    border-radius: 12px;
    display: block;
}

.estadistica-numero {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.estadistica-texto {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .nosotros-contenido {
        flex-direction: column;
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .nosotros-titulo {
        font-size: 2rem;
    }
    
    .nosotros-parrafo {
        font-size: 1rem;
    }
    
    .estadistica-numero {
        font-size: 2.5rem;
    }
    
    .estadistica-texto {
        font-size: 0.8rem;
    }
}