/* --- ESTILOS ESPECÍFICOS PARA LA PÁGINA DE SERVICIOS (FONDO CLARO) --- */

.services-page {
    padding-top: 100px; /* Ajustado para el navbar compacto */
    background-color: white; /* CAMBIADO A BLANCO */
    min-height: 100vh;
    color: var(--text-dark); /* Texto base oscuro por defecto */
}

/* Header de la página (Título y Subtítulo) */
.services-hero {
    text-align: center;
    padding: 60px 20px 60px; /* Padding ajustado */
    max-width: 800px;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem); /* Ligeramente más pequeño y responsive */
    font-weight: 900;
    margin-bottom: 15px;
    /* Gradiente ajustado para fondo blanco: de Teal oscuro a Teal marca */
    background: linear-gradient(180deg, #164e4a 20%, var(--brand-teal) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.services-hero p {
    font-size: 1.15rem;
    color: var(--text-grey); /* Gris legible sobre blanco */
    line-height: 1.5;
    font-weight: 400;
}

/* Lista de Servicios (Filas) */
.services-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 80px;
    display: flex;
    flex-direction: column;
    gap: 50px; /* Separación más elegante y compacta */
}

.service-row {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white; /* Tarjeta blanca */
    /* Borde suave gris, igual que en la sección de Favoritos */
    border: 1px solid #e2e8f0; 
    border-radius: 24px; /* Radio ligeramente reducido */
    padding: 25px;
    /* Sombra suave premium para dar relieve sobre el fondo blanco */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
}

.service-row:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 126, 119, 0.2); /* Borde teal muy suave */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Sombra más pronunciada */
}

/* Clase para invertir el orden (Imagen derecha, texto izquierda) */
.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1.2; /* Imagen ligeramente más ancha */
    height: 350px; /* Altura ajustada */
    border-radius: 16px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-row:hover .service-img img {
    transform: scale(1.05);
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}

.service-info h2 {
    font-size: 1.8rem; /* Tamaño ajustado */
    color: var(--text-dark); /* CAMBIADO A OSCURO */
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.service-info p {
    font-size: 1rem;
    color: var(--text-grey); /* Gris para el cuerpo sobre blanco */
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Botón de Servicio (Mantenemos el estilo de la marca) */
.btn-service {
    align-self: flex-start;
    background: var(--brand-teal);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: var(--brand-orange); /* Naranja de acción al hover */
    color: white;
    box-shadow: 0 5px 15px rgba(227, 110, 38, 0.3);
}

/* Responsive para la lista */
@media (max-width: 900px) {
    .services-page { padding-top: 90px; }
    
    .services-hero { padding: 40px 20px 50px; }
    
    .services-list { gap: 30px; padding-bottom: 60px; }

    .service-row, .service-row.reverse {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
        border-radius: 20px;
    }

    .service-img {
        width: 100%;
        height: 250px;
        border-radius: 12px;
    }

    .service-info {
        width: 100%;
        text-align: center;
        align-items: center;
        padding: 0;
    }

    .service-info h2 { font-size: 1.6rem; margin-bottom: 10px; }
    .service-info p { margin-bottom: 20px; }
    
    .btn-service { align-self: center; }
}