/*--------------------------------------------------------------------*/
/* BOTONES - MANUAL DE MARCA SINCRO */

:root {
    /* Paleta Oficial del Manual de Marca */
    --brand-green: #004C45;        /* Pantone 3302C - Verde Institucional */
    --brand-gold: #C48F30;         /* Pantone 7510C - Ocre/Dorado Principal */
    --brand-dark-brown: #4A2D00;   /* Pantone 4625C - Café Profundo */
    --brand-medium-brown: #91611E; /* Pantone 1395C - Café Medio */
    --brand-light-gold: #EACB8D;   /* Pantone 7403C - Dorado Claro/Crema */

    /* Mapeos de compatibilidad para herencia de código antiguo */
    --gold-primary: var(--brand-gold);
    --gold: var(--brand-gold);
    --gold-dark: var(--brand-medium-brown);
    --dark-coffee: var(--brand-dark-brown);
}

/* Estilo para los botones rectangulares del Hero */
.btn-premium {
    border-radius: 4px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
}

/* Clase global para todos los botones dorados */
.btn-solid-gold {
    background-color: var(--gold) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-solid-gold, .btn-outline-dark {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    line-height: normal;
    font-family: inherit;
    text-transform: uppercase; /* Toque elegante corporativo */
    letter-spacing: 0.5px;
}

.btn-solid-gold:hover {
    background-color: var(--dark-coffee) !important; /* Transición suave a Café Profundo */
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 45, 0, 0.15) !important;
}

/* Pulso al hacer clic */
.btn-solid-gold:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(74, 45, 0, 0.2) !important;
}

/* Estilo base para el botón blanco con borde café */
.btn-outline-dark {
    background-color: transparent !important;
    color: var(--dark-coffee) !important;
    border: 2px solid var(--dark-coffee) !important;
    border-radius: 50px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

/* Animación al pasar el puntero (Hover) */
.btn-outline-dark:hover {
    background-color: var(--dark-coffee) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(74, 45, 0, 0.15) !important; /* Sombra calibrada con Café Profundo */
}

/* Botón Blanco con Borde (Ver Homenajes) */
.btn-outline-white-hero {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

/* Cambio a café total (Fondo y Borde) al pasar el puntero */
.btn-outline-white-hero:hover {
    background-color: var(--dark-coffee) !important;
    border-color: var(--dark-coffee) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Botón Sedes */
.btn-cafe-outline {
    background-color: transparent !important;
    color: var(--dark-coffee) !important;
    border: 2px solid var(--dark-coffee) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cafe-outline:hover {
    color: #ffffff !important;
    background-color: var(--dark-coffee) !important;
    border-color: var(--dark-coffee) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 45, 0, 0.15);
}

/* Animación de la flecha */
.btn-cafe-outline i {
    transition: transform 0.3s ease;
}

.btn-cafe-outline:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------------*/
/* BOTÓN PRIVACIDAD DE DATOS */
.btn-volver {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 35px !important;
    min-width: 200px;

    /* Colores corporativos */
    background-color: transparent !important;
    color: var(--dark-coffee) !important;
    border: 1.5px solid var(--dark-coffee) !important;

    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border-radius: 50px; /* Asegura suavidad visual */
}

.btn-volver:hover {
    background-color: var(--dark-coffee) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 45, 0, 0.12);
}

/*--------------------------------------------------------------------*/
/* CONTACTO.HTML */
.btn-gold-advert {
    background-color: var(--gold);
    color: white !important;
    padding: 16px 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold-advert:hover {
    background-color: var(--dark-coffee);
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(74, 45, 0, 0.15);
}

/*--------------------------------------------------------------------*/
/* MASCOTAS */
.btn-gold-pet {
    background-color: var(--gold);
    color: white !important;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.btn-gold-pet:hover {
    background-color: var(--dark-coffee) !important;
    border-color: var(--dark-coffee);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(74, 45, 0, 0.15);
}

/*--------------------------------------------------------------------*/
/* Definición de la animación de flotado vertical (sube y baja) */
@keyframes flotadoSuave {
    0% {
        transform: translateY(0px);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translateY(-8px); /* Sube 8 píxeles */
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); /* La sombra se expande al despegarse */
    }
    100% {
        transform: translateY(0px);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    }
}

/* BOTÓN WHATSAPP FIXED */
.btn-whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 9999;

    /* Agregamos la animación: dura 3 segundos, es fluida (ease-in-out) e infinita */
    animation: flotadoSuave 3s ease-in-out infinite;
    /* Mantiene la transición suave para los cambios de color */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* COMPORTAMIENTO AL PASAR EL CURSOR */
.btn-whatsapp-fixed:hover {
    background-color: #20ba5a;
    color: #fff;

    /* Pausamos la animación de subida/bajada para que el usuario pueda hacer clic cómodamente */
    animation-play-state: paused;

    /* Aplicamos un ligero zoom de atención al congelarse */
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

/*--------------------------------------------------------------------*/
/* BOTÓN DE ATENCIÓN TELEFÓNICA PREMIUM */
.btn-laluz-phone {
    font-size: 1rem;
    background-color: var(--dark-coffee) !important;
    border: 1px solid var(--dark-coffee) !important;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    overflow: hidden;
}

/* El ícono interno toma el ocre de la marca */
.btn-laluz-phone .icon-phone {
    color: var(--gold);
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-laluz-phone:hover {
    background-color: transparent !important;
    color: var(--dark-coffee) !important;
    border-color: var(--dark-coffee) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(74, 45, 0, 0.15) !important;
}

.btn-laluz-phone:hover .icon-phone {
    color: var(--dark-coffee);
    transform: scale(1.15) rotate(-10deg);
}

.btn-laluz-phone:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(74, 45, 0, 0.1) !important;
}
/*--------------------------------------------------------------------*/
/*BOTONES INFORMATIVOS DE MASCOTAS*/

/* Transición global para que el movimiento y el cambio de color sean suaves */
.btn-cta-contact {
    transition: all 0.3s ease-in-out !important;
}

/* Efecto Hover general (Efecto de elevación/zoom) */
.btn-cta-contact:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Cambios de color específicos al pasar el cursor */
.btn-whatsapp-cta:hover {
    background-color: #1ebd58 !important; /* Verde un poco más brillante */
    border-color: #1ebd58 !important;
}

.btn-phone-cta:hover {
    background-color: #143561 !important; /* Azul corporativo un toque más claro/vivo */
    border-color: #143561 !important;
}

.btn-condolencia {
    background-color: #bc9541;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

/* El efecto al pasar el mouse utilizando el café del manual */
.btn-condolencia:hover {
    background-color: #4A2D00 !important; /* El café de tu manual */
    color: #ffffff; /* Asegura que el texto se mantenga blanco */
}