/**
Theme Name: astra-child-sacom
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-sacom
Template: astra
*/
/*CSS GENERICOS*/
.text-align-justify {
    text-align: justify !important;
}

/*
CAROUSEL WORDPRESS
.uagb-post__inner-wrap {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 20px !important;
    width: 23% !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    border-radius: 20px !important;
}
*/

/*CSS ESPECIFICOS*/
/*Centra titulo de las paginas atuomaticas de las categoriass*/
.ast-archive-description {
    text-align: center !important;
}
/*Quita el subrayado de los links a en la navbar*/
.site-primary-header-wrap a {
    text-decoration: none !important;
}
/* Vuelve a aplicar las mismas reglas que el h1 normal a los titulos de los banners para blog*/
.page-title.ast-archive-title {
    font-size: 46px !important;
}

/*Estilos para el footer*/
.site-footer {
    background-color: color-mix(in srgb, var(--ast-global-color-7) 85%, transparent);
}

.footer-links ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    display: inline;
}

.footer-links li:not(:last-child)::after {
    content: " · ";
    color: var(--bs-light);
    opacity: 0.7;
}

/*FORMULARIO DE CONTACTO BUBBLE*/
/* Alternativa:  sacudida lateral */
@keyframes bubbleShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-4px);
    }
    50% {
        transform: translateX(4px);
    }
    75% {
        transform: translateX(-3px);
    }
}

/* Clase que aplica sacudida */
.bubble-shake {
    animation: bubbleShake 0.8s ease;
}

#contact-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}

#contact-bubble button:hover {
    background: #005f8a;
    transition: background 0.3s;
}

#openContactForm {
    background: #0073aa;
    border: 1px solid rgba(255, 255, 255, 0.25); /* borde suave blanco translúcido */
    color: white;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2),
    0 0 4px rgba(0, 115, 170, 0.25); /* halo difuso */
    transition: all 0.3s ease;
}

/*WIDGET FORM CONTACTO FLOTANTE*/
.contact-form-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

/* Título */
.contact-form-title {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    width: 100%;
}

/* Botón de cierre */
#closeContactForm {
    position: relative;
    top: -21px;
    right: -7px;
    color: dimgrey;
    font-size: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s ease, transform 0.2s ease;
}

#closeContactForm:hover {
    color: #ff4a4a;
    transform: scale(1.1);
}

/* Contenedor del formulario */
.contact-form-content {
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    max-height: calc(80vh - 50px); /* evita que se salga */
}

/* Ajustes móviles */
@media (max-width: 480px) {
    #contactFormModal {
        right: 10px;
        left: 10px;
        bottom: 60px;
        width: auto;
        max-width: none;
        max-height: 85vh;
        padding-top: 0 !important;
    }

    .contact-form-header {
        font-size: 15px;
        padding: 12px 14px;
        height: 80px;
    }

    #closeContactForm {
        position: relative;
        cursor: pointer;
        font-weight: bold;
        line-height: 1;
        transition: color 0.2s ease, transform 0.2s ease;
        top: -24px;
        right: -19px;
    }
}
/*Esconder scrollbar para pantallas medianas-grandes*/
@media (min-width: 769px) {
    #contactFormModal::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    #contactFormModal {
        -ms-overflow-style: none;  /* IE y Edge antiguos */
        scrollbar-width: none;     /* Firefox */
    }
}

/* Animación aparición desde abajo para el form flotante*/
@keyframes slideUpModal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Clase que activa la animación */
.contactFormModal--visible {
    animation: slideUpModal 0.4s ease-out;
}

#office-list li + li {
    margin-top: 6px; /* o más, según el diseño */
}

