﻿/* =========================
   SECCIÓN NUESTROS SERVICIOS
========================= */

/* --- Título --- */
.titulo-seccion.grande {
    font-size: 3rem;
    font-family: 'Cinzel Decorative', serif;
    color: #322203;
    text-align: center;
}

/* --- Ícono dorado --- */
.icono-diamante svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 6px;
    transition: transform 0.3s ease;
}

.servicio-item:hover .icono-diamante svg {
    transform: scale(1.1);
}

/* =========================================================
   BLOQUE PRINCIPAL (versión elegante reutilizada)
========================================================= */

.bloque-central.bloque-elegante {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    border: none;
    padding: 40px 50px;
    margin: 3rem auto;
    max-width: 1100px;
}

/* --- Lista de servicios --- */
.lista-servicios {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Cada servicio --- */
.servicio-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- Texto del servicio --- */
.texto-servicio {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #322203;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1.4;
}

.servicio-item:hover .texto-servicio {
    color: #b29255;
}

/* --- Descripción emergente (hover) --- */
.descripcion-servicio {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #b29255;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 1rem;
    color: #444;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    width: 80%;
    left: 50px;
    top: 110%;
}

.servicio-item:hover .descripcion-servicio {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* =========================================================
   IMAGEN LATERAL
========================================================= */

.imagen-curva {
    height: 600px;
    width: 300px;
    max-width: 100%;
    object-fit: cover;
    border-top-right-radius: 150px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bloque-servicios-ajustable {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
    padding-right: 40px;
    margin-left: 60px;
    min-height: 600px;
}

.contenedor-imagen-ajustable {
    margin-right: 80px;
}

/* =========================================================
   RESPONSIVE OPTIMIZADO
========================================================= */

/* Tablets */
@media screen and (max-width: 992px) {
    .bloque-central.bloque-elegante {
        padding: 30px;
        max-width: 95%;
    }

    .bloque-servicios-ajustable {
        margin-left: 0;
        text-align: center;
        padding: 1rem;
    }

    .contenedor-imagen-ajustable {
        margin-right: 0;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .imagen-curva {
        height: auto;
        width: 85%;
        border-top-right-radius: 100px;
    }

    .texto-servicio {
        font-size: 1.3rem;
    }

    .descripcion-servicio {
        width: 90%;
        left: 5%;
    }
}

/* Smartphones */
@media screen and (max-width: 768px) {
    .titulo-seccion.grande {
        font-size: 2.2rem;
    }

    .bloque-central.bloque-elegante {
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .texto-servicio {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    /* Las descripciones se muestran estáticas en móvil */
    .descripcion-servicio {
        position: static;
        opacity: 1;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 6px;
        font-size: 0.9rem;
        color: #555;
    }

    .lista-servicios {
        gap: 10px;
    }

    .servicio-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 1rem;
    }

    .imagen-curva {
        width: 100%;
        border-radius: 0;
        border-top-right-radius: 100px;
        margin-top: 2rem;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {
    .titulo-seccion.grande {
        font-size: 1.8rem;
    }

    .texto-servicio {
        font-size: 1.1rem;
    }

    .descripcion-servicio {
        font-size: 0.85rem;
    }

    .bloque-central.bloque-elegante {
        padding: 1rem;
    }

    .imagen-curva {
        border-top-right-radius: 80px;
        width: 95%;
    }
}

/* =========================================================
   ÍCONO OUROBOROS - MISMO COLOR QUE EL TEXTO
========================================================= */
.icono-ouroboros img {
    width: 36px;
    height: 36px;
    filter: brightness(0) saturate(100%) invert(12%) sepia(9%) saturate(1804%) hue-rotate(11deg) brightness(94%) contrast(92%);
    opacity: 0.85;
    transform: translateY(2px);
    transition: all 0.3s ease;
}

/* Hover: un toque más claro para dar vida sin perder el tono */
.servicio-item:hover .icono-ouroboros img {
    transform: translateY(5px) scale(1.1);
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(23%) sepia(14%) saturate(1103%) hue-rotate(12deg) brightness(97%) contrast(95%);
}

/* Alineación */
.icono-ouroboros {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}
