/*
 Theme Name:     Vis Plagas
 Theme URI:      https://www.visplagas.cl/
 Description:    Tema hijo para Vis Plagas. Optimizado para rendimiento, SEO local y generación de clientes en la Región Metropolitana.
 Author:         Vis Plagas
 Author URI:     https://www.visplagas.cl/
 Template:       kadence
 Version:        1.3.0
 License:        GNU General Public License v2 or later
 License URI:    http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:    vis-plagas
*/

/*
----------------------------------------------------------------
 1.0 - VARIABLES GLOBALES DE DISEÑO
----------------------------------------------------------------
*/
:root {
    --primary-color: #005A9C;
    --secondary-color: #0d1d35;
    --accent-color: #FFA500;
    --light-gray-bg: #F5F5F5;
    --text-color: #333333;
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

/*
----------------------------------------------------------------
 2.0 - ESTILOS GENERALES
----------------------------------------------------------------
*/
body, p, span, li, a {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--secondary-color);
}

.primary-cta {
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-family: var(--font-headings);
    font-weight: 700;
    border-radius: 5px;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.primary-cta:hover {
    background-color: var(--secondary-color);
}

/*
----------------------------------------------------------------
 3.0 - ESTILOS FINALES DE LA CABECERA
----------------------------------------------------------------
*/
.kadence-header-widget-area-2 .kadence-header-widget-area-inner {
    display: flex;
    align-items: center;
    gap: 25px;
}

.site-header-item-inside-header-section[data-section="kadence_custom_button_header"] a.kt-button {
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-headings);
    font-weight: 700;
    border-radius: 5px;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.site-header-item-inside-header-section[data-section="kadence_custom_button_header"] a.kt-button:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.site-header-item-inside-header-section[data-section="kadence_custom_html_header"] a {
    color: var(--secondary-color);
    font-family: var(--font-headings);
    font-size: 1.1em;
}

/*
----------------------------------------------------------------
 4.0 - ESTILOS DEL PIE DE PÁGINA
----------------------------------------------------------------
*/
.vis-custom-footer {
    background-color: var(--secondary-color);
    color: #f0f0f0;
    padding: 60px 0 20px 0;
    font-size: 0.95em;
}
.vis-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.vis-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}
.vis-footer-column h4 {
    font-family: var(--font-headings);
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vis-footer-column p {
    color: #cccccc;
    line-height: 1.7;
}
.vis-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vis-footer-column ul li {
    margin-bottom: 12px;
}
.vis-footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.vis-footer-column ul li a:hover {
    color: var(--primary-color);
}
.vis-footer-column .footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}
.vis-footer-bottom-bar {
    border-top: 1px solid #3a4a63;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vis-footer-bottom-bar .social-icons a {
    margin-left: 15px;
}
.vis-footer-bottom-bar .social-icons svg {
    width: 24px;
    height: 24px;
    fill: #cccccc;
    transition: fill 0.3s ease;
}
.vis-footer-bottom-bar .social-icons a:hover svg {
    fill: var(--primary-color);
}

@media (max-width:768px){
    .vis-footer-grid{
        grid-template-columns:1fr 1fr
    }
    .vis-footer-bottom-bar{
        flex-direction:column;
        gap:15px
    }
}
@media (max-width:480px){
    .vis-footer-grid{
        grid-template-columns:1fr
    }
}

/*
----------------------------------------------------------------
 5.0 - ESTILOS DEL BOTÓN FLOTANTE DE WHATSAPP
----------------------------------------------------------------
*/
.whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
}
/* --- Estilos para la barra inferior del Footer --- */
.vis-footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Para que se ajuste en móviles */
    gap: 15px; /* Espacio entre elementos */
}

/* Opcional: Centrar en pantallas pequeñas */
@media (max-width: 768px) {
    .vis-footer-bottom-bar {
        flex-direction: column;
        justify-content: center;
    }
}