﻿/* ==========================
   CONSULTAS - ARCHETYPES (UNIFICADO)
========================== */

/* ----- Fondo general ----- */
.p-consultas {
    background: linear-gradient(to bottom, #d6cfbb, #eae7dd);
    color: #322203;
    font-family: 'Cinzel', serif;
    min-height: 100vh;
}

    /* ----- Sección principal (sin fondo duplicado) ----- */
    .p-consultas .seccion-principal {
        background: none;
        padding: 48px 20px;
        min-height: calc(100vh - 200px);
    }

    /* ----- Título y separador (mismo formato global del site.css) ----- */
    .p-consultas .titulo-seccion {
        font-family: 'Cinzel', serif;
        font-size: 2.6rem;
        color: #322203;
        text-align: center;
        margin-bottom: 2rem;
    }

    .p-consultas .separador-seccion {
        display: block;
        width: 80px;
        height: 2px;
        background-color: #8c6e4a;
        margin: -1rem auto 3rem auto;
        border-radius: 2px;
        opacity: 0.9;
    }

/* ==========================
   BLOQUE PRINCIPAL (Agenda tu consulta)
========================== */
.bloque-consulta {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2rem;
    max-width: 850px;
    margin: 3rem auto;
    text-align: center;
    backdrop-filter: blur(3px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .bloque-consulta:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    /* Tipografía del bloque */
    .bloque-consulta .dato-consulta {
        font-family: 'Lora', serif;
        font-size: clamp(1rem, 2vw, 1.1rem);
        color: #322203;
        margin-bottom: 0.4rem;
    }

    .bloque-consulta .divider {
        width: 70px;
        height: 2px;
        background-color: #b29255;
        margin: 1.8rem auto;
    }

    .bloque-consulta .nombre-consultor {
        font-family: 'Cinzel Decorative', serif;
        color: #a97c30;
        font-size: clamp(1.3rem, 2.5vw, 1.6rem);
        font-weight: 500;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

/* ==========================
   BOTÓN WHATSAPP - IGUAL AL DE TALLERES
========================== */
.btn-centro {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

    .btn-centro .btn-whatsapp {
        font-family: 'Cinzel', serif;
        font-size: 1rem;
        border-radius: 8px;
        padding: 0.7rem 1.8rem;
        font-weight: 600;
        background-color: #25D366; /* Verde oficial WhatsApp */
        color: #fff;
        border: none;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .btn-centro .btn-whatsapp:hover {
            background-color: #1ebe5b; /* tono más oscuro */
            transform: scale(1.03);
            color: #fff;
        }

        .btn-centro .btn-whatsapp i {
            font-size: 1.2rem;
        }

/* ==========================
   TESTIMONIOS (Carrusel)
========================== */
.seccion-testimonios {
    margin-top: 5rem;
    text-align: center;
    font-family: 'Lora', serif;
    color: #322203;
}

.carrusel-infinito {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
    padding: 0 2rem;
}

.carrusel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .carrusel-track::-webkit-scrollbar {
        display: none;
    }

/* Cada testimonio */
.testimonio {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 0 0 320px;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 340px;
    transition: transform 0.3s ease;
    position: relative;
}

    .testimonio:hover {
        transform: scale(1.03);
    }

.texto-testimonio {
    font-size: 1.05rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.8;
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

    .texto-testimonio::-webkit-scrollbar {
        display: none;
    }

.testimonio::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.nombre-testimonio {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.ocupacion-testimonio {
    font-size: 0.95rem;
    color: #4c3a1c;
    opacity: 0.8;
}

/* Flechas */
.flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 2rem;
    color: #322203;
    cursor: pointer;
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0.9;
}

    .flecha:hover {
        background: #fff;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-50%) scale(1.05);
    }

.flecha-izq {
    left: 10px;
}

.flecha-der {
    right: 10px;
}

/* ==========================
   RESPONSIVE
========================== */

/* Tablets */
@media (max-width: 992px) {
    .bloque-consulta {
        max-width: 90%;
        padding: 2rem 1.5rem;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .bloque-consulta {
        padding: 1.5rem 1rem;
        max-width: 90%;
        margin: 2rem auto;
    }

        .bloque-consulta .dato-consulta {
            font-size: 1rem;
        }

        .bloque-consulta .nombre-consultor {
            font-size: 1.2rem;
        }

    .testimonio {
        flex: 0 0 260px;
        height: auto;
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .texto-testimonio {
        font-size: 1rem;
    }

    .flecha {
        display: none; /* Oculta flechas en móvil */
    }

    .btn-centro .btn-whatsapp {
        width: 90%;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .titulo-seccion {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 1.5rem;
    }

    .bloque-consulta {
        padding: 1.2rem 0.8rem;
        margin: 2rem auto;
    }

    .testimonio {
        flex: 0 0 90%;
        margin-bottom: 1rem;
    }

    .texto-testimonio {
        font-size: 0.95rem;
    }

    .btn-centro .btn-whatsapp {
        width: 95%;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}


/* ==========================================
   IMAGEN ENCIMA DEL CONTENIDO - AJUSTE FINAL
========================================== */
.logo-encima {
    position: fixed;
    top: 55%; /* un poco más abajo */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px; /* tamaño equilibrado */
    opacity: 0.09; /* muy sutil, no interfiere */
    z-index: 10; /* encima del texto, pero debajo de menú fijo */
    pointer-events: none;
    mix-blend-mode: multiply; /* 🔹 integra el color con el fondo */
}