/* servicios.css - Estilos con paleta optimizada para empresa de limpieza */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #F8FCFF; /* Fondo blanco-azul muy claro para sensación de limpieza */
}

/* Main Section */
.servicios-main {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(159, 205, 241, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Hero Section - Alto Impacto con Azul Fuerte */
.servicios-hero {
    text-align: center;
    padding: 100px 40px 60px;
    background: linear-gradient(135deg, #064B90 0%, #0393D5 100%);
    position: relative;
    overflow: hidden;
}

.servicios-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(103, 192, 240, 0.3), transparent 60%);
    pointer-events: none;
}

.servicios-hero h1 {
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(7, 14, 60, 0.4);
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: 1px;
}

.servicios-hero p {
    font-size: 1.2rem;
    color: #9FCDF1;
    text-shadow: 1px 1px 3px rgba(7, 14, 60, 0.3);
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Sección de Servicio - Fondo Limpio y Fresco */
.servicio-section {
    padding: 80px 40px;
    background: #FFFFFF;
    border-bottom: 2px solid #9FCDF1;
}

.servicio-section:nth-child(even) {
    background: linear-gradient(135deg, rgba(159, 205, 241, 0.08) 0%, rgba(103, 192, 240, 0.05) 100%);
}

.servicio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
}

/* Contenido del servicio */
.servicio-content {
    padding: 20px;
}

.servicio-content h2 {
    font-size: 2.5rem;
    color: #064B90; /* Azul fuerte para títulos - Alto impacto */
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(3, 147, 213, 0.2);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.servicio-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #12B3E3 0%, #67C0F0 100%); /* Azul brillante a claro */
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(18, 179, 227, 0.4);
}

.servicio-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #070E3C; /* Texto oscuro para legibilidad en fondo claro */
    margin-bottom: 20px;
    font-weight: 400;
}

/* Lista de características */
.servicio-features {
    list-style: none;
    margin-top: 25px;
    padding: 0;
}

.servicio-features li {
    font-size: 1.1rem;
    color: #064B90;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(159, 205, 241, 0.15) 0%, rgba(103, 192, 240, 0.1) 100%);
    border-radius: 8px;
    border-left: 4px solid #12B3E3;
    transition: all 0.3s ease;
}

.servicio-features li:hover {
    background: linear-gradient(135deg, rgba(18, 179, 227, 0.15) 0%, rgba(103, 192, 240, 0.15) 100%);
    border-left-color: #0393D5;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(18, 179, 227, 0.2);
}

.servicio-features i {
    color: #12B3E3; /* Azul brillante para iconos */
    font-size: 1.3rem;
    text-shadow: 0 0 8px rgba(18, 179, 227, 0.4);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Imagen del servicio */
.servicio-imagen {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow:
        0 10px 40px rgba(6, 75, 144, 0.2),
        0 0 0 1px rgba(18, 179, 227, 0.1);
    border: 4px solid #9FCDF1; /* Azul claro para marco fresco */
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #9FCDF1 0%, #67C0F0 100%);
}

.servicio-imagen:hover {
    border-color: #12B3E3; /* Azul brillante al hover */
    box-shadow:
        0 15px 50px rgba(18, 179, 227, 0.3),
        0 0 30px rgba(103, 192, 240, 0.4),
        0 0 0 1px #12B3E3;
    transform: translateY(-8px) scale(1.02);
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    min-height: 400px;
    max-height: 500px;
}

.servicio-imagen:hover img {
    transform: scale(1.08);
}

/* Overlay sutil para efecto fresco */
.servicio-imagen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 179, 227, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.servicio-imagen:hover::before {
    opacity: 1;
}

/* Sección invertida (imagen a la izquierda) */
.servicio-reverse .servicio-container {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.servicio-reverse .servicio-content,
.servicio-reverse .servicio-imagen {
    direction: ltr;
}

/* Badge de "Limpieza Profesional" - Opcional */
.servicio-badge {
    display: inline-block;
    background: linear-gradient(135deg, #12B3E3 0%, #67C0F0 100%);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(18, 179, 227, 0.3);
}

/* ========================================
   SECCIÓN ¿CÓMO TRABAJAMOS?
======================================== */

.como-trabajamos-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(6, 75, 144, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-top: 3px solid #12B3E3;
}

.como-trabajamos-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.como-trabajamos-title {
    font-size: 2.8rem;
    color: #064B90;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(3, 147, 213, 0.2);
    position: relative;
    padding-bottom: 20px;
}

.como-trabajamos-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #12B3E3 0%, #67C0F0 100%);
    border-radius: 3px;
}

.como-trabajamos-intro {
    font-size: 1.15rem;
    color: #070E3C;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Items de trabajo */
.como-trabajamos-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.trabajo-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: linear-gradient(135deg, rgba(159, 205, 241, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #12B3E3;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.trabajo-item:hover {
    transform: translateX(10px);
    border-left-color: #0393D5;
    background: linear-gradient(135deg, rgba(18, 179, 227, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 25px rgba(18, 179, 227, 0.2);
}

.trabajo-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #12B3E3 0%, #67C0F0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(18, 179, 227, 0.3);
    transition: all 0.3s ease;
}

.trabajo-item:hover .trabajo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(18, 179, 227, 0.5);
}

.trabajo-icon i {
    font-size: 32px;
    color: #FFFFFF;
}

.trabajo-content p {
    font-size: 1.05rem;
    color: #070E3C;
    line-height: 1.7;
    margin: 0;
}

/* Footer de la sección */
.como-trabajamos-footer {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(6, 75, 144, 0.08) 0%, rgba(18, 179, 227, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid #9FCDF1;
}

.footer-text {
    font-size: 1.25rem;
    color: #064B90;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Botón de contacto */
.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #12B3E3 0%, #0393D5 100%);
    color: #FFFFFF;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(18, 179, 227, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contacto:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(18, 179, 227, 0.6);
    background: linear-gradient(135deg, #0393D5 0%, #064B90 100%);
}

.btn-contacto i {
    font-size: 1.3rem;
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .como-trabajamos-section {
        padding: 60px 20px;
    }

    .como-trabajamos-title {
        font-size: 2rem;
    }

    .como-trabajamos-intro {
        font-size: 1rem;
        text-align: center;
    }

    .trabajo-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }

    .trabajo-icon {
        width: 60px;
        height: 60px;
    }

    .trabajo-icon i {
        font-size: 28px;
    }

    .trabajo-content p {
        font-size: 0.95rem;
    }

    .como-trabajamos-footer {
        padding: 30px 20px;
    }

    .footer-text {
        font-size: 1.1rem;
    }

    .btn-contacto {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .como-trabajamos-title {
        font-size: 1.6rem;
    }

    .footer-text {
        font-size: 1rem;
    }

    .btn-contacto {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .servicio-container,
    .servicio-reverse .servicio-container {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }

    .servicio-content h2 {
        font-size: 2rem;
    }

    .servicio-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        background-color: #FFFFFF;
    }

    .servicios-hero {
        padding: 80px 20px 40px;
    }

    .servicios-hero h1 {
        font-size: 2rem;
    }

    .servicios-hero p {
        font-size: 1rem;
    }

    .servicio-section {
        padding: 60px 20px;
    }

    .servicio-content {
        padding: 10px;
    }

    .servicio-content h2 {
        font-size: 1.8rem;
    }

    .servicio-content h2::after {
        width: 80px;
        height: 4px;
    }

    .servicio-content p {
        font-size: 0.95rem;
    }

    .servicio-features li {
        font-size: 1rem;
        padding: 10px 12px;
    }

    .servicio-imagen {
        border-width: 3px;
        border-radius: 15px;
    }

    .servicio-imagen img {
        min-height: 300px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .servicios-hero h1 {
        font-size: 1.6rem;
    }

    .servicio-content h2 {
        font-size: 1.5rem;
    }

    .servicio-content p {
        font-size: 0.9rem;
    }

    .servicio-features li {
        font-size: 0.95rem;
    }

    .servicio-imagen img {
        min-height: 250px;
    }
}
