
.servicios-header {
    text-align: center;
    padding: 100px 20px 60px 20px;
    
}

.servicios-header h1 {
    font-size: 60px;
    font-weight: 700;
    color: #0f1b2d;
}

.servicios-header h1 span {
    color: #d88900; 
}

.servicios-header p {
    max-width: 850px;
    margin: 20px auto;
    font-size: 20px;
    line-height: 1.6;
    color: #3d4a5d;
}

.servicios-header::after {
    content: "";
    display: block;
    width: 90px;
    height: 5px;
    background: #d88900;
    margin: 30px auto 0 auto;
    border-radius: 5px;
}
.servicios-container {
    width: 90%;
    margin: 80px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}
.servicio-bloque {
    
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.servicio-bloque:hover {
    transform: translateY(-8px);
}
.servicio-imagen {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servicio-imagen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}
.servicio-imagen h3 {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 26px;
    font-weight: 600;
    z-index: 2;
}

.servicio-imagen h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #d88900;
    margin-top: 10px;
    border-radius: 4px;
}
.servicio-contenido {
    padding: 30px;
}

.descripcion-principal {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

.lista-detalle {
    list-style: none;
    padding: 0;
}

.lista-detalle li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #2d3748;
}

.lista-detalle li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #d88900;
    border-radius: 50%;
}

.servicio-contenido {
    padding: 30px;
}

.descripcion-principal {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

.lista-detalle {
    list-style: none;
    padding: 0;
}

.lista-detalle li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #2d3748;
}

.lista-detalle li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #d88900;
    border-radius: 50%;
}
.servicio-bloque {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.servicio-bloque:hover {
    transform: translateY(-8px); /* brillo dorado */
    border: 1px solid #f4b400;
}
.servicio-imagen h3 {
    transition: 0.4s ease;
}

.servicio-bloque:hover .servicio-imagen h3 {
    color: #ffd27a; /* dorado más claro */
}
.servicio-imagen::after {
    content: "";
    position: absolute;
    inset: 0;
    transition: 0.4s ease;
   
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0));
}


.servicio-imagen img {
    transition: 0.4s ease;
}

.servicio-bloque:hover .servicio-imagen img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Ensure hamburger menu is visible on small screens */
@media (max-width: 768px) {
    header {
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 1000;
    }

    .menu {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .menu > .menu-label {
        display: flex !important;
        flex-direction: column !important;
        order: 3 !important;
        z-index: 101 !important;
        cursor: pointer !important;
        padding: 10px !important;
        gap: 5px !important;
    }

    .menu > .menu-label .hamburger {
        display: block !important;
        width: 28px !important;
        height: 2.5px !important;
        background: white !important;
        border-radius: 2px !important;
        margin: 5px 0 !important;
        transition: all 0.3s ease !important;
    }

    .menu > .menu-label .hamburger::before,
    .menu > .menu-label .hamburger::after {
        content: '' !important;
        display: block !important;
        width: 100% !important;
        height: 2.5px !important;
        background: white !important;
        border-radius: 2px !important;
        margin: 5px 0 !important;
        transition: all 0.3s ease !important;
    }

    .servicios-header {
        text-align: center;
        padding: 40px 20px;
        margin-top: 60px;
    }

    .servicios-header h1 {
        font-size: 2em;
    }

    .servicios-container {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px auto;
    }

    .servicio-bloque {
        border-radius: 15px;
    }

    .servicio-imagen {
        height: 250px;
    }

    .servicio-contenido {
        padding: 20px;
    }

    .descripcion-principal {
        font-size: 14px;
    }
}