/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/**
 * Общие стили
 */
.off {
    display: none;
}

:root {
  --global-body-font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.press:active {
    animation: press 0.2s 1 linear !important;
}

@keyframes press {
		0% {
			transform: scale(1);
		}
		50% {
			transform: scale(0.96);
		}
		to {
			transform: scale(1);
		}
}

button.kb-button.btn-popup {
    margin-left: auto !important;
    margin-right: auto !important;
}

.kb-splide .splide__arrow {
    border-radius: 50% !important;
    width: 48px !important 
}

/* 
* Плавающая кнопка
*/
.contact-fab * {
    box-sizing: border-box;
}
.contact-fab {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 1000;
    --button-size: 60px;
    --icon-size: 26px;
}

.fab-main {
    width: var(--button-size);
    height: var(--button-size);
    border-radius: 50%;
    background: var(--global-palette-btn-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border: 2px solid white;
}
.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-main::before,
.fab-child::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(var(--button-size) + 10px);
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    will-change: transform;
}

.fab-main::after,
.fab-child::after {
    content: '';
    position: absolute;
    right: calc(var(--button-size) + 4px);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #2d3748;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.fab-main:hover::before,
.fab-main:hover::after,
.fab-child:hover::before,
.fab-child:hover::after {
    opacity: 0.8;
}

.fab-main svg {
    width: var(--icon-size);
    height: var(--icon-size);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    fill: white;
    position: absolute;    
}

.fab-main .envelope-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.fab-main .close-icon {
    opacity: 0;
    transform: scale(0) rotate(45deg);
}

.fab-main.active .envelope-icon {
    opacity: 0;
    transform: scale(0) rotate(-45deg);
}
.fab-main.active .close-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.fab-children {
    position: absolute;
    bottom: calc(var(--button-size) + 15px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 1;
}
.fab-children.active {
    opacity: 1;
    pointer-events: all;
}

.fab-child {
    width: var(--button-size);
    height: var(--button-size);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay), box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0s;
    position: relative;
    border: 2px solid white;
    transform: translateY(200px) scale(2);
    text-decoration: none;
    opacity: 0;
}
.fab-children.active .fab-child {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.fab-child:nth-child(1) { --delay: 0.2s; }
.fab-child:nth-child(2) { --delay: 0.1s; }
.fab-child:nth-child(3) { --delay: 0s; }
.fab-children.active .fab-child:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-child svg {
    width: var(--icon-size);
    height: var(--icon-size);
    fill: white;
    transition: 0.5s;
    will-change: transform;
}      
.fab-children.active .fab-child:hover svg {
    transform: scale(1.1);
}

.fab-child.phone {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.fab-child.telegram {
    background: linear-gradient(135deg, #2CA9DC 0%, #1C7EB6 100%);
}

.fab-child.max {
    background: linear-gradient(135deg, #3E5CFC 0%, #8043D9 100%);
}

.fab-child.whatsapp {
    background-color: #25D366;
}

.fab-child.whatsapp:hover {
    background-color: #128C7E;
}

.fab-main .pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--global-palette-btn-bg, #4CAF50);
    opacity: 0;
    pointer-events: none;
    z-index: -1;    
    animation: border-animate 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.fab-main .pulse-ring.ring-2 {
    animation-delay: 0.7s;
}

@keyframes border-animate {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.fab-main:hover .pulse-ring,
.fab-main.active .pulse-ring {
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .contact-fab {
        --button-size: 60px;
        --icon-size: 24px;
        bottom: 15px;
        right: 15px;
    }           
    .fab-children {
        bottom: calc(var(--button-size) + 10px);
        gap: 10px;
    }
}
@media (max-width: 480px) { 
    .contact-fab {
        --button-size: 55px;
        --icon-size: 22px;
        bottom: 10px;
        right: 10px;
    }           
    .fab-main::before,
    .fab-child::before {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* * END общие стили * */


















/**
 * Mobile
 */
@media (max-width: 767px) { 
.no-mo {
    display: none !important;
}

.site-branding.branding-layout-standard .site-title-wrap {
    display: flex;
    flex-direction: column-reverse;
}

.site-branding.branding-layout-standard .site-description {
    margin: 0;
    letter-spacing: 7.3px;
    margin-left: 2px;
    font-size: 10px;
}

.site-branding .site-title.vs-md-false {
    font-size: 16px;
}

}
/* * END Mobile * */





/**
 * Mobile landscape
 */
@media (min-width: 577px) and (max-width: 767px) {    



}
/* * END Mobile landscape * */

/**
 * Tablet
 */
@media (min-width: 768px) and (max-width: 1024px) {    
.no-tb {
display: none !important;	
}	



}
/* * END Tablet * */


/* * Tablet Small* */
@media (min-width: 768px) and (max-width: 820px) {    



}
/* * END Tablet Small* */


/**
 * PC: all
 */
@media (min-width: 1025px) {
.no-pc {
    display: none !important;
}		

.site-branding.branding-layout-standard .site-title-wrap {
    display: flex;
    flex-direction: column-reverse;
}

.site-branding.branding-layout-standard .site-description {
    margin: 0;
    letter-spacing: 10.6px;    
    margin-left: 2px;
}

}
/* * END PC: all * */








/* ПК: малые и средние мониторы */
@media (min-width: 1025px) and (max-width: 1280px) {


}

/* * END 1025 and 1280 * */









@media (min-width: 1025px) and (max-width: 1440px) {

}
/* * END 1025px - 1440 * */









@media (min-width: 1025px) and (max-width: 1366px) {

}
/* * END 1025 and 1366 * */








@media (min-width: 1367px) and (max-width: 1440px) {

}
/* * END 1367px - 1440 * */



@media (min-width: 1441px) and (max-width: 1680px) {

}
/*END 1441px - 1680px*/







/* ПК: очень большие мониторы */
@media (min-width: 1681px) and (max-width: 1919px) {

}
/*END 1441px - 1919px*/


/* ПК: очень большие мониторы (Full HD+ и 2K) */
@media (min-width: 1920px) and (max-width: 2559px) {
 
}


/* Дополнительно: сверхбольшие мониторы */
@media (min-width: 3400px) {
    
}


@media (min-width: 1440px) {

}


@media (min-width: 1025px) and (max-width: 1280px) {

}