/* ----------------------------23  SUPPORT 2 ---------------------------- */


@font-face {
	font-family: 'GothamPro Medium';
	src: url('../fonts/GothamPro-Medium.eot');
	src: local('Gotham Pro Medium'), local('GothamPro-Medium'),
		url('../fonts/GothamPro-Medium.eot?#iefix') format('embedded-opentype'),
		url('../fonts/GothamPro-Medium.woff') format('woff'),
		url('../fonts/GothamPro-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}



@font-face {
	font-family: 'GothamPro';
	src: url('../fonts/GothamPro.eot');
	src: local('Gotham Pro'), local('GothamPro'),
		url('../fonts/GothamPro.eot?#iefix') format('embedded-opentype'),
		url('../fonts/GothamPro.woff') format('woff'),
		url('../fonts/GothamPro.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}



/* ----------------------------           ---------------------------- */
/* ---------------------------- NORMALIZE ---------------------------- */
/* ----------------------------           ---------------------------- */
html {
	font-size: 16px	
}
body {
    font-family: 'GothamPro', sans-serif;
	font-size: 16px;
	font-weight: 400;	
	line-height: 1.4;
	color: #000;
    background-color: #FFF;
	min-height: 100vh;
    display: -ms-flexbox!important;
    display: flex!important;
  	-ms-flex-direction: column!important;
    flex-direction: column!important;  
}
strong {
    font-family: 'GothamPro Medium', sans-serif;
	font-weight:900;
}
small {
	font-size: 75%;
	line-height: 1.2;
}
ol, ul {
	list-style-type:none;
    line-height: 1.5;
	padding: 0;
}
ol:last-child, ul:last-child {
    margin-bottom: 0;
}
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6 {
    font-weight: 600;
    font-family: 'GothamPro', sans-serif;
	display: block;
}
h1,.h1 {
    font-size: 3.75rem;
	margin:0 0 1.5rem;		
}
h2,.h2 {
	font-size: 2.875rem;
	margin:0 0 1.25rem;		
}
h3,.h3 {
	font-size: 1.875rem;
	margin:0 0 1rem;
}
h4,.h4 {
	font-size: 1.5rem;
	margin:0 0 1rem;
}
h5,.h5 {	
	font-size: 1.25rem;
	margin:0 0 1rem;
}
h6,.h6 {
	font-size: 1.125rem;
	margin:0 0 0.5rem;
}
p:last-child {
    margin-bottom: 0;
}
blockquote:last-child {
    margin-bottom: 0;
}
a {
	color:#415FA3;
	text-decoration:none;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;	
	-ms-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
a:hover,
a:active   {
	color:#415FA3;
    text-decoration:none;
}
a:focus, 
button:focus, 
input:focus, 
img:focus, 
label:focus, 
a:active,
button:active {
	outline: none !important;
    text-decoration:none;
}
label,
button,
input {
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
iframe {
	display: block;
	margin:0 auto;
    font-style: italic;
}

/* ---------------------------- HEADER ---------------------------- */
.navbar-top {
    padding: 1rem 0;
}

/* ---------------------------- SECTION ---------------------------- */
section,
.section {
	position: relative;
	margin:0 auto;
    padding-top: 3.75rem; 
    padding-bottom: 3.75rem; 
    max-width: 1920px;  
}
.section-title {
    font-family: 'GothamPro Medium', sans-serif;
    text-align: center;
    margin-bottom: 1.875rem;
    line-height: 1.4;
    position: relative;
    color:#000;
}
.section-title h1,
.section-title h2,
.section-title h3,
.section-title.h1,
.section-title.h2,
.section-title.h3 {
    font-family: 'GothamPro Medium', sans-serif;
    line-height: 1.4;
}
.section-title h1,
.section-title h2,
.section-title h3,
.section-title h4,
.section-title h5 {
	margin-bottom: 0;
}

/* ---------------------------- FORM ---------------------------- */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type='number'] {
    -moz-appearance: textfield;
}
textarea.form-control {;
    width:100% !important;
    min-height: 5.5rem;
    resize: none;
}
.form-control[placeholder],        
.form-control::-moz-placeholder,    
.form-control:-moz-placeholder,     
.form-control:-ms-input-placeholder, 
.form-control::-webkit-input-placeholder {
    font-size: 1rem;
    color:#808080;
    text-align:left;
} 
.form-control::placeholder {
    font-size: 1rem;
    color:#808080;
    text-align:left;
} 
.form-control {
    width: 100%;
    max-width: 27.5rem;
    height: 3rem;
    padding: 1rem 1.25rem;
    background: #FFFFFF;
    border: 1px solid #CECECE;
    box-sizing: border-box;
    border-radius: 7px;
    text-align: left;
}
.form-control:focus {
    box-shadow: none !important;
    border-color:#d6d6d6;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group:last-child {
    margin-bottom: 0;
}
.form-search .input-group-append {
    margin-left: -40px;
}
.form-search .form-control {
    max-width: 100%;
    padding: 0.45rem 2rem 0.45rem 1rem;
}
.form-search .btn-search-group {
    width: 40px;
}
.checkbox-label {
    display: block;
    cursor: pointer;
    margin-bottom: 0;
}
.checkbox-label .checkbox-btn {
    display: inline-block;
    background-color: transparent;
    width: 26px;
    height: 26px;
    font-size: 0;
    border: 1px solid #CECECE;
    position: relative;
    vertical-align: middle;
}
.checkbox-label .checkbox-btn:after {
    content:  url(../images/icon-check.svg);
    display: block;
    width: 100%;
    height: 100%;
    flex-direction: column;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.checkbox-label input[type=checkbox] {
    display: none;
}
.checkbox-label input[type=checkbox]:checked + .checkbox-btn {
    border-color: #CECECE;
}
.checkbox-label input[type=checkbox]:checked + .checkbox-btn:after {
    opacity: 1;
}
.form-box {
    background: #FBFBFB;
    border-radius: 7px;
    position: relative;
    padding: 1.875rem;
    max-width: 38.75rem;
    box-shadow: 11px 11px 0px #415FA3;
}

.modal-box .form {
    max-width: 27.5rem;
}
.form-control.is-valid:focus, 
.was-validated .form-control:valid:focus {
    box-shadow: none;
}
.invalid-feedback, 
.invalid-tooltip, 
.invalid-feedback, 
.invalid-tooltip {
    font-size: 12px;
    color: #B50000;
    position: absolute;
    width: 100%;
    max-width: 27.5rem;
    left: 50%;
    margin-left: -13.75rem;
}

/* ---------------------------- CARD ---------------------------- */
.card {
    padding: 0;
	height: 100%;
	border:none;
    border-radius: 0;
	position: relative;
    background-color: transparent;
	background-repeat: no-repeat;
	background-size: cover;
	border: none;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
.card-header,
.card-body {
    background-color: transparent;
    border-radius: 0 !important;
    padding: 1rem;
    border-top: none;
    border-bottom: none;
    -ms-flex-direction: column;
    flex-direction: column; 
    display: -ms-flexbox;
    display: flex;   
    min-height: 2.5rem;
}
.card-pic {
    height: 9.375rem;
    padding: 0;
    margin-bottom: 1.5rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.card-pic img {
    display: block;
    margin:0 auto;
}
.card .bg-img {
    height: 14.375rem;
}
.card-title,
.card-subtitle,
.card-text {
	line-height: 1.2;
	margin-bottom: 1rem;
}
.card-text,
.card-text p {
    font-size: 0.9rem;
}
.card-text p {
    margin-bottom: 0.5rem;
}
.card-text p:last-child {
    margin-bottom: 0;
}
.card-title {
    color:#000;   
    text-shadow: 0px 0px 0px #000;
    font-weight: bold;
    font-size: 1.25rem; 
}
.card-img-overlay>a:not(.btn) {
    display: block;
    height: 100%;
    width: 100%;
}
.card-box,
.card-box img {
    border-radius: 7px;
    overflow: hidden;
}
.card-box:before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top:0;
    left: 0;
    background-color: rgba(1, 1, 1, 0.55);
    border-radius: 7px;
}
.card-box .card-title {
    height: 2.5rem;
    line-height: 1;
    overflow: hidden;
        -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.card-box .card-link {
        -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.card-box .card-text-overlay {
    font-size: 0.9rem;
    color:#FFF;
    text-align: center;
    line-height: 1;
    opacity: 0;
    height: 0;
    width: 100%;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    overflow: hidden;
    background: rgba(1, 1, 1, 0.72);
    padding: 0.5rem
}

.card-box:hover .card-text-overlay{
    opacity: 1;
    height: 50%;
    margin-top: auto;
}

/* ---------------------------- NAV ---------------------------- */
.nav {
	position: relative;
    width: 100%;
}
.nav-link {
    -ms-flex-align: center;
    align-items: center;	
    position: relative;
}
.nav-pills .nav-link {
	border-radius: 0;
}
.nav-center .nav-link {
    -ms-flex-pack: center;
    justify-content: center;	
}
.nav-start .nav-link {
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.nav-inline .nav-link {
    display: inline-block;
    padding: 4px 0;
}
.nav-inline>.nav-item {
    margin-bottom: 5px;
}
.nav-inline>.nav-item:last-child {
    margin-bottom: 0;
}
.navbar {
    height: 3.75rem;
    padding: 0;
}
.navbar .nav-link {
    display: flex;
}
.navbar .nav,
.navbar .nav-item,
.navbar .nav-link {
    height: 100%;
}

/* ---------------------------- MENU ---------------------------- */
.menu {

}
.menu>.nav-item {
    position: static !important;
    margin-bottom: 0;
}
.menu>.nav-item>.nav-link {
    background-color: transparent;
    color:#000;
    font-weight: bold;
    border-color: transparent;
    line-height: 1.2;
    padding: 0.5rem 0.5rem;
}
.menu>.nav-item:hover>.nav-link,
.menu>.nav-item:focus>.nav-link,
.menu>.nav-item.active>.nav-link {
    color:#000;
    border-color: transparent;
}

/* ---------------------------- MAP ------------------------------- */
.map-content {
    width: 30rem;
    height: 14rem;
    background: #FFFFFF;
    border: 1px solid #CECECE;
    border-radius: 7px;
    padding: 2.75rem;
    position: absolute;
    right: 10%;
    top:10%;
    z-index: 5;
}
#map {
    min-height: 380px !important;
}

/* ---------------------------- MODAL -------------------------------- */
.modal-box,
.modal-valid {
    padding:3rem;  
    background: #FBFBFB;
    border-radius: 7px;
    border:none;
    overflow:hidden;
    width: 100%;
}
.modal-box .modal-title {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 50px;
    line-height: 1;
}
.modal-img {
    position: absolute;
    top: 16px;  
    right: -165px;
}
.fancybox-button svg:hover {
    color:#415FA3;
}
.fancybox-slide--html {
    padding: 0px;
}
.drop-right::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 12px solid transparent;
    border-right: 0;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #FBFBFB;
    position: absolute;
    right: -14px;
    top: 68px;
}
/* ---------------------------- BUTTON ---------------------------- */
.btn {
    font-weight: bold;
    display: flex;
    text-align:center;
    vertical-align: middle;
    position: relative;
    box-shadow:none;
    border-radius:1.5rem;
    border:none;
    border:1px solid;
    border-color: transparent;
    line-height: 1;
    height: 3rem;
    width: 100%;
    max-width: 220px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;    
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;   
    padding: 0 1rem;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}
.btn-min {
    height: 2.125rem;
    width: 8.375rem;
}
.btn-max {
    height: 3rem;
    width: 14.375rem;
    border-radius: 2rem;
}
.btn.focus, .btn:focus {
    box-shadow: none;
}
.btn-blue {
    background-color: #80D8FF;
    border-color: #80D8FF;
    color:#FFF;
}
.btn-blue.active, 
.btn-blue:hover, 
a.btn-blue:hover {
    background-color: #80D8FF;
    border-color: #80D8FF;
    color: #FFF; 
}
.btn-white {
    background-color: #FFF;
    border-width: 2px;
    border-color: #80D8FF;
    color:#80D8FF;
}
.btn-white.active, 
.btn-white:hover, 
a.btn-white:hover {
    background-color: #FFF;
    border-color: #80D8FF;
    color: #80D8FF; 
}
.btn-red {
    background: #E93030;
    border-width: 2px;
    border-color: #E93030;
    color:#FFF;
}
.btn-red.active, 
.btn-red:hover, 
a.btn-red:hover {
    background-color: #E93030;
    border-color: #E93030;
    color: #FFF; 
}



.btn-label {
    cursor: pointer;
    margin-bottom: 0;
    color:#415FA3;
}
.input-group-text {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;   
}
.btn-label .input-group-append {
    margin-left: -1px;
    height: 3rem;
    width: 3.5rem;
    background: #80D8FF;
    border-radius: 0px 7px 7px 0px;
}
.btn-label .form-control {
    max-width: 24rem;
}
.btn-label.input-group>.custom-select:not(:first-child), 
.btn-label.input-group>.form-control:not(:first-child) {
    border-radius: 7px 0px 0px 7px;
}
.btn-arrow:after {
    content: url(../images/arrow.svg);
    margin-left: 10px;
}

/* ---------------------------- PANEL ---------------------------- */
.panel-body {
    padding:1.25rem;
    border-radius: 0.75rem;
    background: #F8F8F8;
}
.panel-text {
    font-size: 14px;
    line-height:1.2;
}
.whatsapp-panel {
    
}

/* ---------------------------- LIST ---------------------------- */
.list {
	margin: -15px;
}
.list>.list-item {
	padding: 15px;
}
.list-min {
    margin: -8px;
}
.list-min>.list-item {
    padding: 8px;
}
.list-max {
    margin: -1.25rem -15px;
}
.list-max>.list-item {
    padding: 1.25rem 15px;
}
.list-column {
    margin: -8px -15px;
}
.list-column>.list-item {
    padding: 8px 15px;
}
.list.no-gutters {
    margin: 0;
}
.list.no-gutters >.list-item {
    padding: 0px;    
}
.list-fill {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;   
}
.list-fill .list-item {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
}
.list-question .list-item {
    position: relative;
    padding-left: 60px;
}
.list-question .list-item:before {
    content: url(../images/icon-question.svg);
    display: block;
    position: absolute;
    left: 0;
    top:0;
}

/* ---------------------------- ICON ---------------------------- */
.icon-group-links {
    margin:-5px;
}
.icon-group-links .icon{
    display: inline-block;
    padding: 5px;
}

.icon-group-links .icon svg {
    color:#7D7D7D;
    height: 25px;
    width: 25px;
}
.icon-group-links .icon a {
    display: block;
    height: 40px;
    width: 40px;
    background-color: transparent;
    text-align: center;
    padding: 7px;
}
.icon-group-links .icon .fa-vk{
    color:#4B729F;
}
.icon-group-links .icon .fa-facebook-f{
    color:#3B5999;
}
.icon-group-links .icon .fa-twitter{
    color:#03A9F4;
}
/* ---------------------------- STYLE ---------------------------- */
.blue {
    color:#415FA3 !important;
}
.black {
    color:#000 !important;
}
.gray {
    color:#646464 !important;
}
.white {
    color:#FFF !important;
}
.text-small {
    font-size: 14px;
}
.text-italic {
    font-style: italic;
}
.text-bold {
    font-weight: 900;
}
.text-black {
    text-shadow: 0px 0px 0px #000;    
}
.text-normal {
    font-weight: 400;
}
.text-slim {
    font-weight: 300;
}
.text-through {
    text-decoration: line-through;
}
.text-underline {
    text-decoration: underline;
}
.text-uppercase_ {
    text-transform: none;
}
.text-box {
    text-align: left;
    padding: 0.75rem;
    font-size: 11px;
    color: #757575;
    background: #E9F8FF;
    border-radius: 7px;
}
.overflow-visible {
    overflow: visible;
}
.bg-blue {
    background-color: #415FA3;
}
.bg-gray {
    background-color: #F8F8F8;
}
.bg-transparent {
    background-color: transparent;
}
.bg-white {
    background-color: #FFF;
}
.bg-black {
    background-color: #000;
}
.bg-normal {
    background-repeat: no-repeat;
    background-position: center;
}
.bg-cover {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.bg-contain {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.lh-0 {
    line-height: 1 !important;
}
.lh-1 {
    line-height: 1.1 !important;
}
.lh-2 {
    line-height: 1.2 !important;
}
.lh-3 {
    line-height: 1.3 !important;
}
.lh-4 {
    line-height: 1.4 !important;
}
.lh-5 {
    line-height: 1.5;
}
.lh-6 {
    line-height: 1.6;
}
.lh-7 {
    line-height: 1.7;
}
.z-1 {
    z-index: 1;
}
.z-2 {
    z-index: 2; 
}
.z-3 {
    z-index: 3; 
}
.z-4 {
    z-index: 4; 
}
.z-5 {
    z-index: 5; 
}
.z-n1 {
    z-index: -1;
}
.z-n2 {
    z-index: -2;
}
.mh-100 {
    min-height: 100%;
}
.br-0 {
    border-radius: 0 !important;
}
.d-center {
    -ms-flex-direction: column;
    flex-direction: column;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.d-center-left {
    -ms-flex-direction: column;
    flex-direction: column;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: start;
    -ms-flex-pack: center;
    justify-content: center;    
}
.d-center-right {
    -ms-flex-direction: column;
    flex-direction: column;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: end;
    align-items: end;
    -ms-flex-pack: center;
    justify-content: center;    
}
.d-left-center {
    -ms-flex-direction: column;
    flex-direction: column;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: start;    
}
.d-right-center {
    -ms-flex-direction: column;
    flex-direction: column;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: end;    
}

/* ---------------------------- CUSTOM ---------------------------- */

.miniphone a {
	color: #fff;
}

.miniphone .h2 {
	font-size: 2.475rem;
}

.main-banner {
    padding-top: 1.75rem;
}
/*
.modal-right.show {
	right: 155px;
	display:block!important; 
}*/
.modal-right  {
    position: fixed;
    width: 100%;
    right: -100%;
    z-index: 2050;
    top: 210px;
    margin-top: -210px;
	-webkit-box-shadow: 0 0 1rem;
    -moz-box-shadow: 0 0 1rem;
    box-shadow: 0 0 1rem;
}
@media (min-width: 576px) {
	.modal-right  {
		top: 50%;
		width: auto;
	}
} 

.transition, .transition::before, .transition::after {
    -webkit-transition: all .5s ease-out 0.2s;
    -moz-transition: all .5s ease-out 0.2s;
    -o-transition: all .5s ease-out 0.2s;
    transition: all .5s ease-out 0.2s;
}

.f14 {
    font-size: 14px;
}

.messengers-widget {
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.messengers-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #FF4757, #FF3838);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.messengers-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.messengers-toggle.active {
    background: linear-gradient(135deg, #25D366, #25D366);
}

.messengers-toggle.telegram-bg {
    background: linear-gradient(135deg, #27a7e7, #27a7e7);
}

.messengers-toggle.whatsapp-bg {
    background: linear-gradient(135deg, #2cb742, #2cb742);
}

.messengers-toggle.max-bg {
    background: linear-gradient(90deg, #5a8cff -16.1%, #43d6ff 16.36%, #8f3fff 76.63%);
}

.messengers-toggle.phone-bg {
   background: linear-gradient(135deg, #FF6B6B, #FF4757, #FF3838);
}

/* Обертка для иконок в кнопке */
.icon-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper .messenger-icon {
    position: absolute;
    width: 35px;
    height: 35px;
    fill: white;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
}

/* Специальные стили для логотипа MAX */
.icon-wrapper .messenger-icon[max] {
    width: 35px;
    height: 35px;
}

.messengers-dropdown .messenger-item.max svg {
    width: 35px;
    height: 35px;
}

.icon-wrapper .messenger-icon.active {
    opacity: 1;
    transform: scale(1);
}

/* Выпадающее меню */
.messengers-dropdown {
    position: absolute;
    bottom: 77px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
}

.messengers-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Элементы меню */
.messenger-item {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(10px);
    opacity: 0;
}

.messengers-dropdown.show .messenger-item {
    transform: translateY(0);
    opacity: 1;
}

.messengers-dropdown.show .messenger-item:nth-child(1) {
    transition-delay: 0.1s;
}

.messengers-dropdown.show .messenger-item:nth-child(2) {
    transition-delay: 0.2s;
}

.messengers-dropdown.show .messenger-item:nth-child(3) {
    transition-delay: 0.3s;
}

.messengers-dropdown.show .messenger-item:nth-child(4) {
    transition-delay: 0.4s;
}

.messenger-item svg {
    width: 35px;
    height: 35px;
    fill: white;
    transition: transform 0.3s ease;
}

.messenger-item:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.messenger-item:hover svg {
    transform: scale(1.1);
}

/* Цвета мессенджеров */
.ic-telegram {
    background-color: #27a7e7;
}

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

.ic-max {
    background: linear-gradient(90deg, #5a8cff -16.1%, #43d6ff 16.36%, #8f3fff 76.63%);
}

.ic-phone {
	background: linear-gradient(135deg, #FF6B6B, #FF4757, #FF3838);
}

/* Подсказки при наведении */
.messenger-item::after {
    content: attr(title);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1003;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.messenger-item::before {
    content: '';
    position: absolute;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #333;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1003;
}

.messenger-item:hover::after,
.messenger-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Анимация появления виджета */
.messengers-widget {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.messengers-widget.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 992px) {
    .messengers-widget {
		
        bottom: 20px;
        right: 20px;
    }
    
    .messengers-toggle {
        width: 55px;
        height: 55px;
    }
    
    .icon-wrapper {
        width: 26px;
        height: 26px;
    }
    
    .icon-wrapper .messenger-icon {
        width: 22px;
        height: 22px;
    }
    
    .icon-wrapper .messenger-icon[max] {
        width: 24px;
        height: 24px;
    }
    
    .messenger-item {
        width: 45px;
        height: 45px;
    }
    
    .messenger-item svg {
        width: 22px;
        height: 22px;
    }
    
    .messengers-dropdown .messenger-item.max svg {
        width: 24px;
        height: 24px;
    }
    
    .messenger-item::after {
        font-size: 12px;
        padding: 5px 10px;
        right: 55px;
    }
    
    .messenger-item::before {
        right: 50px;
    }
}

/* Анимация пульсации для привлечения внимания */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 136, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}

.messengers-toggle.pulse {
    animation: pulse 2s infinite;
}

