
main {
    background-color: #2b2b2b; /* Fondo base oscuro */
    min-height: 80vh;
    color: white;
}


.servicio-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/static/assets/images/fondoPiedrasoscuro.png');
    background-size: cover;
    background-position: center;
    padding: 80px 20px 40px;
    text-align: center;
    border-bottom: 3px solid #f4d03f; /* Tu dorado */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.servicio-sub {
    color: #f4d03f;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.servicio-header h1 {
    font-size: clamp(2rem, 4vw, 3.5rem); 
    margin: 0;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}


.servicio-container {
    display: flex;
    flex-wrap: wrap; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 60px;
    align-items: flex-start; 
}


.servicio-info {
    flex: 1 1 500px; 
}

.servicio-desc {
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-align: justify;
    border-left: 3px solid #f4d03f; /* Línea decorativa lateral */
    padding-left: 20px;
}

.servicio-info h3 {
    color: #f4d03f;
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    display: inline-block;
}

/* --- Lista de Características --- */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #cccccc;
    transition: color 0.3s ease;
}

.features-list li:hover {
    color: white;
}


.features-list li::before {
    content: "\f00c"; /* Código unicode del Check de FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #f4d03f;
    font-size: 1.1rem;
}

/* --- Columna de Imagen --- */
.servicio-media {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicio-media img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); /* Sombra elegante */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.servicio-media img:hover {
    transform: scale(1.02);
}

/* --- Botón Volver --- */
.btn-volver-container {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 30px;
     
}

.btn-volver {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #f4d03f;
    color: #f4d03f;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 2px;
}

.btn-volver:hover {
    background-color: #f4d03f;
    color: #1e1e1e;
    box-shadow: 0 0 15px rgba(244, 208, 63, 0.4);
    transform: translateY(-2px);
}

/* --- Responsive Mobile --- */
@media (max-width: 900px) {
    .servicio-container {
        flex-direction: column-reverse; /* En móvil, primero el texto, luego la foto arriba */
        gap: 40px;
        padding-top: 40px;
    }
    
    .servicio-desc {
        border-left: none; /* Quitamos la línea lateral en móvil para ganar espacio */
        padding-left: 0;
    }

    .servicio-media {
        width: 100%;
    }
}