* {
    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);
}

.seccion-imagen-descripcion {
    padding: 2rem;
    margin-top: 3rem;
}

.contenedor-principal {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-principal {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.contenedor-cuadros {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.cuadro-imagen {
    flex: 1;
}

.cuadro-imagen img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.cuadro-descripcion {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.cuadro-descripcion h1 {
    margin-bottom: 1rem;
}

.cuadro-descripcion h3 {
    margin-bottom: 1rem;
}

.cuadro-descripcion p {
    margin: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .contenedor-cuadros {
        flex-direction: column;
    }
}

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

.servicios-prestados .titulo-principal {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor para las cards */
.servicios-prestados .contenedor-principal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Estilos para cada card */
.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 18rem;
    margin: 0 auto;
}

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

/* Estilos para la imagen */
.card-img-top {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid #f0f0f0;
    margin-bottom: 0;
}

/* Estilos para el cuerpo de la card */
.card-body {
    padding: 1.5rem;
    padding-top: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-text {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
}

/* Responsive para móviles - servicios */
@media (max-width: 768px) {
    .servicios-prestados .contenedor-principal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .card {
        max-width: 100%;
    }
}