/* ========================================
   ESTILOS PÁGINA DE SERVICIOS PROFESIONALES
   ======================================== */

/* RESET Y CONFIGURACIÓN BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ========================================
   PÁGINA DE SERVICIOS
   ======================================== */

.pagina-servicios {
    min-height: 100vh;
}

/* HEADER SERVICIOS */
.encabezado-servicios {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.contenedor-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}

.logo-servicios a {
    text-decoration: none;
    color: #667eea;
}

.logo-servicios h1 {
    font-size: 2rem;
    font-weight: 700;
}

.menu-servicios {
    display: flex;
    gap: 30px;
}

.enlace-nav {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
}

.enlace-nav:hover {
    background-color: #f0f0f0;
    color: #667eea;
}

.enlace-activo {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #f0f0f0;
}

/* DROPDOWN HERRAMIENTAS */
.dropdown-herramientas {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-herramientas {
    background: transparent;
    border: none;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-herramientas i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.dropdown-herramientas.abierto .btn-herramientas i {
    transform: rotate(180deg);
}

.dropdown-herramientas.dropdown-activo .btn-herramientas {
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
}

.menu-desplegable-herramientas {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 30, 67, 0.12);
    padding: 12px;
    display: none;
    min-width: 230px;
    flex-direction: column;
    gap: 8px;
    z-index: 1200;
}

.dropdown-herramientas.abierto .menu-desplegable-herramientas {
    display: flex;
}

.menu-desplegable-herramientas .item-herramienta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #1a202c;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.menu-desplegable-herramientas .item-herramienta i {
    color: inherit;
}

.menu-desplegable-herramientas .item-herramienta:hover {
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
}

.menu-desplegable-herramientas .item-herramienta.activo {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

@media (max-width: 917px) {
    .dropdown-herramientas {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-herramientas {
        width: 100%;
        justify-content: space-between;
    }

    .menu-desplegable-herramientas {
        position: static;
        box-shadow: none;
        padding: 10px 0;
        background: transparent;
        gap: 10px;
    }

    .dropdown-herramientas.abierto .menu-desplegable-herramientas {
        display: flex;
    }

    .menu-desplegable-herramientas .item-herramienta {
        background: rgba(248, 250, 252, 0.95);
        color: #1a202c;
    }

    .menu-desplegable-herramientas .item-herramienta:hover {
        background: rgba(102, 126, 234, 0.15);
        color: #667eea;
    }
}
.Viive{
    display: flex;
    width: 138px;
    height: 56px;
}

/* HERO SECTION DE SERVICIOS CON IMAGEN DE FONDO */
.hero-servicios {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.imagen-fondo-hero-servicios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imagenes/hombre-fontanero-trabajando-con-el-cliente-para-arreglar-problemas-de-cocina.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.overlay-gradiente-servicios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 2;
}

.contenedor-hero {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.contenedor-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.contenido-hero-servicios {
    max-width: 1000px;
    margin: 0 auto;
}

.titulo-hero-servicios {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.texto-destacado {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitulo-hero-servicios {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.6;
}

.botones-accion-rapida {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.boton-whatsapp-servicios {
    background: #25d366;
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.boton-whatsapp-servicios:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.boton-contacto-servicios {
    background: white;
    color: #667eea;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.boton-contacto-servicios:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.boton-contratistas-servicios {
    background: #ffd700;
    color: #333;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.boton-contratistas-servicios:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* SECCIÓN DE SERVICIOS PRINCIPALES */
.seccion-servicios-principales {
    padding: 100px 0;
    background: white;
}

.contenedor-servicios {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.titulo-seccion {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.subtitulo-seccion {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.grid-servicios-principales {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.tarjeta-servicio-principal {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.imagen-servicio-principal {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px 20px 0 0;
}

.imagen-servicio-principal {
    background-image: url('../imagenes/hombres-de-primer-plano-trabajando-junto-con-taladro.jpg');
}

.imagen-servicio-2 {
    background-image: url('../imagenes/composicion-de-construccion-de-mezcla-de-hombre-de-tiro-completo.jpg');
}

.imagen-servicio-3 {
    background-image: url('../imagenes/hombres-de-primer-plano-trabajando-juntos.jpg');
}

.overlay-imagen-servicio-principal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contenido-servicio-principal {
    padding: 30px 25px;
}

.tarjeta-servicio-principal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.tarjeta-servicio-principal:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.icono-servicio-principal {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
}

.tarjeta-servicio-principal h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.descripcion-servicio {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: justify;
}

.caracteristicas-servicio {
    margin-bottom: 25px;
}
.caracteristicas-servicio-v2{	
    margin-top: 52px;
    margin-bottom: 24px;
}
.caracteristica {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
}

.caracteristica i {
    color: #25d366;
    font-size: 1.1rem;
}

.precio-servicio {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.precio-desde {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.precio-valor {
    color: #25d366;
    font-size: 2rem;
    font-weight: 700;
}

.precio-moneda {
    color: #666;
    font-size: 1rem;
    margin-left: 5px;
}

.botones-servicio {
    display: flex;
    gap: 10px;
}

.boton-cotizar-servicio {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.boton-cotizar-servicio:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.boton-info-servicio {
    background: #f8f9fa;
    color: #667eea;
    padding: 12px 20px;
    border: 2px solid #667eea;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.boton-info-servicio:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* SECCIÓN DE PROCESO DE TRABAJO */
.seccion-proceso-trabajo {
    padding: 100px 0;
    background: #f8f9fa;
}

.contenedor-proceso {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.grid-proceso-trabajo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.paso-proceso {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.paso-proceso:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.numero-paso {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.paso-proceso h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.paso-proceso p {
    color: #666;
    line-height: 1.6;
}

/* SECCIÓN DE TESTIMONIALES DE SERVICIOS */
.seccion-testimoniales-servicios {
    padding: 100px 0;
    background: white;
}

.contenedor-testimoniales {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.grid-testimoniales-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tarjeta-testimonial-servicio {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.tarjeta-testimonial-servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.estrellas-testimonial {
    margin-bottom: 20px;
    color: #ffd700;
    font-size: 1.2rem;
}

.texto-testimonial {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}

.autor-testimonial {
    display: flex;
    align-items: center;
    gap: 15px;
}

.foto-autor {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
}

.info-autor h4 {
    color: #333;
    margin-bottom: 5px;
}

.info-autor span {
    color: #666;
    font-size: 0.9rem;
}

/* SECCIÓN DE CONTACTO PARA SERVICIOS */
.seccion-contacto-servicios {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.contenedor-contacto {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.contenido-contacto-servicios {
    max-width: 100%;
}

.titulo-contacto-servicios {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.texto-contacto-servicios {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.botones-contacto-servicios {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.boton-whatsapp-cotizacion {
    background: #25d366;
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.boton-whatsapp-cotizacion:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.boton-contacto-web-servicios {
    background: white;
    color: #667eea;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.boton-contacto-web-servicios:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* FOOTER SERVICIOS */
.pie-pagina-servicios {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.contenedor-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.info-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.logo-footer h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.logo-footer p {
    color: #ccc;
}

.contacto-footer h4,
.servicios-footer h4 {
    margin-bottom: 15px;
    color: #ffd700;
}

.contacto-footer p,
.servicios-footer p {
    margin-bottom: 8px;
    color: #ccc;
}

.derechos-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* CELULAR: 0px a 420px */
@media (max-width: 420px) {
    .contenedor-header,
    .contenedor-hero,
    .contenedor-servicios,
    .contenedor-proceso,
    .contenedor-testimoniales,
    .contenedor-contacto,
    .contenedor-footer {
        padding: 0 10px;
        width: 100%;
    }

    .Viive{
        width: 100px;
        height: 46px;
    }
    
    .titulo-hero-servicios {
        font-size: 2rem;
        width: 100%;
    }
    
    .titulo-seccion {
        font-size: 1.8rem;
        width: 100%;
    }
    
    .grid-servicios-principales {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .grid-proceso-trabajo {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .grid-testimoniales-servicios {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .botones-contacto-servicios {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .info-footer {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .menu-servicios {
        display: none;
    }
    
    .botones-servicio {
        flex-direction: column;
        width: 100%;
    }
}

/* TABLET: 421px a 917px */
@media (min-width: 421px) and (max-width: 917px) {
    .contenedor-header,
    .contenedor-hero,
    .contenedor-servicios,
    .contenedor-proceso,
    .contenedor-testimoniales,
    .contenedor-contacto,
    .contenedor-footer {
        padding: 0 20px;
        width: 100%;
    }
    
    .titulo-hero-servicios {
        font-size: 2.5rem;
        width: 100%;
    }
    
    .titulo-seccion {
        font-size: 2rem;
        width: 100%;
    }
    
    .grid-servicios-principales {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
    }
    
    .grid-proceso-trabajo {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .grid-testimoniales-servicios {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .info-footer {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .menu-servicios {
        display: flex;
        gap: 20px;
    }
}

/* DESKTOP: 918px en adelante */
@media (min-width: 918px) {
    .contenedor-header,
    .contenedor-hero,
    .contenedor-servicios,
    .contenedor-proceso,
    .contenedor-testimoniales,
    .contenedor-contacto,
    .contenedor-footer {
        padding: 0 20px;
        width: 100%;
        max-width: 1200px;
    }
    
    .titulo-hero-servicios {
        font-size: 3.5rem;
        width: 100%;
    }
    
    .titulo-seccion {
        font-size: 2.5rem;
        width: 100%;
    }
    
    .grid-servicios-principales {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .grid-proceso-trabajo {
        grid-template-columns: repeat(5, 1fr);
        width: 100%;
    }
    
    .grid-testimoniales-servicios {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .info-footer {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .menu-servicios {
        display: flex;
        gap: 30px;
    }
}
