:root {
    --primary-color: #9D4B93;
    --secondary-color: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif !important;
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #8a3d82;
    border-color: #8a3d82;
}

/*--------------------------------------------*/

/* Contenedor principal de la barra */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999999;
}

/* Estilo general de cada icono */
.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    margin-bottom: 0px;
}

/* Efecto Hover: se expande hacia la derecha */
.social-icon:hover {
    width: 70px;
    padding-left: 20px;
    color: white;
    border-radius: 0 5px 5px 0;
}

/* Colores corporativos */
.facebook,
.twitter,
.instagram,
.linkedin,
.whatsapp {
    background: linear-gradient(to left, #E533C3, #E8328B);
}

/* Bordes redondeados solo en la esquina derecha para la barra */
.social-icon:first-child {
    border-top-right-radius: 20px;
}

.social-icon:last-child {
    border-bottom-right-radius: 20px;
}

/*------------------------------------------------*/


/*----------------------footer--------*/

/* Footer -- Section home  */

/* --- ESTILOS CLAVE PARA EL EFECTO DE ONDA Y DEGRADADO --- */
.footer-bottom-bar {
    background: linear-gradient(to right, #ec407a 0%, #d81b7a 100%);
    border-radius: 80px 80px 0 0;
    height: 120px;
    position: relative;
    margin-top: 60px !important;
    z-index: 2;
}


.footer-logo-center {
    background-color: white;
    width: 150px;
    height: 100px;
    border-radius: 0 0 50px 50px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
}

/* Asegura que el logo sea responsivo */
.footer-logo-center img {
    max-width: 80%;
    height: auto;
}

.separador {
    width: 100%;
    height: 35px;
    background-image: url('../../resources/images/logotipo/ICONO_ SEPARADOR.webp');
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    opacity: 0.2;
    /* mejor usar decimal que 20% */
}

/*------------Boton de subir todo --------------*/

.btn-floating-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #ec407a, #d81b7a);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 99999;

    /* Animación de entrada/salida */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}

/* Clase que activaremos con JS */
.btn-floating-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-floating-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(216, 27, 122, 0.4);
}

/* ----------------- efecto hover de boton-------*/


.botonAction {

    background: linear-gradient(to right, #E533C3, #E8328B);
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    margin: 1em auto;
    transition: all 0.3s ease;

}

.botonAction:hover {
    background: linear-gradient(#e949cc, #543142);
    box-shadow: 0 0 10px rgba(23, 23, 23, 0.4);
    transform: translateY(-6px);
}

/* ----------------- efecto hover de boton-------*/


/*----------------------- Animation solo hacia arriba css ---------------------------------------*/


.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*----------------------- Animation solo hacia arriba css ---------------------------------------*/

/* --- Efecto de mover hacia adentro (Slide In) --- */
.slide-in {
    opacity: 0;
    transform: translateX(90px);
    /* Empieza un poco a la izquierda */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
    /* Se mueve a su posición real */
}


.slide-off {
    opacity: 0;
    transform: translateX(-90px);
    /* Empieza un poco a la izquierda */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-off.visible {
    opacity: 1;
    transform: translateX(0);
    /* Se mueve a su posición real */
}

.slide-down {
    opacity: 0;
    transform: translateY(-90px);
    /* Empieza un poco a la izquierda */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-down.visible {
    opacity: 1;
    transform: translateY(0);
    /* Se mueve a su posición real */
}


/*------------------Menu pegado-------------------*/


/* Estilos base del header */
.header-container {
    transition: all 0.3s ease-in-out;
    /* Para que el cambio de tamaño sea suave */
    z-index: 10000;
    width: 100%;
    background-color: #ffffff;
}

/* Cuando el header está fijo */
.header-container.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    /* Blanco con ligera transparencia */
    backdrop-filter: blur(5px);
    /* Efecto esmerilado elegante */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);

    /* Reducimos el py-5 original de Bootstrap */
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}

/* Evitar el "salto" del contenido */
.header-container.sticky-active+section {
    margin-top: 150px;
    /* Ajusta según la altura aproximada de tu header */
}

/*------------------Menu pegado-------------------*/


/*----------------------Animation css menu --------------*/


.nav-link {
    color: #ccc;
    /* Color apagado */
    transition: all 0.3s ease-in-out;
    border-left: 0px solid transparent;
}

/* Estado Activo */
.active-link {
    color: #fff !important;
    /* Color resaltado */
    background-color: rgba(255, 255, 255, 0.1);
    /* Un fondo sutil */
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
}

/*----------------------Animation css menu --------------*/

/* Estilos para el contenedor del Offcanvas */
#offcanvasRight {
    background-color: #710160cf;
    color: #000000;
    z-index: 9999999;

    /* 🔥 CAMBIO: ya no 100%, ahora 75% + sombra */
    width: 100% !important;
    max-width: 400px;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.35);
}

/* 🔥 NUEVO: fondo difuminado */
.offcanvas-backdrop.show {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 🔥 NUEVO: animación general */
.offcanvas {
    transition: transform 0.45s ease, visibility 0.45s ease;
}

/* 🔥 NUEVO: animación del contenido */
.offcanvas-body {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.offcanvas.show .offcanvas-body {
    opacity: 1;
    transform: translateX(0);
}

.menlink {
    font-size: 1.5rem;
    text-align: center;
}

/* Encabezado  */
.offcanvas-header {
    background-color: #f8f9fa;
}

/* 🔥 MEJORA ligera al título */
#offcanvasRightLabel {
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Navegación interna */
.custom-offcanvas-nav .nav-link {
    color: #000000 !important;
    font-weight: 500;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* 🔥 MEJORA: tamaño de letra */
    font-size: 1rem;
}

/* Efecto al pasar el mouse o estar activo */
.custom-offcanvas-nav .nav-link:hover,
.custom-offcanvas-nav .nav-link.active-link {
    color: #007bff !important;
    padding-left: 15px;
    background-color: #f0f7ff;
}

/* Flechita decorativa */
.custom-offcanvas-nav .nav-link::after {
    content: '→';
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-offcanvas-nav .nav-link:hover::after {
    opacity: 1;
}

/*============================================================================================================ divisor de card de contacto */

.divisor-card {
    height: 10px;
    background: linear-gradient(90deg, #961E83, #E8328B);

    width: calc(100% + 40px);
    /* compensa el padding del card */
    margin-left: -20px;
    margin-right: -20px;

    border-radius: 0;
    margin-bottom: 1em;
}

/*============================================================================================================ divisor de card de contacto */





/*====================================Estilos de las 3 pagina================================================================================================================================================================*/

/* ============================================================
   MEDIA QUERIES — .contenedor-principal
   Breakpoints:
   - Móvil:           < 576px
   - Tablet:          576px – 991px
   - Laptop estándar: 992px – 1439px
   - Pantallas HD:    ≥ 1440px
   ============================================================ */

/* ─── BASE / Móvil (< 576px) ─────────────────────────────── */
@media screen and (min-width: 374px) and (max-width: 1217px) {

    .header-container {
        background-color: #ffffff;
        position: relative;
        overflow: hidden;
    }

    .header-container img {
        max-height: 40px;
        width: auto;

    }

    /* Medio círculo decorativo ========================================== */

    .header-container::before {
        display: none;
    }

    /*===============================Afectar el css del boton de accesibilidad ================================================================*/

    /* #botonacce {
        position: fixed !important;
        bottom: 100px;
        right: -1%;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
        opacity: 1;
        transition: all 0.3s ease;
        z-index: 9999;
    } */

    #botonacce {
    position: fixed !important;
    bottom: 90px;
    right: 33px;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.35s ease;
    z-index: 9999;
}

    /* Cuando el offcanvas está abierto */
    body:has(.offcanvas.show) #botonacce {
        transform: translateY(300px);
    }
        
    #botonacce:hover {
        transform: scale(1.1);
        /* Crece un poquito al tocarlo */
    }

    /* 🔥 OCULTAR BOTÓN CUANDO EL OFFCANVAS ESTÁ ABIERTO */


    .iconosredessociales {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background-color: #ffffff;
        color: #ab279e;
        border-radius: 50%;
        margin: 0 8px;
        text-decoration: none;
        font-size: 1.2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;

    }

    .titleredsocial {
        font-size: 1rem;
        text-align: center;
    }

}





/*================================================================================ */





